Question

I'm using Jmeter to do a load testing for a website.

JMeter does not show errors other than 404 errors.

How can I get the error messages in JMeter for the errors that occur for other cases?

Was it helpful?

Solution

By default, JMeter only flags typical HTTP error response codes, like 4XX and 5XX errors.

You should use Response Assertions on your HTTP samplers if you wish to have finer control over what is flagged as an error.

OTHER TIPS

One annoyance with this though seems to be that JMeter always treats a 404 as an error, when can be a valid response for some applications. So even if you make an assertion that a 404 response is OK, it will still show as an error.

You can use 404 code as a success also. When you put your assertion with 404, there is a checkbox in the corner that says 'Ignore Status'. This will treat also 404 as a success.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top