Transaction functions:
Lr_end_sub_transaction marking the end of a child transaction for performance analysis
Lr_end_transaction marking the end of a LoadRunner transaction
Lr_end_transaction_instance marking the end of a transactional instance for performance analysis
Lr_fail_trans_with_error sets the state of the open transaction to Lr_fail and sends an error message
Lr_get_trans_instance_duration gets the duration of the transaction instance (specified by its handle)
Lr_get_trans_instance_wasted_time gets the time wasted by the transaction instance (specified by its handle)
Lr_get_transaction_duration gets the duration of the transaction, by the name of the transaction
Lr_get_transaction_think_time get transaction think time (by transaction name)
Lr_get_transaction_wasted_time time to get transactions wasted (by name of transaction)
Lr_resume_transaction continue to collect transactional data for performance analysis
Lr_resume_transaction_instance continue to collect transactional instance data for performance analysis Lr_set_transaction_instance_status set the state of the transaction instance
Lr_set_transaction_status setting the state of open transactions
Lr_set_transaction_status_by_name setting the state of a transaction
Lr_start_sub_transaction the start of a marked child transaction
Lr_start_transaction marking the start of a transaction
Lr_start_transaction_instance start a nested transaction (specified by the handle of its parent transaction)
Lr_stop_transaction to stop transaction data collection
Lr_stop_transaction_instance stop transaction (specified by its handle) data collection
Lr_wasted_time Eliminate all time wasted on open transactions
command-line parsing functions
Lr_get_attrib_double retrieving the double type variable used in the script command line
Lr_get_attrib_long retrieving the long type variable used in the script command line
Lr_get_attrib_string retrieving strings used in the script command line
Informational functions
Lr_user_data_point record user-defined data examples
Lr_whoami returns information about the VUser script to the VUser script
Lr_get_host_name returns the host name of the VUser script executed
Lr_get_master_host_name returns the name of the computer running the LoadRunner Controller
String functions
Lr_eval_string Replace parameter with current value of parameter
Lr_save_string saving a NULL-terminated string to a parameter
Lr_save_var Saving a variable length string into a parameter
Lr_save_datetime to save the current date and time to the parameter
LR _advance_param advance to the next available parameter
LR _decrypt decryption of encoded strings
Lr_eval_string_ext retrieves a pointer to a buffer that contains parameter data
Lr_eval_string_ext_free releasing a pointer assigned by Lr_eval_string_ext
Lr_save_searched_string searches the buffer for a string instance and saves a portion of the buffer to the argument relative to the string instance
Message functions
Lr_debug_message sending debug information to the Output window
Lr_error_message sending an error message to the Output window
Lr_get_debug_message retrieving the current message class
Lr_log_message sending messages to a log file
Lr_output_message sending messages to the Output window
Lr_set_debug_message setting Debug Message Classes
Lr_vuser_status_message generates formatted output and writes it to the Controllervuser status area
Lr_message sending messages to the VUser log and Output window
Run-time functions
Lr_load_dll loading external DLLs
Lr_peek_events indicates where the VUser script execution can be paused
Lr_think_time pauses the execution of the script to simulate the think time (the time the actual user pauses between actions for thought)
Lr_continue_on_error specifying methods for handling errors
Lr_rendezvous set the collection point in the VUser script
Summary of common functions of LoadRunner