Forum Discussion
I would suggest you to discuss with your development team to findout why the response is invalid as soapUI can't do much to the invalid response sent by your application.
Hi Rao,
Its not an invalid response. SOAP UI is able to process the response. Since it is able to parse and show the response in JSON view, it proves that response is valid. Its throwing an error only when trying to do a property transfer directly or via a groovy code.
I have attached a simple json file which you can call from a sample project and try to extract a value using property transfer. It will show the JSON response in the view but property transfer will fail. So this definitely looks like a bug which needs to be fixed. If it was a problem with the response, then SOAP UI should not have picked up JSON in first place and display in JSON tab of response.
Could you please check again?
Regards,
Piyu
- nmrao9 years agoChampion Level 3
Earlier, in this thread, a link to the thread has been provided, which explains how to do what you are looking for (note that does not use property transfer, instead uses script assertion and sets required property at test case level, so that it can be used in the later test steps using property expansion. And I could not try with property transfer)
Give a try.
- piyu_sarda9 years agoOccasional Contributor
Hi Rao,
I have already followed your suggestions of using script assertion but that does not work either. I think someone from SoapUI development team should look into this issue and fix it.
Thanks,
Piyu
- nmrao9 years agoChampion Level 3
Not sure what is the exact issue when you followed the suggestion.
Here is another exactly same case from here, i think you should be able to replace your required variables.
Related Content
Recent Discussions
- 6 days agoemoya