Alphabetical Listing - C Language Utility Functions

Click one of the following functions for more information:

lr_abortAborts script execution.
lr_advance_paramAdvances to the next available value in the parameter data file.
lr_azure_ad_client_get_tokenFetches a bearer type token from the Azure API Service.
lr_azure_kv_get_secretFetches a secret value from Microsoft Azure Key Vault.
lr_azure_set_service_portSpecifies a port for the local LoadRunner Azure API Service.
lr_continue_on_errorSpecifies an error handling method.
lr_convert_string_encodingConverts a string to a different encoding.
lr_convert_double_to_doubleFormats the string representation of a double value using a printf-style format specifier.
lr_convert_double_to_integerConverts the string representation of a double value to the string representation of an integer.
lr_cyberark_get_vaultQueries a protected password in a CyberArk Vault and Safe, and saves it to a parameter.
lr_db_dataset_actionValidates database contents by setting checkpoints.
lr_db_connectConnects to a database.
lr_db_dataset_actionPerforms an action on a dataset.
lr_db_disconnectDisconnects from a database.
lr_db_executeSQLStatementSubmits an SQL statement to a database.
lr_checkpointValidates the value of a parameter against an expected value (checkpoint).
lr_db_getValueRetrieves a value from a dataset.
lr_debug_messageSends a debug message to the output window or log file.
lr_decryptDeprecated. Use lr_unmask.
lr_disable_ip_spoofingDisables IP Spoofing.
lr_enable_ip_spoofingEnables IP Spoofing.
lr_end_cross_vuser_transactionMarks the completion in this Vuser of a transaction started by a different Vuser.
lr_end_sub_transactionMarks the end of a sub-transaction.
lr_end_transactionMarks the end of a transaction.
lr_end_transaction_instanceMarks the end of a transaction instance.
Stops a timer.
lr_error_messageSends an error message to the output or log file.
lr_eval_jsonCreates a json object from a string or a file.
lr_eval_stringReplaces a parameter with its current value.
lr_eval_string_extCreates a buffer and assigns it the input string after evaluating embedded parameters.
lr_eval_string_ext_freeFrees the buffer allocated by lr_eval_string_ext.
lr_exitExits from the script, action, or iteration.
lr_fail_trans_with_errorSets the status of open transactions to LR_FAIL and sends an error message.
lr_get_attrib_doubleReturns the value of a double type command line parameter.
lr_get_attrib_longReturns the value of a long integer type command line parameter.
lr_get_attrib_stringReturns a command line parameter string.
lr_get_debug_messageReturns the current message logging settings.
lr_get_host_nameReturns the name of the host executing the script.
lr_get_master_host_nameReturns the name of the machine running LoadRunner Controller.
lr_get_transaction_durationGets the duration of a transaction by its name.
lr_get_transaction_statusGets the current status of a transaction.
lr_get_trans_instance_durationReturns the duration of a transaction by its name.
lr_get_trans_instance_statusReturns the current status of a transaction instance.
lr_get_trans_instance_think_timeGets the think time of a transaction instance specified by its handle.
lr_get_trans_instance_wasted_timeGets the wasted time of a transaction instance by its handle.
lr_get_transaction_think_timeGets the think time of a transaction by its name.
lr_get_transaction_wasted_timeGets the wasted time of a LoadRunner transaction by its name.
lr_get_vuser_ipReturns the IP address of the current Vuser. Not applicable for products that do not run Vusers.
lr_json_deleteDeletes the values in a json object that match the query.
lr_json_findReturns the number of matches to a query in a JSON object.
lr_json_get_valuesGets values from a given path in a JSON object.
lr_json_insertInserts a node in a JSON object.
lr_json_replaceReplaces a node in a JSON object.
lr_json_set_valuesChanges values in a JSON object.
lr_json_stringifyConverts a JSON object to a JSON string.
lr_load_dllLoads an external DLL.
lr_log_messageSends a message to the Vuser log file.
lr_messageSends a message to the output and log file.
lr_output_messageSends a message to the output and log file with location information.
lr_next_rowAdvances to the next row in the parameter data file.
lr_param_incrementIncrements the value of a numerical parameter
lr_param_sprintfWrites formatted output to a parameter.
lr_param_uniqueGenerates a unique string and assigns it to a parameter.
lr_paramarr_idxReturns the value of the parameter at a specified location in a parameter array.
lr_paramarr_lenReturns the number of elements in a parameter array.
lr_paramarr_randomReturns the value of the parameter at a random location in a parameter array
lr_peek_eventsChecks for events.
lr_remove_custom_error_messageRemoves a custom test that was set by lr_set_custom_error_message.
lr_read_fileReads a file into a parameter.
lr_rendezvousCreates a rendezvous point in the Vuser script.
lr_rendezvous_exSets a rendezvous point in a Vuser script.
lr_resume_transactionResumes the collection of transaction data.
lr_resume_transaction_instanceResumes collecting transaction instance data.
lr_save_datetimeSaves the date and time into a parameter.
lr_save_intSaves an integer to a parameter.
lr_save_param_regexpFinds a string in a buffer using a regular expression and saves capture group matches to a parameter.
lr_save_searched_stringSearches for an occurrence of a string in a buffer and saves a portion of the buffer after that string to a parameter
lr_save_stringSaves a null-terminated string as a parameter.
lr_save_timestampSaves the current time in a parameter.
lr_save_varSaves a variable length string as a parameter.
lr_set_debug_messageSets a message class for output messages.
lr_set_custom_error_messageSets a custom text to be output after built-in error messages.
lr_set_transactionCreate a transaction manually.
lr_set_transaction_instance_statusSets the status of a transaction instance.
lr_set_transaction_statusSets the status of open transactions.
lr_set_transaction_status_by_nameSets the status of a transaction by its name.
lr_start_cross_vuser_transactionInitiates a transaction that is closed in one or more Vusers other than the initiating Vuser.
Starts a timer.
lr_start_transactionMarks the beginning of a transaction.
lr_start_transaction_instanceMarks the beginning of a transaction instance.
lr_start_sub_transactionMarks the beginning of a sub-transaction.
lr_stop_transactionHalts the collection of transaction data.
lr_stop_transaction_instanceStops collecting data for a transaction instance specified by its handle.
lr_think_timePauses execution between commands in a script.
lr_unmaskUnmasks an encoded string during replay.
lr_user_data_pointRecords a user-defined data sample.
lr_user_data_point_exRecords a user-defined data sample.
lr_user_data_point_instanceRecords a user-defined data sample and correlates it to a transaction instance.
lr_user_data_point_instance_exRecords a user-defined data sample and correlates it to a transaction instance.
lr_vuser_status_messageSends a message to the Vuser status area in the Controller.
lr_wasted_timeSets the wasted time for all open transactions.
lr_whoamiReturns information about a Vuser executing the script
lr_xml_get_valuesRetrieves values of XML elements found by a query
lr_xml_set_valuesSets the values of XML elements found by a query
lr_xml_extractExtracts XML string fragments from an XML string
lr_xml_deleteDeletes fragments from an XML string
lr_xml_replaceReplaces fragments of an XML string
lr_xml_insertInserts a new XML fragment into an XML string
lr_xml_findVerifies that XML values are returned by a query
lr_xml_transformApplies Extensible Stylesheet Language (XSL) Transformation to XML data
lr_unzipUncompresses the information in a parameter and stores the uncompressed information in another parameter.
lr_zipCompresses the information in a parameter and stores the compressed information in another parameter.