From the course: JMeter: Performance and Load Testing

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Opening JMeter through the CLI

Opening JMeter through the CLI - Apache JMeter Tutorial

From the course: JMeter: Performance and Load Testing

Start my 1-month free trial

Opening JMeter through the CLI

- [Instructor] If I need to use the JMeter application with a full GUI, I can still open it through the command line. On the command line, I can navigate to the bin folder within my JMeter directory and on my Mac I'll change my directory to where JMeter is stored. In the bin folder, I'm going to run the following command. Sh jmeter.sh and running that will open Jmeter. On Windows, I need to do almost the same series of events aside from the actual command line to run. I'd run jmeter.bat to perform the same action. When JMeter opens, it suggests that I shouldn't really use the GUI to run the load test. The GUI is most helpful for creating or debugging the code. At this point, I'm only halfway to doing what JMeter wants by learning to open the application using the command line. The GUI is a great place to start a new load test, however, once the test reaches a robust state, the CLI is the place to be.

Contents