How to save response data to CSV file that i am generating in Simple Data Writer in JMeter
I am executing one Thread Group which have multiple Http Request. And I am capturing the the Error result into a CSV file using Simple Data Writer. But unable to add the response data to the same file. Can you guys please let me know how i can add the response data to this CSV file or is there any other way that we can use for this purpose?
Use simple data writer but change the option to produce XML. Remove CSV and select "Save as XML". There is a option to "Save Response Data(XML)" that is what you require as shown below.
Put the result file output format as ".jtl" and open it in the Excel to see the results.
You don't even need to Simple Data Writer for this, it can be done by amending JMeter Results File Configuration:
Add the next lines to user.properties file (lives in "bin" folder of your JMeter installation)
Next time when you run JMeter in command-line non-GUI mode like
response data for failed samplers will be added to the results.jtl
file, you will be able to inspect it using either View Results Tree listener or your favorite text/XML viewer/editor.
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.