JMeterPluginsCMD Command Line ToolThere is small command-line utility for generating graphs out of JTL files. It behave just like right-click context menu on all graphs. The tool can generate PNG, CSV or both. Note you can use GraphsGeneratorListener if you want to bulk generate graphs after a test or for existing results. InstallationThe tool is installed normally with PluginsManager, producing launcher bat/sh files in JMeter's bin directory. Use JMeterPluginsCMD.bat on Windows and JMeterPluginsCMD.sh on MacOS and Linux. Usage and ParametersGenerating PNG: JMeterPluginsCMD.bat --generate-png test.png --input-jtl results.jtl --plugin-type ResponseTimesOverTime --width 800 --height 600 Generating CSV: JMeterPluginsCMD.bat --generate-csv test.csv --input-jtl results.jtl --plugin-type ResponseTimesOverTime Yoy may generate CSV and PNG in single tool run. --help will show you short help list on available parameters.
Use --input-jtl merge-results.properties with --plugin-type MergeResults. The merge-results.properties file is in JMETER_HOME/bin dir. You may customize graph drawing and data processing like GUI settings do with optional parameters:
Plugin Type ClassesMake note that you need to install corresponding plugins set to have Extras plugins available in CMD. Most of class names are self-explanatory:
Maven PluginYou could also generate graphs with the jmeter-graph-tool-maven plugin https://github.com/vdaburon/jmeter-graph-tool-maven-plugin |
On this page:
|