Shashi
16 years agoOccasional Contributor
Unable to read the response in groovy script test step
hello,
I have a datasource step followed by a request followed by a script step.
I want to run the script against the response to read some node values
def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def holder = groovyUtils.getXmlHolder( "stageMove_RountingPair_Request.requestContent" )
def mesLotName = holder.getNodeValue("//ax21:mesLotName")
But I get NullPointerexception
It is not saying which object is null.
could someone please tell me what am I doing wrong?
Thanks
- Shashi
I have a datasource step followed by a request followed by a script step.
I want to run the script against the response to read some node values
def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def holder = groovyUtils.getXmlHolder( "stageMove_RountingPair_Request.requestContent" )
def mesLotName = holder.getNodeValue("//ax21:mesLotName")
But I get NullPointerexception
It is not saying which object is null.
could someone please tell me what am I doing wrong?
Thanks
- Shashi