VirtualUserScript PropertiesC# API
The VirtualUserScript type exposes the following members.
Properties

  NameDescription
Public propertyBackgroundScriptID
Gets the script ID, which was provided when this script was started as a background script.
Public propertyBackgroundScriptIDs
Returns a list of currently registered wtih the VU background script IDs.
Public propertyCurrentIteration
Gets the number of the iteration that this Virtual User is currently executing (beginning at 1).
Public propertyCurrentTransaction
Gets the name of the transaction that is currently in progress.
Public propertyDataDictionary
Gets the Data Dictionary belonging to this VirtualUser.
Public propertyDataPath
Gets the path to the data folder.
Public propertyElapsedTime
Gets the elapsed time since the beginning of the test, in milliseconds.
Public propertyFilesDataPath
Gets the path of the data\Files folder.
Public propertyFinishIteratingRequested
Gets a value that indicates whether this Virtual User has been requested to finish iterating.
Public propertyGroupSize
Gets the number of Virtual Users in the group that this Virtual User belongs to.
Public propertyGroupSizes
Gets the number of Virtual Users in each Virtual User group.
Public propertyIndex
Gets the index number of this Virtual User within the Virtual User group that it belongs to.
Public propertyInitialDelay
Gets the initial delay for this Virtual User, between the start of the test and the start of the first script execution.
Public propertyInjectorFamilyName
Returns the injector family name
Public propertyInjectorName
Returns the injector machine name
Public propertyIsFinalScript
Gets a value that indicates whether the current executing script is within the final section of this Virtual User's workflow.
Public propertyIsFirstScript
Gets a value that indicates whether the current executing script is the first script to be executed.
Public propertyIsInitialScript
Gets a value that indicates whether the current executing script is within the initial section of this Virtual User's workflow.
Public propertyIsIteratedScript
Gets a value that indicates whether the current executing script is within the repeated section of this Virtual User's workflow.
Public propertyIsLastIteration
Gets a value that indicates whether more iterations will occur for the current Virtual User.
Public propertyIsPacing
Gets a value that indicates whether this Virtual User will adjust the delay between iterations to maintain a steady pace of iterations.
Public propertyIteration
Gets the number of the iteration that this Virtual User is currently executing (beginning at 0).
Public propertyIterationDelay
Gets the delay time in milliseconds between iterations of the repeated sequence of scripts.
Public propertyIterationForTime
Gets the time in milliseconds that the iterated sequence of scripts will iterate for.
Public propertyKeys
Gets an enumerator that can be used to iterate over the keys in this dictionary.
Public propertyLastError
Gets the most recent error encountered by this Virtual User.
Public propertyLastIterationDelay
Gets the delay time in milliseconds between the previous iteration and the current iteration.
Public propertyLastTransaction
Gets the name of the most recent transaction to have ended.
Public propertyMaxFailures
Gets the maximum number of failures allowed in the script before this Virtual User terminates.
Public propertyStatic memberMillisecondsSinceEpoch
Get the number of milliseconds since the epoch (1st Jan 1970)
Public propertyName
Gets or sets the name of this dictionary.
Public propertyNumberOfErrors
Gets the number of errors that have been reported for this Virtual User.
Public propertyNumberOfFailures
Gets the current number of script failures for this Virtual User.
Public propertyNumberOfIterations
Gets the total number of iterations that the repeated sequence of scripts will execute.
Public propertyNumberOfWarmupIterations
Gets or sets the number of warm-up iterations for this Virtual User.
Public propertyNumberOfWarnings
Gets the number of warnings that have been reported for this Virtual User.
Public propertyPauseFactor
Gets or sets the current percentage pause factor.
Public propertyProgressPoint
Gets the text of the most recent progress point that was set.
Public propertyReadOnly
Gets a value that indicates whether this dictionary is read-only.
Public propertyRunPath
Gets the path to the test run results.
Public propertySandboxPath
Gets the path to the sandbox location.
Public propertyScriptName
Gets the name of this Virtual User Script.
Public propertyStatic memberSecondsSinceEpoch
Get the number of seconds since the epoch (1st Jan 1970)
Public propertyTransactionLoggingOn
Gets or sets a value that indicates whether transactions should be logged for this VU.
Public propertyUniqueID
Gets a test-wide unique identifier for this Virtual User.
Public propertyVU
Gets the current VU instance, as the most specialised subclass of VirtualUser.
Public propertyVUName
Gets the name of the group that this Virtual User belongs to.
Back to Top
See Also