Export (0) Print
Expand All

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.

Requirements

  • Visual Studio Ultimate

To extract new Web performance tests from an existing Web performance test

  1. In the Web Performance Test Editor, open a Web performance test.

  2. 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.

    - or-

    In the request tree, right-click a specific request and then choose Extract Web Test.

    The Extract Web Test dialog box appears.

  3. 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.

  4. In the Choose last item for the Web test list select the last request that you want to include in the new test.

  5. 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.

  6. 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.

  7. Choose OK.

    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.

  8. (Optional) Repeat steps 2 through 7 to create additional tests.

  9. On the File menu, choose Save All.

Show:
© 2014 Microsoft