Home > front end >  How to loop Samplers with different intervals in same loop using JMeter
How to loop Samplers with different intervals in same loop using JMeter

Time:06-11

Idea is to loop requests independently, the thread will run for 20 minutes.

Notifications will sample every 5 seconds.

Other Samples in Simple controller will loop one by one with 10 second delay.

enter image description here

I.e the timeline should look like this:

0sec /api-common/rest/notifications
0sec /api-common/rest/listterms

5sec /api-common/rest/notifications

10sec /api-common/rest/notifications
10sec /api-common/rest/rmslistterms

15sec /api-common/rest/notifications

20sec /api-common/rest/notifications
20sec /api-common/rest/mappings

...

But I can't find the right timer for this. Any help on this would be much appreciated!

CodePudding user response:

I don't think you will be able to run Samplers with different throughput within the bounds of one Thread Group because JMeter will always wait for the previous Sampler to complete before starting the next one.

The options are in:

  1. Either move /api-common/rest/rmslistterms to a separate enter image description here

  • Related