Export (0) Print
Expand All

How to: Analyze What Virtual Users Are Doing During a Load Test Using the Virtual User Activity Chart

The Virtual User Activity Chart lets you see the virtual user activity that is associated with your load test. Each row in the chart represents an individual virtual user. The Virtual User Activity Chart shows you exactly what each virtual user was executing during the test. This lets you see patterns of user activity, load patterns, correlate failed or slow tests, and see requests with other virtual user activity. The Virtual User Activity Chart is available only after the load test has finished running.

The procedures below demonstrate how to view the Virtual User Activity Chart, how to investigate a specific users activity, and how to use filtering.

To view the Virtual User Activity Chart in your load test results

  1. To view the virtual user data, you must first configure the All Individual Details setting for the Timing Details Storage property that is associated with your load test. Then run the load test. For more information, see How to: Configure Load Tests to Collect Full Details to Enable Virtual User Activity in Test Results.

  2. After your load test runs, the test results summary page is displayed. Click the User Detail button on the toolbar.

    -or-

    Open the Graphs view by clicking the Graphs button on the toolbar. Right-click a graph and then select Go to user detail.

    If you use this option, the Virtual User Activity Chart will auto-zoom to the part of the test that you right-clicked. For example, if your pointer is located on approximately the 30 second mark, the detail view will display approximately on the 30second mark in the Zoom to time period tool at the bottom of the Virtual User Activity chart.

    Next, you can use investigate a specific users activity details in the Virtual User Activity Chart.

To investigate a specific users activity in the Virtual User Activity Chart

  1. Use the Zoom to time period tool at the bottom of the Virtual User Activity Chart to select an area on the chart where you want to investigate details on a specific user.

  2. Hover your pointer over a detail in the graph. Notice that the following information is displayed in the tool tip:

    • User Id

    • Scenario

    • Test

    • URL (Does not display in a test or transaction)

    • Outcome

    • Browser (Does not display in a test or transaction)

    • Network

    • Start Time

    • Duration

    • Agent

    • Test log (Link to the test log)

      NoteNote

      To assist in debugging your application, if you click the Test log link, the Web test result or unit test result associated with the log will open.

    Next, you can use the filtering and highlighting operations available in the Virtual User Activity Chart.

To use filtering options in the Virtual User Activity Chart

  1. In the Details Legend, use the drop-down list to select either Test, Page, or Transaction.

    Details Legend panel

    Details legend panel
  2. Select or clear the check boxes for the errors, logs, tests, search, and aspx pages that are associated with the load test.

    The Virtual User Activity Chart updates accordingly.

    The Virtual User Activity Chart provides the ability to filter out tests, pages, and transactions based on several different criteria. You can remove certain tests from the view, or remove all successful tests, or remove tests that failed with certain failures. You can also remove all tests that do not have logs.

    For example, you can select the (Highlight errors) option, which displays all errors on the cart colored in red. You can also select the (Highlight results with logs) option, which displays all the test results that have logs colored in green in the chart.

    Filter results panel

    Filter results panel
  3. In the Filter results, select or clear the check boxes for the following filter options:

    • Show only results with logs   Displays only test results that have test logs associated with them.

    • Show successful results   Displays successful results.

    • Show results with errors   Displays results with errors that can assist in debugging.

      NoteNote

      The list of error types that are listed under the Show results with errors node can be further investigated by clicking the Tables button in the Web Performance Test Results Viewer toolbar. For more information, see Analyzing Errors in Load Tests Using the Errors Table.

    The Virtual User Activity Chart updates accordingly.

Community Additions

ADD
Show:
© 2014 Microsoft