Reputation: 568
After test run, How can I generate Test result (CSV)file and JTL file in jmeter. Because, this jtl file using to generate Dashboard report in jmeter3.0.
So, kindly give me solution.
Thanks, Vairamuthu.
Upvotes: 6
Views: 35209
Reputation: 2333
Jmeter 4.0 solution : (I believe it could be executed on older version but I did not tried)
jmeter -n -t C:\apache-jmeter-4.0\res\nonGUI.jmx -l C:\apache-jmeter-4.0\res\log\logResult.log -j C:\apache-jmeter-4.0\res\log\logFile.log -e -o C:\apache-jmeter-4.0\res\report
(a) Actual log // C:\apache-jmeter-4.0\res\log\logFile.log
(b) Result with pass/fail status C:\apache-jmeter-4.0\res\log\logResult.log
(c) HTML report C:\apache-jmeter-4.0\res\report\index.html
Upvotes: 2
Reputation: 168002
-l
command line argumentYou can generate dashboard after test execution as follows:
jmeter -n -t /path/to/test.jmx -l /path/to/results/jtl -e -o /path/to/html/report/folder
References:
Upvotes: 9
Reputation: 338
You could resolve it easier by setting the property in jmeter.properties file as below.
jmeter.save.saveservice.output_format=csv
Upvotes: 1
Reputation: 3913
you can use http://jmeter.apache.org/usermanual/component_reference.html#Simple_Data_Writer
or
http://jmeter.apache.org/usermanual/component_reference.html#Sample_Result_Save_Configuration
you have other components on the page like http://jmeter.apache.org/usermanual/component_reference.html#Summary_Report
Upvotes: 0