Utility Functions and C Language Reference > Utility Functions: .NET (lr.) > Alphabetical Listing

Alphabetical Listing

Before using these functions, you need to get a reference to the lr object. For example:

private LoadRunner.LrApi lr = new LoadRunner.LrApi();

Click one of the following functions for more information:

lr.abort Aborts the execution of a script.
lr.advance_param Advances to the next available value in the parameter data file.
lr.continue_on_error Specifies an error handling method.
lr.debug_message Sends a debug message to the output window or log file.
lr.decrypt Deprecated. Unmasks an encoded string during replay.
Use lr.unmask.
lr.empty Returns a Variant whose value is Empty.
lr.end_sub_transaction Marks the end of a sub-transaction.
lr.end_transaction Marks the end of a transaction.
lr.error_message Sends an error message to the log file and output window with location details.
lr.eval Returns the string argument after evaluating embedded parameters.
lr.eval_double Returns the double value of the parameter.
lr.eval_int Returns the long integer value of a parameter.
lr.eval_long Returns the long integer value of a parameter.
lr.eval_string Returns the string argument after evaluating embedded parameters.
lr.exit Exits from the script, action, or iteration.
lr.get_attrib_double Returns the value of a command line parameter as a double
lr.get_attrib_long Returns the value of a command line parameter as a long integer.
lr.get_attrib_string Returns the value of a command line parameter as a string.
lr.get_debug_message Returns the current message logging settings
lr.get_host_name Returns the name of the host executing the script.
lr.get_master_host_name Returns the name of the machine running the LoadRunner Controller.
lr.group_name Returns the name of the Vuser's group.
lr.get_transaction_duration Returns the duration of a transaction.
lr.get_transaction_think_time

Returns the think time of a transaction.

lr.get_vuser_ip Returns the IP address of a Vuser.
lr.log Sends a message to the log file.
lr.log_message Sends a message to the log file.
lr.missing Returns a variant whose value is Missing.
lr.message Sends a message to the log file and output window.
lr.next_row Advances to the next row in the parameter data file.
lr.output_message Sends a message to the log file and output window with location details.
lr.peek_events Indicates a point to search for events.
lr.read_file Reads a file into a parameter.
lr.rendezvous Creates a rendezvous point in the Vuser script.
lr.resume_transaction Resumes reporting transaction data within a script.
lr.save_double Saves a double value as a parameter.
lr.save_int   Saves an integer as a parameter.
lr.save_long Saves a long value as a parameter.
lr.save_string Saves a null-terminated string as a parameter.
lr.set_debug_message Sets the message level.
lr.set_transaction Creates a completed transaction.
lr.scenario_id   Returns the current Scenario or Session step ID.
lr.sleep Calls the operating system's sleep command.
lr.start_sub_transaction Starts a sub-transaction specified by its parent's name.
lr.start_transaction Marks the beginning of a transaction.
lr.stop_transaction Freezes reporting of transaction data.
lr.think_time Pauses execution between commands in a script.
lr.unmask Unmasks an encoded string.
lr.user_data_point Records a user-defined data sample.
lr.vuser_group Returns the name of the Vuser group.
lr.vuser_status_message Sends a message to the Vuser Status area in the Controller window.