zen_paul
8 years agoOccasional Contributor
Schema Compliance Assertion setting Definition URL with Groovy
We have code which sets up our assertions for some of our regression tests like assertion = tStep.addAssertion("XPath Match") assertion.setName("matchAllExceptTimestamp") assertion....
- 8 years ago
zen_paul, in case you need to add your own URL of the WSDL, you can do it with the following code:
SchemaComplianceAssertion sca = step.addAssertion('Schema Compliance') sca.setConfiguration(org.apache.xmlbeans.XmlObject.Factory.parse('<definition>http://myServiceURL?WSDL</definition>'))
Karel