Thread Group types
- Thread Group:
- bzm – Arrivals Thread Group
- bzm – concurrency Thread group
- bzm – free-From Arrivals Thread Groups
- jp@gc Stepping Thread Group
- jp@pc Ultimate thread group
- SetUp Thread group
- TearDown Thread Group
Thread Group
- Using mock in performance test, allows to control the total number of users, how long to test, how many times to execute the test,
– How to add thread group to test plan : + select Test Plan, right click => Add => Tread(Users) => Thread Group
- Name : the name of the thread group
- Comments : comments
- Action to be taken after a Sampler error : allows you to define acctions when the sampler error
- Continue : continue to push request
- start Next Thread loop : execute the next thread (applies to multiple threads)
- **stop thread **: stop current thread
- Stop Test: stop the whole thing, the samples being sent will be executed
– Stop Test Now : build the whole, stop the samples being executed
- Number of Threads (Users) : number of users modeled
- Ramp-up Period (seconds) : the time it takes to create enough simulated users
– Loop Count : the number of executions of the thread group
– Same user on each iteration : if this parameter is selected when the first response’s cookie will be saved to be used for subsequent requests
– Delay Thread creation until needed : used when creating number of users during Ramp-up⇒ if this parameter product jmeter will automatically generate certain user creation rate if not selected then it user will be created at the very beginning. for example if configure : Number of Threads (Users): 10 and ramp-up 2 ⇒ don’t select Delay Thread creation until needed ===> means every second will push 5 users if Delay Thread creation until needed ⇒ automatic calculation jmter math and self-push in ram-up time
- Specify Thread lifetime : allow configuration
- Duration (seconds) : test run time
- Startup delay (seconds) : allows to configure the delay time before running the thread
Child of thread group:
- Sampler
- Config Elements
- Logic Controller
- PreProcessor
- PostProcessor
- Assertion
- Timer
- Listener
- Test Fragments
Components cannot be added to the thread group
- Non-Test Element
- Test Plan
- Another Thread Group