Helpful or running jmeter scripts in non GUI mode using shell script
As far as you know:
- We have two ways to run a Jmeter test plan through GUI (Windows only) and Non-GUI mode. Read more at here.
- But it’s recommended that you run the test plan through Non-GUI mode for performance testing. The GUI mode is only used when you develop and debug the test scripts.
- If you run with Non-GUI mode, you should use the utility batch (shell) file that will be mentioned in this post. It will help to generate the log and result files with including the time in name file and is put in a date folder. For instance: “TestProject_175854.log” and “TestProject_175854.csv”
- The following steps will introduce with you how to use the utility batch (shell) file to run Jmeter test plan in silent mode (Non-GUI) for both environment Windows and Linux:
1. Utility file:
You can create a batch file likes this:
shell file will…
View original post 303 more words