次の方法で共有


Analyze load test results in the Graphs view of the Load Test Analyzer

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

The results of a load test are displayed as data in several different panes.

Note

Web performance and load test functionality is deprecated. Visual Studio 2019 is the last version where web performance and load testing will be fully available. For more information, see the Cloud-based load testing service end of life blog post. To reduce the impact on users some minimum support is still available in Visual Studio 2022 Preview 3 or later. Users should also note web performance and load test functionality only supports Internet Explorer which is not available on Windows 11 and some versions of Windows 10. Read more on Internet Explorer Lifecycle policy.

To display test results as graphs, choose Graphs on the load test toolbar. Each individual graph is displayed in a panel with the graph name displayed at the top in a drop-down list. To display a different graph in the panel, choose a different graph name from the list.

Up to four graph panels can be displayed at a time. You can switch between different panel layouts by using the panel layout toolbar button.

Several built-in graphs are provided. You can use the built-in graphs as is or you can customize them. Additionally, you can create your own graphs. For more information, see How to: Add and delete counters on graphs and How to: Create custom graphs.

Built-in graphs

The following table lists the built-in graphs that are available to analyze load test results.

Graph Name Description
Key Indicators Counters that describe basic aspects of test performance such as user load, throughput, and response time.
Test Response Time Data about the amount of time tests take to run.
Page Response Time The average response time for web pages that are accessed during the load test.
System under Test Information about the computers on which the application being tested runs. This includes data about memory use, the processor, the physical disk, processes.

By default, Only the Available Mbytes and Processor Time counters are collected.
Controller and Agents Information about the computers on which the load tests run. This includes data about memory use, the processor, the physical disk, processes.

By default Only the Available Mbytes and Processor Time counters are collected.
Transaction Response Time The average response time for transactions that occur during the load test.

You can display different counters on the graph both at run time and after a test has run.

Note

Only response time performance counters can be added to an automatically generated response time graph.

The counter information displays both in the graph and in the legend underneath the graphs. You can also zoom in on a section of the graph. For more information, see How to: Zoom in on a region of the graph.

Counters displayed in graphs

Graphs display counters. Counters refer to the data gathered during a load test, such as tests per second or average test time. For more information about counters, see Specifying the counter sets and threshold rules for computers in a load test.

The legend for the counters that are displayed in the graphs shows several columns of useful data about the load test run. To turn off the display of any data in the graph, clear the check box in the row in the legend.

The legend contains the following columns:

Counter The name of the counter
Instance The name of the counter instance.
Category The name of the counter category.
Computer The name of the computer to which the counter is collected.
Color The color of the line in the graph.
Range Indicates the number that is represented by 100 on the graph for that counter. For example, for a range whose upper value is 10,000, the 100 label at the top of the graph represents 10,000.
Min Indicates the minimum value for the counter in milliseconds.
Max Indicates the maximum value for the counter in milliseconds.
Avg Indicates the average value for the counter in milliseconds.
Last Shows the value of the counter during the most recent sampling interval in milliseconds.

Tasks

Tasks Associated topics
Customize the graphs by using the legend: The Graphs view legend displays information for each performance counter that is associated with a graph. You can use the legend to remove performance counters, highlight performance counters in the graph, and customize the plotting options. - Using the Graphs view legend to analyze load tests
Display counters on graphs: You can add different kinds of data to a load test results graph by placing counters on the graph. - How to: Add and delete counters on graphs
Zoom in on graphs: After a load test has finished, you can use zoom bars to zoom in and scroll to a region of the graph. By zooming in, you can examine the data that was generated during a load test run in finer detail. - How to: Zoom in on a region of the graph
Tile graphs: You can arrange load test results graphs in any of several patterns. You can tile up to four graphs.
Create custom graphs: You can design graphs that display specific information about load test results. You design a custom graph by specifying the load test counters that the graph will display. - How to: Create custom graphs
Export the performance counters data in the graph: You can export the graph data to Microsoft Excel by using the Export Graph Data to Excel button on the Load Test Analyzer toolbar while you are in the Graphs view.

Analyze load test results and errors in the tables view

How to: Access load test results for analysis

Analyze load test results

See also