2 Minutes To Code (β Version)

JMeter - 2 minute tutorial

Example of Loop Controller (sample usage)

The Loop Controller will make the contained samplers run as many times as the loop count or forever if the forever check-box is checked.

In the example shown below, the Thread Group has a loop count of 5 and loop controller containing Changes Request Sampler has a loop count of 2.

In Image 3 which does not use any logic controller, the number of http requests made is 15.

In Image 4, which uses Loop Controller, teh number of http requests made is 20 as every loop has 2 hits to Changes Sampler url instead of 1 due to Loop Controller.

Image 1: Adding Loop Controller

Image 2: Configuring Loop Controller

Image 3: Result without Loop Controller

Image 4: Result with Loop Controller