Поделиться через


How to: Set Request Details in a Web Performance Test

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 specify Web request details to apply to your Web performance test in the Web Performance Test Editor. The Web requests details include the following:

To set Web request details in a Web performance test

  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 toolbar, click Set Request Details.

    The Request Details dialog box is displayed.

  3. (Optional) In the Reporting Name column associated with a Web request indicated in the Request column, type a reporting name that you want to use for the Web request.

    The reporting name will make it easier to identify in the Web Performance Test Results Viewer after the test has been run. For more information, see How to: Use Reporting Names to Easily Identify Requests in a Web Performance Test.

  4. (Optional) In the Think Time column associated with a Web request indicated in the Request column, change the value to specify how many seconds you want to imitate natural human pauses between Web requests. For more information, see How to: Set Think Times to Simulate Human Pausing in a Web Performance Test.

  5. (Optional) In the Response Time Goal column associated with a Web request indicated in the Request column, type the goal for the page response time in seconds. The response time goal is used to track the percentage of pages that meet the specified goal. For more information, see How to: Set Page Response Time Goals in a Web Performance Test.

    Entering a 0 specifies that the Web page request does not have a response time goal.

    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.

  6. Click OK.

See Also

Tasks

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

Other Resources

Customizing Web Performance Test Recordings Using Web Performance Test Editor