When we write data of view result tree listener to CSV/XML , it does not write all data like parameters used in request to CSV.
All the details are related to the response.How to get the the request details in the csv so that we can have one to one mapping of request and response and find out which request has failed.
The View Results Tree listener displays samples that the JMeter samplers generate, and the assertion results that are related to these samples. This listener displays the samples in the order they are generated by the JMeter script ,and provides parameters and data for each of them.
Q #2) What is the View Result tree in JMeter? Answer: View Result tree provides the Sampler result which can be viewed in different formats along with the request and response parameter. This listener shows only the failed assertion of data and not pass one.
You can set the following properties to true
so your results file will look like what you used to see in View Results Tree Listener
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.url=true
jmeter.save.saveservice.responseHeaders=true
Above properties can be either set in jmeter.properties file or in user.properties file (both live under /bin folder of your JMeter installation) or passed as a command-line arguments if you run Jmeter in non-GUI mode as
jmeter -Jjmeter.save.saveservice.output_format=xml -Jjmeter.save.saveservice.response_data=true -Jjmeter.save.saveservice.samplerData=true -Jjmeter.save.saveservice.requestHeaders=true -Jjmeter.save.saveservice.url=true -Jjmeter.save.saveservice.responseHeaders=true -n -t example.jmx -l example.jtl
Look for properties, containing "saveservice" in jmeter.properties file to see what else can be configured and into Apache JMeter Properties Customization Guide for ways of proper setting/overriding various JMeter Properties.
If you press on the "Configure" Button on the upper right side, you can specifiy, which data should be logged and which not. Did you configured the Result Tree Listener to store those information?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With