【问题标题】:Tests order execution using jmeter maven plugin使用 jmeter maven 插件测试订单执行
【发布时间】:2021-11-03 09:51:58
【问题描述】:

在我的情况下,我正在尝试使用 Jmeter maven 插件执行几个 Jmeter 测试,测试顺序可能很重要,我试图弄清楚如何使用 Jmeter maven 插件控制不同的测试顺序但没有成功,如果有可能吗?

<!-- The flows we want to execute -->
    <testFilesIncluded>
       <jMeterTestFile>flows/flow1</jMeterTestFile>
       <jMeterTestFile>flows/flow2</jMeterTestFile>
       <jMeterTestFile>flows/flow3</jMeterTestFile>
    </testFilesIncluded>

在这种情况下,先运行 3,然后运行 ​​1,最后运行 2

【问题讨论】:

    标签: automation jmeter performance-testing maven-plugin


    【解决方案1】:

    不保证执行顺序,如果您需要以特定顺序运行测试,请执行您的 Maven 构建 3 次,提供单个 .jmx 脚本,或者将这些脚本组合成一个“伞形”脚本,该脚本将调用其他存储的作为Test Fragments 通过Include ControllerModule Controller

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-12-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多