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 scripts for load testing overview for more information.

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

See also: