Share this page

# Record a Vuser script

This topic describes the overall process for recording a Vuser script.

In this topic:

## Modify or disable DEP

DEP (Data Execution Prevention) is a security feature included in Windows. It can interfere with some of the functionality during record and replay, and may cause older browsers to hang on the VuGen machine. If you experience unusual behavior during recording, modify the DEP settings.

The ideal setting is Turn on DEP for essential Windows programs and services only. If this option is not available, you may need to completely disable DEP using the BCDEdit boot configuration utility.

For information on how to modify the DEP settings, refer to the Microsoft Windows documentation.

## Recording a script in VuGen

The standard way to record a script is through the user interface.

To record a Vuser script:

1. Create a new script or open an existing script. For details, see Create and open Vuser scripts.

2. Configure the recording options (optional). The recording options affect the way a Vuser script is recorded and how it is generated after the recording, To open the recording options, double-click the Recording Options node in the script tree. For details, see Recording options.

   Tip:

   - Web HTTP/HTML scripts: To generate a Recording Report after recording is finished see Enable/disable the Recording Report.
   - If the business process you want to record contains asynchronous push communication, select Recording Options > HTTP > Advanced > Use streaming mode when recording with the Performance Engineering Proxy.
   - If you are not able to successfully record a script, select Recording Options > HTTP > Advanced Node and check the Use Performance Engineering Proxy to record a local application option. Then re-record your business process.

3. Click the Record button on the toolbar to open the Start Recording dialog box. For details, see Start Recording dialog box.

4. Define the relevant information and choose the section into which you want to record. For example, the Init section should contain steps that you do not want to repeat, such as logging in. For details, see Vuser script sections.

5. Click Start Recording. The floating toolbar appears, your application is opened and VuGen begins recording your actions.

6. Perform those business processes that you want to record, within your application or browser. Use the floating toolbar to insert transactions, rendezvous points, and comments. You can also use the floating toolbar to specify into which section of the script to record. For user interface details, see Floating recording toolbar.

   Click the Stop button on the floating toolbar when you are finished recording.

   Note: To cancel the recording session, click the Cancel Recording button on the floating toolbar. When you cancel a recording, VuGen removes all of the code that was added to the script during the current recording session, thereby restoring the script to its status before the current recording session. For details on enabling/disabling the Cancel Recording button, see Scripting tab.

## See also

- Vuser script sections
- Start Recording dialog box
- Floating recording toolbar
- Create a script from a captured traffic file

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: