How to run JMeter through command line in non GUI mode
JMeter is an open source testing tool widely used for performance testing. It's GUI gives you a good usability to add different components to be used in your test plan and also helps in your debugging. However, the GUI mode slows down the CPU while the tests are running if you have multiple listeners in it. Hence, use non GUI mode of JMeter. Running JMeter in command line mode(Non-GUI) mode: Open the command prompt(Windows) or Terminal (Mac) CD into the JMeter's bin directory Run the following command jmeter -n -t "/path/to/your/test.jmx " -l "/path/to/results/file.jtl" Here, -n is for non-GUI mode -t is the path to your jmx file -l specifies the JTL file where the results will be captured You will see an output like this in your command prompt This is how you can execute your performance test in a non GUI mode in JMeter.