Prerequisites :
- JRE & JDK installed in OS.
- Environment variables paths are configured for JRE & JDK.
- Downloaded Apace JMeter binary.
- To run the JMeter Test Plan on non-GUI mode, the Test Plan must be made and configured on GUI mode.
Steps:
-n [This specifies JMeter is to run in non-gui mode]
-t [name of JMX file that contains the Test Plan]
-l [name of JTL file to log sample results to]
-j [name of JMeter run log file].
-t [name of JMX file that contains the Test Plan]
-l [name of JTL file to log sample results to]
-j [name of JMeter run log file].
JMeter has several other parameters that can be used for running in non-GUI mode.
-R [list of remote servers] Run the test in the specified remote servers
-H [proxy server hostname or ip address]
-P [proxy server port]
Above mentioned options are used for remote execution of JMeter tests and for using JMeter through a proxy server.
great!
ReplyDelete