Simple Data Writer doesn't store anything into .jtl file, you need to provide the desired path to the file via "Write results to file" input and the metrics you choose in the pop-up which appears when you click "Configure" button will be stored into this *separate* file.

In order to have request and response data in the .jtl results file you need to manipulate the relevant JMeter Properties <https://jmeter.apache.org/usermanual/properties_reference.html#results_file_config>, i.e. add the next lines to /user.properties/ file <https://jmeter.apache.org/usermanual/get-started.html#configuring_jmeter>:

jmeter.save.saveservice.output_format=xml
jmeter.save.saveservice.response_data=true
jmeter.save.saveservice.samplerData=true
jmeter.save.saveservice.requestHeaders=true
jmeter.save.saveservice.responseHeaders=true
jmeter.save.saveservice.url=true

more information: How to Save Response Data in JMeter <https://www.blazemeter.com/blog/response-data-in-jmeter>


On 7/28/2022 6:15 PM, Ashuthosh Bhat wrote:
Hi Team,

I need to capture http request and response while running load test in
command line mode at least for few runs with multiple users and threads.

I tried simple data writer but it didn't store any request, response in jtl
file.  I am looking for similar output as we get while running GUI.

Please suggest if its possible.

Thanks,
Ashuthosh

Reply via email to