Adding verification points

A verification point verifies whether or not an expected behavior occurred.

When a test containing a verification point runs, an error is reported if an expected behavior did not occur. Four types of verification point (VP) are supported.
  • Page Title VPs: report an error if no page title, or a title different from what you expected, was returned.
  • Response Code VPs: report an error if a response code different from what you expected was returned.
  • Response Size VPs: report an error if the size of a response is different from what you expected.
  • Content VPs: report an error if a response does not contain an expected string.

You can enable verification points globally in the test editor preference. (Go to Window > Preferences > Test > Performance Test Editor. ) Follow this procedure to set verification points selectively for particular tests, when global verification points are disabled (the default).

To add a verification point:

  1. Open the test.
  2. In the test editor, click the test name, a test page, or a page request. Your choice determines the scope: whether the verification point you select is added to all test pages, to a particular page in the test, or to a particular request in a page.
  3. Right-click and select one of the following.
    Option Description
    Enable Page Title VPs To inspect or set your expectation, see Specifying the expected page title. Page Title VPs cannot be added to requests so this selection is not presented when a request is selected.
    Enable Response Code VPs To inspect or set your expectation, see Specifying the expected response code.
    Enable Response Size VPs To inspect or set your expectation, see Specifying the expected response size.
    Enable Content VPs To inspect or set your expectation, see Specifying the expected content.

    So that you can easily disable verification points in a test, enabling verification points toggles the selections to Disable Page Title VPs, Disable Response Code VPs, Disable Response Size VPs, or Disable Content VPs.

Parent topic: Adding verification points to a test

Terms of use | Feedback
(C) Copyright IBM Corporation 2005. All Rights Reserved.