Export (0) Print
Expand All

Analyzing Load Tests Results Using the Load Test Analyzer

You can use the Load Test Analyzer to locate bottlenecks, identify errors, and measure improvements in your application. You can analyze load test results by using the Load Test Analyzer in the following ways:

  • Monitor a load test when it is running.

  • Analyze a load test after it has completed.

  • View results from a previous load test.

These tasks can be completed whether you run your load test from Visual Studio Ultimate or from the command line, and whether you run your load test on a single computer or on a remote machine.

Note Note

You can also create reports that compare two or more reports for trend analysis to share with stakeholders. For more information, see Reporting Load Tests Results for Test Comparisons or Trend Analysis.

Requirements

  • Visual Studio Ultimate

When you run a load test, the Load Test Analyzer displays in a separate tab, together with the name of your load test and the time that the test was started (for example, LoadTest1 [12:40 PM]). When a load test runs, a smaller set of the performance counter data is maintained in memory. You can monitor this set of data when your load test runs. After a load test has completed, you can analyze the full set of data from the database. Differences exist in what data is displayed when a load test runs and what data that you can see after a load test has completed. For example, 90 percent and 95 percent response time data is not calculated until the load test has completed. Some differences also occur in the functionality of the tools that are available to analyze the data.

When you run the load test, two views are available: The Graphs view and the Tables view. The Graphs view allows you to graph performance counters that are collected. The Tables view gives you information about each of the tests, pages, transactions, and requests that are collected. You also get a table that lists the errors.

By default, when the load test run has completed, the Summary view is displayed. You can switch between the Summary, Graphs, Tables, and Details views by using the toolbar. The Load Test Analyzer can be docked or set to float by using the usual Visual Studio window manipulation techniques. When you analyze completed load test runs, you can have multiple Load Test Analyzers open at the same time to compare the different load test runs.

For a more comprehensive overview of the Load Test Analyzer, see Load Test Analyzer Overview.

Tasks

Associated topics

Accessing the results of your load test: When you run a load test from the Load Test Editor, the load test results open automatically and the running load test is displayed in the Load Test Analyzer.

Add analysis notes to your load test: You can add comments to your load test when you conduct your analysis. The comments are stored permanently, together with the load test result. The description that you enter also displays in the Description column that is associated with the load test in the Open and Manage Test Results dialog box in the Load Test Editor.

For more information, see How to: Access Load Test Results for Analysis.

Additionally, the comments are displayed when you create an Excel report for the load test results.

For more information, see Reporting Load Tests Results for Test Comparisons or Trend Analysis.

Analyzing the results of your load test: After you access the load test run data, you can analyze the resulting data. You can view the Load Test Summary to understand the results quickly. The load test summary shows the key results in a compact and easily read format.

You can print the load test summary. This makes it convenient to use when you communicate results to stakeholders.

You can analyze the details of your load test results by using the graphs and tables in the results. These include Errors, Pages, Requests, SQL Trace, Tests, Thresholds, and Transactions.

Analyzing the virtual user activity in your load test results to isolate performance issues: You can use the Virtual User Activity Chart to visualize what virtual users are doing during a load test. This can help you isolate spikes in a CPU or drops in requests/sec, and determine which tests or pages are running during these spikes and drops.

Running Load and Web Performance Tests

Before you conduct analysis of a load test, you must run a test one or more times. You can observe the test results in real time when the test is running.

Managing Load Test Results in the Load Test Results Repository

When you run your load tests, any information that is gathered during a load test run may be stored in the Load Test Results Repository, which is an SQL database. The Load Test Results Repository contains performance counter data and any information about recorded errors.

You can manage load test results from the Load Test Editor by using the Open and Manage Load Test Results dialog box. You can open, import, export, and remove load test results.

Reporting Load Tests Results for Test Comparisons or Trend Analysis

You can create a Microsoft Excel report to help determine issues and discover trends. The reports can be shared with the stakeholders without requiring their access to the Team Foundation Server.

Show:
© 2014 Microsoft