timerjmeteriterationdelaythreadgroup

Add a delay time between thread group iterations


I have a script with one Thread Group, and I have a look count on so when I run the test it will do 4 iterations of that one thread group.

I am trying to add a delay between each iteration of the thread group NOT between each request in the thread group so that after the first iteration it will wait 5 minutes then do the next iteration.

I have looked all over for a solution but all answers refer to each request as opposed to the entire thread group.


Solution

  • You can add Flow Control Action at the start of thread group with Pause Action

    Duration How long to pause for (milliseconds)

    This sampler can also be useful in conjunction with the Transaction Controller, as it allows pauses to be included without needing to generate a sample. For variable delays, set the pause time to zero, and add a Timer as a child.