Forum Discussion
4 Replies
Sort By
- groovyguyCommunity 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"));
- zareenNew Contributor
Thank you very much for this! This worked for me :manhappy:
- groovyguyCommunity Hero
Glad it worked! Don't forget to "Accept as a solution" so future forum visitors can easily see!
Related Content
- 9 years ago
- 8 years ago
- 5 years ago