Ask a Question

data source Loop

SOLVED
armygrad
Contributor

data source Loop

Hi

 

I have set the Data source to loop 10 times but it only does 7

 

armygrad_0-1675093213478.png

What am i doing Wrong

 

Thanks in advance

2 REPLIES 2
SarahS
Staff

Hi @armygrad

There's not a lot of information here, but if I had to guess I would say your test case is aborting on error and an error is occurring on data loop 7. 

If this is the case then you can un-check the option for aborting the test case on failure in your test case options. 

SarahS_0-1675095776532.png

Or you can go to Preferences and apply this for all your test cases by default.

SarahS_1-1675095903646.png

If this isn't the issue could you provide some additional information? It might  be helpful to see whats happening in the transaction log around loop 7. 

 

JoostDG
Frequent Contributor

Hi @armygrad . Just a guess, but if each loop takes around 8 seconds then your test case will time out if you use the default setting (=0 == 60000 ms === 1 minute). So after 7 loops ReadyAPI will cancel the run as 1 minute has passed since you started the test case.

You can adjust the Test Case Timeout via right click on the test case and click on options.

JoostDG_0-1675096154528.png

If that is not the root cause, potentially there might be something in your data source that is not as expected (check perhaps your error log and/or do some scripting to the script log (log.info) to see more details...

cancel
Showing results for 
Search instead for 
Did you mean: