Forum Discussion

muralijayaraman's avatar
16 years ago

Sample script

Hi,
I'm new to SOAPUI pro script. I want to write a script to get the request and send a response (within soapup pro tool). I'm having wsdl and l'm able to generate test service and mock response.
I tried with below script, but it is giving error. Can someone provide me a sample script.

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def holder = groovyUtils.getXmlHolder( "cardNumber Request 1#request" )
log.info holder.getNodeValue


Regards
Murali
No RepliesBe the first to reply