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


Doc ID    FAQ18111
Version:    1.0
Status:    Published
Published date:    09/28/2017
 

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"

Find Answers

Specified Languages
English
中文

Please Sign In

Username
Password

Did you forget your password?
Click here for assistance

New user? Start here.