Bagikan melalui


How to: Insert a Call to Another Web Test

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

To insert a call to another Web test

  1. Open a Web Test in the Web 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 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 a Web Test

How to: Record a Web Test

How to: Edit an Existing Web Test

Concepts

Running and Viewing a Web Test