100% found this document useful (1 vote)
918 views14 pages

How To Generate Jmeter Report Dashboard

The document describes how to generate a Jmeter report dashboard by configuring the Jmeter test plan to use the Simple Data Writer listener to save test results and configuring report generation properties to define graphs and reports. Key steps include running a Jmeter test plan to generate a CSV results file, copying report configuration properties to the user properties file, and configuring the Simple Data Writer listener.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
918 views14 pages

How To Generate Jmeter Report Dashboard

The document describes how to generate a Jmeter report dashboard by configuring the Jmeter test plan to use the Simple Data Writer listener to save test results and configuring report generation properties to define graphs and reports. Key steps include running a Jmeter test plan to generate a CSV results file, copying report configuration properties to the user properties file, and configuring the Simple Data Writer listener.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

How to Generate Jmeter Report Dashboard

Apache JMeter is an open source performance tool which is helpful in testing load test for

WebApplications and WebServices,REST API [Link] latest JMeter 3.0 version apache

software included Generate Jmeter Report Dashboard using APDEX(Application

Performance Index).

How to Generate JMeter Report Dashboard

What is APDEX?
APDEX is an open standard which is developed by an alliance [Link] which is

useful in measure user satisfaction with the help of response time of applications and

Services(WebServices/REST API).APDEX measures average time with the help of response

time of application under test whether it could be web applications or [Link]

measure application response time with three levels,those are

[Link].

[Link] Threshold.

[Link] Threshold.
How to Generate JMeter Report Dashboard
Please follow below steps to Generate JMeter report dashboards for a test plan.

1. Download Apache JMeter 3.0 from Apache Software Foundation website.

2. Unzip the file.

3. Open Jmeter GUI using [Link] file from Apache Jmeter3.0/bin folder.

4. Create Test plan for Web Applications or Web-Services.

5. Add Summary Report, Simple Data Writer from Listeners.


Set Thread Group as

 Number of Thread(Users) - 5

 Ramp Up Period - 2

 Loop Count Foreve

 Duration in Scheduler - 300

 StartUp Delay - 0
Please Read below posts to understand current post easily.

Record Script in Jmeter

Run test plan untill specified Time.

Note:

Please don't create any CSV file before running your Test Plan ,with the help of

Simple Data Writer Test Result file automatically created in specified location.

Simple Data Writer Configuration:

Before Running your test plan we should configure below fields in Simple Data Writer

window panel, those are

1. timeStamp

2. elapsed

3. label

4. responseCode

5. responseMessage

6. threadName

7. dataType

8. success

9. failureMessage
10. bytes

11. grpThreads

12. allThreads

13. Latency

14. IdleTime

Just click on Configure button in Simple Data Writer window panel then it will open Simple

Result Save Configuration window then you have to select above checkboxes ,please see

below screenshot.

Once everything is done just click on Done button and save your Test Plan script.

Jmeter Report Generation Configuration


In Apache jmeter 3.0 version it has given reportgeneration properties file, if you open

that file it will display all report generation configuration details, simply copy

those [Link] configuration in User Properties file as below.

Copy SAVE Service configurations also in User Properties file.


#---------------------------------------------------------------------------

# Reporting configuration

#---------------------------------------------------------------------------

# Sets the satisfaction threshold for the APDEX calculation (in milliseconds).

[Link].apdex_satisfied_threshold=500

# Sets the tolerance threshold for the APDEX calculation (in milliseconds).

[Link].apdex_tolerated_threshold=1500

# Sets the size of the sliding window used by percentile evaluation.

# Caution : higher value provides a better accuracy but needs more memory.

#[Link].statistic_window = 200000

# Configure this property to change the report title

[Link].report_title=Apache JMeter Dashboard

# Defines the overall granularity for over time graphs


[Link].overall_granularity=60000

# Response Time Percentiles graph definition

[Link]=[Link]

.[Link]

[Link]=Response Time Percentiles

# Response Time Distribution graph definition

[Link]=[Link]

[Link]

[Link]=Response Time Distribution

[Link].set_granularity=500

# Active Threads Over Time graph definition

[Link]=[Link].

[Link]

[Link]=Active Threads Over Time

[Link].set_granularity=$

{[Link].overall_granularity}

# Time VS Threads graph definition

[Link]=[Link]

[Link]

[Link]=Time VS Threads

# Bytes Throughput Over Time graph definition

[Link]=[Link]

[Link]

[Link]=Bytes Throughput Over Time


[Link].set_granularity=$

{[Link].overall_granularity}

# Response Time Over Time graph definition

[Link]=[Link]

.[Link]

[Link]=Response Time Over Time

[Link].set_granularity=$

{[Link].overall_granularity}

# Latencies Over Time graph definition

[Link]=[Link]

[Link]

[Link]=Latencies Over Time

[Link].set_granularity=$

{[Link].overall_granularity}

# Response Time Vs Request graph definition

[Link]=[Link].

[Link]

[Link]=Response Time Vs Request

[Link].exclude_controllers=true

[Link].set_granularity=$

{[Link].overall_granularity}

# Latencies Vs Request graph definition

[Link]=[Link]

[Link]

[Link]=Latencies Vs Request
[Link].exclude_controllers=true

[Link].set_granularity=$

{[Link].overall_granularity}

# Hits Per Second graph definition

[Link]=[Link].

[Link]

[Link]=Hits Per Second

[Link].exclude_controllers=true

[Link].set_granularity=$

{[Link].overall_granularity}

# Codes Per Second graph definition

[Link]=[Link]

[Link]

[Link]=Codes Per Second

[Link].exclude_controllers=true

[Link].set_granularity=$

{[Link].overall_granularity}

# Transactions Per Second graph definition

[Link]=[Link].p

[Link]

[Link]=Transactions Per Second

[Link].set_granularity=$

{[Link].overall_granularity}

# HTML Export

[Link]=[Link]
TemplateExporter

# Sets the destination directory for generated html pages.

# This will be overridden by the command line option -o

[Link].output_dir=/tmp/test-report

#------------------------------------------------------

#SAVE SERVICE Configurations

#---------------------------------------------------------

[Link] = true

[Link] = true

[Link] = true

[Link].response_code = true

[Link].response_message = true

[Link] = true

[Link].thread_counts = true

[Link].thread_name = true

[Link] = true

[Link].print_field_names=true

# the timestamp format must include the time and should include the date.

# For example the default, which is milliseconds since the epoch:

#[Link].timestamp_format = ms

# Or the following would also be suitable

[Link].timestamp_format = dd/MM/yyyy HH:mm

#save service assertion

[Link].assertion_results_failure_message = true
Test Results - CSV file:
Before generating the script, run your Test Plan as specified time interval and once all

threads are completed then simple data Writer generates Test Results file as specified

location as below screenshot. Now run Test plan up-to 300 seconds i.e 5 Minutes, results file

will generate from Simple Data Writer, here i am saving test result file in CSV file.

Now open Command Prompt.

Go to ApacheJmeter3.0/bin path as below

Enter below command to generate the reports as per test results csv file.

jmeter -g E:\JMETER_Tutorials\[Link] -o E:\

JMETER_Tutorials\HTMLReports
How to Generate JMeter Report Dashboard

Press Enter, it will display in case any errors present in generated CSV file other wise it will

generate Apache Jmeter Report Dashboard in specified folder.

Go to HTMLReports folder and it will display below folders and [Link] file

1. Content

2. sbadmin2-1.0.7

3. [Link]

4. README
Now open [Link] in chrome browser and it will display Apache Report Dashboard as

below.

You might also like