Showing results for 
Search instead for 
Did you mean: 

DataSink issues

Occasional Contributor

DataSink issues


I am using the SoapUI Pro version 2.5.1 and in my test case I am using a DataSink within a loop to export the result (Id from the web service response) into a text file which I want to use in the further test cases.

It's adding these IDs to specified text file but when I retrieve it using the DataSource step it shows "" around the id (e.g. if the repsonse Id was 5, it's stored in the text file as "5") which fails my sbsequent test steps as it requires int instead of id surrounded by "".

How can I fix this? (any settings, scripts etcc..)



Re: DataSink issues

Hi Amit,

We've added "Quoted values - Values are quoted" check box to DataSource test step. Check this check box to get int values properly loaded into properties.
If soapUI pro version you're using does not this option, you should download the nightly build.

Please let us know if this helped.

/Nenad Nikolic a.k.a. Shonzilla

 Join the virtual SmartBear Connect user conference on April 27-28! Get your free virtual ticket today!