How to insert delay between each requests in Jmeter

后端 未结 3 1546
北荒
北荒 2020-12-13 12:38

I wanted to execute a Test Plan as Below. Example : I wanted every http request should take delay of two minutes

  • http_request_1,
  • delay (2 minutes)
相关标签:
3条回答
  • 2020-12-13 12:54
    1. Create a transaction controller in Thread group
    2. put all your http requests under this transaction controller
    3. add constant timer (with value as 2 min) to transaction controller (this way it will be applicable to all request within that transaction controller)
    4. run your jmeter script

    or if only 2 request are there then add only 1 constant timer in between both the requests.

    0 讨论(0)
  • 2020-12-13 13:14
    1. Create a transaction controller in Thread group
    2. put all your http requests under this transaction controller

    3. add constant timer (with value as 2 min - please find the 2nd screen-shot) to transaction controller (this way it will be applicable to all request within that transaction controller)

    1. run your jmeter script

    or if only 2 request are there then add only 1 constant timer in between both the requests. Please find below screen-shot

    0 讨论(0)
  • 2020-12-13 13:16

    The simplest way is to add a single 'Constant Timer' to your thread group at the same level as your HTTP requests.

    Right click Thread Group > Add > Timer > Constant Timer.

    Set the timer value to however many milliseconds you need (in your case 120000), and it inserts a delay between all requests in that thread group.

    0 讨论(0)
提交回复
热议问题