Forum Discussion
TSanchez_1
Staff
12 years agoHello,
Please keep in mind that Groovy scripting is outside of our support agreement since we have limited resources and issues can become very complex. I will make an exception, please see script below that will remove the e tag. Let me know if you have further questions or issues
def grUtils = new com.eviware.soapui.support.GroovyUtils(context)
def ResponseHolder = grUtils.getXmlHolder("Request name#Response")
ResponseHolder.removeDomNodes('XPath to <e node>')
ResponseHolder.updateProperty()
Regards,
Temil Sanchez
Please keep in mind that Groovy scripting is outside of our support agreement since we have limited resources and issues can become very complex. I will make an exception, please see script below that will remove the e tag. Let me know if you have further questions or issues
def grUtils = new com.eviware.soapui.support.GroovyUtils(context)
def ResponseHolder = grUtils.getXmlHolder("Request name#Response")
ResponseHolder.removeDomNodes('XPath to <e node>')
ResponseHolder.updateProperty()
Regards,
Temil Sanchez