Share this page

# Web manual correlations

You can manually add correlations that were missed by the automatic engine, or identify all correlations yourself.

### Correlate selection

This method allows you to select the required value (text string) in the script code (function arguments), and request a check whether this value appears to be a correlation, by activating the “Correlate selection” option from context menu (right click a correlate selection).
The logic used here is identical to the “Record-based correlations” mentioned above.

### Correlate from snapshot

You select a dynamic value from the Server response within a snapshot, and the engine will scan the entire script and replace all relevant occurrences.

### Double recording

This method is a design approach that directs you to record the same business process twice, compare the scripts, and locate any mismatches between the two. The mismatches are candidates for the correlation process that is done manually.

In order to correlate dynamic values, after locating the appropriate server response, you need to extract this data. The value can be extracted using different methods.

This is done with a set of API functions.

The main correlation APIs are:

API | Use
--- | ---
web_reg_save_param_ex | Registers a request to save dynamic data located between specified boundaries.
web_reg_save_param_regexp | Registers a request to save dynamic data that matches a regular expression.
web_reg_save_param_xpath | Registers a request to save dynamic data from XML response using XPath expression.
web_reg_save_param_json | Registers a request to save dynamic data from response that has been formatted as JSON.

https://admhelp.microfocus.com VuGen,Professional Performance Engineering,Performance Engineering for Developers 8942
Tips to improve your search results... OpenText™ Virtual User Generator Help Center OpenText™ VuGen Help 26.1-26.3 All View Local Help Center View Online Help Center Version: