Choosing The Right Thread Group For Your Scenario

The first step in scripting begins with choosing and setting up the right thread-group.

Before you design the thread group, try to answer the following questions:

  • What is the number of users and how can you ramp them up and down?
  • How many iterations of business flow need to be executed by each virtual user?
  • When should you run your test? Should you start immediately or schedule it for later?
  • How should the virtual users execute transactions after an error is identified?

Image: Setting up thread groups in JMeter Pro.

To set the right thread group, right click on Test Plan, then click on Add Thread (users), then finally on Thread Groups.

There are also various JMeter plugins that you can use while creating the test plan. The most popular among them is the Google JMeter Plugin . Some awesome threads are available through this plugin, including:

  • Stepping thread group
  • Ultimate thread group
  • Throughput shaping timer

Click here to go to the next page.