import com.eviware.soapui.support.GroovyUtils def groovyUtils = new GroovyUtils( context ) def holder = groovyUtils.getXmlHolder( "NormalUserLoginHealthTest#Response" ) def ProductID = holder.getNodeValue("//authen[1]/impsn[1]/pid[1]/text()") log.info "ProductID:"+ProductID testRunner.testCase.testSuite.project.setPropertyValue( "ProductID", ProductID )
时间: 2024-11-05 21:35:29