I have an existing.jtl file, and I want to convert this file to.xml using Jmeter.
Can anyone help how to convert this file in Jmeter?
If you have existing .jtl results file in CSV format and want to convert it to XML you can use Filter Results Tool like:
FilterResults.bat --output-file result.xml --input-file result.jtl --save-as-xml true
If you want to switch JMeter to save its results in XML going forward - add the next line to user.properties file (lives in "bin" folder of your JMeter installation)
jmeter.save.saveservice.output_format=xml
More information: Results File Configuration
If you want both XML and CSV you can add a Listener, ie Simple Data Writer and choose what, where and how to store there:
More information: How to Save Response Data in JMeter
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.