Jmeter Controllers Part 2


Hi Testers!!

In this tutorial, you will learn how to use controllers in JMeter.

Below are the topics which are covered in this session:

  • Recording Controller
  • Interleave Controller
  • IF Controller

<< PREV   |     NEXT >>

Controllers are basically used to control the execution flow.

For example, you want some group of requests to execute more times as compared to the others, use the controller to solve this purpose. Recording controllers are the just container to store the scripts which you have recorded using HTTPSTestScriptRecorder.

By default, the recordings are stored in WorkBench only, you need to add a recording controller in Test Plan and then specify the target in the recorder to store the recordings.

Interleave Controllers are used when you want to execute one request each out of multiple requests in this container every iteration. Every Jmeter iteration would take one of the requests in sequence and will execute it.

IF Controller are used when you want to execute one or group of requests only when the condition is TRUE. Variables and functions can also be used to write the condition for this container.