How to ignore embedded resources which fail in JMeter

Find out how to ignore sub samples which fail in JMeter

Sometimes when you test with embedded resources enabled in JMeter, sub-sample results can fail with, for example, an HTTP 404. ​​

We suggest you look into these failures and resolve them by either calling the correct resource in your code or by removing the reference to the resource entirely if it's not necessary.

However, it is also possible to ignore these errors in your results and avoid marking the parent transaction as failed. You can use this parameter to do so:

-Jhttpsampler.ignore_failed_embedded_resources=true

You can specify this when designing your test in the Advanced Parameters section:

Last updated