jemter command-line concurrent execution

1. Open set user-defined variable gui-

 

 

2. parameterized in the thread group

 

 

3. Save the above, and to ensure that the current script has been debugged

4. Turn cmd, enter jmeter / bin directory

C:\Users\hui\Desktop\tools\apache-jmeter-3.3\bin>

carried out:

jmeter.bat -JthreadNum=2 -JloopNum=2  -n -t C:\Users\hui\Desktop\msg.jmx -l C:\Users\hui\Desktop\msg.txt -e -o C:\Users\hui\Desktop\msgReport

-JthreadNum = 2-- = 2 represents the number of threads;

-JloopNum = 2-- represents 2 cycles;

-n --nogui

-t - is the test file format Note: xx.jmx

-l - execution log path or txt

-e -o generate jemter-web reporting remember plus path

The above command line to perform a total of four times to view the report as a result of four times;

The finished effect:

Guess you like

Origin www.cnblogs.com/yanhuidj/p/12072535.html