Dela via


How to: Insert a Call in a Web Performance Test to Another 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

You can insert a call to another Web performance test into an existing Web performance test. You can do this to extend a Web performance test that already contains individual Web page requests. You can also do this to create a new Web performance test that is composed entirely of calls to Web performance test components. For example, you could create a test for a shopping application by using log in, browse, buy, and log out Web performance test components. For more information, see Walkthrough: Creating a Web Performance Test that Requires a Login and Logout.

To insert a call to another Web performance test

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

    Note

    The test can already contain individual Web page requests, or it can be a new, empty test.

  2. In the request tree, right-click the root node (which is the name of the Web performance test) and then click Add Call to Web Test.

    - or -

    In the request tree, right-click an individual request and then click Insert Call to Web Test.

    The Choose Test dialog box appears.

  3. Click an existing test and then click OK.

    The test is added to the request tree.

    Note

    If the new test is not in the correct location in the tree, you can move it by dragging it to the correct location.

  4. (Optional) Repeat steps 2 and 3 to add calls to additional tests.

  5. On the File menu, click Save All.

See Also

Tasks

How to: Extract Requests in a Web Performance Test to Create a New Web Performance Test

How to: Create a New Web Performance Test Using the Web Performance Test Recorder

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

Concepts

Running Web Performance Tests

Other Resources

Customizing Web Performance Test Recordings Using Web Performance Test Editor