Recording overview

Creating a Vuser script includes the steps shown below. This topic provides and overview of the second step, recording a Vuser script.

After you create an empty Vuser script, you are ready to use VuGen to record typical user-actions into the script. 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 will insert 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.

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

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

Back to top

See also: