Articles → JMeter → Using Assertion In Jmeter
Using Assertion In Jmeter
Purpose
Example
- A sampler of type HTTP request and call following URL - https://restcountries.eu/rest/v2/all
- A listener of type view results tree.
- Right-click on the Thread Group
- Go to Assertions → Response Assertions
Click to Enlarge
- Once the assertion is added, check the text response for the word ‘Afghanistan’
Click to Enlarge