Managing Load Test Results in the Load Test Results Repository

When you run your load tests, any information gathered during a load test run may be stored in the Load Test Results Repository, which is a SQL database. The Load Test Results Repository contains performance counter data and any information about recorded errors. The Results Repository database is created by setup for controllers, or created automatically on the first local run of a load test. For a local run, the database will be created automatically if the load test schema is not present.

If you modify the controller's results repository connection string to use a different server, the new server must have the loadtestresultsrepository.sql script run to create the schema. For information about how to set up the Load Test Results Repository, see How to: Create a Load Test Results Repository Using SQL.

Visual Studio Ultimate provides named counter sets which collect common performance counters based on a technology. These sets are useful when you are analyzing an IIS server, an ASP.NET server, or a SQL server. All of the data collected with counter sets is stored in the Load Test Results Repository.

Important

There is a difference between a counter set and the performance counter data. A counter set is metadata. It defines a group of performance counters that should be collected from a computer that is performing a particular role such as IIS or SQL Server. The counter set is part of the load test definition. Performance counter data is collected based on the counter sets, the mapping of the counter set to a specific computer, and the sample rate.

Load Test Results Store Considerations

When Visual Studio 2010 Ultimate is installed, the load test results store is set up to use an instance of SQL Express that is installed on the computer. SQL Express is limited to using a maximum of 4 GB of disk space. If you will run many load tests over a long period of time, you should consider configuring the load test results store to use an instance of the full SQL Server product if available.

Load Test Analyzer Tasks

Tasks

Associated topics

Set up a load test results repository: You can set up a load test results repository on a SQL database.

NoteNote
A load test repository can also be created when you install a test controller. For more information, see Installing and Configuring Visual Studio Agents and Test and Build Controllers.

Selecting and viewing a results repository: You can select a specific results repository. You are not limited to a local results store. Frequently, load tests are run on a remote set of Agent computers. Test results from your agents or your local computer can be saved to any SQL server on which you have created a load test results store. In either case, you must identify where to store your load test results by using the Administer Test Controllers window.

Deleting a load test result from the repository: You can remove a load test result from the Load Test Editor by using the Open and Manage Load Test Results dialog box.

Import and export results into a repository: You can import and export load test results from the Load Test Editor.

Analyzing Load Tests Results Using the Load Test Analyzer

You can view the results of both a running load test and a completed load test by using the Load Test Analyzer.

See Also

Tasks

How to: Access Load Test Results for Analysis

Concepts

Running Load Tests

Testing Application Performance and Stress

Other Resources

Creating and Editing Load Tests

Analyzing Load Test Results