Exit Jmeter after the tests and save the aggregated reports

advertisements

Yesterday due to some reason my Jmeter Machine crashed and I do not have results.

These results run overnight on a laptop, what I am looking for is, I can quit Jmeter ones tests are done and my reports get saved automatically.


Run the JMeter always in Non-GUI mode.

Following is the command:

jmeter.bat -n -t Sctipt.jmx -l results.jtl

-l : option to save the results.

When the test is completed, automatically results will be saved in results.jtl file. you can give full path also, otherwise, saves the file in current directory i.e., JMeter folder where 'jmeter.bat' file present.

Don't keep any listeners in the script as they utilizes system resources.