【问题标题】:How to set a different number of threads to a different thread group?如何将不同数量的线程设置到不同的线程组?
【发布时间】:2020-11-03 13:26:23
【问题描述】:

这是我的 YAML 配置

execution:
- scenario:
 
    script: test.jmx
  concurrency: 3
  iterations: 1
  ramp-up: 1

reporting:
- module: junit-xml
  filename: taurus-output/TEST-Taurus.xml

我的 JMeter 测试中有 2 个线程组(例如 A、B),我想用 10 个线程用于 A,5 个线程用于 B。

【问题讨论】:

    标签: jmeter yaml jmx taurus


    【解决方案1】:

    要么删除此 concurrency 行,要么将其设置为 15

    根据Run Existing JMX File,您只需向JMeter .jmx script 提供通行证,而不执行任何modifications 就足够了。

    更多信息:Navigating your First Steps Using Taurus

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-08-07
      • 1970-01-01
      • 2021-11-24
      • 1970-01-01
      • 2012-05-07
      • 2021-12-20
      • 1970-01-01
      • 2017-04-17
      相关资源
      最近更新 更多