HTTP properties > Advanced recording options

Enables you to customize the code generation settings in the area of think time, resetting contexts, saving snapshots, generating web_reg_find functions, and masking passwords.

To access
Record > Recording Options > HTTP Properties > Advanced
Important information
  • This node is available only for specific protocols. For a complete list of protocols and their associated nodes, see Protocol compatibility table.

  • Some options in this node are not available in multi-protocol scripts.

User interface elements are described below:

UI Element
Description
Headers
Content Types
Non-Resources
Reset context for each action

Resets all HTTP contexts between actions. Resetting contexts allows the Vuser to more accurately emulate a new user beginning a browsing session. This option resets the HTML context, so that a context-less function is always recorded in the beginning of the action. It also clears the cache and resets the user names and passwords.

Available only for web and Oracle NCA protocols

Save snapshot resources locally
Saves a local copy of the snapshot resources during record and replay, thereby creating snapshots more accurately and displaying them quicker.
Generate web_reg_find functions for page titles
Generates web_reg_find functions for all HTML page titles. VuGen adds the string from the page's title tag and uses it as an argument for web_reg_find.
  • Generate web_reg_find functions for sub-frames. Generates web_reg_find functions for page titles in all sub-frames of the recorded page.

Available only for web and Oracle NCA protocols

Add comment to script for HTTP errors while recording
Adds a comment to the script for each HTTP request error. An error request is defined as one that generated a server response value of 400 or greater during recording.
Support charset
  • UTF-8. Enables support for UTF-8 encoding. This instructs VuGen to convert non-ASCII UTF-8 characters to the encoding of your locale's machine in order to display them properly in VuGen. You should enable this option only on non-English UTF-8 encoded pages. The recorded site's language must match the operating system language. You cannot record non-English web pages with different encodings (for example, UTF-8 together with ISO-8859-1 or shift_jis) within the same script.

  • EUC-JP. If you are using Japanese Windows, select this option to enable support for websites that use EUC-JP character encoding. This instructs VuGen to convert EUC-JP strings to the encoding of your locale's machine in order to display them properly in VuGen. VuGen converts all EUC-JP (Japanese UNIX) strings to the SJIS (Japanese Windows) encoding of your locale's machine, and adds a web_sjis_to_euc_param function to the script. (Kanji only)

Parameterize server names

(Web - HTTP/HTML only) VuGen identifies server names and IP addresses when you regenerate a Vuser script. These server names and IP addresses are contained in specific arguments associated with specific functions in the Vuser script. [See the table below for details.] When this option is enabled, VuGen replaces the identified server names and IP addresses with parameters. Parameterizing server names and IP addresses enables you to run the Vuser script in different environments by simply changing the server and IP address values in the parameter file. For an introduction to parameters, see Parameterization overview.

To identify data for parameterization, VuGen searches the arguments that are listed for the following functions:

  • web_url: URL; Referrer

  • web_custom_request: URL; Referrer

  • web_image: URL; Referrer

  • web_submit_data: Action; URL; Referrer

  • web_submit_form: Action; URL; Referrer

Note: By default, this option is not selected.

Generate web_add_cookie functions
Detect the time when a cookie is created, and generate web_add_cookie or web_add_cookie_ex functions. If you clear this option, the above functions will not appear in the script.
Generate steps for WebSocket traffic Generate code and correlate WebSocket functions. If you clear this option, WebSocket functions will not appear in the script.
Replace passwords with masked parameters When generating a script, replace actual passwords with a masked string.
Use CNG Engine for recording

Directs VuGen to use the OpenSSL Cryptographic Next Generation (CNG) Engine for its recording (hooking) mechanism. This provides support for the CNG private key when processing certificates in Windows Certificate Store.

When this option is not enabled (default setting), VuGen uses the CryptoAPI (CAPI) engine to process certificates. The CAPI engine does not support the CNG private key.

Note:  

  • Version support: This option is supported from version 24.3.

  • To enable use of the CNG Engine for replay, see Web settings.

Generate steps with missing responses
Generate steps for HTTP requests that are missing server responses.
Generate API calls for specific HTTP status codes Generates API calls for the specified custom (non-standard) HTTP status codes. You should separate multiple entries with semicolons. For example: 302;303;304
Use the LoadRunner Proxy to record a local application

Provides an alternative way to record if the standard VuGen recording mechanism is not compatible with your application. This applies when you have selected to record a web browser or Windows application. For details, see Record using a proxy.

Note: After recording, clear this option to restore the default mode.

Use streaming mode when recording with the LoadRunner Proxy

Streaming mode enables HTTP data portions received from the server to be forwarded to the application with buffering. This allows you to record asynchronous push communication.

Note: When this option is enabled, the remote recording toolbar is disabled.

Record traffic from selected application only

Enabled when Use the LoadRunner Proxy to record a local application is selected.

When selected, only traffic for the application you select is recorded.

If the option is not selected, all traffic through the proxy generates steps.

Version support: This option is supported from version 24.3.

Back to top