Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space FUNCTDEV and version SOAVIRT_9.10.4_CTP_3.1.1

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
maxLevel1

...

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
 

Image Modified


It can also be added via the Add Output wizard, which is described inAdding Test Outputs.

Image Modified 

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
width600
url

...

https://

...

www.

...

youtube.com/

...

watch?v=T2pqiwb59qs
height400

Related Tutorials

The following tutorial lessons demonstrate how to use this tool: