Programmatically generate PNG from the PerfMon plugin results

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Programmatically generate PNG from the PerfMon plugin results

Marek Czernek
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

Reply | Threaded
Open this post in threaded view
|

Re: Programmatically generate PNG from the PerfMon plugin results

glinius@live.com
You can do this via  JMeterPluginsCMD Command Line Tool
<https://jmeter-plugins.org/wiki/JMeterPluginsCMD/>  , the relevant
command-line syntax would be something like:


> 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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Programmatically generate PNG from the PerfMon plugin results

Marek Czernek
Amazing! Thank you very much, this indeed works.

On 9/21/18 7:35 AM, [hidden email] wrote:

> You can do this via  JMeterPluginsCMD Command Line Tool
> <https://jmeter-plugins.org/wiki/JMeterPluginsCMD/>  , the relevant
> command-line syntax would be something like:
>
>
>> 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: [hidden email]
> For additional commands, e-mail: [hidden email]
>
--

Marek Czernek

JWS/JBCS Associate Quality Engineer, RHCA

Find me at www.halfastack.com