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


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

The time it takes for each Web page to load is known as response time. When you create a Web test, you can set a response time goal for each Web page request in your Web test. For more information, see How to: Set Page Response Time Goals in a Web Test.

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

  • The average response time for the page.

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

Viewing Response Time Data in a Table

To view response time data in a table

  1. In the load test analyzer, click Tables on the toolbar to make sure that the table grid is displayed.

  2. In the Table drop-down list box, select Pages.

  3. The data for each of the requests is displayed in the grid. The columns ordinarily displayed are:

    Page

    The name of the Web page.

    Scenario

    The name of the scenario. Important if you have more than one scenario in your Web test.

    Test

    The name of the Web test. Important if you have more than one Web test in your load test.

    Total

    The total number of requests made for the Web page. This is the total for all iterations in the load test.

    Page Time

    The average response time for all requests made for the Web page.

    Page Time Goal

    The page time goal. This is a constant value for the page.

    Note

    Page Time Goal is displayed only when the goal has been defined for the request in the Web test.

    % Meeting Goal

    The percent of the requests made for the Web page that met the response time goal.

    95% Page Time

    The 95th percentile for the response time. 95 percent of the pages responded faster than this number, and 5 percent of the pages responded more slowly.

    By default, this data is not collected. To collect this data, in the Load Test Editor, under the Run Settings node, select the run setting node to change. In the Properties window, for the Timing Details Storage property, select AllIndividualDetails.

    90% Page Time

    Same as 95% Page Time, but for the 90th percentile. By default, this column is not displayed. To display this column, right-click the table and then click Add/Remove Columns.

    Viewing Response Time Data in a Graph

    You can also view response time data in a graph to see how it changes over time during your load test. This is especially useful if your load pattern increases as the test runs, for example, if you use the step load pattern. For more information, see About Load Pattern.

    To view response time data in a graph

    1. In the load test analyzer, click Graphs on the toolbar to make sure that the graph is displayed.

    2. In the Counters window, expand the node of the scenario you are interested in, for example Scenario1.

    3. Expand the node of the Web test you are interested in.

    4. Expand the node Pages.

    5. Expand the node of the page you are interested in.

    6. Right-click % Pages Meeting Goal and then click Show Counter on Graph.

      The data is added to the graph.

    7. (Optional) Repeat the previous step for Avg. Page Time, Page Response Time Goal, and Total Pages.

      Note

      Page Response Time Goal is constant.

    See Also

    Concepts

    Working with Load Test Tables
    Working with Graphs
    Analyzing Load Test Results
    Accessing Load Test Results

    Other Resources

    Analyzing Load Test Runs