JMeter Thread Group
setUp thread group
tearDown thread group
Thread Group
Adding a thread group
- Select the Test Plan node, right-click on the selected item
- As shown in FIG select "Thread Group"
Delete thread group
- Select thread groups (Thread Group), right-click on the selected item
- As shown, select "Remove"
Load test plan elements
- Select the element you want to add, right-click on the selected item
- As shown, select "Merge"
- Select the file to load .jmx
- Elements will be merged into JMeter test plan
Save the test element
- Select the elements you want to save, right-click on the selected item
- As shown, select "Save Selection As"
- Choose a save location
Configuration thread group (Thread Group)
Speaking:
- Number (Number of Threads (users)) threads: the number of virtual users, the default is "1", indicating a simulated virtual users accessing the system under test, if you want to simulate 100 users, enter 100.
- Ramp-up period (seconds): in seconds, default is "1", specify the start time all threads spend.
- Cycles (Loop Count): request repetitions occur.