How to do load testing with Visual Studio Team System?
Microsoft Visual Studion 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 http://msdn2.microsoft.com/en-us/library/ms182634.aspx - 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 http://beijinginsight.com/tester/viewtopic.php?t=102 - 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 http://msdn2.microsoft.com/en-us/library/ms182592.aspx - 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.
|