General Vuser Functions

The general Vuser functions are also called LR functions because each LR function has an lr prefix. The LR functions can be used in any type of Vuser script. The LR functions enable you to:

  • Get runtime information about a Vuser, its Vuser Group, and its host.

  • Add transactions and synchronization points to a Vuser script. For example, the lr_start_transaction (lr.start_transaction in Java) function marks the beginning of a transaction, and the lr_end_transaction (lr.end_transaction in Java) function marks the end of a transaction. See Enhancing a Script for Load Testing - Overview for more information.

  • Send messages to the output, indicating an error or a warning.

Back to top

See also: