让JMeter选择一种登录类型
我目前有一个测试计划,其中包含以下片段:让JMeter选择一种登录类型,jmeter,Jmeter,我目前有一个测试计划,其中包含以下片段: Thread Group - Simple Controller - Once Only Controller - Login type 1 (Simple Controller) - Login type 2 (Simple Controller) - Simple Controller - Sampler - Sampler 我希望每个线程在通过一次性控制器时选择一种登录类型。例如,我希望70
Thread Group
- Simple Controller
- Once Only Controller
- Login type 1 (Simple Controller)
- Login type 2 (Simple Controller)
- Simple Controller
- Sampler
- Sampler
我希望每个线程在通过一次性控制器时选择一种登录类型。例如,我希望70%的用户使用登录类型1(但不是登录类型2),而另外30%的用户使用登录类型2(但不是登录类型1)。如何实现这一点?您可以将其添加为登录采样器的父级,并指定希望执行它们的频率
Thread Group
- Simple Controller
- Once Only Controller
- Throughput Controller, Based on: Percent Executions, Throughput: 70%
- Login type 1 (Simple Controller)
- Throughput Controller, Based on: Percent Executions, Throughput: 30%
- Login type 2 (Simple Controller)
- Simple Controller
- Sampler
- Sampler
更多信息: