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.
1
votes
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.
1
votes
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.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more