Desmond_Cassidy
17 years agoContributor
DataSource Inner/Outer Loop possibility
Hi,
I have written a Test Case that requires me to have 2 DataSources (conveniently that is) which in traditional programming terms should be read via an inner/outer loop.
Therefore if I have 12 Records/Rows in Data Source 1 (read from an Excel File) and 6 Rows in Data Source 2 then there should be a SoapUI Request executed 72 times (12 x 6) with each combination of DS1 and DS2 selected.
Problem is that I cannot see a way to reset Data Source 2 to the FIRST Row when I move onto the 2nd Row of Data Source 1 (and obviously have just read Row 6 of DataSource 2). What happens is that Row 6 of DataSource 2 is continually used.
e.g. Test Steps
DataSource 1 (12 Records)
DataSource 2 (6 Records)
Create Request
DataSource Loop To DataSource 2
** Possibly some type of scrip reset option here for DataSource 2
DataSource Loop To DataSource 1
Any Help appreciated.
Desmond.
I have written a Test Case that requires me to have 2 DataSources (conveniently that is) which in traditional programming terms should be read via an inner/outer loop.
Therefore if I have 12 Records/Rows in Data Source 1 (read from an Excel File) and 6 Rows in Data Source 2 then there should be a SoapUI Request executed 72 times (12 x 6) with each combination of DS1 and DS2 selected.
Problem is that I cannot see a way to reset Data Source 2 to the FIRST Row when I move onto the 2nd Row of Data Source 1 (and obviously have just read Row 6 of DataSource 2). What happens is that Row 6 of DataSource 2 is continually used.
e.g. Test Steps
DataSource 1 (12 Records)
DataSource 2 (6 Records)
Create Request
DataSource Loop To DataSource 2
** Possibly some type of scrip reset option here for DataSource 2
DataSource Loop To DataSource 1
Any Help appreciated.
Desmond.