Share this page

# TruClient 2.0 - Web Vuser functions

The following Vuser functions are available:

Function | Description
--- | ---
TC.addNetworkFilter | Adds a filter for URL requests.
TC.advanceParam | Advances the specified parameter to the next value in the file.
TC.clearNetworkFilters | Removes all URL request filters.
TC.crossTransactionEnd | Ends a transaction in a Vuser script that has been started in another Vuser script.
TC.crossTransactionStart | Begins a transaction in a Vuser script that will be ended in another Vuser script.
TC.endTransaction | Ends a transaction.
TC.evalC | Runs a specific function in C language.
TC.getParam | Returns the value of the specified parameter.
TC.getUserIP | Returns the IP address when IP spoofing is enabled, and the script is running in load mode in Controller.
TC.groupName | Returns the group name as it appears in the MDRV command line.
TC.log | Logs a message as a line in the interactive/load log.
TC.outputDir | Returns the user output folder that contains all output for the script.
TC.outputMessage | Logs a Standard log level message in the interactive/load log message, and a notification in the Controller Output window.
TC.restoreLogLevel | Restores the log level to the initial setting.
TC.scenarioId | Returns the scenario ID as it appears in the MDRV command line.
TC.scriptDir | Returns the user script folder.
TC.setLogLevel | Enables you to change the log level during script replay.
TC.setParam | Saves a string to a parameter, creating a temporary parameter value in the memory.
TC.setTransactionStatus | Sets the default end status of open transactions.
TC.setTransactionStatusByName | Sets the default end status of a single open transaction by the transaction name.
TC.startLogRequests | Starts logging of URL requests.
TC.startTransaction | Starts a transaction.
TC.stopLogRequests | Stops logging URL requests.
TC.transactionDuration | Returns the duration of a specific transaction.
TC.unmask | Returns the text after unmasking.
TC.userId | Returns the user ID as it appears in the MDRV command line.
TC.setUserDataPoint | Records a user-defined data point for analysis.
TC.vuserStatusMessage | Indicates which Vuser is handling a specific script.

Tips to improve your search results... VuGen Function Reference Version 26.1 Function Reference 26.1 All View Local Help Center View Online Help Center Version: