Sandyapitester
9 years agoFrequent Contributor
how to get and compare the response node value in soapui
Hi All
In my response am getting the response node value like
Response value:
"StringID":0000111,
"ID":0000111,
Need to compare the both response value in groovy scripting,
tried the below script
def fn = context.expand('${testcase _0#response#*://StringID}')
log.info fn
def fn2 = context.expand('${testcase _0#response#*://"ID"}')
log.info
assert fn == fn2
My scripting assertion is pass but no result like
Tue Oct 11 18:30:08 IST 2016:INFO:
Tue Oct 11 18:30:08 IST 2016:INFO:
Plz help me to fix this issue....