How to: Extract Requests in an Existing Web Performance Test to Create a New Web Performance Test
You can create new Web performance tests by extracting individual requests from an existing Web performance test. You can use this to factor your Web performance tests into reusable test components. For example, you could factor a shopping application into log in, browse, buy, and log out components. For more information, see Walkthrough: Creating a Web Performance Test that Requires a Login and Logout.
Visual Studio Ultimate
To extract new Web performance tests from an existing Web performance test
In the Web Performance Test Editor, open a Web performance test.
In the request tree, locate the root node that is the name of the Web performance test. Right-click the root node and then choose Extract Web Test.
In the request tree, right-click a specific request and then choose Extract Web Test.
The Extract Web Test dialog box appears.
In Web test name type a name for the new Web performance test component.
In the Choose first item for the Web test list select the first request that you want to include in the new test.
In the Choose last item for the Web test list select the last request that you want to include in the new test.
Select or clear the Extracted test inherits test level properties check box.
You can use this to automatically copy the test level properties to the new extracted test.
Select or clear the Copy test level plug-ins and validation rules check box.
You can use this to automatically copy the test level plug-ins and validation rules to the new extracted test.
A new Web performance test is created that has the specified name. In the Web Performance Test Editor the new test is added to the request tree in place of the individual requests that you extracted. In Solution Explorer, the new test is added to the project list.
(Optional) Repeat steps 2 through 7 to create additional tests.
On the File menu, choose Save All.