Share via


Distributing Load Test Runs Across Multiple Test Machines Using Test Controllers and Test Agents

 

Visual Studio Enterprise can use physical or virtual machines to generate simulated load for your app. These machines must be set up as a single test controller and one or more test agents. You can use the test controller and test agents to generate more load than a single computer can generate alone.

Don’t want to use your resources and set up your own machines to create this load? You can use cloud-based load testing to provide virtual machines in the cloud that generate the load of many users accessing your web site at the same time. All you need is a Visual Studio Team Services account. Learn more about this cloud-based load testing service that provides 20,000 free virtual user minutes of load testing every month.

NOTE: Test Controllers and Test Agents and not supported on Azure Virtual Machines. To perform distributed load testing for Azure VMs, use the cloud-based load testing service.

Requirements

  • Visual Studio Enterprise

Tasks for On-Premises Test Controllers and Test Agents

Tasks Associated topics
Configure test agents and controllers: You can use test controllers and test agents to configure tests to run remotely on one or more computers. - Configuring Test Controllers and Test Agents for Load Testing
- Install and configure test agents
- Walkthrough: Using a Test Controller and Test Agents in a Load Test
- Test Controller and Test Agent Requirements for Load Testing
Create and select a test setting that uses test controllers and agents: After you install and configure test controllers and test agents, you must create a new test setting that uses the test controller and test agents to run your load test in a distributed environment. - How to: Create a Test Setting for a Distributed Load Test
Troubleshooting test controllers and test agents: If you encounter issues while you are using test controllers and test agents in your load test, you can review the troubleshooting material covered in the documentation. - Strategies for Troubleshooting Test Controllers and Test Agents in Load Tests
Running a load test using test controller and tests agents: After you have created a test setting that uses a controller and one or more agents, you can configure Visual Studio to use the test setting and run your load test. - How to: Run a Load Test Using Test Controllers and Test Agents Specified in a Test Setting

External resources

Guidance

Testing for Continuous Delivery with Visual Studio 2012 – Chapter 6: A Testing Toolbox

See Also

Performance test your app before release
Install and configure test agents
Walkthrough: Using a Test Controller and Test Agents in a Load Test