Integration testing method and system for web services
First Claim
1. A method performed by at least one computer system that tests a web service, the method comprising:
- obtaining web service metadata from the web service;
automatically generating a first set of test cases at least in part based on the web service metadata obtained from the web service;
automatically testing the web service using the first set of test cases;
automatically generating first learning data regarding the first set of test cases by associating each test case of the first set of test cases with at least one respective test metric;
automatically generating a second set of test cases at least in part based on the web service metadata obtained from the web service;
automatically testing the web service using the second set of test cases;
automatically generating second learning data regarding the second set of test cases by associating each test case of the second set of test cases with at least one respective test metric;
automatically comparing the second learning data to the first learning data;
automatically determining, at least in part based on the comparison between the first and the second learning data, that a third set of test cases is to be generated at least in part based on which one of the first or the second set of test cases performs worse relative to the other of the first or the second set of test cases;
responsive to determining that the first set of test cases performs worse relative to the second set of test cases, automatically generating the third set of test cases at least in part based on the first set of test cases, the third set of test cases different from the first set of test cases; and
responsive to determining that the second set of test cases performs worse relative to the first set of test cases, automatically generating the third set of test cases at least in part based on the second set of test cases, the third set of test cases different from the second set of test cases.
9 Assignments
0 Petitions
Accused Products
Abstract
A method of testing a web service includes obtaining web service metadata from the web service. Test cases are generated automatically using the web service metadata, heuristic algorithm modules selected based on the contents of the web service metadata, and stochastic processes. Energy selection logic is used to update test parameters included in the test cases between rounds of testing until a set of test cases is generated that produces test results meeting one or more predetermined criteria. Testing is performed periodically using that set of test cases until the test results indicate that the web service has changed. New test cases are automatically generated and used to test the web service until test results meet the one or more predetermined criteria.
243 Citations
42 Claims
-
1. A method performed by at least one computer system that tests a web service, the method comprising:
-
obtaining web service metadata from the web service; automatically generating a first set of test cases at least in part based on the web service metadata obtained from the web service; automatically testing the web service using the first set of test cases; automatically generating first learning data regarding the first set of test cases by associating each test case of the first set of test cases with at least one respective test metric; automatically generating a second set of test cases at least in part based on the web service metadata obtained from the web service; automatically testing the web service using the second set of test cases; automatically generating second learning data regarding the second set of test cases by associating each test case of the second set of test cases with at least one respective test metric; automatically comparing the second learning data to the first learning data; automatically determining, at least in part based on the comparison between the first and the second learning data, that a third set of test cases is to be generated at least in part based on which one of the first or the second set of test cases performs worse relative to the other of the first or the second set of test cases; responsive to determining that the first set of test cases performs worse relative to the second set of test cases, automatically generating the third set of test cases at least in part based on the first set of test cases, the third set of test cases different from the first set of test cases; and responsive to determining that the second set of test cases performs worse relative to the first set of test cases, automatically generating the third set of test cases at least in part based on the second set of test cases, the third set of test cases different from the second set of test cases. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21)
-
-
22. A system that tests a web service, the system comprising:
-
at least one processor; at least one processor-readable storage medium communicably coupled to the at least one processor, the at least one processor-readable storage medium storing instructions that, when executed by the at least one processor, cause the system to; obtain web service metadata from the web service; automatically generate a first set of test cases at least in part based on the web service metadata obtained from the web service; automatically test the web service using the first set of test cases; automatically generate first learning data regarding the first set of test cases by associating each test case of the first set of test cases with at least one respective test metric; automatically generate a second set of test cases at least in part based on the web service metadata obtained from the web service; automatically test the web service using the second set of test cases; automatically generate second learning data regarding the second set of test cases by associating each test case of the second set of test cases with at least one respective test metric; automatically compare the second learning data to the first learning data; automatically determine, at least in part based on the comparison between the first and the second learning data, that a third set of test cases is to be generated at least in part based on which one of the first or the second set of test cases performs worse relative to the other of the first or the second set of test cases; responsive to determining that the first set of test cases performs worse relative to the second set of test cases, automatically generate the third set of test cases at least in part based on the first set of test cases, the third set of test cases different from the first set of test cases; and responsive to determining that the second set of test cases performs worse relative to the first set of test cases, automatically generate the third set of test cases at least in part based on the second set of test cases, the third set of test cases different from the second set of test cases. - View Dependent Claims (23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42)
-
Specification