Forum Discussion

Gautam's avatar
Gautam
Occasional Contributor
11 years ago
Solved

Looping series of test step using groovy

Hi,

 

I am trying to loop series of test steps using groovy scripting. I am using context.getTestRunner().gotoStepByName('HTTPREQUEST') but not much success. The HTTPRequest is looped only once and i am getting the same request and response for the number of times i put the loop.

 

 

 

Capture.PNG

 

Script is not triggering the Request step n number of times but only once and last.

 

Please suggest solution!!

 

Thanks,

Gautam S