Forum Discussion
Cizo89
13 years agoFrequent Contributor
Hi,
XmlHolder should do the trick for you.
Try this:
Regards,
Marek
XmlHolder should do the trick for you.
Try this:
def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def holder = groovyUtils.getXmlHolder( "name_of_your_test#ResponseAsXml" )
for (publicId in holder.getNodeValues("//publicId")){
log.info(publicId)
//here you can use another holder to update the next request or method setPropertyValue(String, String) to create a new property - depends on your requirements
}
Regards,
Marek