Share via


How to: Change the Web Performance Test Run Settings in the Web Performance Result Viewer

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 can change the run settings for your Web performance tests. When changed in the Web Performance Test Results Viewer, the run settings apply to one Web performance test run. They do not persist when you save the test.

To persist any changes, you can either edit the test settings or edit the properties associated with the run setting for the load test that contains the Web performance test. For more information, see How to: Edit a Test Settings File from Microsoft Visual Studio and Configuring Load Test Run Settings.

The run settings in the Web Performance Test Results Viewer consist of the following choices:

Fixed run count

You can set a fixed number of times for your test to iterate.

Optionally, if you have used data binding, you can indicate a number based on the data source.

Browser type

You can simulate different browser types for tests. To create the different browser types, Visual Studio Ultimate uses a collection of HTTP headers to simulate a particular browser, such as Internet Explorer 6 or Netscape 6.

For more information, seeSpecifying Web Browsers Types in a Load Test Scenario.

Simulate think times

You can select Simulate think times when you run a Web performance test. Think time is the time spent by a user perusing a Web page, including viewing the page and determining the next action. Think time does not include the time that is required for a page to load.

For more information, see Editing Think Times to Simulate Web Site Human Interaction Delays in Load Tests Scenarios.

To change the run settings of a Web performance test

  1. Open a Test project that contains a Web performance test.

    For more information about how to create a test project, see How to: Create and Configure Test Projects for Automated Tests.

  2. From the Test project, open a Web performance test.

    For more information about how to create a Web performance test, see Creating and Editing Web Performance Tests.

  3. In the Web Performance Test Editor, click the Run button.

    The Web Performance Test Results Viewer opens with your Web performance test ready to run.

  4. Click the Edit Run Settings button.

    The Web Test Run Settings dialog box is displayed.

  5. Make changes to the run settings and then click OK.

  6. In the Web Performance Test Results Viewer, click the Run button.

    — or —

    Click the Step button to step through your test.

  7. You can view the results in the tabbed pane. If you have more than one iteration of your run, you see each run in the Request pane of the Web Performance Test Results Viewer. For more information, see Running Web Performance Tests.

See Also

Tasks

How to: Modify the Run Settings Properties in a Load Test Using the Load Test Editor

Concepts

Running Web Performance Tests

Other Resources

Specifying Web Browsers Types in a Load Test Scenario

Specifying Virtual Network Types in a Load Test Scenario

Editing Think Times to Simulate Web Site Human Interaction Delays in Load Tests Scenarios