Share via


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

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.

Tip

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.

Requirements

  • Visual Studio Ultimate

Setting the Response Time Goal for a Request

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.

    Note

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

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

See Also

Tasks

How to: View Web Page Response Time in a Load Test Using the Load Test Analyzer

How to: Set Request Details in a Web Performance Test

Reference

Web Performance Test Editor Overview

Other Resources

Customizing Web Performance Test Recordings Using Web Performance Test Editor

Creating and Editing Web Performance Tests