Forum Discussion

Jibu's avatar
Jibu
Occasional Contributor
6 years ago

GETTING ERROR WHEN USING getDomNodes()

def json = new JsonSlurper().parseText(response) def groovyutils = new com.eviware.soapui.support.GroovyUtils(context) def DBholder = groovyutils.getXmlHolder("JDBC RequestForDatabase#ResponseAsXm...
  • JHunt's avatar
    JHunt
    6 years ago

    Sorry, I had forgotten that XmlHolder is based on XPath. So it would be more like this:

     

    assert DBholder["/Results/ResultSet/Row[@rowNumber=1]/V_OBJ_ID"] == json.payload.id