Vairamuthu
Vairamuthu

Reputation: 578

How do I generate a Dashboard Report in jmeter?

I am running jmeter2.12 on Fedora.

What are the steps to generate a Dashboard Report?

Upvotes: 34

Views: 102615

Answers (6)

Badri Paudel
Badri Paudel

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. enter image description here

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. enter image description here

Upvotes: 6

Abhilash Ramteke
Abhilash Ramteke

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

UBIK LOAD PACK
UBIK LOAD PACK

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

Amanpreet kaur
Amanpreet kaur

Reputation: 41

Just give the path in any listener as shown in image, execute the results and check the file.

image

Upvotes: 4

Pavan T
Pavan T

Reputation: 756

steps:

  • 1.Add 'Summary Report', 'Simple Data Writer' from Listeners.
  • 2.Set location to generated csv
  • 3.open reportgenerator.properties from "D:\apache-jmeter-3.0\bin\" copy all content from it
  • 4.Open user.properties from same bin folder
  • 5.Append all from reportgenerator.properties to user.properties and save
  • 6.Now run the your Test script
  • 7.open cmd and enter

jmeter -g D:\Report\TC001_Result.csv -o C:Report\ReportD

    1. Go to 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

Rajesh Qa
Rajesh Qa

Reputation: 167

Report Dashboard module is available in Apache Jmeter3.0 version.Please follow below steps to Generate report dashboard.

  1. Open Jmeter from bin folder.
  2. In JMeter bin folder you will find reportgenerator and user properties files.
  3. Simply copy all data of Report generator to user.properties file.
  4. Save the file.
  5. Now enter Save.saveservice properties in User.properties file and save it.
  6. Now restart JMeter from bin folder.
  7. Prepare your test plan.
  8. Run your script.
  9. Generate your test results in CSV file format.

I have learned in details report generation from here,you can also follow same steps to generate HTML report dashboard.

Report Dashboard Generation

Upvotes: 11

Related Questions