I want JMeter ignore an error. That request error is expected and is part of our session initiation protocol. Can't find a way to hide that error from be displayed on stats etc.
In other words: One of my SOAP samplers return an error (401, authentication thing) and that is expected. That is request error, yes, but not an error to report really.
Is that possible in JMeter to hide such errors somehow and/or exclude them from the test result?
Ignore Status JMeter out-of-the-box considers all 4xx and 5xx responses as failures. If your test case is negative and, for example, a 404 error is expected, you'll check this box to suppress JMeter's built-in status code check and substitute it with your own status code assertion.
Senior Software Engineer - QA Here is a quick solution I tried to ignore the embedded resource failure so that parent samples are not marked as failed. Go to your JMeter file folder where it is installed, navigate to bin > jmeter. properties. Change the property value to True and uncomment it.
Assertion in JMeter is used to validate response of the request, that you have sent to the server. Assertion is a process where you verify expected result with the actual result of the request at run time. If you need to apply assertion on a particular Sampler, then add it as a child of that Sampler.
You can also add a Response Assertion bellow the request and check the "Ignore Status" flag.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With