LoadRunner Terminal Services Manager

Note: This feature is not supported if Controller and the load generators connect over a firewall.

Terminal Services Overview

Terminal services allows centralized management of computing resources for each client connected to the server, and provides each user with their own working environment. Using a terminal server client, you can operate in a server-based computing environment from a remote machine. The terminal server transmits applications over the network and displays them via terminal emulation software. Each user logs on and sees only his individual session, which is managed transparently by the server's operating system independent of any other client session.

You can use LoadRunner's Terminal Services Manager to remotely manage multiple load generators running in your load testing scenario on a terminal server. In addition, you can use a terminal server to overcome the limitation of being able to run only a single GUI Vuser on a Windows-based load generator. By opening a terminal server session for each GUI Vuser, you can run multiple GUI Vusers on the same application.

A terminal server client can have multiple terminal sessions running simultaneously. Using LoadRunner's Terminal Services Manager, you can select the number of terminals to be used in your scenario (provided that you have sufficient terminal sessions running), and the maximum number of Vusers that can be run per terminal. The Terminal Services Manager then evenly distributes the number of Vusers among the client sessions.

Note: Only users with administrator privileges can connect from Controller to a local load generator via a terminal services session.

The following diagram illustrates how the LoadRunner components work together during a terminal session.

Back to top

Using the Terminal Services Manager

This task describes how to set up and use LoadRunner's Terminal Services Manager.

  1. Prerequisite

    Make sure that a load generator has been installed on the terminal services machine. For more information, see the LoadRunner Installation Guide.

  2. Allow terminal services on the load generator

    Add TSLauncher.exe to the list of allowed remote applications on all load generator machines.

  3. Set up the LoadRunner agent on the load generator

    Perform the following steps:

    1. On the LoadRunner machine, select Start > All Programs > HPE Software > HPE LoadRunner > Advanced Settings > Agent Configuration, or run <LR>\launch_service\bin\AgentConfig.exe to open the Agent Configuration dialog box.

    2. Select Enable Terminal Services, and click OK.

    3. Restart the LoadRunner Agent as a process by double-clicking the shortcut on the desktop, or from Start > All Programs > HPE LoadRunner > Advanced Settings > LoadRunner Agent Process. You need to run the LoadRunner Agent as a process for each terminal session that you are running.

  4. Launch a terminal client session

    Be aware of the following:

    • You must open a Terminal Client session for each terminal that you want to run Vusers on during the scenario.

    • If you are connecting to an existing Terminal Services session, you need to open a Terminal Client session, log in to the session, and run the LoadRunner Agent as a process.

  5. Distribute Vusers on the terminal server

    In the Terminal Services tab of the Load Generator Information dialog box, select Enable Terminal Services Manager and enter information about the terminals and Vusers that you want to use. For more information, see Load Generator Configuration > Terminal Services Tab.

Back to top