Share this page

# Record scripts

The record scripts section provides information on script structure, recording with VuGen, and additional recording tools.

In this topic:

## About the recording process

After you create an empty Vuser script, you are ready to use VuGen to record typical user-actions into the script, representing your business processes. While you record the script, VuGen's floating recording toolbar gives you access to the main recording functionality, such as pausing and stopping the recording, and inserting transactions and rendezvous points. For details on how to record a Vuser script, see Record a Vuser script.

Each Vuser script contains at least three sections: vuser_init, one or more action sections, and vuser_end. When you run multiple iterations of a Vuser script, only the Actions sections of the script are repeated—the vuser_init and vuser_end sections are not repeated. Before you record, and during recording, you can select the section of the script into which VuGen inserts the recorded functions. For details on the script sections, see Vuser script sections.

Before you start recording, make sure that the recording options are set correctly for the script. For more information about the recording options, see Recording options.

When you have finished recording the user actions, VuGen generates the Vuser script and performs various other post-recording operations. You can replay the script to make sure that it functions correctly. For details, see Replay scripts.

To resolve situations where you cannot install VuGen on the client machine, VuGen allows you to record scripts using a proxy. Proxy recording may be required with certain Linux machines, Mac OS machines, and mobile devices. For details, see Record using a proxy.

You can also record your business processes into a script by recording a HAR file. VuGen converts the file contents into an executable Vuser script. For details, see Record a script with the Web Recorder.

After you successfully record a Vuser script, you can replay the script. For details, see Replay scripts.

Back to top

## Script language options

When you record a session, VuGen creates a script that emulates your actions. The default script generation language is C. The following list specifies other languages that can be used with VuGen protocols:

Language | Use
--- | ---
C | For recording applications that use complex COM constructs and C++ objects.
C # | For recording applications that use complex applications and environments (MS .NET protocol only).
Visual Basic .NET | For VB .NET applications using the full capabilities of VB.
Java | Web-based applications.
JavaScript | For web-based applications, especially those using dynamic HTML applications.

After the recording session, you can modify the script with regular C, C#, .NET, Java, or JavaScript code and control flow statements.

Back to top

See also:

- Use VuGen

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