Dela via


How to: Select a Load Test Results Repository

This topic applies to:

Visual Studio Ultimate

Visual Studio Premium

Visual Studio Professional 

Visual Studio Express

Topic applies Topic does not apply Topic does not apply Topic does not apply

You are not limited to a local results store. Frequently, load tests are run on a remote set of Agent computers. Agents, together with a controller, can generate more simulated load than any single computer. For more information, see Distributing Load Tests Across Multiple Test Machines Using Test Controllers and Test Agents.

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 you want to store your load test results by using the Administer Test Controllers window.

For more information about how to set up the SQL tables, see How to: Create a Load Test Results Repository Using SQL

For more information about agents, see Distributing Load Tests Across Multiple Test Machines Using Test Controllers and Test Agents.

Identify a results store for load test data

  1. From the Test menu, click Manage Test Controllers. The Manage Test Controller dialog box is displayed. If you are using an agent remotely, you must select a controller.

    Load test results store connection properties

    Load test results store connection properties

  2. In the Load test results store, click (…) to display the Connection Properties dialog box.

  3. In Server Name, type the name of the server where you have run the LoadTest scripts.

    Tip

    If you are using SQL Express on your local machine for the load test store, enter <computername>\sqlexpress (for example, MyComputer\sqlexpress). For more information, see How to: Create a Load Test Results Repository Using SQL.

  4. Under Log on to the server, you can choose Use Windows Authentication. You can specify the username and password, but if you do, you have to select the option Save my password.

  5. Under Connect to a database, choose Select or enter a database name. Select LoadTest from the drop-down list box.

  6. Click OK. You can test the connection by clicking Test Connection.

  7. Click Close in the Manage Test Controller dialog box.

See Also

Tasks

How to: Create a Load Test Results Repository Using SQL

How to: Run a Load Test Using Test Controllers and Test Agents Specified in a Test Setting

Concepts

Managing Load Test Results in the Load Test Results Repository

Other Resources

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