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 |
|
User interface elements are described below:
UI Element
|
Description
|
---|---|
Headers |
Opens the Headers dialog box.
|
Content Types |
Opens the Content Type Filters dialog box.
|
Non-Resources |
Opens the Non-Resources dialog box.
|
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.
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 |
|
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:
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:
|
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. |