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.
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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.