Articles → JMeter → Using Assertion In Jmeter

Using Assertion In Jmeter






Purpose





Example




  1. A sampler of type HTTP request and call following URL - https://restcountries.eu/rest/v2/all
  2. A listener of type view results tree.


  1. Right-click on the Thread Group
  2. Go to Assertions → Response Assertions
  3. Picture showing adding the Response Assertion to the thread group
    Click to Enlarge

  4. Once the assertion is added, check the text response for the word ‘Afghanistan’
  5. Picture showing the output of Response Assertion in jmeter
    Click to Enlarge





Posted By  -  Karan Gupta
 
Posted On  -  Monday, December 9, 2019

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250