Forum Discussion
4 Replies
Sort By
- groovyguyChampion Level 1
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:
- groovyguyChampion Level 1
Glad it worked! Don't forget to "Accept as a solution" so future forum visitors can easily see!
Related Content
- 8 years agorvteja1990
- 7 years agomgroen2
- 4 years agofmensah
Recent Discussions
- 2 hours agoyassir
- 24 hours agodipsthorat
- 2 days agoisbiat