JMeter
with Command Prompt
JMeter is powerful
opensource performance testing tools.
We can play around
with JMeter using command prompt in efficient way.
Launch JMeter using command prompt:
1. Open Command prompt
2. Go to Bin folder of JMeter in
command prompt using cd
3. Then using below command to open
test script:
jmeter -n –t test.jmx -l testresults.jtl
There are various commands which help us to run and perform actions with
Jmeter in NON-GUI mode
Best command I can suggest is
- jmeter -?: To
print a list of all the command-line options of Non-GUI mode.
Below are some important one:
- jmeter.bat: To
run JMeter (in GUI mode by default)
- jmeterw.cmd: To
run JMeter without the windows shell console (in GUI mode by default)
- jmeter-n.cmd: To
drop a JMX file on this to run a non-GUI test
- jmeter-n-r.cmd: To
drop a JMX file on this to run a non-GUI test remotely
- jmeter-t.cmd: To
drop a JMX file on this to load it in GUI mode
- jmeter-server.bat: To
start JMeter in the server mode
- mirror-server.cmd: To
run the JMeter Mirror Server in non-GUI mode
- shutdown.cmd: To
run the Shutdown client to stop a non-GUI instance gracefully
- stoptest.cmd: To
run the Shutdown client to stop a non-GUI instance abruptly
Happy
Testing!!!
Comments
Post a Comment