How to Modify Correlation Definitions

You can modify correlation definitions to help eliminate dynamic values that do not require correlation.

Note: These methods only apply to modifying correlations within your script. They do not affect the correlation rules.

Modify Boundary Based Correlation Definitions

  1. Click the Design Studio button on the VuGen toolbar.
  2. Select a dynamic value from the correlation grid and expand Details.
  3. Edit the Left Boundary or Right Boundary under the Correlation Definition section. You can modify the definition by adding or deleting text.

  4. Click Apply this Definition.

    The Apply this Definition button will not be enabled unless the modified boundary definition occurs in the snapshot and the script.

    View the following images that display both a correct and incorrect boundary definition.

    Note: If you do not apply the definition before selecting another dynamic value in the grid, your changes will be lost. If you select Replay & Scan before correlating your value with the modified definition, your changes will be lost.

Back to top

Modify Regular Expression Correlation Definitions

  1. Click the Design Studio button on the VuGen toolbar.
  2. Select a dynamic value from the correlation grid and expand Details.
  3. Edit the Regular Expression under the Correlation Definition section.
  4. Click Apply this Definition.

    The Apply this Definition button will not be enabled unless the modified boundary definition occurs in the snapshot and the script.

    View the following images that display both a correct and incorrect regular expression definition.

    Note: If you do not apply the definition before selecting another dynamic value in the grid, your changes will be lost. If you select Replay & Scan before correlating your value with the modified definition, your changes will be lost.

Back to top

Modify XPath Correlation Definitions

  1. Click the Design Studio button on the VuGen toolbar.
  2. Select a dynamic value from the correlation grid and expand Details.
  3. Edit the XPath definition under the Correlation Definition section.
  4. Click Apply this Definition.

    The Apply this Definition button will not be enabled unless the modified boundary definition occurs in the snapshot and the script.

    View the following images that display both the original, correct and incorrect XPath definition.

    Note: If you do not apply the definition before selecting another dynamic value in the grid, your changes will be lost. If you select Replay & Scan before correlating your value with the modified definition, your changes will be lost.

Back to top

Modify Winsocket Correlation Definitions

  1. Winsocket dynamic values are correlated from the snapshot. To access, select the relevant step in the Step Navigator, and view the step in the Snaphot pane. The Winsocket protocol has both a hex and text snapshot.

    View the following images that display both a hex and text snapshot.

    Right click the value in the snapshot and select Create correlation or Create boundary correlation. This will open the Design Studiowindow.

  2. Select a dynamic value from the correlation grid and expand Details.
  3. If you selected Create correlation, edit the Data Range in the Correlation Definition section. If you selected Create boundary correlation, edit the left of right boundary.

  4. Click Apply this Definition.

    The Apply this Definition button will not be enabled unless the modified boundary definition occurs in the snapshot.

    View the following images that display both a Data Range definition and a Boundary definition.

    Note: If you do not apply the definition before selecting another dynamic value in the grid, your changes will be lost. If you select Replay & Scan before correlating your value with the modified definition, your changes will be lost.

Back to top