[ACCEPTED]-How can I see a page error in jMeter?-jmeter

Accepted answer
Score: 17

In our application we have a custom error 9 page displaying a certain message. In JMeter 8 we added a Response Assertion to the TestPlan (Add > Assertions > Response Assertion). We configured 7 this assertion to have a pattern checking 6 for this message (e.g. check for "error 5 occurred" or whatever your error page shows).

Then 4 we added a View Results Tree to the Thread Group (Add > Listener > View Results Tree) and configured 3 it to display the errors only (check Log/Display only Errors). This 2 result tree now captures all error pages 1 along with their requests.

More Related questions