문제

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?

도움이 되었습니까?

해결책

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.

다른 팁

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top