i

JMeter Complete Guide

Loop Controller

Loop Controller

Loop Controller creates the user request run a specified number of times or run forever as shown in the figure

Loop Controller Example:-

The Loop Controller creates samplers run as the number of times, in addition to the loop value you specified for the Thread Group.

Step 1) Configuring Thread Group
We re-use Step 1, 2 in tutorial JMeter Performance Testing

Step 2) Configuring Loop Controller:-
It will make the one user request to the webserver abc.com run it 50 times; also the loop value =2, you specified for the Thread Group above.
Right click in Loop Controller, Add -> Sampler -> HTTP request

Step 3) Add View Results in Table :-
Add View Results in Table

Step 4) Run your Test:-
JMeter simulates one user request, which was sent 100 times, to the webserver http://www.abc.com/.