Ruben Laguna's blog

Jan 2, 2007 - 2 minute read - apache chart graph java jmeter plugin Uncategorized

Better JMeter Graphs

If you are tired of the old “Graph Results” listener that JMeter provides and want better charts in your Jmeter test plan take a look at this JMeter plugin.

This is how the old “Graph Results” look like:

Old Graph Results

Click on the above image or here to see an enlarged version of the old Graph Results

Checkout this new JMeter plugin that provides a new Statistical Aggregate Report listener. (see the screenshot)

Statistical Aggregate Report

Click on the above image or here to see an enlarged version


To install the plugin you only have to unzip the into the JMeter 2.2 installation dir. The zip file has four files, three of them go into the $JMETER_HOME/lib directory and the other file goes into the $JMETER_HOME/lib/ext directory. When you unzip the zip file it will create the appropiate directory structure, but just in case the jcommon-1.0.5.jar, jdnc-0.6-all.jar and jfreechart-1.0.2.jar goes in the $JMETER_HOME/lib and StatAggVisualizer.jar goes on the $JMETER_HOME/lib/ext.

Once is installed, restart JMeter and now you must see a new “Statistical Aggregate Report” in the Add -> Listener menu.

This plugin it’s mainly the work of Lars Krogjensen (he provided most of the code) I only modified it a bit and repackaged it. You can find the source code below.

Previous version was compiled with jdk1.6.0 and therefore it only run on jre1.6.0 (Thanks to Daniel for pointing this out). This new version I’ve tested it with j2re1.4.2_10, jre1.5.0_06 and jdk1.6.0 and it runs on all three java platforms.

Source code

For those of you that want to take a look to the source code I exported the Eclipse project from my workspace as a zip file . Once you have downloaded it go to Eclipse “Import->Existing projects into Workspace”. You can also unzip it and use Apache Ant to build the plugin.

Hope you find it useful.