相当于金牛座 "Run Thread Groups Consecutively"

Taurus equivalent "Run Thread Groups Consecutively"

给定一个 (.jmx) 文件 - 下图中的以下配置等效于什么。

Taurus (.yml) 配置

included-configs:  
- Variables-local.yml # the file containing your properties definitions

execution:
  iterations: 1
  concurrency: 1
  scenario:
    script: AutomatedTests.jmx

modules:
  jmeter:
    class: bzt.modules.jmeter.JMeterExecutor
    path: C:/JMeter
    properties:
      jmeter.save.saveservice.autoflush: 'true'

reporting:
- module: junit-xml
  filename: TEST-Taurus.xml

对 JMeter 的图像引用 UI 功能

修改你的 "execution" 块并添加你想要对原始 JMeter 脚本进行的所有修改,例如:

included-configs:
  - Variables-local.yml # the file containing your properties definitions

execution:
  iterations: 1
  concurrency: 1
  scenario:
    script: AutomatedTests.jmx
    modifications:
      set-prop:
        "Test Plan>TestPlan.serialize_threadgroups": true

modules:
  jmeter:
    class: bzt.modules.jmeter.JMeterExecutor
    path: C:/JMeter
    properties:
      jmeter.save.saveservice.autoflush: 'true'

reporting:
  - module: junit-xml
    filename: TEST-Taurus.xml

更多信息: