The following describes how to run the JMeter Linux command in a Windows environment the same1, first of all to prepare the script, and set the thread properties, suppose we set a thread, loop once. 2, open the cmd command line, to the bin directory of JMeter 3, enter: Jmeter-n-T home revision. JMX-L RESULT/10.JTL Enter, wait for run end parameter description: -n refers to JMeter running in a GUI-free form;-t specifies the script to run, such as: Homepage revision. JMX-L specifies a JTL file to store the results of the run, such as: RESULT/10.JTL, where result is I have built in the bin in advance Record folder, in fact, can not be new, JMeter will detect if not exist will generate a, as long as the path can be set. 4, after the end of the run, or can be in the GUI interface, import 10.JTL files to view the results of the operation, such as viewing the aggregation report
Execution on Linux will encounter error in Nonguidriver java.lang.RuntimeException:Could not find the Testplan class!
The answer to this question is numerous online, but after testing, the problem is that the Jmx file has Chinese (no language)
JMeter command line execution and problem resolution Error in Nonguidriver java.lang.RuntimeException:Could not find the Testplan class!