How to: Create custom graphs in load test results

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

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.

You can perform the following procedure either while a load test is running or after it has finished running.

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 create a custom load test results graph

  1. On the Load Test toolbar, choose Add New Graph.

    - or -

    On the Load Test Analyzer, right-click in the Counters panel or in a graph, and then select Add Graph.

    The Enter Graph Name dialog box is displayed.

  2. Under Graph name, type a name for the graph, and choose OK.

    The new graph appears in the Load Test Analyzer. It appears in the currently selected graph panel; it replaces the graph that was displayed in that panel.

  3. Customize the new graph by adding counters. For more information, see How to: Add and delete counters on graphs.

See also