JMeter Non-GUI mode
The non-GUI mode of JMeter is recommended for testing. The reason is that JMeter uses less memory in non-GUI mode, allowing a load generator to support more threads. The no-GUI option allows more thread space and prevents test failures due to memory issues.
The steps to run the test in the non-GUI mode of JMeter are as follows:
For Windows
Select “Start”
Do a “Run” search or press “Win+r”
Use the “cd” command to go to the JMeter ‘bin’ folder.
Fill in the command:
After the test is finished, Windows will generate an HTML report.
For Windows OS, the following commands are helpful:
• jmeter.bat: to start JMeter (default in GUI mode)
• jmeterw.cmd – to run JMeter (in GUI mode by default) without using the Windows shell console
• To run a non-GUI test, place a JMX file here with the jmeter-n.cmd command. Use the JMeter-n-r.cmd command to run a non-GUI test remotely.
• Drop a JMX file here to load it in GUI mode with the jmeter-t.cmd command.
• JMeter can be started in server mode using the following commands: jmeter-server.bat; mirror.cmd; exit. cmd; and stop the test; to cleanly stop a non-GUI instance. Run the shutdown client with cmd to abruptly stop a non-GUI instance.
• JMetrix-? A list of all non-GUI mode command line parameters