Specifying the expected response size

You can verify whether a response to a request is of the expected size.

When you enable response size verification points for a request, a Response Size Verification Point folder is added to the Test Contents hierarchy. As shown in the figure, when you click this folder, the Test Element Details display the response size editing fields:

With the test selected, the Enable Response Size VPs menu selection adds this item to every request in all test pages and checks the box beside Enable verification point. With a specific page selected, the menu selection adds the item to every request in the selected page and checks the box. With a specific page request selected, the menu selection adds the item to the selected request and checks the box. For any request that contains the Response Size Verification Point item, you can selectively enable or disable response size verification by going to that request and clicking the check box.

This figure shows a response size verification point in a primary request. The default matching method for a primary request is Range, with a percentage adjustment based on the value in the box on the right. (You can change the percentage basis as well as the matching method.) When the test is run, no error is reported unless the actual response size falls outside the adjusted range.

For other requests, the default matching method is Exact: when run, the test reports an error unless the response size matches the expected size exactly.

Parent topic: Adding verification points to a test

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