Skip to content

Instantly share code, notes, and snippets.

@lucaborace
lucaborace / soapui.groovy
Last active June 4, 2021 09:09
Saving SOAPui Response base64 to file
import org.apache.commons.codec.binary.Base64
def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def holder = groovyUtils.getXmlHolder( "RequestTest#Response" )
// define namespace
// XXX: Populate these before using this snippet
holder.namespaces["ns12"] = ""
holder.namespaces["ns23"] =""