'Run with multiple threads in many times

I have a scenario that includes 10 requests for users each 2 seconds apart, runh with 100 user

but I don't know how to write the script properly.



Solution 1:[1]

  1. runh with 100 user - use the following Thread Group settings:

    enter image description here

    it means that each of 100 users will run 10 requests so you will have 1000 requests in total. If you need more - increase the "Loop Count" number

  2. 10 requests - put the relevant Samplers children of the Thread Group

    enter image description here

  3. each 2 seconds apart - if you want to have delay of 2 seconds between the requests add a Constant Timer at the same level as the requests and set the desired delay there

    enter image description here

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Dmitri T