13 years ago
loop over Excel and Database
Hi,
I'm a newbie on SoapUI.
I created a SoapUi project in which I read data from a DB and from an Excel file; the excel file has the same columns of the DB's table.
I would compare the records stored in a column of my excel file with the ones of the same DB column to detect potential different values.
The procedure previously described goes through the following steps:
- Read Excel
- Read DB
- Groovy Script(where I compare every field of the Excel with the Db ones)
- Loop (Datasource: Excel file, TargetStep: DB)
The problem is that when I launch the program the loop cycle compares all the values stored in the Excel's column with only the first record of the same column stored in the DB. I'd like to know if someone can help me to figure out how to fix my problem!
Many many thanks to everybody!
I'm a newbie on SoapUI.
I created a SoapUi project in which I read data from a DB and from an Excel file; the excel file has the same columns of the DB's table.
I would compare the records stored in a column of my excel file with the ones of the same DB column to detect potential different values.
The procedure previously described goes through the following steps:
- Read Excel
- Read DB
- Groovy Script(where I compare every field of the Excel with the Db ones)
- Loop (Datasource: Excel file, TargetStep: DB)
The problem is that when I launch the program the loop cycle compares all the values stored in the Excel's column with only the first record of the same column stored in the DB. I'd like to know if someone can help me to figure out how to fix my problem!
Many many thanks to everybody!