LukaszK
7 months agoNew Contributor
Executing test case loop multiple times
Hi, I'm new for ReadyAPI and I need to solve a problem. I have a loop for request with reading data from Excel file using Data Source and Data Source Loop steps. It looks like on the picture below...
- 7 months ago
Hi,
A simple, but might not be the best, is an 'outer' data source loop.
Create a new Excel spreadsheet with a 'iteration' column with four rows. E.g. 1,2,3,4. This is your "configurable number of times loop".
Before your original Data Source step, create a new Data Source Step called something like 'Outer loop', that links to the new spreadsheet.
Finally, create a new Data Source loop that links back to the new 'outer' data source.