Dynamic Test Methodology for Programs Involving Request and Response Modifications
Original Publication Date: 2001-Feb-01
Included in the Prior Art Database: 2003-Jun-19
Main Idea A problem was encountered in testing IBM's Everyplace Wireless Gateway, see diagram below. The Wireless Gateway acts as protocol transforming proxy server. It executes protocol transformations at the network and application layers. This invention is focused at the application layer. To use the Wireless Gateway, in this context, a user 1 agent formulates a Wireless Session Protocol(WSP) method and delivers it to the Gateway over the Wireless Datagram Prorocol(WDP) , both are components of the Wireless Applications Protocol(WAP) suite. The WAP gateway decodes the WSP 2 method delivered to it via WDP, maps the method to HTTP, and forwards the 3 transformed request to the content server via HTTP. Once the response returns, its 4 header is stripped of fields not supported by WAP, it is encoded, and forwarded to the WAP user agent over the bearer network. This is an oversimplification of the feature set contained in the IBM EveryPlace Wireless Gateway, but it is suitable for the purposes of describing the invention. The problem presents itself when one considers how to effectively and efficiently test both the request and response pathways through a WAP gateway. The central ideas of the solution and invention are threefold. First, is to control the HTTP response header and body from the user agent making the request. The response header attributes are extracted from the request body and the response header is formulated. The response body is formulated to indicate request and response header attributes and other data relevant to the scenario.