How to: Edit an Existing Web Test
After you have created a Web test, you can edit it. You can add validation rules, database connections, and other properties.
Web tests open in the Web Test Editor. In the editor, you see a hierarchy tree of HTTP requests, called 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.
You can also add parameters, rules, and dependent requests to a request.
To open and edit a Web test
Open a Test project that contains a Web test.
For more information about how to create a test project, see How to: Create a Test Project.
From the Test project, open a Web test.
For more information about how to create a Web test, see Creating a Web Test. Your Web test opens in the Web Test Editor.
In the Web Test Editor, select the request or any node under a request that you want to edit and then press F4.
The Properties window displays the properties for the request you have selected.
(Optional) In the Properties window, change the values of properties.
(Optional) You can add a request or modify a request by right-clicking it and selecting commands from the list.
See Also
Tasks
How to: Add a Validation Rule to a Web Test
How to: Add an Extraction Rule to a Web Test
How to: Add Data Binding to a Web Request