Share this page

# TruClient - Web Vuser synchronous functions

The following Vuser functions are available:

Function | Description
--- | ---
evalXPath | Returns an array of the objects defined by the XPath in the argument.
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.log | Logs a message as a line in the interactive/load log.
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.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.userDataPoint | 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-26.3 Function Reference 26.1-26.3 All View Local Help Center View Online Help Center Version: