Difference between revisions of "Apache JMeter"
Jump to navigation
Jump to search
Line 15: | Line 15: | ||
*[http://www.testautomationguru.com/jmeter-real-time-results-influxdb-grafana-part-2-adding-custom-fields/ www.testautomationguru.com] | *[http://www.testautomationguru.com/jmeter-real-time-results-influxdb-grafana-part-2-adding-custom-fields/ www.testautomationguru.com] | ||
*[https://learn-jmeter.blogspot.co.uk/2016/10/how-to-generate-jmeter-report-dashboard.html learn jmeter blog] | *[https://learn-jmeter.blogspot.co.uk/2016/10/how-to-generate-jmeter-report-dashboard.html learn jmeter blog] | ||
*[http://jmeter.apache.org/usermanual/get-started.html#options Get started] Official] |
Revision as of 06:08, 23 May 2018
Run Jmeter in Non-GUI mode
jmeter -n -t YourJmeterTestPlan.jmx -l TestResultFile.jtl -j LogFile.log
where,
- -n – Non-GUI mode – This specifies JMeter is to run in non-gui mode
- -t – Name of JMX file that contains Test Plan
- -l – Name of JTL file to capture results to
- -j – Name of Log file to capture execution logs
After running this command, Jmeter instance will be initiated which will execute the JMX file mentioned after -t. Post execution it will create the Test result file with .jtl format. If a result file with same name already exist, it will be appended with new one.