RMS
16 years agoOccasional Contributor
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
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