flybywire
flybywire

Reputation: 273972

how to make jmeter output graphs

I am not a jmeter expert, but I understand it can display graphs and save the data in .xml files.

Is there a way to have jmeter actually create JPG, GIF or PNG files (or whatever format that can be embedded in html?)

Added later: I need a solution that works in a batch run

Upvotes: 15

Views: 28555

Answers (6)

UBIK LOAD PACK
UBIK LOAD PACK

Reputation: 34566

Use JMeter-plugins and the listener called JP@GC Graphs Generator:

In upcoming version 2.14 or 3.0, there will be this new feature that generate an HTML report with dynamic graphs, APDEX table and summary of errors:

It is available in nightly build as of 20th january 2016:

Upvotes: 1

achalsudheer
achalsudheer

Reputation: 75

I would stand by @Andrey Pohilko in agreeing that Loadosophia is the best when it comes to graphs and also jmeter-plugins for addons for jmeter tool.

Check out the sample loadosophia graph here.

Upvotes: 3

Andrey Pokhilko
Andrey Pokhilko

Reputation: 2668

Use Loadosophia or jmeter-plugins

Upvotes: 4

Brett Cave
Brett Cave

Reputation: 29

there is a list of ways to analyze logs on the wiki - http://wiki.apache.org/jakarta-jmeter/LogAnalysis

I use jmetergraph.pl for nice summary reports. Note that there is a bug with the default jmetergraph.pl, you need to add this to line 313, at the end of the while loop:

    close(IN);
}

$glabels{'entire'} = \%entire;    # this line added.
print "Found $#labels labels\n" if $DEBUG;

Otherwise you can use the jmeterlog class to create your own images by writing custom code for it.....

Upvotes: 1

Dylan Lacey
Dylan Lacey

Reputation: 1844

I would suggest saving as a CSV file, then using a graphing engine separately to generate graphs. If you want to create them dynamically you could use some open-source graphing tools and a workflow engine.

If you're happy with doing it by hand, Excel?

Upvotes: 2

kanngard
kanngard

Reputation: 1017

A simple way would be to right click on a Graph Result to "Save Node as Image".

Upvotes: 10

Related Questions