Load Testing · Junior · Question 66 of 75
The server returns 200 with an error page under load. How do you catch it?
- 1Increase the timeout so the error page doesn't appear
- 2Check the response body, not only the status code
- 3Count only 5xx responses as errors, as usual
Show the answer
Correct answer: Check the response body, not only the status code
Explanation
Some apps return "Something went wrong" with 200. A check on the body or a key field catches it; status-only checks don't.