DGramß
16 years agoOccasional Contributor
Assertion Script
Have read all the docu and searched this forum, but still don't see how to do this....
I have a CONTAINS assertion in a Test Step which I now want to put in a groovy script.
Have this code:
def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def holder = groovyUtils.getXmlHolder( "Test_Request_sPUA#Response" )
How can I test with an assertion if the response stored in holder contains the string "" ?
Tnks, Kevin
I have a CONTAINS assertion in a Test Step which I now want to put in a groovy script.
Have this code:
def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def holder = groovyUtils.getXmlHolder( "Test_Request_sPUA#Response" )
How can I test with an assertion if the response stored in holder contains the string "
Tnks, Kevin