DCSIMG
Load Agent and Load Controller Installation Guide - Shai Raiten

Shai Raiten

 Subscribe

Load Agent and Load Controller Installation Guide

Load Agent and Load Controller Installation Guide

Published On:Ed Glas's blog

Team Test Load Controller Installation

Warning   Set up the Controller before setting up any agents.

Note   Load controllers cannot be installed on domain controllers.

1. Start setup.exe located in the vs\controller folder.

The Welcome to Setup page appears.

2. Click Next.

The End-User License Agreement and Product Key page appears.

3. Review the End-User License Agreement (EULA) and select I accept the terms of the license agreement, if appropriate.

4. Enter the product key information and then click Next.

The Destination Folder page appears.

5. Click Browse to select a different destination folder, or click Next to use the default folder.

The Service Account page appears.

6. Enter the account name and password for the controller service account and then click Next.

The Ready to Install page appears.

7. Review the installation information and then click Install to continue.

The Installing Components page appears.

8. Upon successful installation, the Setup Completed Successfully page appears. Click Finish to complete the Setup program.

During Setup, you are prompted for the controller service account. The controller service account collects performance counters on other computers during a load test. Use a domain account that can easily be granted access to many computers. Grant the controller user rights to monitor performance on all the systems under test for the built-in performance monitoring capabilities to work.

Setup creates three local groups:

· TeamTestControllerAdmins

· TeamTestControllerUsers

· TeamTestAgentService

Add users who run tests to TeamTestControllerUsers. Add users who administer the test rig to TeamTestControllerAdmins. Agent setup automatically adds the users who Agent Services run as to TeamTestAgentService.

Note The user running the controller setup must be a member of local Administrators group.

The controller runs as a Windows Service on the computers on which it is installed. To view the properties of the service use Control Panel. In Control Panel, choose Administrative Tools and then choose Services. The name of the controller service is the Visual Studio Team Test Controller. The controller services can be started and stopped like other services in Windows.

The controller and agents can be configured and monitored by using the Administer Test Controller dialog box, available on the Test menu. For more information, see “How to: Administer the Rig” in the product documentation.

By default, the controller uses SQL Express to store load test results. SQL Express is license limited to store 4GB of data, which is approximately 10 hours of load test data. If you choose to use another SQL database to store the results, you can set up the Load Test Results Store after you have installed the controller. For more information, see “How to: Configure a Results Store using SQL” in the product documentation.

After you have configured your Load Test Results Store, you must indicate to the controller where the results are to be stored. For more information, see “How to: Select a Load Test Results Store” in the product documentation.

Load Controller Firewall Exceptions

If you are running Windows Firewall, the controller setup adds the following exceptions to your firewall:

LoadControllerFirewallExceptions

If you are running on Windows XP in a work group, you must turn off Simple File Sharing. See this KB for info on how to do that: http://support.microsoft.com/kb/307874

Accessing the Controller

After the controller is installed, access to the controller is limited to members of the TeamTestControllerUsers and TeamTestControllerAdmins groups that were created during Setup, and to the Administrators group.
Add appropriate users and/or groups to these groups to allow them to access the controller.
Members of the TeamTestControllerAdmins group or the Administrators group can administer the controller by clicking the Test menu, and then choosing Administer Test Controller in Visual Studio.
Members of the TeamTestControllerAdmins group must also be power users or administrators on the controller computer.

Team Test Load Agent Installation

Warning    Set up the Controller before setting up any agents.

1. Start setup.exe located in the vs\agent folder.

The Welcome to Setup page appears.

2. Click Next.

The End-User License Agreement and Product Key page appears.

3. Review the End-User License Agreement (EULA) and accept the terms of the license agreement, if appropriate.

4. Enter the product key information and then click Next.

The Destination Folder page appears.

5. Click Browse to select a different destination folder, or click Next to use the default folder.

Note   If you are installing the Agent on the same computer as the Controller, the option to choose a new location is disabled.

The Specify Controller page appears.

6. Enter the computer name of the Team Test Load Controller computer and click Next.

Note   You can locate the name of the controller computer by clicking My Computer, right-clicking, choosing Properties and viewing the Computer Name tab.

The Ready to Install page appears.

7. Review the installation information and then click Install to continue.

The Installing Components page appears.

