JMeter Intermediate Tutorial 4 – How to generate Graphical results

Notes:

Today we will learn:

1. Download and set Graphs Generator Listener
2. Create a HTTP Test Plan
3. Generate following graphs
– No of Hits vs Time
– Response Time vs Time

4 UI and CommandLine execution


Step 1
Download JMeter Graphs Generator Listener Plugin
https://jmeter-plugins.org/?search=jpgc-ggl

: Download JMeter Command Line graphs plugin
https://jmeter-plugins.org/?search=jpgc-cmd

Restart JMeter


Step 2
Create a Test Plan – Add Sampler – Add Generate Graphs Listener


Step 3
Add data as per requirement


Step 4
Run and Validate


Step 5
Command Line Execution
${__P(RESULT_FILE)}


NOTE:
In user.properties file in your jmeter/bin directory,
Set the following properties:

jmeter.save.saveservice.output_format=csv

jmeter.save.saveservice.data_type=false

jmeter.save.saveservice.label=true

jmeter.save.saveservice.response_code=true

jmeter.save.saveservice.response_data.on_error=false

jmeter.save.saveservice.response_message=false

jmeter.save.saveservice.assertion_results_failure_message=false

jmeter.save.saveservice.successful=true

jmeter.save.saveservice.thread_name=true

jmeter.save.saveservice.time=true

jmeter.save.saveservice.subresults=false

jmeter.save.saveservice.assertions=true

jmeter.save.saveservice.latency=true

jmeter.save.saveservice.bytes=true

jmeter.save.saveservice.hostname=true

 

# This will enable correct graphs display

# which deal with threads after reloading the results file.

jmeter.save.saveservice.thread_counts=true

 

jmeter.save.saveservice.sample_count=true

jmeter.save.saveservice.timestamp_format=HH:mm:ss

jmeter.save.saveservice.default_delimiter=;

jmeter.save.saveservice.print_field_names=true

# This is needed to ensure all results are

# available when Listener runs

jmeter.save.saveservice.autoflush=true


 

JMeter Beginner Playlist : https://www.youtube.com/playlist?list…

JMeter Intermediate Playlist : https://www.youtube.com/playlist?list…

JMeter Advanced Playlist: https://www.youtube.com/playlist?list…

 

Send me your comments and feedback


 

 

1