Reputation: 578
I am running jmeter2.12 on Fedora.
What are the steps to generate a Dashboard Report?
Upvotes: 34
Views: 102615
Reputation: 1630
With the latest version of the apache jmeter [mine is 5.4.3] it seems effortless to generate visual representation out of generated result.
For that, Add > Listener > Simple Data Writer
and in the filename, give the path with filename.jtl
and run the tests. Now filename.jtl has been saved to the location with file being created if you didn't have already.
Now go to that directory and write the following command, it will generate the html file in the given folder in the command and you should be able to see the result with visualization as needed.
jmeter -g simple-data-writer.jtl -o report
Note that report is the name of the folder that you want to name. If you go to that report folder, you will see index.html
there which you can open on the browser.
Upvotes: 6
Reputation: 436
Use this command to generate HTML and CSV report
./jmeter.sh -n -t “JPetStore.jmx” -l “JPetStoreLog.csv” -e -o “/home/JPetStoreProject/JPetStoreResult”
Upvotes: 2
Reputation: 34516
JMeter dashboard is only available since JMeter 3.0.
To generate it, see this tutorial and video by one of JMeter developers.
And reference documentation :
As of JMeter 3.1, It's as easy as calling:
jmeter -n -t <path_to.jmx> -l <log.jtl> -e -o <dashboard_folder>
If you're looking to learn jmeter correctly, this book will help you.
Upvotes: 33
Reputation: 41
Just give the path in any listener as shown in image, execute the results and check the file.
Upvotes: 4
Reputation: 756
steps:
jmeter -g D:\Report\TC001_Result.csv -o C:Report\ReportD
C:Report\ReportD
and open index.html
and you can check your test result Note:Should not create any folder with name ReportD
on same as Jmeter will create and save you report
Upvotes: 51
Reputation: 167
Report Dashboard module is available in Apache Jmeter3.0 version.Please follow below steps to Generate report dashboard.
reportgenerator
and user
properties files.user.properties
file.I have learned in details report generation from here,you can also follow same steps to generate HTML report dashboard.
Upvotes: 11