DevWeb snapshots

Snapshots contain the data generated by the traffic between the client and the server, and are captured when a script is recorded and when the script is replayed. Typically, these snapshots are used to synchronize playback of the script.

There is a dedicated snapshot viewer pane for DevWeb. The snapshots display all HAR data associated with a specific web request step in the script.

Activate snapshots during replay

You can set DevWeb scripts to always create snapshots during replay, or to create snapshots only for errors that occurred during the replay of a script.

To activate snapshots during replay, in Runtime Settings > DevWeb Settings > Replay > Create snapshots during replay, select Always or On error. The default setting is Never.

Back to top

View DevWeb snapshots

The DevWeb snapshots work somewhat differently from the standard VuGen snapshot feature:

  • DevWeb snapshots are displayed in the DevWeb Snapshot pane, not in the VuGen Snapshot pane.
  • There is no Step Navigator for DevWeb, so you cannot use it to access snapshots.

To view snapshots for DevWeb scripts:

  1. Open the DevWeb script in the Editor pane.
  2. To open a snapshot for a WebRequest step, do one of the following:

    • Select View>DevWeb Snapshot. Then click a WebRequest step (containing a step ID argument).
    • Right-click within a WebRequest step. Select Show Snapshot.

  3. The DevWeb Snapshot pane opens, displaying the snapshot information for the request. The WebRequest ID for the snapshot is displayed in the top-right corner.

  4. Click the + icon for each entry to show its details, headers, and response.

  5. To view snapshots for other requests, click on the relevant step in the Editor.

Back to top

Working with DevWeb snapshots

The Snapshot pane includes the following functionality:

UI Element

Toggle between Single and Split view. In Split view, you can compare the snapshots for the record and replay stages, or compare different replay iterations.

Toggle between the snapshots for the record and replay results.

Select the replay iteration to display.

Note: If you move to the snapshot for a different step, the selected iterations revert to 1.

Use to search all tabs in the snapshot. When in Split view, there is a search option for each view.


View headers and response

The body of the snapshots uses a standard HAR viewer format, and includes the Headers and Response tabs. Additional tabs such as Params or Post are also displayed when relevant. Click the + icon for each entry to expand it and show the Headers and Response tabs.

From the snapshot pane, you can generate correlation extractors directly into the web request step in the script. For details, see Actionable snapshots.

Back to top

See also: