Discussion:
Programmatically generate PNG from the PerfMon plugin results
Marek Czernek
2018-09-20 11:27:23 UTC
Permalink
Hi there,

is there any way to programmatically generate png of a graph from a
plugin csv file?

My situation:

* Perfmon plugin is configured, and works as it should
* At the end of testing, I get CSV. I can open JMeter, open the
PerfMon plugin listener, and point it to the file with results. I
can manually save the graph

Ideal situation:

* JMeter testing finishes
* I execute a shell command, pointing it to the csv file, to get a PNG
graph without any GUI mode

Is that possible? Or is it possible to include the PerfMon plugin CSV
results in the automatic graph generation that happens when I provide
the appropriate flags? (/-e -o $dir_name/ if I'm not mistaken).

Thank you for any suggestions!

Cheers,
--
Marek Czernek

JWS/JBCS Associate Quality Engineer, RHCA

Find me at www.halfastack.com
g***@live.com
2018-09-21 05:35:55 UTC
Permalink
You can do this via JMeterPluginsCMD Command Line Tool
<https://jmeter-plugins.org/wiki/JMeterPluginsCMD/> , the relevant
JMeterPluginsCMD.bat --generate-png perfmon.png --input-jtl
perfmon-results.csv --plugin-type PerfMon --width 1024 --height 768
You can install JMeterPluginsCMD tool using JMeter Plugins Manager
<https://www.blazemeter.com/blog/how-install-jmeter-plugins-manager>



--
Sent from: http://www.jmeter-archive.org/JMeter-User-f512775.html

---------------------------------------------------------------------
To unsubscribe, e-mail: user-***@jmeter.apache.org
For additional commands, e-mail: user-***@jmeter.apache.org
Marek Czernek
2018-09-21 06:42:55 UTC
Permalink
Amazing! Thank you very much, this indeed works.
Post by g***@live.com
You can do this via JMeterPluginsCMD Command Line Tool
<https://jmeter-plugins.org/wiki/JMeterPluginsCMD/> , the relevant
JMeterPluginsCMD.bat --generate-png perfmon.png --input-jtl
perfmon-results.csv --plugin-type PerfMon --width 1024 --height 768
You can install JMeterPluginsCMD tool using JMeter Plugins Manager
<https://www.blazemeter.com/blog/how-install-jmeter-plugins-manager>
--
Sent from: http://www.jmeter-archive.org/JMeter-User-f512775.html
---------------------------------------------------------------------
--
Marek Czernek

JWS/JBCS Associate Quality Engineer, RHCA

Find me at www.halfastack.com
Loading...