Share this page

# Exclude strings or content types from correlation scans

By default, the correlation engine scans all plain and HTML text, searching for correlations. Some of the candidates found may not be real correlations. To enhance correlation accuracy, you can configure VuGen to ignore certain text strings, regular expressions, or content types.

To exclude a specific text string:

1. Select Record > Recording Options > Correlations > Configuration.

2. Click View and Edit adjacent to Excluded strings.

3. Click the button to open the Add string to exclude dialog box.

   For example, enter `getCachedId` to exclude the string `getCachedID` as a correlation candidate.

4. Click OK.

To exclude matches of a regular expression:

1. Select Record > Recording Options > Correlations > Configuration.

   Click the View and Edit button adjacent to Excluded strings.

2. Click the button to open the Add string to exclude dialog box.

3. Enter a regular expression and check the Regular Expression box or select the button to view and select from a list box of regular expression character classes and complete the regular expression.

   For example, enter `^navurl:.*` to exclude strings such as `navurl:\\any_char, navurl:1234` as correlation candidates.

4. Click OK.

To exclude content types:

1. Select Record > Recording Options > Correlations > Configuration.
2. Click the View and Edit button next to Excluded content types to open the Excluded Content Type List dialog box. The list shows the content types that are automatically excluded.

3. Click the Add button to add a new entry. You can add a string or regular expression.

   For example:

   Excluded content type: | Correlation engine will:
   --- | ---
   image/ | Ignore any content type beginning with `image/` such as `image/gif, image/jpeg, image/png`
   application/(!?(json|x-amf)) | Ignore content type that begins with `application/` except for content type `application/json` or `application/x-amf`.

4. Click OK.

To delete an excluded item:

1. Highlight an item in the Excluded String List or Excluded Content Type List dialog boxes.
2. Click the Delete button .
3. Click OK.

Back to top

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 All View Local Help Center View Online Help Center Version: