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

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️Please mark my answer as a solution if it was helpful
New Here?
Join us and watch the welcome video:
Script Wanted
The new challenge is here!

Create a script to сhange an XPath Match assertion to a JSONPath Match assertion for the TechCorner tag!

Scripts created in July:
- A script to generate an email when an assertion fails
- A script to change the request body before sending it to the server
Top Kudoed Authors