dmllcOccasional Contributor14 years agoassert xml domhow would i go about asserting specific xml nodes are returned in the soap response? it seems that i have to use groovy script assertion, but i'm not too familiar with this language.
sadikaContributor14 years agoYou can assert your XML node value using below code.import com.eviware.soapui.support.XmlHolderdef holder = new XmlHolder( messageExchange.responseContentAsXml )assert holder["//Node Xpath"] == "Node value"check above code....ThanksSadik Ali
Recent DiscussionsCVE-2024-7565 and CVE-2017-16670 vulnabilitiesVulnerabilities found in SoapUI 5.9.1Invalid Content-Type for attachments
Related Contentgetting XML DOM tagName failsHow to parse JSON or XML in AssertionsCreate TestComplete Object from DOM Object