soapUI: How to set an element value from a Groovy script

def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context);
holder = groovyUtils.getXmlHolder("teststep_name#Request" );
holder.setNodeValue( "//element", "value");
holder.updateProperty();

Leave a Reply

Your email address will not be published. Required fields are marked *