How to: Run a Load Test

After you have created the load test by using Load Test Wizard, you then run your load test and view how your Web site responds to the load simulation. After you start a load test, you can monitor it while it is running. You can also analyze it after it has completed. For more information, see Analyzing Load Test Runs.

Load tests can be run from three locations in Team Edition for Testers.

  • Test View window

  • Test Manager window

  • Load Test Editor

    Note

    When you use Team Foundation Build to run a load test that was created by using the default settings, the default counters do not appear automatically in the test results. To make the counters appear, drag the required counters onto the load test results graph. For more information, see Working with Graphs.

To run a load test

  1. From the Test project, open a load test.

  2. With a load test open in the Load Test Editor, click the Run button on the toolbar. Your load test starts to run.

    - or -

    Select the test in the Test View window. Right-click and select Run Selection. Your load test starts to run.

    - or -

    Select a test in the Test Manager window by selecting the check box in the test's row and then click the Run Checked Tests button. Your load test starts to run.

    For more information, see How to: Run Selected Tests

  3. You can use the load test analyzer to view your load test data. For more information about how to open the load test analyzer, see Accessing Load Test Results.

    Note

    To change the default Load Test Results Store for the results of your tests, you can change the Load Test Results Connection String. For more information, see How to: Select a Load Test Results Store.

See Also

Concepts

Analyzing Load Test Results
Working with Load Test Tables