在金牛座中保持分布式 jmeter 测试的模拟

hold-for analogue for distributed jmeter test in taurus

taurus分布式测试如何设置hold-for之类用于concurrent的参数: 说,我想要

execution:
- distributed: 
  - host1.mynet.com
  - host2.mynet.com
  - host3.mynet.com
  scenario: some_scenario
  hold-for: 2m

scenarios:
  some_scenario:
    script: my-test.jmx

只在所有节点上加载 2 分钟,而不考虑 my-test.jmx 中的测试时间。我怎样才能做到这一点? Hold-for 仅适用于并发设置,不适用于分布式

看了Taurus的代码,好像可以这样:

 execution:
   - concurrency: ${__P(my_conc,3)}    # use `my_conc` prop or default=3 if property isn't found
        ramp-up: 30
       hold-for: 2m
       scenario: some_scenario

   - distributed: 
       - host1.mynet.com
       - host2.mynet.com
       - host3.mynet.com

 scenarios:
      some_scenario:
          script: my-test.jmx