Load Testing · Junior · Question 68 of 75
What does a Response Assertion in JMeter do?
- 1Writes the response of every request to a separate file
- 2Marks a sample as failed if the response doesn't match a rule
- 3Slows down the thread when responses get too large
Show the answer
Correct answer: Marks a sample as failed if the response doesn't match a rule
Explanation
Assertions can check text, status code, size, JSON paths or duration. Failed assertions show up as errors in reports.