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:
You can specify this when designing your test in the Advanced Parameters section: