Share this page

# Program in TruClient

You can enhance your TruClient script by adding custom JavaScript code. TruClient provides technology for power users with advanced scripting requirements, enabling them to do the following:

Action | Description
--- | ---
Add JavaScript to the script | Add JavaScript expressions to the TruClient script. For details, see Work with JavaScript in TruClient scripts.
Repeat portions of the script | Insert loops and loop modifiers to repeat selected portions of the script until certain criteria is met, or for a specified number of iterations. For details, see Insert and modify loops.
Use VTS in scripts | Use VuGen Virtual Table Server (VTS) to more accurately emulate a real-user environment, by assigning parameter values from a single set of parameter values to multiple Vusers. For details, see Use VTS in TruClient scripts.
Insert custom JavaScript and C code | Insert code into a pre-existing step as part of a step argument, or insert steps that are completely comprised of external code (C or JavaScript). For details, see Use custom JavaScript and C code.
Use parameters to vary arguments | Use parameters to create a more realistic script. You can use parameters by adding JavaScript APIs to your script. For details, see TruClient functions. Alternatively, you can use the VuGen toolbar to input parameters into the script. For details, see Use parameters to vary arguments.

Back to top

See also:

- TruClient API Help

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 26.1 All View Local Help Center View Online Help Center Version: