background image
<< Enhancing Vuser Scripts | Inserting Transactions >>
<< Enhancing Vuser Scripts | Inserting Transactions >>

About Enhancing Scripts

Working with VuGen · Enhancing Vuser Scripts
Creating Vuser Scripts
Chapter 4, page 39
About Enhancing Scripts
When you create a Vuser script, you can enhance its capabilities by adding Vuser
functions. For example, you can add debugging code, or functions that retrieve run-
time information about the Vusers participating in the scenario. VuGen helps you
generate most of the Vuser functions by recording from your application--other
functions you must manually type into the Vuser script. For the syntax of all the
functions, refer to the
LoadRunner Online Function Reference
(available from
the VuGen Help menu).
LoadRunner provides several libraries whose functions enhance a script. You can
use general Vuser functions or functions from the library specific to your
application--such as Oracle, CtLib, ODBC, TUXEDO, Web, or Windows Sockets.
In addition, you can enhance your Vuser script with standard ANSI C functions.
This chapter discusses the use of only the most common Vuser functions. For
additional information about Vuser functions, refer to the
LoadRunner Online
Function Reference
(available from the VuGen Help menu).
Online
Function
Reference
Online
Function
Reference