Home > OS >  Group multiple HTTp samplers as one transaction, and have constant throughput
Group multiple HTTp samplers as one transaction, and have constant throughput

Time:05-07

In my application, I would like to combine a group of HTTP samplers as one transaction, and have a constant throughput on the group.. ie. when I created a thread group with multiple HTTP samplers and defined a constant throughput timer in the group, I am seeing that it is considering each HTTP sampler separately...

Test Plan

ThreadGroup

----> request 1

-----> request 2

-----> request 3

------> constant Throughoput timer ( 1.0 req per min)

It executes as :

-----> request1

wait 60 secs

------> request 2

wait 60 secs...

----> request 3 ...

what I would like

-----request 1 ----- request 2 ------ request 3

wait 60 secs

----- request 1 ---- request 2 ----- request 3

wait 60 secs

CodePudding user response:

use flow control action at the end of the requests

for better understanding difference between timers & flow control action, please go through this video enter image description here

Another option is adding enter image description here

And finally you can put a enter image description here

  • Related