Functions
Functions
4. lr_fail_trans_with_error --> Sets the status of open transactions to LR_FAIL and sends an
error message.
10. lr_resume_transaction --> Resumes collecting transaction data for performance analysis.
17. lr_start_transaction_instance --> Starts a nested transaction specified by its parent’s handle.
19. lr_stop_transaction_instance --> Stops collecting data for a transaction specified by its
handle.
20. lr_wasted_time --> Removes wasted time from all open transactions.
1. lr_get_attrib_double --> Retrieves a double type variable used on the script command line.
2. lr_get_attrib_long --> Retrieves a long type variable used on the script command line.
Informational Functions:
2. lr_whoami --> Returns information about a Vuser to the Vuser script. Not applicable for
Application Management.
3. lr_get_host_name --> Returns the name of the host executing the Vuser script.
4. lr_get_master_host_name --> Returns the name of the machine running the LoadRunner
Controller or Tuning Console. Not applicable for Application Management.
String Functions:
Message Functions:
1. lr_debug_message --> Sends a debug message to the Output window or the Business Process
Monitor log files.
2. lr_error_message --> Sends an error message to the Output window or the Business Process
Monitor log files.
5. lr_output_message --> Sends a message to the Output window or the Business Process
Monitor log files.
formatted output to the Controller or Console Vuser status area. Not applicable for Application
Management.
8. lr_message --> Sends a message to the Vuser log and Output window or the Business Process
Monitor log files.
Run-Time Functions
3. lr_think_time --> Pauses script execution to emulate think time—the time a real user pauses to
think between actions.
5. lr_rendezvous --> Sets a rendezvous point in a Vuser script. Not applicable for Application
Management.