Here are UDVs, which I use as loop variables:

Here is the For-Each definition.

When I run this from starting = 1 to ending = 11, it only runs 1, 2, 3, 4.
Then it stops.
Here is loop #4.
This shows that variable status_1, status_2, … , status_11 are all defined.

The question is: why is status_5 and onwards not running?
>Solution :
Either you made a typo/copy paste issue and one of the variables have an extra non-printable character like whitespace or line break
Or there is something else preventing the test from execution like CSV Data Set Config which has run out of the values or error has occurred and Thread Group is configured to stop in that case of whatever.
Check jmeter.log file for any suspicious entries, if nothing unusual is there – increase JMeter logging verbosity and check it again.
Under normal circumstances the ForEach Controller works as expected:
