Aggregate Report Failing with Jmeter 3.2 JTL

1,871 views
Skip to first unread message

anaf...@gmail.com

unread,
Jun 20, 2017, 3:06:35 PM6/20/17
to jmeter-plugins
I am using jpgc-cmd-2.1.zip with Jmeter 3.2 JTL file to get Aggregate Report.  
Using the command line I unzipped in the apache-jmeter-3.2 directory and that populated files in lib and bin.  

Running it per the example in https://jmeter-plugins.org/wiki/JMeterPluginsCMD/ 

$ ./JMeterPluginsCMD.sh --generate-csv Summary.csv --input-jtl test_1.jtl --plugin-type AggregateReport
ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console. Set system property 'org.apache.logging.log4j.simplelog.StatusLogger.level' to TRACE to show Log4j2 internal initialization logging.
ERROR: java.lang.NoSuchMethodError: org.apache.jmeter.save.CSVSaveService.saveCSVStats(Ljava/util/List;Ljava/io/FileWriter;[Ljava/lang/String;)V
*** Problem's technical details go below ***
Home directory was detected as: /u01/user/Jmeter/apache-jmeter-3.2/lib
Exception in thread "main" java.lang.NoSuchMethodError: org.apache.jmeter.save.CSVSaveService.saveCSVStats(Ljava/util/List;Ljava/io/FileWriter;[Ljava/lang/String;)V
        at kg.apc.jmeter.vizualizers.AggregateReportGui$FakeGraphPanelChart.saveGraphToCSV(AggregateReportGui.java:261)
        at kg.apc.jmeter.PluginsCMDWorker.doJob(PluginsCMDWorker.java:161)
        at kg.apc.cmdtools.ReporterTool.processParams(ReporterTool.java:250)
        at kg.apc.cmdtools.PluginsCMD.processParams(PluginsCMD.java:66)
        at kg.apc.cmdtools.PluginsCMD.processParams(PluginsCMD.java:22)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at kg.apc.cmd.UniversalRunner.main(UniversalRunner.java:105)


Any idea what is causing the above error??

srij...@gmail.com

unread,
Jul 14, 2017, 3:04:16 PM7/14/17
to jmeter-plugins, anaf...@gmail.com
I had the same issue. Updating the Synthesis Report plugin (to version 2.1) in Jmeter solved it for me.

rishi...@travisperkins.co.uk

unread,
Jul 25, 2017, 11:49:52 AM7/25/17
to jmeter-plugins, anaf...@gmail.com
Got the same issue did you fix it?

alexande...@gmail.com

unread,
Aug 3, 2017, 3:54:57 AM8/3/17
to jmeter-plugins, anaf...@gmail.com
I have the same issue. Is an update of this plugin planned?

Artem Fedorov

unread,
Aug 7, 2017, 6:35:50 AM8/7/17
to jmeter-...@googlegroups.com, anaf...@gmail.com, alexande...@gmail.com, rishi...@travisperkins.co.uk
Hi all,

I had this exception with Synthesis Report plugin version 2.0. This issue was fixed in Synthesis Report version 2.1.  Please, upgrade your plugin and try it

Thanks,
Artem

--
You received this message because you are subscribed to the Google Groups "jmeter-plugins" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jmeter-plugins+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

alexande...@gmail.com

unread,
Aug 8, 2017, 5:25:34 AM8/8/17
to jmeter-plugins, anaf...@gmail.com, alexande...@gmail.com, rishi...@travisperkins.co.uk
Hi Artem,

thank you for pointing that out. I used kg.apc:jmeter-plugins-standard:1.4.0 that contained Syntesis Report 2.0 before. jmeter-plugins-standard doesn't exist any more so I use Synthesis Report 2.1 directly now and it works. But it requires some other libs it depends on: jmeter-plugins-cmd, jmeter-plugins-cmn-jmeter, jmeter-plugins-filterresults, jmeter-plugins-graphs-basic.

Regards
Alex
To unsubscribe from this group and stop receiving emails from it, send an email to jmeter-plugin...@googlegroups.com.

Andrey Pokhilko

unread,
Aug 8, 2017, 6:22:49 AM8/8/17
to jmeter-...@googlegroups.com

This is why you should use Plugins Manager so it will install all required libs automatically.

Andrey Pokhilko

alexande...@gmail.com

unread,
Aug 10, 2017, 6:35:53 AM8/10/17
to jmeter-plugins

Hi Andrey,

 

I don’t use JMeter GUI. I let run a performance test with jmeter-maven-plugin as part of Continuous Integration at each build and since I haven’t found a possibility to export statistics (avg, min, max, stdDev) in JMeter directly I use cmdrunner with Synthesis Report as second step during build to create statistics which are persisted it in a database in the third step.


Regards

Alex

Andrey Pokhilko

unread,
Aug 10, 2017, 10:21:31 AM8/10/17
to jmeter-...@googlegroups.com

Then I don't know how to help here... You need to use latest versions of plugins, this bug is fixed there.

Andrey Pokhilko

alexande...@gmail.com

unread,
Aug 11, 2017, 2:05:44 AM8/11/17
to jmeter-plugins

Hi Andrey,


as I wrote in the comment above, I solved my problem by adding necessary plugins to jmeterExtensions of jmeter-maven-plugin.


It would be nice if JMeter had a built-in support for statistics export during / after test plan run without additional plugins.


Regards

Alex

PMD

unread,
Aug 12, 2017, 1:03:46 AM8/12/17
to jmeter-plugins

nutan...@gmail.com

unread,
Dec 7, 2018, 1:52:21 AM12/7/18
to jmeter-plugins
Hi Andrey,
I am using jmeter-gradle-plugin. How do i find out what is latest version I should be using? Currently I have setup this in my build.gradle:

plugins {
     id "net.foragerr.jmeter" version "1.1.0-4.0"
 }
and the jmeter-plugin.properties shows:

jmeter.version=4.0
plugin.version=1.4.0
thisPlugin.version=1.1.0-4.0

Is this version old? Please point me to right version of the plugin and also any configuration that I must have for it to work correctly.

I have started getting the following issue when I run jmRun task:
java.io.FileNotFoundException: WORK_DIR/jmeter/bin/log4j2.xml (No such file or directory)

I notice WORK_DIR/jmeter/bin is created without log4j2.xml. Dont know which jmeter plugin property is used for location so i can change it. Can you help? Thanks.

rain....@gmail.com

unread,
Jun 4, 2020, 8:47:49 AM6/4/20
to jmeter-plugins
Thank you... this solves my issue


On Monday, 7 August 2017 18:35:50 UTC+8, Artem Fedorov wrote:
Hi all,

I had this exception with Synthesis Report plugin version 2.0. This issue was fixed in Synthesis Report version 2.1.  Please, upgrade your plugin and try it

Thanks,
Artem
To unsubscribe from this group and stop receiving emails from it, send an email to jmeter-...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages