As we are execution our load test from Command line arguments, is there any way to save failed request payload + response data? I have implemented Simple Data Writer
but it doesn't display failed requests payload in generated file also if I check Save as XML it generates file with huge size.
Appreciate your help. Thanks in advance.
As per JMeter's Results File Configuration:
If you want to save request and response data:
You can try "implementing" the Simple Data Writer for failed samplers only, it should reduce your "huge" file size
Example configuration:
More information: How to Save Response Data in JMeter