Forum Discussion
migueleis
10 years agoNew Contributor
I have same problem getting properties from JSON with SoapUI 5.2.0. This is my response object
{
"code": 0,
"message": "OK",
"sessionId": "3122d0bd-9f21-400a-b95d-87217adeab02"
}
When try to get one of them from property tranfer (Property: ResponseAsXml; Path language: JSONPath) I have error:
Mon Sep 21 13:42:34 CEST 2015 sessionID [Invalid JSON: <Response xmlns="http://localhost/...">
<code>0</code>
<message>OK</message>
<sessionId>3122d0bd-9f21-400a-b95d-87217adeab02</sessionId>
</Response>]
- nmrao10 years agoChampion Level 3You can see the response as JSON. So, you may use the sample provided to extract the value using script assertion.
Related Content
- 5 years ago
- 6 years ago
- 2 years ago
Recent Discussions
- 18 hours ago