Modify Correlation Definitions

You can modify correlation definitions to help eliminate dynamic values that do not require correlation. These tasks describe how to modify boundary based, regular expression, and XPath query correlation definitions for record or response correlation.

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

In this topic:

Modifying Boundary Based Correlation Definitions

Click the Design Studio button on the VuGen toolbar.

Select a dynamic value from the correlation grid and expand Details.

Edit the Left Boundary or Right Boundary under the Correlation Definition section. You can modify the definition by adding or deleting text.

Click Apply.

The Apply button is enabled only if 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 click Replay&Scan before correlating your value with the modified definition, your changes will be lost.

The Apply button is enabled only if 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 click Replay&Scan before correlating your value with the modified definition, your changes will be lost.

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.

Modifying Winsocket Correlation Definitions

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 theDesign Studiowindow.

Select a dynamic value from the correlation grid and expand Details.

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.

Click Apply.

The Apply button is enabled only if 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 click Replay&Scan before correlating your value with the modified definition, your changes will be lost.

Tips to improve your search results...TOCLoadRunner Help CenterLoadRunner12.60-12.61AllView Local Help CenterView Online Help CenterbackGo back in browser historyforwardGo forward in browser historyRemove search highlightsnext topicGo to next topicprevious topicGo to previous topicPrint the current topicVersion(Undefined variable: _rscC_Basic_Variables.FloatingTocShow)