Forum Discussion
- TanyaYatskovska10 years agoSmartBear Alumni (Retired)
Hi Piyu_sarda,
If you provided us with a sample project where this issue is reproduced, I would pass it to our Dev Team so that they could investigate this.
- piyu_sarda10 years agoOccasional Contributor
Hi Tanya,
Finally after a good number of hours, I came to know the root cause of this issue. The response JSON contains a empty line at the top which SOAP UI is not able to process. Although the JSON view of Response in the Test Step shows a valid JSON but when performing a property transfer, it looks like it is picking up from raw response which has an empty line at the top. My dev team is not going to definitely fix this in a shorter term as the our APIs are used by other applications and no one complained about it.
Is there a way in SOAP UI to get around it? I have replicated this issue with a sample project. Do you still need it or the details are sufficient to replicate this?
Thanks,
Piyu
- piyu_sarda10 years agoOccasional Contributor
Hi ,
I should be able to extract any value. For now you can look into href element under collection.
Thanks
- nmrao10 years agoChampion Level 3
Have you looked into the sample provided
- piyu_sarda10 years agoOccasional Contributor
Hi Rao,
Sorry I could not reply earlier.I have looked at your answer and i tried it using groovy but it still says invalid JSON. I was completely lost after and tried various permutations.
After banging my head for a good number of hours, finally I came to know the root cause of this silly issue. The response JSON contains a empty line at the top which SOAP UI is not able to process. Although the JSON view of Response in the Test Step shows a valid JSON but when performing a property transfer, it looks like it is picking up from raw response which has an empty line at the top. My dev team is not going to definitely fix this in a shorter term as the our APIs are used by other applications and no one complained about it.
Is there a way in SOAP UI to get around it?
Thanks,
Piyu
Related Content
- 10 months ago
- 5 years ago
- 6 years ago
- 2 years ago
Recent Discussions
- 15 years ago