JMeterPluginsCMD and perfmon charts generation

403 views
Skip to first unread message

Auro

unread,
Jun 14, 2011, 9:29:07 AM6/14/11
to jmeter-plugins
Hi Guys,
I download JMeterPlugins-0.4.2-snapshot1.zip to try perfmon charts
generation via command line.
I'm not sure about the command. I tryed:

java -jar JMeterPluginsCMD.jar --generate-png PerfMon.png --input-jtl
result.jppm --plugin-type PerfMon --width 800 --height 600 --
granulation 30000

java -jar JMeterPluginsCMD.jar --generate-png PerfMon.png --input-jtl
result.jtl --plugin-type PerfMon --width 800 --height 600 --
granulation 30000

without success.
Do you know the right command?

Thanks Auro

Andrey Pohilko

unread,
Jun 14, 2011, 12:13:35 PM6/14/11
to jmeter-...@googlegroups.com
First of all - forget about jppm files, they will not be used in PerfMon Metrics Collector.

Second command line seems to be right, if you pass it result.jtl saved from PerfMon Metrics Collector, not regular JMeter result file.

To have right JTL file with perfmon data you must configure PerfMon Metrics Collector in your plan to save data to file.


Auro

unread,
Jun 15, 2011, 3:52:06 AM6/15/11
to jmeter-plugins
If I'm not wrong the "Servers Performance Monitoring" element has not
an option to save data to file. Do you mean to add a "Simple Data
Writer" listener to save a PerfMon.jtl file?
I'm running tests in non gui mode with this command line:
jmeter.bat -n -t C:\jmeter\tests\testPlan.jmx -l C:\jmeter\tests
\result.jtl -Jjppmfile=C:\jmeter\tests\result.jppm
In this case how many jtl files will be generated?

Andrey Pohilko

unread,
Jun 15, 2011, 3:54:53 AM6/15/11
to jmeter-...@googlegroups.com
You're wrong because I'm talking about "PerfMon Metrics Collector" plugin, not "Servers Performance Monitoring".

Auro

unread,
Jun 15, 2011, 6:31:15 AM6/15/11
to jmeter-plugins
Ok! I understood. Now the CPU monitoring works perfectly. Does the
"PerfMon Metrics Collector" plugin support (or will support) also the
memory monitoring?

Andrey Pohilko

unread,
Jun 15, 2011, 7:05:37 AM6/15/11
to jmeter-...@googlegroups.com
Yes, it does.
Just select Memory from combo-box in metrics list
Reply all
Reply to author
Forward
0 new messages