Forum Discussion
2. Of course, you can handle such response in soapUI as well, but treat this as only making a workaround. To do that, you can have a script assertion, so that it won't affect your existing test steps as well.
Hi Rao,
I have checked with the developer and the APIs are being widely used by various applications with the empty line at the top for a number of releases now and no other delivery teams have reported this issue. So I believe, using other frameworks this is not an issue otherwise would have been flagged high time. Therefore convincing and getting this changed from dev will not be possible.
In Soap UI also, the proper JSON is picked up and shown on JSON tab of response but unfortunately cannot be processed on property transfer. I think SOAP UI uses raw response for property transfer rather than JSON which is picked up.
I have even tried script assertion and that also throws the same error.
I will be surprised if we dont have a solution for this in SOAP UI and had to unfortunately move to other tool for this automation. :(
Regards,
Piyu
- nmrao9 years agoChampion Level 3Other applications does not have problem and It does not necessarily mean that empty line is ok to come in the response. May be others also following workaround.
Can you post the script that you tried? That should be possible in soapui.
Related Content
Recent Discussions
- 3 days agoemoya
- 3 days agoMyBalanceNow