Поделиться через


Understanding Load Tests

Team Edition for Testers provides a tool for creating and running load tests. The primary goal of a load test is to simulate many users accessing a server at the same time.

When you add Web tests to a load test, you simulate multiple users opening simultaneous connections to a server and making multiple HTTP requests. You can set properties on load tests that broadly apply to the individual Web tests.

When you add unit tests to a load test, you exercise the performance of non-Web based server components. An example application of a unit test under load is to test data access model components.

Load tests can be used with a set of computers known as a rig, which consists of agents and a controller. For more information, see Working with Controllers, Agents, and Rigs.

Load tests are used in several different types of testing:

Type of Testing Description

Smoke

How your application performs under light loads for short durations.

Stress

To determine if the application will run successfully for a sustained duration under heavy load.

Performance

To determine how responsive your application is.

Capacity Planning

How your application performs at various capacities.

About Load Tests

Load tests consist of a series of Web tests or unit tests which operate under multiple simulated users over a period of time. Load tests are created with the Load Test Wizard. For more information about the Load Test Wizard, see How to: Specify Scenarios.

To change the load test properties, use the Load Test Editor. The properties allow you to run Web tests with different user profiles, browser targets, and load patterns. Test results are stored in SQL-based Load Test Results Store. For more information, see Deleted: How to: View a Previous Load Test Run.

View your load tests as they run in the Load Test Monitor. To view load test results for completed test runs, use the Load Test Analyzer.

Security

Load test files and load test results contain potentially sensitive information that could be used to build an attack against your computer or your network. Load tests and load test results contain computer names and connection strings. You should be aware of this when sharing tests or test results with others.

In This Section

About Scenarios

About Load Pattern

About Test Mix

About Browser Mix

About Network Mix

About Run Settings

About Think Times

About Rules

About SQL Tracing

See Also

Concepts

About Counter Sets
About the Load Test Results Store

Other Resources

Working with Load Tests