Exporting JMeter Test Responses to CSV: Simple Data Writer.

Exporting JMeter Test Responses to CSV: Simple Data Writer.

After creating the Test Plan in JMeter, if you wish to export the test response to a CSV file, you can utilize a listener named "Simple Data Writer."

How to Add Simple Data Writer?

  • Right-click on the sampler.

  • Navigate to -> Add Listeners -> Simple Data Writer.

Within the Simple Data Writer, you'll need to enter the file path for saving the report in the "File Name" field.

Provide a descriptive name in the "Name" section, add optional comments in the "Comment" field, and set the file path in the "File Name" section.

Once the test plan is prepared, and the file path is set, execute the script. After the execution completes, verify the specified file path in the Simple Data Writer listeners.

Upon completion of the execution, a file named "blazeDemo2Response.csv" will be generated.

Open the file and check the response “blazeDemo2Response.csv”.

All test responses will be stored within this file, allowing you to effectively save the response data from your test plan in a CSV format.