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.
-l
command line argument You 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:
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
您可以通过如下设置jmeter.properties文件中的属性来更轻松地解决它。
jmeter.save.saveservice.output_format=csv
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
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.