MistaWizard
10 years agoOccasional Contributor
how do you access content of an assertion test step within groovy
how do I get/access the content of an assertion test step within groovyscript?
I have the line
def ass = it.getAssertions()
This gives me the container
Wed Jun 17 13:51:39 CAT 2015:INFO:assertion: [Contains:com.eviware.soapui.impl.wsdl.teststeps.assertions.basic.SimpleContainsAssertion@9167631]
I've looked at the apidocs, not succesfully at all. From what i know I can't use the messageExchange methods because this is going to sit in the teardown script. I can't even find getAssertions :(