[Solved] DataSource Loops skips every other step
Hello
I have tests set up to iterate through datasets, but I noticed that not all tests are executed. Every other step is skipped by the DataSource Loop.
If I test the DataSource itself all data is generated. It doesn't matter if I get data from the built-in generator or fecth it from an external file.
I double-checked both Datasource and Loop options, and as far as I can tell everything is set up correctly.
This morning I build a quick debug test;
1. DataSource (which generates 10 numbered strings)
2. DataSink (storing the output in ReaduAPI and a txt file)
3. 1 second sleep
4. dataSource Loop.
Even this simple little test still skips every other numbered line, eg. it will do rows 1, 3, 5, 7, 9, 10.
I've attached scrshot at the bottom with all details of every relevant step in this debug test case. It should be relatively easy to reproduce the test.
OS: Windows 10, 64-bit
ReadyAPI 3.3.0 (and 3.0.0)
License: SoapUI Pro (Fixed)
I'm at a loss here.
Can someone please tell me why ReadyAPI skips every other line?
- Hey Nico,
Im ill at moment so cant be bothered to try and reproduce this at moment.
However i noticed in your example you havent included a REST or SOAP or RunTestcase step. If i remember correctly the datasource loop needs these types of steps as the target otherwise it doesnt work properly.
Thats all i got at the moment. I'll try and reproduce when i'm feeling better!
Ta
Rich