Test cases are designed to be repeated over and over again by separate virtual users, but you can also configure a single loop within the test case itself:


1. Open the test case properties dialog (Properties... item from the pop-up menu on the test case in the Navigator). 


2. Select the start-point and end-point for looping within the test case. 


When the Virtual User runs the test case, it will start from the beginning and proceed to the configured end-point (Run-To Page). Then it will restart at the start-point (Restart-At Page) and continue until the specified condition is met.


Since Load Tester is designed for no-coding load testing, its looping ability is limited to a single loop, which is adequate for almost all situations.   If you have a situation which you believe requires multiple loops, there are a couple of workarounds:


A. Repeat while recording


In this scenario the virtual user as recorded always processing N number of items in the list.  The trick is to make sure the list always has N items in it, which requires some preparation, but is very simple.



B. Split the test case into multiple test cases


For example, consider a workflow app where a document has to be moved from state A to state B to state C.


One test case can be configured to handle the A->B transition.


A second test case can be configured with a pool of documents in the B state, ready to transition from B->C in a second test case.


There can be separate looping conditions in each test case so accommodate different numbers of documents.