Thursday, May 5, 2011

How to Run Jmeter in command line mode

JMeter can be run in 2 different modes

1. GUI based
2. Non-GUI based

While we can use Start in the GUI Mode to start the tests , the test can also be run from command prompt

1. Open a command prompt
2. Go to the folder where Jmeter is present and go in side bin
3. Now type java -jar ApacheJMeter.jar -n -t


  1. I am very new to Software Testing. My Company has assigned Web AUtomation project to me. However, I am really new to this concept. Any help with regards to the flash automation, running automation scripts through CMD, generating reports and mailing will be very much useful for me. Awaiting your reply

    1. In order to run the jmeter in non GUI mode in ubuntu operating system type the following command in terminal:

      # jmeter -n -t test file name -l the file name where you want to store the output