Quantcast
Channel: New board topics in SmartBear Community
Viewing all articles
Browse latest Browse all 20755

Issues datasource looping for a SQL server JDBC request

$
0
0

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?


Viewing all articles
Browse latest Browse all 20755

Trending Articles