robertnealdavis
11 years agoNew Contributor
SOAP UI Hangs during script execution
About 10 call into the script below, SOAP UI becomes completely unresponsive and has to be killed and restarted. Is there something wrong with the script?
def groovy = new com.eviware.soapui.support.GroovyUtils( context )
def holder = groovy.getXmlHolder( "executeQuery#response" )
def reqHolder = groovy.getXmlHolder( "getResourceDetail#request" )
log.info context
for ( resource in holder.getNodeValues("//resource/@guid") ) {
log.info "Resource = [$resource]"
reqHolder["//resource/@guid"] = "[$resource]"
context.requestContent = reqHolder.getXml();
testRunner.runTestStepByName( "getResourceDetail" );
def resHolder = groovy.getXmlHolder( "getResourceDetail#response" )
log.info resHolder.getXml();
}
Thanks
def groovy = new com.eviware.soapui.support.GroovyUtils( context )
def holder = groovy.getXmlHolder( "executeQuery#response" )
def reqHolder = groovy.getXmlHolder( "getResourceDetail#request" )
log.info context
for ( resource in holder.getNodeValues("//resource/@guid") ) {
log.info "Resource = [$resource]"
reqHolder["//resource/@guid"] = "[$resource]"
context.requestContent = reqHolder.getXml();
testRunner.runTestStepByName( "getResourceDetail" );
def resHolder = groovy.getXmlHolder( "getResourceDetail#response" )
log.info resHolder.getXml();
}
Thanks