Alphabetical Listing - C Language Utility Functions
Click one of the following functions for more information:
lr_abort | Aborts script execution. |
lr_advance_param | Advances to the next available value in the parameter data file. |
lr_azure_ad_client_get_token | Fetches a bearer type token from the Azure API Service. |
lr_azure_kv_get_secret | Fetches a secret value from Microsoft Azure Key Vault. |
lr_azure_set_service_port | Specifies a port for the local LoadRunner Azure API Service. |
lr_continue_on_error | Specifies an error handling method. |
lr_convert_string_encoding | Converts a string to a different encoding. |
lr_convert_double_to_double | Formats the string representation of a double value using a printf-style format specifier. |
lr_convert_double_to_integer | Converts the string representation of a double value to the string representation of an integer. |
lr_cyberark_get_vault | Queries a protected password in a CyberArk Vault and Safe, and saves it to a parameter. |
lr_db_dataset_action | Validates database contents by setting checkpoints. |
lr_db_connect | Connects to a database. |
lr_db_dataset_action | Performs an action on a dataset. |
lr_db_disconnect | Disconnects from a database. |
lr_db_executeSQLStatement | Submits an SQL statement to a database. |
lr_checkpoint | Validates the value of a parameter against an expected value (checkpoint). |
lr_db_getValue | Retrieves a value from a dataset. |
lr_debug_message | Sends a debug message to the output window or log file. |
lr_decrypt | Deprecated. Use lr_unmask. |
lr_disable_ip_spoofing | Disables IP Spoofing. |
lr_enable_ip_spoofing | Enables IP Spoofing. |
lr_end_cross_vuser_transaction | Marks the completion in this Vuser of a transaction started by a different Vuser. |
lr_end_sub_transaction | Marks the end of a sub-transaction. |
lr_end_transaction | Marks the end of a transaction. |
lr_end_transaction_instance | Marks the end of a transaction instance. |
Stops a timer. | |
lr_error_message | Sends an error message to the output or log file. |
lr_eval_json | Creates a json object from a string or a file. |
lr_eval_string | Replaces a parameter with its current value. |
lr_eval_string_ext | Creates a buffer and assigns it the input string after evaluating embedded parameters. |
lr_eval_string_ext_free | Frees the buffer allocated by lr_eval_string_ext. |
lr_exit | Exits from the script, action, or iteration. |
lr_fail_trans_with_error | Sets the status of open transactions to LR_FAIL and sends an error message. |
lr_get_attrib_double | Returns the value of a double type command line parameter. |
lr_get_attrib_long | Returns the value of a long integer type command line parameter. |
lr_get_attrib_string | Returns a command line parameter 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 LoadRunner Controller. |
lr_get_transaction_duration | Gets the duration of a transaction by its name. |
lr_get_transaction_status | Gets the current status of a transaction. |
lr_get_trans_instance_duration | Returns the duration of a transaction by its name. |
lr_get_trans_instance_status | Returns the current status of a transaction instance. |
lr_get_trans_instance_think_time | Gets the think time of a transaction instance specified by its handle. |
lr_get_trans_instance_wasted_time | Gets the wasted time of a transaction instance by its handle. |
lr_get_transaction_think_time | Gets the think time of a transaction by its name. |
lr_get_transaction_wasted_time | Gets the wasted time of a LoadRunner transaction by its name. |
lr_get_vuser_ip | Returns the IP address of the current Vuser. Not applicable for products that do not run Vusers. |
lr_json_delete | Deletes the values in a json object that match the query. |
lr_json_find | Returns the number of matches to a query in a JSON object. |
lr_json_get_values | Gets values from a given path in a JSON object. |
lr_json_insert | Inserts a node in a JSON object. |
lr_json_replace | Replaces a node in a JSON object. |
lr_json_set_values | Changes values in a JSON object. |
lr_json_stringify | Converts a JSON object to a JSON string. |
lr_load_dll | Loads an external DLL. |
lr_log_message | Sends a message to the Vuser log file. |
lr_message | Sends a message to the output and log file. |
lr_output_message | Sends a message to the output and log file with location information. |
lr_next_row | Advances to the next row in the parameter data file. |
lr_param_increment | Increments the value of a numerical parameter |
lr_param_sprintf | Writes formatted output to a parameter. |
lr_param_unique | Generates a unique string and assigns it to a parameter. |
lr_paramarr_idx | Returns the value of the parameter at a specified location in a parameter array. |
lr_paramarr_len | Returns the number of elements in a parameter array. |
lr_paramarr_random | Returns the value of the parameter at a random location in a parameter array |
lr_peek_events | Checks for events. |
lr_remove_custom_error_message | Removes a custom test that was set by lr_set_custom_error_message. |
lr_read_file | Reads a file into a parameter. |
lr_rendezvous | Creates a rendezvous point in the Vuser script. |
lr_rendezvous_ex | Sets a rendezvous point in a Vuser script. |
lr_resume_transaction | Resumes the collection of transaction data. |
lr_resume_transaction_instance | Resumes collecting transaction instance data. |
lr_save_datetime | Saves the date and time into a parameter. |
lr_save_int | Saves an integer to a parameter. |
lr_save_param_regexp | Finds a string in a buffer using a regular expression and saves capture group matches to a parameter. |
lr_save_searched_string | Searches for an occurrence of a string in a buffer and saves a portion of the buffer after that string to a parameter |
lr_save_string | Saves a null-terminated string as a parameter. |
lr_save_timestamp | Saves the current time in a parameter. |
lr_save_var | Saves a variable length string as a parameter. |
lr_set_debug_message | Sets a message class for output messages. |
lr_set_custom_error_message | Sets a custom text to be output after built-in error messages. |
lr_set_transaction | Create a transaction manually. |
lr_set_transaction_instance_status | Sets the status of a transaction instance. |
lr_set_transaction_status | Sets the status of open transactions. |
lr_set_transaction_status_by_name | Sets the status of a transaction by its name. |
lr_start_cross_vuser_transaction | Initiates a transaction that is closed in one or more Vusers other than the initiating Vuser. |
Starts a timer. | |
lr_start_transaction | Marks the beginning of a transaction. |
lr_start_transaction_instance | Marks the beginning of a transaction instance. |
lr_start_sub_transaction | Marks the beginning of a sub-transaction. |
lr_stop_transaction | Halts the collection of transaction data. |
lr_stop_transaction_instance | Stops collecting data for a transaction instance specified by its handle. |
lr_think_time | Pauses execution between commands in a script. |
lr_unmask | Unmasks an encoded string during replay. |
lr_user_data_point | Records a user-defined data sample. |
lr_user_data_point_ex | Records a user-defined data sample. |
lr_user_data_point_instance | Records a user-defined data sample and correlates it to a transaction instance. |
lr_user_data_point_instance_ex | Records a user-defined data sample and correlates it to a transaction instance. |
lr_vuser_status_message | Sends a message to the Vuser status area in the Controller. |
lr_wasted_time | Sets the wasted time for all open transactions. |
lr_whoami | Returns information about a Vuser executing the script |
lr_xml_get_values | Retrieves values of XML elements found by a query |
lr_xml_set_values | Sets the values of XML elements found by a query |
lr_xml_extract | Extracts XML string fragments from an XML string |
lr_xml_delete | Deletes fragments from an XML string |
lr_xml_replace | Replaces fragments of an XML string |
lr_xml_insert | Inserts a new XML fragment into an XML string |
lr_xml_find | Verifies that XML values are returned by a query |
lr_xml_transform | Applies Extensible Stylesheet Language (XSL) Transformation to XML data |
lr_unzip | Uncompresses the information in a parameter and stores the uncompressed information in another parameter. |
lr_zip | Compresses the information in a parameter and stores the compressed information in another parameter. |