Forum Discussion

VJeswant's avatar
VJeswant
New Member
9 years ago

TestSuite - Data not passed from Data Source to Request XML

Hello,

 

Using SoapUI NG, I am having trouble running an API using a datasource to load multiple records in one run. Connections seem right but the data does not get passed from the DataSource object  to the Request XML causing an EMPTY request to be submitted thereby throwing errors.

 

TestSuite setup:

1. DataSource - connected to XLSX and loads data as expected

2. API Request

3. DataSource Loop - DataSource Step = DataSource, Taget Step = API Request

 

In debug mode, I can see the data pulled in from the spreadsheet, but when the API request is submitted, it fails (our API is set to return a failure response if data is not valid).

 

I tried this setup with another, simpler API that simply accepts data and returns info - the test was a success since there were no error messages returned. However, debugging the steps, I can see that NO SOURCE data is being included in the Request XML.

 

Software INfo:

 

Ready! API 1.5.0
© SmartBear Inc. 2007-2016
http://www.smartbear.com

Build Date: 20151106-1037
0b28e4ec11c2f0d7c6d8995905c7b7f3cacd73c6

 

 

What could the issue be? Please do let me know if you need more details.

 

Thank you.

VJ