场景:CSV 文件包含 5 个用户名和密码,以下是 EOF 上的设置 Recycle:false EOF 上停止线程:true 共享模式:当前线程组
Total there are 3 thread group below are the settings:
Thread 1 : Numbers of Thread = 1, Loop Count l; for this thread group single user run for 1 time
Thread 2 : Numbers of Thread = 2, Loop Count 5; for this thread group two user and each user run for 5 time
Thread 3 : Numbers of Thread = 3, Loop Count 3; for this thread group three user and each user run for 3 time
下面是我的测试配置:
Test Plan
HTTP Header Manager
HTTP Request Defaults
CSV Data Set Config
Test Fragment
Login - HTTP Request
JSON Extractor
Thread Group - 1
Module Controller - Login
Transaction - HTTP Request
HTTP Header Manager
Thread Group - 2
Module Controller - Login
Finance - HTTP Request
HTTP Header Manager
Thread Group - 3
Module Controller - Login
Insurance - HTTP Request
HTTP Header Manager
这里是线程 2 和线程 3;它为两个 2 和 3 用户运行;但不是循环计数不起作用。