Thread group loop times of jmeter

Sometimes the pressure measurement needs to configure the duration of concurrency, which can be configured on the thread group page in jmeter

 

1. There are 2 usage scenarios for the number of cycles of jmeter

2. Introduction of duration function

3. Duration usage scenarios

 

 

1. There are 2 usage modes for the number of cycles of jmeter

There are generally two usage scenarios for the number of cycles of jmeter, one is to set a fixed number of times, and the other is to control the cycle time without setting the number of times. That is, whether to check "forever" for the number of loops

Set a fixed number of cycles, this setting allows a certain number of users to perform multiple cycles, thus forming a concurrency

Do not set the number of times and only control the cycle time. This setting mode is to observe the server in a period of time to maintain a certain concurrent operation.

 

2. Introduction of duration function

When the cycle number 1 set as shown in the figure selects "forever", you can check the plan 2, set the number 3, 4, and 5, so as to set a concurrency duration you want to control

4 has the highest priority and 5 has the lowest priority. That is, the delay start time execution priority is greater than the start time greater than the duration time greater than the end time

 3. Duration usage scenarios

For example, there is a scenario where the simultaneous click rate of 50 users is equivalent to the online rate of 200 users. At this time, it is necessary to observe a performance situation of the server when 200 users are online. At this time, the cycle period can be set to forever, and then set to continuous If the time is 10 minutes or more, use the top command to view a cpu usage

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324668205&siteId=291194637