Thread Group: The starting point of the test plan, where all the logical controllers and samplers are placed under the thread group.
Used to manage the jmeter threads required to perform performance tests
1. Set the number of threads:
See how many users Jmeter need to simulate a stress test, and the number of users we need to set is the number of threads.
2. Ramp-up Period (in secods): Set Thread start cycle:
Parameter: ramp-up Period tells JMeter how long it will take to reach the maximum thread. For example:
ramp-up Period: Parameter setting rule:
1. Setup is too short: the initial stage will cause a large server pressure.
2. Setting is too long: the first thread has finished executing, and the last thread has not started.
3. According to the actual situation to set, the initial value can be set to: ramp-up Period = = Bus Path number
3. Number of cycles: sets the number of cycles to execute the test script.
By default, the Jmeter thread group is set to execute only once, and the user can set the parameter "cycle count" according to the actual situation.
4. Scheduler:
In the Scheduler interface are also: Start time and end time.
Start time: Wait until the test starts, until the user sets the startup, and then start.
End time: JMeter at the end of each cycle, check whether the end time has been reached, how the end time is reached, and JMeter will terminate the test run.
Note: The startup delay will invalidate the startup time
Duration will invalidate the end time
Chapter III: JMeter commonly used test elements--thread group