Collections:
Run JMeter Test Plan in Command Line
How to run a JMeter Test Plan in command line mode? I have a Test Plan stored in Facebook-Login-Test-7.jmx.
✍: FYIcenter.com
To run a JMeter Test Plan in command line mode, you need to:
1. Make sure you have "View Result in Table" listener included in the test plan to generate result.
2. Run JMeter using the following command:
>\fyicenter\jmeter\bin\jmeter -n -t test-plan.jmx -l test-result.csv
For example:
>\fyicenter\jmeter\bin\jmeter -n -t Facebook-Login-Test-7.jmx -l Test-Result.csv Creating summariser Created the tree successfully using Facebook-Login-Test-7.jmx Waiting for possible Shutdown/StopTestNow/Heapdump message on port 4445 summary = 4 in 00:00:22 = 0.2/s Avg: 5422 Min: 3966 Max: 7299 Err: 1 (25.00%) ... end of run
The summary line tells us that:
If you open Test-Result.csv in Excel, you will see more
information about each sampler execution:
Â
⇒ Override JMeter Variable from Command Line
⇠JMeter Command Line Options
⇑ Running JMeter in Command Line Mode
⇑⇑ Apache JMeter Tutorials
2017-11-18, 1880👍, 0💬
Popular Posts:
In what order thread groups are executed in JMeter? Thread groups, including regular "Thread Groups"...
What are JMeter command line options? You can get see JMeter command line options by running this co...
How to generate user birthday dates? Test user birthday dates are frequently needed in testing appli...
How to generate email addresses? To help you to obtain some email addresses for testing purpose, FYI...
Where to find test data generators? FYIcenter.com has prepared a number of test data generators for ...