Graph Results via Non GUI mode in JMeter
Asked Answered
M

3

6

Is there any possibilities to get my below mentioned Graph Results in JMeter test, which is executed in non GUI mode. I can extract its values using csv, but we need to run the test in non GUI mode to get dashboard results also. Any possibilities for this ?

enter image description here

Monaghan answered 3/7, 2017 at 5:47 Comment(0)
A
4

Given you run your JMeter test in command-line non-GUI mode like:

jmeter -n -t test.jmx -l results.jtl

Once test is finished you should be able to open JMeter GUI, add Graph Results listener, locate results.jtl file using "Browse" button and you will see the chart.

Also there is an option to generate some charts in unattended manner using Command-Line Graph Plotting Tool available via JMeter Plugins project, see Automatically generating nice graphs at end of your Load Test with Apache JMeter and JMeter-Plugins guide for details.

Alarmist answered 3/7, 2017 at 7:26 Comment(4)
Is there any possibility to convert my .jtl file to html dashboards/charts ?Monaghan
You can generate HTML Reporting Dashboard like jmeter -g results.jtl -o /path/to/dashboard/folder, see Generating Reports chapter for more information. Alternatively you can upload your .jtl results file to a 3rd-party analysis service like BM.SenseAlarmist
I find that the same exact test plan run in GUI mode generates a graph in Graph Results that plots all the measurements (Average, Median, Throughput, Variance) whereas when I run that test plan in non GUI mode and then load the resulting .jtl file into the Graph Results listener afterwards, only the Throughput is plotted. Has anyone seen this before? Workarounds?Urbanity
Hi I have the .jtl file already downloaded from my non GUI test scripts reposts, is there any way that i can generate graph results from this .jtl file and save it graphically??Raggedy
A
1

There is a 3rd party plugin that allows you to monitor a NON-GUI test from a browser without further work.

After installing the plugin with JMeter-Plugins manager following this documentation.

Add the UbikLoadPack observality plugin to your test plan:

Add > Listener > UbikLoadPack Observability Plugin

The listener will be added, you can then adjust properties:

UbikLoadPack Observability Plugin configuration

You’ll be able to follow it from browser at url:

  • http://jmeter_host:9090/ulp-observability

In the browser, you'll have a web page showing:

  • A set of Live graphs for average response times, percentiles, error rate

Graphs

  • Live Summary metrics from test start

Summary metrics

Agitation answered 16/5, 2023 at 21:2 Comment(0)
A
0

I am trying to write web app based on Django to work with test results, do an online monitoring, etc. (kinda dashboard) for load tests which runned in Jmeter console mode (incl. distributive testing). Maybe you will want to participate in development or so :): https://github.com/v0devil/JMeter-Control-Center

Azrael answered 3/7, 2017 at 13:17 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.