Printer FriendlyEmail Article Link

Avalanche: Program Error thrown by TestProfile::ProcessLoops: LOOP STOP found, but no LOOP START

Environment/Versions
Adding the below LOOP syntax in an action list, Avalanche aborts a test with the following program error message in the event logs.


“Program Error thrown by TestProfile::ProcessLoops: LOOP STOP found, but no LOOP START specified for it, or LOOP START is encountered after the
LOOP STOP”



ASSIGN VARIABLE <4thOctet UNIFORM 103 111>
ASSIGN VARIABLE <ip "60.70.80.">
ASSIGN VARIABLE <srvip ip 4thOctet>
ASSIGN VARIABLE <page UNIFORM 1 6000>
LOOP myloop START TIME=1200000
1 get http://<APPLY srvip>testpage<APPLY page>index.html
THINK<1000>
LOOP myLoop STOP
 

 
Answer
LOOP name needs to match character by character as it is case sensitive.
In above example, the program error can be prevented by replacing "LOOP myLoop STOP" to "LOOP myloop STOP"

Product : Avalanche