This topic covers the XML Assertor tool in SOAtest and Virtualize. This tool enforces the correctness of data in an XML message. Sections include:
Table of Contents | ||
---|---|---|
|
...
XML Assertor is designed to provide a range of assertions which can enforce more logical and business-appropriate rules for message validity.
...
...
This tool is commonly added from the Create/Update Regression Control dialog for XML messages (by choosing the Create Value Assertion option). For details on adding XML Assertors in this manner, see Validating the Value of an Individual Response Element.
It can also be added via the Add Output wizard, which is described inAdding Test Outputs.
Configuring XML Assertor
XML Assertor consists of three main tabs:
...
namespace-uri(.)=""][child::node()[local-name(.)="title" and text()="${XPath Key}"]]
...
Video Tutorial
In this video, you'll learn how to add targeted assertions for values in XML responses.
...
Widget Connector | |||
---|---|---|---|
|
...
|
...
|
...
|
...
|
Related Tutorials
The following tutorial lessons demonstrate how to use this tool: