This documentation is archived and is not being maintained.

How to: Set Page Response Time Goals in a Web Performance Test

This topic applies to:

Visual Studio Ultimate

Visual Studio Premium

Visual Studio Professional 

Visual Studio Express

Topic appliesTopic does not applyTopic does not applyTopic does not apply

An important aspect of Web applications is the time it takes for each Web page to load. This is known as response time. When you create a Web performance test, you can set a response time goal for each Web page request in your Web performance test. The response time goal for a request is met only if the page and all the dependent requests on the page can be retrieved within the time specified by the goal. By default, there is no response time goal for the requests when you first create a Web performance test.

If you run your Web performance test under stress in a load test, you will be able to analyze each page for the following values:

  • The average response time for the page

  • The percent of test iterations that meet the response time goal for the page.


You should consider setting the built-in "Response Time Goal " validation rule's tolerance setting to a value other than 0 if you want the Web performance test to fail. For more information, see Using Validation and Extraction Rules in Web Performance Tests.

For more information, see How to: View Web Page Response Time in a Load Test Using the Load Test Analyzer.

To set a response time goal for a request

  1. Open a Web performance test.

    The Web Performance Test Editor opens and the request tree for the Web performance test is displayed.

  2. In the request tree, select the request that you want to set the response time goal for.

  3. In the Properties window, enter a value for the Response Time Goal property.


    To remove a response time goal, enter 0 for the value.

  4. On the File menu, click Save to save your Web performance test.