Available in Standard Set
JMeterPluginsCMD Command Line Tool since 0.4.1There 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 placed inside distribution ZIP. The tool consists of CMDRunner.jar and shell wrappers. Wrappers just shorten call of "java -jar CMDRunner.jar --tool Reporter ...". The tool files must be placed inside lib/ext directory of JMeter installation. The tool requires JMeterPlugins.jar to be placed in lib/ext also. The tool requires JMeter 2.4 to function properly (2.3 will work only for PNG generation). Usage and ParametersGenerating PNG: java -jar CMDRunner.jar --tool Reporter --generate-png test.png --input-jtl results.jtl \ --plugin-type ResponseTimesOverTime --width 800 --height 600 Generating CSV: java -jar CMDRunner.jar --tool Reporter --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.
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:
Other Ways to Automate ReportingYou can use Loadosophia.org service to automate test results storage and reporting. See also: Loadosophia Uploader plugin. |
On this page:
|