Forum Discussion
groovyguy
8 years agoCommunity Hero
Here's how I would do this:
import com.eviware.soapui.support.XmlHolder
def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );
// Fail if the response does not have the value
assert (messageExchange.responseContentAsXml.contains("Value to be checked"));