How to run samplers sequentially in JMeter while running samplers by throughput?
Alberto last edited by
I have ~10 scripts in my Test Plan which are dependent. (e.g. the 2nd request couldn't be passed if the 1st request is not passed - it is restriction of functionality)
My goal is to run JMeter scripts by certain percentage and / or RPS value. (I used for it Throughput Controller and Throughput Shaping Timer Plugin correspondently) By using these approaches that requests executes randomly and as a result I got failures.
I need to execute requests sequentially. Please assist me with handling this issue.
Thank you in advance!
Requests are always been executed sequentially, i.e. each virtual user will execute Request 1 then Request 2 on first iteration then execute Request 1 and Request 2 on second iteration, etc. You can double check this using __threadNum() function to print the ID of the user and __groovy() function to print the current thread group iteration.
as you can see within the bounds of a single iteration a single user first executes Request 1 and then Request 2.