Forum Discussion
Sandyapitester
9 years agoFrequent Contributor
tried below the script to validate the node reponse value
def fn = new com.eviware.soapui.support.GroovyUtils(context)
def fn2 = fn.getXmlHolder(messageExchange.responseContent)
assert fn2.getNodeValue("//ns1:ID")=="0000111"
Have got below the error message
error: Unexpected element:CDATA
someone can help me to fix this issue
- nmrao9 years agoChampion Level 3Please pay attention to show more details such as response and which values needs to be extracted.
- Sandyapitester9 years agoFrequent Contributor
Rao,
Need to extract the below two response parameter from my testcase
Response parameter and value:
"StringID":0000111,
"ID":0000111,
and need to compare the two parameter values matching or not,
am looking for this validation in groovy scripting
could u plz help me to fix this issue...
- nmrao9 years agoChampion Level 3Sorry, that is not helpful information which was available there already.
Related Content
- 6 years ago
- 9 years ago
Recent Discussions
- 2 days ago
- 2 days ago