Bagikan melalui


How to: Edit an Existing Web Performance Test Using the Web Performance Test Editor

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

After you have created a Web performance test using the Web performance test wizard, you can edit it using the Web Performance Test Editor. You can add validation rules, database connections, loop and branching logic and other properties.

In the Web Performance Test Editor, you see a hierarchy tree of HTTP requests. This is known as the request tree. You can select nodes in the request tree to view and change the properties that are associated with requests. You can also expand a request to display the nodes and parameters of the request. Additionally, you can change the parameters and properties. Typically, changes are made by using the Properties window of Visual Studio Ultimate.

You can also add parameters, rules, and dependent requests to a request.

For more information, see Setting Web Performance Test Properties Using the Web Performance Test Editor.

To open and edit an existing Web performance test

  1. Open a Test project that contains a Web performance test.

    For more information about how to create a test project, see How to: Create and Configure Test Projects for Automated Tests.

  2. From the Test project, open a Web performance test.

    For more information about how to create a Web performance test, see Creating and Editing Web Performance Tests. Your Web performance test opens in the Web Performance Test Editor.

  3. In the Web Performance Test Editor, you can edit a Web Performance test in three ways:

    Use the toolbar to perform any of the following actions:

    Select a Web request node or a Web request sub-nodes in the Web Performance test request tree.

    For example:

    1. Select a Web request or any node under a Web request that you want to edit and then press F4.

    2. The Properties window displays the properties for the request that you have selected.

    3. In the Properties window, change the values of properties.

      For an example of changing a Web request node property, see How to: Use Reporting Names to Easily Identify Requests in a Web Performance Test.

    Add or modify a request by right-clicking it and selecting commands from the list.

    For a list of all the options that are available in the Web Performance Test Editor using these three options, see Web Performance Test Editor Overview.

See Also

Tasks

How to: Add a Validation Rule to a Web Performance Test

How to: Add an Extraction Rule to a Web Performance Test

How to: Add Data Binding to a Web Request

How to: Add a Transaction to a Web Performance Test

How to: Add Loops to Web Performance Tests Requests

How to: Add "If Then" Branch Conditions to Web Performance Tests Requests

Concepts

Setting Web Performance Test Properties Using the Web Performance Test Editor

Other Resources

Customizing Web Performance Test Recordings Using Web Performance Test Editor