Issues datasource looping for a SQL server JDBC request
Hi,
In summary the aim of this part of an end to end test in SOAPUI NG is to run a SQL statement 5 times (and then stop) for the 5 different values in the Datasource and capture the data.
I have the below steps setup as part of a test case:
1) Datasource - Excel
2) JDBC Request - uses a SQL server driver to run a SQL statement. In the SQL statement the where clause is populated from the Datasource in step 1 (uses a field called Tracking Number)
3) Datasink - is setup to capture a number of datapoints from the SQL JDBC request
4) Datasourceloop - to loop back to the JDBC request again
However when I run it ...it loops to run the 5 queries as required then continues to loop around and runs SQL time. In the Datasink the datafield I am using for the where clause is being captured to <trackingnumber>. I have attached some screenshot to illustrate what I mean by this.
can anyone help please?
- Otherwise, you can try on a different sample excel data source, and see if the behaviour is reproducible without your project artifacts. That will also help in case if you want to take it to SmartBear support team when the issue is persistently reproducible.