Merging test pages

You can two or more contiguous HTTP pages into one page. The page title, think times, primary request, and delay are automatically recalculated for the affected pages. Customized page titles, think times, primary requests, and delays revert to the default values.

About this task

When you inspect a test, you might notice that some page boundaries are not at the correct place. These extra pages are caused by a variety of reasons. For example, during recording you might hover over a "hotspot" that fetches images as you move on and off of the spot. In this case, some pages in the test, which properly belong to the previous page, contain only .gif files. Although you can rerecord a test in the hope of fixing this problem, if your test is long or complex, it is often easier to merge the incorrect page when you edit the test, rather than to rerecord the entire test.

Procedure

  1. In the Test Navigator, browse to the test and double-click it. The test opens.
  2. Select the pages to merge (the pages must be contiguous) and select Merge Selected Pages
  3. The Merge Pages window lists the pages that you are merging. From this list, select the page that will contain the other pages.
  4. Optionally, click Keep empty pages to keep the same number of pages in the test. For example, if you select this option and merge two pages, one page will contain all of the requests and the other page will be empty.

What to do next

You can also set preferences so that new pages are not generated when the think time is less than specified value. Click Window > Preferences > Test > Test Generation > HTTP Test Generation, and click the Protocol tab. Enter a value for Do not generate new page if think time is <.
Feedback