我的线程数为100,迭代次数为100。50个用户是注册用户,50个用户是访客用户。
我想为上述条件制定测试计划
答案 0 :(得分:0)
对我来说,问题本身并不完全可以理解。
由于单个线程组无法实现这些要求,因此以下是您可以尝试实现依赖关系以及分发百分比的测试计划。 This is NOT a correct solution but I claim it as a probable solution. You can customize as per your needs
。
Test plan
...Thread Group (configure 100 users)
......HTTP Cookie Manager
......Throughput Controller (by percentage throughput - 5%, uncheck Per User checkbox)
.........Home Page (Transaction Controller)
......Throughput Controller (by percentage throughput- 20%, uncheck Per User checkbox)
............Search Page (Transaction Controller)
......Throughput Controller (by percentage throughput- 15%, uncheck Per User checkbox)
............Product Page (Transaction Controller)
......Throughput Controller (by percentage throughput- 50%, uncheck Per User checkbox)
.........Login page (Transaction Controller)
............Login Request (HTTP Sampler)
.........Throughput Controller (by percentage throughput- 20%, uncheck Per User checkbox)
............AddToCart (Transaction Controller)
......Aggregate Report
重要说明: