dmllcOccasional Contributor13 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.
sadikaContributor13 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 DiscussionsHow do I create a JSON file?SOAPUI 5.9.1 Still Includes Log4j 2.17.1 — When Will an Updated Version Be Released?20 years of SoapUI - Share your story
Related Contentgetting XML DOM tagName failsHow to parse JSON or XML in AssertionsCreate TestComplete Object from DOM Object