Controller logic controller circulated Jmeter

Today and share the use of cyclic controller.

And in the knowledge cycle controller

FIG follows: add a control cycle

 

Loop controller setting interface:

 

 

Cycles: forever and custom frequency, this should be relatively easy to understand.

Second, the use of cycler

In fact, we then should think of Jmeter familiar, this thread group settings interface has also set up a number of cycles, then the two of them in the end what relevance it. I understand the parent-child relationship.

 

 Below is an example,

Provided in the first thread group 3 cycles, cycle 2 cycle test controller is provided, other default, add a timer, convenient to view results, as follows:

 

 After the execution, the tree view the results:

 

 

Understood to: send a request for one second, three cycles, each cycle and two cycles.

for (int i = 1; i <= 3; i ++) {loop in the thread group

  for (int j = 1; j <= 2; j ++) {circulation loop controller

    carried out

  }

}

Usage scenarios: one to many relationship. For example, to create a department, then create multiple employees in the department. It uses a loop controller.

 

Guess you like

Origin www.cnblogs.com/sandymonk/p/11572867.html