Quotes added in expected result for json
When taking the actual value to the Expected Result of a JSONPath Match assertion, SoapUI adds double quotes.
For example if response is:
{ "name": "John Doe" }
Then when the JSONPatch expression = $.name, clicking Select From Current will add "John Doe" (including the double quotes) to the expected Result box. Next clicking Test wil show the assertion failed. Thus I need to manually remove the quotes to make the assertion correct.
Same thing happens when creating the assertion from the response window using Add assertion>for content.
Am I doing anything wrong? Is there a setting to change this?
N.B. The open source version of SoapUI does this better as it fills the expected result without the quotes. Pro (I'm using SoapUI Pro 2.8.0) should be better than the freeware version, shouldn't it?
Hi fsamwel,
I see that you worked with our Support Team. As far as I understand you couldn't reproduce the issue anymore.
Let's mark this question as solved. Please post the update if you see the issue again.