background image
<< The Vuser Script Generator | Recording Vuser Scripts with VuGen >>
<< The Vuser Script Generator | Recording Vuser Scripts with VuGen >>

About VuGen

Creating Vuser Scripts
Chapter 2, page 14
Working with VuGen · Introducing VuGen
In
About VuGen
The Vuser Script Generator, also known as
VuGen
, is LoadRunner's primary tool
for developing Vuser scripts. VuGen is a Windows-based application that not only
records scripts, but also runs them. Running scripts from VuGen is useful when
debugging. It enables you to emulate how a Vuser script will run when executed in
a LoadRunner scenario from the Controller.
Note: VuGen records sessions on Windows platforms only. However, a recorded
Vuser script can run on either a Windows or a UNIX platform.
When you record a Vuser script, VuGen generates and inserts various functions
into the script. These functions include
general
Vuser functions and
protocol-
specific
functions. The general Vuser functions, also known as LR functions, allow
you to obtain information about Vusers running in a scenario. The protocol-specific
functions are specific to the Vuser type. For example, VuGen inserts LRT functions
into a TUXEDO script, and LRS functions into a Windows Sockets script.
The
general
Vuser functions and the
protocol-specific
functions together form the
LoadRunner API and enable Vusers to communicate directly with a server.