Forum Discussion
- noname76New ContributorDone:
Request: <buystring>sfddddffss</buystring>
Script in the Response:
def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def holder = groovyUtils.getXmlHolder( mockRequest.requestContent )
requestContext.test = holder.getNodeValue( "//buystring" )
then use "test" in the response ... <expectedDelivery>${test}</expectedDelivery>