8. Upon successful installation, the Setup Completed Successfully page appears. Click Finish to complete the setup.

Following this, you will be prompted to restart your computer to complete the installation.

Note The user running the agent setup must be a member of local Administrators group and a member of the controller’s Administrators group.

During setup, you are prompted for the name of the controller computer that this agent will be associated with. Agent setup communicates with the controller to add the agent to the controller.

During setup, you are prompted for the Agent user. This user is automatically added to TeamTestAgentService group on the controller. Only Agent Service Users who are a member of this group are allowed to communicate with the controller.

The Agent service is named Visual Studio Team Test Agent. To view the properties of the service use Control Panel. In Control Panel, choose Administrative Tools and then choose Services. The agent services can be started and stopped like other services in Windows. Also the agents can be administered using the Administer Test Controller dialog box, available on the Test menu. For more information, see “How to: Administer the Rig” in the product documentation.

Note   AgentConfigUtil.exe is a command line utility that can be used to assign an Agent to a different Controller, or to add an Agent to a Controller if Agent setup fails to do so.

Load Agent Firewall Exceptions

If you are running Windows Firewall, Agent setup added the following exceptions to your firewall:

LoadAgentFirewallExceptions

If you are running on Windows XP in a work group, you will also need to turn off Simple File Sharing.

Troubleshooting

Note   To verify the installation, run Visual Studio and launch the Administer Test Controller dialog box (available from the Test menu), connect to the controller, and check the status of the agents.
Agents should be in the Ready state.
If an agent is not in the list of agents, reinstall the agent or run AgentConfigUtil.exe after verifying that the controller is installed correctly.
If the agent is in the Disconnected state, check that the agent service user account has been added to the TeamTestAgentService user group on the controller. Also check the <installdir>\Microsoft Visual Studio 2005 Team Test Load Agent\LoadTest\agentConfigUtilSetup*.log file for errors.

“Rig failed to restart for controller <controller computer name>. The following error was reported Cannot open VSTTController service on computer <controller computer name>.”

This error occurs when a user tries to restart the rig from the Administer Test Controller dialog box, but while this user has been added to the TeamTestControllerAdmins group, they have not also been added to the Power User or Administrator group.

Comments

Shai Raiten said:

Load Agent and Load Controller Configuration Guide The Team Test Rig enables Team System users to run

# August 24, 2008 10:18 AM

Zach Baker said:

Any ideas why that would be happening?

# February 10, 2009 10:34 PM

Santhan said:

Please tell me where I can find the agent folder??

Thank you

# June 17, 2009 6:34 AM

Santhan said:

Hi I want to know if the Service Account and password that we specify for the controller and at the agent:

1. during the agent installation does the controller box needs to be logged in as this service account?

2. I am running the agent on my box and my project lead is running the controller on her box. Please advise how the accounts shoud work (we are in the same domain)??

thanks

cheers

San

# June 19, 2009 6:13 AM

Krishnamurthy said:

Hi,

Can you please share the link to download the Team Test Load Controller (VSTS 2008)?

Thanks in advance.

Best Regards,

Krishnamurthy

# September 17, 2009 2:15 PM

shair said:

# September 17, 2009 3:14 PM

Install Software said:

Another great post.

Thanks for the tips and help.

Everyone, bookmark this site.

# February 6, 2010 12:18 PM

Owais Ali said:

Can some one please help, I installed the Test Load Controller on a server but on VS i could not see "Administer Test Controller dialog box"

Please reply as soon as possible

Thanks

Owais

# February 11, 2010 6:50 PM

VN said:

I have common domain user that has access to controller service, agent service and the system under test. Although the Controller and Agent computers get listed while running the test and all the monitoring counters are getting collected for those, but the system under test computer does not get listed and also the graph for System Under Test is empty.

Any ideas?

# September 2, 2010 12:24 PM

Manual Agent Install Dialog Box | Service Manager said:

Pingback from  Manual Agent Install Dialog Box | Service Manager

# October 7, 2010 8:56 PM

Manual Agent Install Dialog Box | ???????????????????? said:

Pingback from  Manual Agent Install Dialog Box | ????????????????????

# December 26, 2010 7:12 AM
Leave a Comment

(required) 

(required) 

(optional)

(required) 


Enter the numbers above: