Forum Discussion
SmartBear_Suppo
Alumni
12 years agoHi,
As an FYI, we do not support custom code solutions.
You need to include an xpath for the argument, hence the //.
def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def requestContent = groovyUtils.getXmlHolder( mockRequest.requestContent )
log.info requestContent.getNodeValue("//arg")
Regards,
Marcus
SmartBear Support
As an FYI, we do not support custom code solutions.
You need to include an xpath for the argument, hence the //.
def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def requestContent = groovyUtils.getXmlHolder( mockRequest.requestContent )
log.info requestContent.getNodeValue("//arg")
Regards,
Marcus
SmartBear Support