Bagikan melalui


How to: Use Reporting Names to Easily Identify Requests in a Web Performance Test

This topic applies to:

Visual Studio Ultimate

Visual Studio Premium

Visual Studio Professional 

Visual Studio Express

Topic applies Topic does not apply Topic does not apply Topic does not apply

Identifying a Web request with a reporting name makes it much easier to identify the Web request when it is displayed in the Web Performance Test Results Viewer. You can assign reporting names to Web requests by using the Web Performance Test Editor. For example, suppose a Web performance test includes two Web requests to http://someserver/somewebapp/Login.aspx. One of the requests occurs when a user arrives at the login page to enter their credentials. The second request occurs after the user enters their credentials and is redirected to another page. For these two Web requests, you could consider using reporting names of Login Get and Login Post.

Adding a reporting name to a web request

The reporting names can also make reading reports that are generated in Microsoft Excel easier to interpret. For more information, see How to: Create Load Test Performance Reports Using Microsoft Excel.

To set the reporting name property for a Web request

  1. Open a Web performance test in the Web Performance Test Editor.

  2. Select a Web request that you want to add a reporting name to. For example, http://someserver/somewebapp/Login.aspx.

  3. On the View menu, select Properties window.

  4. In the Properties window, under Options, select Reporting Name.

  5. In the text box next to Reporting Name, type a reporting name, for example Login Get.

  6. Run the Web performance test.

    The Web request is now displayed in the Web Performance Test Results Viewer as "Login Get" instead of "http://someserver/somewebapp/Login.aspx". This makes it much easier to identify and debug the Web Request.

    Note

    You can right-click the reporting name that is displayed in the Web Performance Test Results Viewer and select Go to Web Test to quickly move back and forth between the Web Performance Test Results Viewer and its associated Web request in the Web Performance Test Editor. For more information, see How to: Jump to Web Request from the Web Performance Test Playback.

See Also

Tasks

How to: Set Request Details in a Web Performance Test

How to: Create Load Test Performance Reports Using Microsoft Excel

Concepts

Setting Web Performance Test Properties Using the Web Performance Test Editor

Other Resources

Customizing Web Performance Test Recordings Using Web Performance Test Editor