Splitting a test page

You can split an HTTP page into two contiguous pages. 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.

Before you begin

When you inspect a test, you might notice that some page boundaries are not at the correct place. A common cause is that, during recording, you did not wait for the page to fully load. Although you can rerecord a test, if your test is long or complex, it is often easier to split 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. In the test, expand the page that you want to split.
  3. Right-click on the request where you want the split to occur, and select Split page here.
  4. In the Split HTTP Page window, you can change the location of the split by clicking on another page element.
    You can also create a new page, combine the elements above the insertion point with the previous page, or combine the elements below the insertion point with the next page.Split HTTP page window, where you can select the location of the split.t
  5. To split the page, click Finish.

What to do next

You can also set preferences so that new pages are generated when the delay exceeds a specified value. Click Window > Preferences > Test > Test Generation > HTTP Test Generation, and click the Protocol tab. Enter a value for Generate new page if delay between requests is>.