顺序测试执行表

时间:2019-10-16 06:26:11

标签: jmeter jmeter-3.2

我想运行2天测试,并且正在使用线程组开始时间和结束时间功能。

我正在寻找如下所示的设计:

Thread Group 1 (First day start and end time with date)
--> HTTP Request 1 (Execute for 30 minutes)
--> HTTP Request 2 (Should start after 30 minutes i.e. after first one is terminated)
--> HTTP Request 3 (Should start after 60 minutes i.e. after second one is terminated)
Thread Group 1 (Second day start and end time with date)
--> HTTP Request 1 (Execute for 30 minutes)
--> HTTP Request 2 (Should start after 30 minutes i.e. after first one is terminated)

1 个答案:

答案 0 :(得分:0)

线程组的开始和结束时间是绝对,因此您只能执行一次测试,而无需对其进行编辑。我宁愿建议坚持以下相对时间:

  • 线程组,两个循环

    • Runtime Controller配置为运行1800秒
      • HTTP请求1
    • 运行时控制器配置为运行1800秒
      • HTTP请求2
    • 运行时控制器配置为运行1800秒
      • HTTP请求3
    • Flow Control Action采样器配置为将当前线程暂停86400000毫秒(24小时)

      enter image description here