Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space FUNCTDEV and version SVC2021.2

This topic covers the XML Assertor tool in SOAtest and Virtualize. This tool enforces the correctness of data in an XML message. This tool requires a validate license.

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 Added


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

Image Added 

Configuring XML Assertor

XML Assertor consists of three main tabs:

...

namespace-uri(.)=""][child::node()[local-name(.)="title" and text()="${XPath Key}"]]

Scroll pdf ignore

Video Tutorial

In this video, you'll learn how to add targeted assertions for values in XML responses.

Widget Connector
width600
urlhttps://www.youtube.com/watch?v=T2pqiwb59qs
height400

Related Tutorials

The following tutorial lessons demonstrate how to use this tool: