Export (0) Print
Expand All

Installing and Configuring Test Agents and Test Controllers

To run tests remotely or distribute automated tests to multiple machines, install a test agent on each of the test machines, and link them to a test controller. This arrangement lets you supervise the tests from Visual Studio 2013 or Microsoft Test Manager, and also lets you set up automated build-deploy-test runs. The test controller distributes tests and manages test runs by communicating with the test agents on each test machine. Each test agent can perform tasks such as installing software, running tests, and collecting test data. In addition, test controllers enable you to use diagnostic data adapters to collect data or impact the test machine when the tests are run.

Download the installer for test controllers and test agents. The installer is delivered on an ISO file (virtual CD) for easy installation on virtual machines.

With a test controller and test agent, you can:

  • Run automated tests remotely using Visual Studio

  • Distribute automated tests to multiple machines using Visual Studio

  • Run tests and collect test data remotely using Microsoft Test Manager

  • Use a lab environment. In addition to running tests, the agent also lets you manage lab machines from Microsoft Test Manager.

  • Run tests in lab environment

  • Deploy an application in a lab environment using a build-deploy-test workflow

Caution note Caution

If you run tests using a third-party unit testing plugin, you can’t use a test controller or test agent to run those tests.

To run tests using a test controller and test agents, you must also configure a test settings file after you set up those controllers and agents. In that file, you assign roles to your test agents. Those role values determine the machines that your test controller will use to run each test. For more information about test settings, see Setting Up Machines and Collecting Diagnostic Information Using Test Settings.

To install a test controller or test agent, the computer must run one of the following operating systems:

Controller:

  • Windows 8, Windows 8.1

  • Windows 7 Service Pack 1

  • Windows Server 2012, Windows Server 2012 R2

  • Windows Server 2008 Release 2, Service Pack 1

Agent:

  1. Windows 8, Windows 8.1

  2. Windows 7 Service Pack 1

  3. Windows XP Service Pack 3

  4. Windows Server 2012, Windows Server 2012 R2

  5. Windows Server 2008 Release 2, Service Pack 1

  6. Windows Server 2003 Service Pack 2

Use these topics to install and configure test controllers and test agents:

Task

Supporting Content

Set up and manage test controllers and test agents for remote and distributed automated testing using Visual Studio.

Run a test controller or test agents in Microsoft Azure Cloud Services.

Read this blog: Hosting Test Controller and Test Agents on Azure in addition to Setting Up Test Controllers and Test Agents to Manage Tests with Visual Studio.

Set up test controllers and configure security for test controllers and test agents in lab environments.

Set up test controllers and test agents to distribute load tests to multiple machines.

Configure test agents to run remote or distributed tests that interact with the desktop, such as coded UI tests.

Reconfigure the default ports that test controllers and test agents use to communicate so you can handle firewall restrictions and software conflicts.

Configure test controllers and test agents on machines with multiple network adapters.

Specify how long a test controller or test agent must wait for a response when communicating before failing with an error. Configure these settings if the default timeout settings are causing software conflicts in your topology.

Show:
© 2014 Microsoft