Share this page

# TruClient properties

These properties can be used as arguments in any JavaScript evaluated field. For example, they can be passed as arguments to TruClient functions.

Property | Description
--- | ---
LR.userId | The user ID as it appears in the MDRV command line. MDRV is the main process that runs all protocols. LR.userId returns a valid response only when running from Controller; otherwise it returns -1.
LR.groupName | The group name as it appears in the MDRV command line. MDRV is the main process that runs all protocols. If the process was started by VuGen its value is 0.
LR.scenarioId | The scenario ID as it appears in the MDRV command line. MDRV is the main process that runs all protocols. The scenario ID exists only if MDRV was started by Controller, if it was started by VuGen its value is 0.
LR.outputDir | The user output folder that contains all the output for the script. For VuGen the output folder and script folder are the same. For Controller they are different. The returned path includes the last folder separator.
LR.scriptDir | The user script folder. You can store external files in the script folder such that when you want to include them in your script, you can append the file name of your external file to LR.scriptDir.

Back to top

See also:

- TruClient functions
- TruClient step arguments

https://admhelp.microfocus.com VuGen,Professional Performance Engineering,Performance Engineering for Developers 8942
Tips to improve your search results... OpenText™ Virtual User Generator Help Center OpenText™ VuGen Help 25.1-25.3 All View Local Help Center View Online Help Center Version: