Reputation: 13
I added a jmx script in JMeter5.0 with two loop controllers called within a thread. two loop controllers are:
I want all my users from CSV to login at once and then logout at once, which is working fine, but before next login, I want some delay (after logout controller).
Putting constant timer will make the delay in all requests instead of loop controllers.
Upvotes: 1
Views: 947
Reputation: 58774
Notice that JMeter's [scoping rules] execute Timers before Samplers
2.Timers
3.Sampler
So either put Timer as a child of first sampler in Login Controller, (it'll add delay also in first login)
Or add a Flow Control Action at the end of the Logout controller with Timer as its child
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.
Upvotes: 1