Web Services Snapshots - Overview

Vuser scripts based on the Web Services protocol utilize VuGen's Snapshot pane.

The Snapshot pane enables you to view snapshots of Web service calls. When you display the Snapshot pane for a Web Services script, the left side of the Snapshot pane displays a tree view of the snapshot data; the right side of the Snapshot pane displays a text view of the snapshot data.

The tree view on the left of the Snapshot pane is composed of a number of nodes. An icon to the left of each node indicates the type of the node:

  • Element: Indicates that the node represents an element in the XML file.
  • Attribute: Indicates that the node represents an attribute in the XML file.
  • Value: Indicates that the node represents a value in the XML file.

In addition to the basic Snapshot pane functionality, the Snapshot pane for Web Services scripts includes additional functionality. The UI for this additional functionality is described below.

To access

Select View > Snapshot, or click the Show Snapshot Pane button on the VuGen toolbar.

Relevant tasks

Prepare Scripts for Replay

User interface elements are described below (unlabeled elements are shown in angle brackets):

UI Element

Description

Displays a snapshot of the SOAP response returned by the server.

Displays a snapshot of the SOAP request sent to the server by the Web Service call.

Opens the XPath Search dialog box which enables you to perform an XPath search of the snapshot.

Displays the previous or next results of the XPath search.

Displays or hides the XML attribute nodes in the tree view of the snapshot.

Displays or hides the XML value nodes in the tree view of the snapshot.

<shortcut menu>
  • Copy Selection. Copies the text that is selected in the text view to the clipboard.

  • Search Community. Performs a community search using the text that is selected in the text view as the search string. For details about performing a community search, see Editor Pane.
  • Copy XPath. In the tree view, copies the XPath of the selected node to the clipboard. In the text view, copies the XPath of the XML element in which the cursor is located to the clipboard.
  • Copy full value. In the tree view, copies the full XML code of the selected node to the clipboard. In the text view, copies the full XML code of the XML element in which the cursor is located.
  • Insert XML Check. Opens the Insert XML Check dialog box that enables you to insert an XML Find step into the Vuser script.

    Note:

    • This option is available in the Response view only.
    • This option is available for attribute and value nodes only.

  • Save value in parameter. Opens the Save Value as Parameter dialog box that enables you to save the selected value to a simple parameter.

    Note:

    • This option is available in the Response view only.
    • This option is available for attribute and value nodes only.

  • Save XML in parameter. Opens the Save Value as Parameter dialog box that enables you to save the selected value to an XML parameter.

    This option is available in the Response view only.

  • Create Correlation. Opens the Correlation tab in the Design Studio. The text selected in the Snapshot pane appears as a manual correlation entry in the Design Studio. For details, see Manually Correlate Scripts.

    Note:

    • This option is available in the Response view only.
    • This option is available for attribute and value nodes in the tree view, and when text is selected in the text view.

  • Create Correlation Rule. Opens the Add as Rule dialog box that enables you to add the selected text as part of a correlation rule. For details, see Correlation Tab [Design Studio] Overview.

    Note:

    • This option is available in the Response view only.
    • This option is available for attribute and value nodes in the tree view, and when text is selected in the text view.

See also:

Back to top