Data driven test automation of web sites and web services
First Claim
Patent Images
1. A system for testing a web location including a web site or web service comprising a processor executing:
- a test generator for generating an XML test case; and
a driver for interpreting the XML test case into an http request to be sent to the web location, said driver comprising;
a parsing engine for parsing the XML test case into a sequence of requests/response pairs; and
a runtime engine for providing to the web location the http request corresponding to the sequence of requests/response pairs wherein the runtime engine receives requests/response pairs from the parsing engine, and includes instructions for identifying dynamic data in the request/response pairs received from the parsing engine;
instructions for evaluating the identified dynamic data for a result;
instructions for replacing the evaluated result to generate a replaced request, wherein a tag value of the identified dynamic data is randomly replaced with at least one or more of the possible values listed under a node of an XML data file corresponding to the identified dynamic data.
2 Assignments
0 Petitions
Accused Products
Abstract
A system, method and data structure for testing a web location including a web site or web service. A test generator or user generates an XML test case and a driver interprets the XML test case into an http request to be sent to the web location as a test.
48 Citations
35 Claims
-
1. A system for testing a web location including a web site or web service comprising a processor executing:
-
a test generator for generating an XML test case; and a driver for interpreting the XML test case into an http request to be sent to the web location, said driver comprising; a parsing engine for parsing the XML test case into a sequence of requests/response pairs; and a runtime engine for providing to the web location the http request corresponding to the sequence of requests/response pairs wherein the runtime engine receives requests/response pairs from the parsing engine, and includes instructions for identifying dynamic data in the request/response pairs received from the parsing engine;
instructions for evaluating the identified dynamic data for a result;
instructions for replacing the evaluated result to generate a replaced request, wherein a tag value of the identified dynamic data is randomly replaced with at least one or more of the possible values listed under a node of an XML data file corresponding to the identified dynamic data. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A method of testing a web location including a web site or web service comprising:
-
generating a test case in XML format; interpreting the XML test case into a http request to be sent to the web location; parsing the XML test case into a sequence of request/response pairs; identifying dynamic data in the request/response pairs; evaluating the identified dynamic data for a result; replacing the evaluated result to generate a replaced request, wherein a tag value of the identified dynamic data is randomly replaced with at least one or more of the possible values listed under a node of an XML data file corresponding to the identified dynamic data; and providing to the web location the http request corresponding to the sequence of request/response pairs. - View Dependent Claims (14, 15, 16, 17, 18, 19, 20, 21, 22, 23)
-
-
24. A method of testing a plurality of web locations connected by a multi-site user authentication system according to an XML test case comprising:
-
generating a specific XML test case associated with the web locations; parsing the XML test case into a sequence of request/response pairs with a parsing engine; and sending each of the http requests to the corresponding web locations, said sending comprising; receiving requests/response pairs from the parsing engine; identifying dynamic data in the request/response pairs received from the parsing engine; evaluating the identified dynamic data for a result; and replacing the evaluated result to generate a replaced request, wherein a tag value of the identified dynamic data is randomly replaced with at least one or more of the possible values listed under a node of an XML data file corresponding to the identified dynamic data. - View Dependent Claims (25, 26, 27, 28, 29, 30)
-
-
31. A computer readable medium (CRM) having instructions for testing a web location including a web site or web service comprising:
-
instructions for generating an XML test case; and instructions for interpreting the XML test case into an http request to be sent to the web location, said instructions for interpreting comprising; instructions for parsing the XML test case into a sequence of request/response pairs with a parsing engine; instructions for receiving the requests/response pairs from the parsing engine; instructions for identifying dynamic data in the request/response pairs received from the parsing engine; instructions for evaluating the identified dynamic data for a result; and instructions for replacing the evaluated result to generate a replaced request, wherein a tag value of the identified dynamic data is randomly replaced with at least one or more of the possible values listed under a node of an XML data file corresponding to the identified dynamic data. - View Dependent Claims (32, 33, 34, 35)
-
Specification