Alphabetical Listing - JavaScript

Click one of the following functions for more information:

lr.abortAborts script execution.
lr.advanceParamAdvances to the next available value in the parameter data file.
lr.continueOnErrorSpecifies an error handling method.
lr.convertStringEncodingconverts a string to a different encoding.
lr.dbDatasetActionValidates database contents by setting checkpoints.
lr.dbConnectConnects to a database.
lr.dbDatasetActionPerforms an action on a dataset.
lr.dbDisconnectDisconnects from a database.
lr.dbExecuteSQLStatementSubmits an SQL statement to a database.
lr.dbGetValueRetrieves a value from a dataset.
lr.debugMessageSends a debug message to the output or log file.
lr.decrypt

Deprecated. Unmasks an encoded string.

Use lr.unmask.

lr.disableIpSpoofingDisables IP Spoofing.
lr.enableIpSpoofingEnables IP Spoofing.
lr.endCrossVuserTransactionMarks the completion in this Vuser of a transaction started by a different Vuser.
lr.endSubTransactionMarks the end of a sub-transaction.
lr.endTransactionMarks the end of a transaction.
lr.endTransactionInstanceMarks the end of a transaction instance.
lr.endTimerStops a timer.
lr.errorMessageSends an error message to the output or log file.
lr.evalStringReturns the string argument after evaluating embedded parameters.
lr.evalStringExtCreates a buffer and assigns it the input string after evaluating embedded parameters.
lr.evalStringExtFreeFrees the buffer allocated by lr.evalStringExt.
lr.exitExits from the script, action, or iteration.
lr.failTransWithErrorSets the status of open transactions to LR_FAIL and sends an error message.
lr.freeParameterDeletes a dynamic parameter at runtime, freeing its buffer.
lr.getAttribStringReturns a command line parameter string.
lr.getDebugMessageReturns the current message logging settings.
lr.getHostNameReturns the name of the host executing the script.
lr.getMasterhostnameReturns the name of the machine running Controller.
lr.getTransactionDurationGets the duration of a transaction by its name.
lr.getTransactionStatusGets the current status of a transaction.
lr.getTransInstanceDurationReturns the duration of a transaction by its name.
lr.getTransInstanceStatusReturns the current status of a transaction instance.
lr.getTransInstanceThinkTimeGets the think time of a transaction instance specified by its handle.
lr.getTransInstanceWastedTimeGets the wasted time of a transaction instance by its handle.
lr.getTransactionThinkTimeGets the think time of a transaction by its name.
lr.getTransactionWastedTimeGets the wasted time of a LaoadRunner transaction by its name.
lr.getVuserIpReturns the IP address of the current Vuser. Not applicable for products that do not run Vusers.
lr.loadLibraryEvaluates and runs the specified JavaScript file in the global context.
lr.logMessageSends a message to the Vuser log file.
lr.messageSends a message to the output and log file.
lr.outputMessageSends a message to the output and log file with location information.
lr.nextRowAdvances to the next row in the parameter data file.
lr.paramIncrementIncrements the value of a numerical parameter.
lr.paramUniqueGenerates a unique string and assigns it to a parameter.
lr.paramarrIdxReturns the value of the parameter at a specified location in a parameter array.
lr.paramarrLenReturns the number of elements in a parameter array.
lr.paramarrRandomReturns the value of the parameter at a random location in a parameter array.
lr.readFileReads a file into a parameter.
lr.removeCustomErrorMessageRemoves a custom test that was set by lr.setCustomErrorMessage.
lr.rendezvousCreates a rendezvous point in the Vuser script.
lr.rendezvousExSets a rendezvous point in a Vuser script.
lr.requireLoads the specified JavaScript module.
lr.resumeTransactionResumes the collection of transaction data.
lr.resumeTransactionInstanceResumes collecting transaction instance data.
lr.saveIntSaves an integer to a parameter.
lr.saveParamRegexpFinds a string in a buffer using a regular expression and saves capture group matches to a parameter.
lr.saveStringSaves a null-terminated string as a parameter.
lr.setDebugMessageSets a message class for output messages.
lr.setCustomErrorMessageSets a custom text to be output after built-in error messages.
lr.setTransactionCreate a transaction manually.
lr.setTransactionInstanceStatusSets the status of a transaction instance.
lr.setTransactionStatusSets the status of open transactions.
lr.setTransactionStatusBynameSets the status of a transaction by its name.
lr.startCrossVuserTransactionInitiates a transaction that is closed in one or more Vusers other than the initiating Vuser.
lr.startTransactionMarks the beginning of a transaction.
lr.startTransactionInstanceMarks the beginning of a transaction instance.
lr.startSubTransactionMarks the beginning of a sub-transaction.
lr.stopTransactionHalts the collection of transaction data.
lr.stopTransactionInstanceStops collecting data for a transaction instance specified by its handle.
lr.thinkTimePauses execution between commands in a script.
lr.unmaskUnmasks an encoded string.
lr.userDataPointRecords a user-defined data sample.
lr.userDataPointExRecords a user-defined data sample.
lr.userDataPointInstanceRecords a user-defined data sample and correlates it to a transaction instance.
lr.userDataPointInstanceExRecords a user-defined data sample and correlates it to a transaction instance.
lr.vuserStatusMessageSends a message to the Vuser status area in the Controller.
lr.wastedTimeSets the wasted time for all open transactions.
lr.whoamiReturns information about a Vuser executing the script.
lr.xmlGetValuesRetrieves values of XML elements found by a query.
lr.xmlSetValuesSets the values of XML elements found by a query.
lr.xmlExtractExtracts XML string fragments from an XML string.
lr.xmlDeleteDeletes fragments from an XML string.
lr.xmlReplaceReplaces fragments of an XML string.
lr.xmlInsertInserts a new XML fragment into an XML string.
lr.xmlFindVerifies that XML values are returned by a query.
lr.xmlTransformApplies 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.