Forum Discussion

RMS's avatar
RMS
Occasional Contributor
15 years ago

DataSink issues

Hi,

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..)

Thanks,

-ag

1 Reply

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    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.


    Cheers!
    /Nenad Nikolic a.k.a. Shonzilla