The Complete Guide of JMeter Controllers
In this blog post we are going to look at several JMeter Controllers, specifically:
- Simple Controller
- Transaction Controller
- Loop Controller
- While Controller
- ForEach Controller
- If Controller
- Once Only Controller
- Throughput Controller
- Interleave Controller
- Random Controller
- Random Order Controller
This is not an exhaustive list of controllers that JMeter offers but these once will give you a clear insight into how controllers are integral in defining load testing scenarios and how without them you will struggle to build complex and indicative load tests.
Technically JMeter has two types of controllers and these are categorised as Samplers and Logical Controllers, the controllers we are looking at in this post are the Logical Controllers that allows you to customise how JMeter delivers requests to meet your load profiles.
Let’s look at the logical controllers with some examples of how they can be used, our tests will consist of Dummy Samplers as this is the simplest way to demonstrate how the various Controllers work. You can follow along each example by downloading the JMX here.