Scenario based testing and load generation for web applications
AssigneeInternational Business Machines Corporation
InventorsJohn S. Cox, Gennaro A. Cuomo, Brian Keith Martin
Life of this patent
Estimating the term…
Abstract
A Web application testing method. A network message from one of several network clients can be intercepted. Session data in the network message can be identified and state information retrieved for the session in the Web application. An operation and corresponding associated parameters can be selected from a Web scenario template based upon the retrieved state information. Finally, operations can be invoked in the Web application, the operations corresponding to the operation and associated operational parameters selected from the Web scenario template.
Claims15
A system for testing a Web application comprising:
- a Web scenario template specifying a sequence of Web application operations and associated operational parameters, each said operation having an association with an identifiable state of the Web application;
- and,
- a server-side load driving mechanism configured to select individual ones of said operations and associated operational parameters in said Web scenario template based upon an identified state of the Web application, said server-side load driving mechanism being further configured to dispatch operations in the Web application which correspond to said selected ones of said operations and associated operational parameters.
A Web application testing method comprising the steps of:
- intercepting a network message from one of a plurality of network clients;
- identifying session data in said network message and retrieving state information for said session in the Web application;
- selecting an operation and associated operational parameters from a Web scenario template based upon said retrieved state information;
- and,
- invoking operations in the Web application, said operations corresponding to said selected operation and associated operational parameters.
A machine readable storage having stored thereon a computer program for Web application testing, said computer program comprising a routine set of instructions for causing the machine to perform the steps of:
- intercepting a network message from one of a plurality of network clients;
- identifying session data in said network message and retrieving state information for said session in the Web application;
- selecting an operation and associated operational parameters from a Web scenario template based upon said retrieved state information;
- and,
- invoking operations in the Web application, said operations corresponding to said selected operation and associated operational parameters.
Dependencies are inferred from the claim text.