【发布时间】:2020-04-28 11:35:25
【问题描述】:
我已将测试设置为以下布局:
Test Plam
Test Fragment
EP-1(include controller)
EP-2(include controller)
EP-3(include controller)
Thread Group
Parameterized controller
Module Controller
EP1
Parameterized controller
Module Controller
EP2
Parameterized controller
Module Controller
EP1
Parameterized controller
Module Controller
EP3
View Results Tree
结果: EP1 EP2 EP3
在运行这些测试时,我只让 EP1 运行一次,而没有运行第二次(甚至看起来都没有尝试运行)
除了加载(包括控制器)之外,JMeter 日志中没有任何信息
我直接添加了 HTTP 请求并且遇到了同样的问题,所以进行了以下设置:
Test Plan
Test Fragment
EP-1(include controller)
EP-2(include controller)
EP-3(include controller)
Thread Group
Parameterized controller
EP1
Parameterized controller
EP2
Parameterized controller
EP1
Parameterized controller
EP3
View Results Tree
仍然得到相同的结果。有什么想法吗?
输出是:
- JWT 令牌
- 包括 Controller1 (PUT)
- 包括 Controller2 (GET)
- HTTP 请求 (PUT)
- 包括 Controller1 (PUT)
- HTTP 请求 (GET)
- 包括 Controller1 (PUT)
预期:
- JWT 令牌
- 包括 Controller1 (PUT)
- 包括 Controller2 (GET)
- HTTP 请求 (PUT)
- 包括 Controller1 (PUT)
- 包括 Controller2 (GET)
- HTTP 请求 (GET)
- 包括 Controller1 (PUT)
- HTTP 请求 (GET)
- 包括 Controller2 (GET)
【问题讨论】:
标签: jmeter performance-testing jmeter-plugins jmeter-5.0