This is what you’re looking for.
Add this in user.properties file and restart JMeter:
httpsampler.ignore_failed_embedded_resources=true
If embedded resources download fails due to missing resources or other reasons, if this property is true, Parent sample will not be marked as failed.
6
solved Avoid HTTP Request being marked as failed if 1 embedded ressource is not found