Versions Compared

Key

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

...

  1. (Not applicable for use with Message Responders) Ensure that you have an action set or test suite with at least two tools.

  2. Right-click the node for the tool associated with the data you want to extract (for example, if you want to extract a value from an incoming request or outgoing response, choose the Message Responder that handles those messages), then choose Add Output.

  3. In the Add Output wizard, indicate where you want to extract the value from (for example, SOAP Envelope, Incoming Request, Transport Header, Incoming Attachment, Outgoing Response, and so on) and click Finish. An XML Data Bank node displays below the tool.

  4. Configure the tool as follows:
    1. Use the available controls to specify the XPaths that indicate what value you want to extract. To add an XPath, select a value from the Expected Message list and click Extract Element. The value you added appears in the Selected Element list with a Data Source Column name containing the name of the tool the value came from, as well as the extracted value. By default, XPath fields are case sensitive, but you can change case sensitivity by specifying the applicable system property when starting Virtualize. See Case Sensitivity for details.

      Info
      title Working with the Expected Message
      The left panel displays the expected XML response used to create a template from which you can select elements. If this tool receives a valid XML message (for example, from traffic or as defined by the client tool it is attached to), this panel will be populated automatically. Alternatively, you can copy a sample message into the Literal or Tree tabs. Note that the expected XML does not get saved by default; if you want to save it, enable the Save Expected XML option.
    2. If you want to further configure the XPath or customize extraction settings for this element, click Modify, then modify it as desired. See Options for Each Extracted Element for details.

    3. Repeat steps a and b as needed to configure any additional extractions you want performed.
    4. In the bottom area of the XML Data Bank configuration panel, customize the options as desired. See Tool-Wide Extraction Options for details.

...