Automated test for uniform web service interfaces
First Claim
1. A method of automated testing of a Web Service public interface, the method comprising:
- retrieving, by a test system over a network, a first data set from a Web Service, wherein the first data set comprises a collection of record identifiers for each of a plurality of individual data records stored by the Web Service, wherein the Web Service provides a method that accepts one or more record identifiers and returns one or more corresponding data records;
retrieving, by the test system over the network, a second data set from the Web Service, the second data set comprising a data model that defines characteristics of each field in the individual data records;
successively iterating through the collection of record identifiers, and for each record identifier in the collection of record identifiers;
retrieving, by the test system over the network, a corresponding data record from the Web Service using the record identifier and the method that accepts one or more record identifiers and returns one or more corresponding data records; and
verifying, by the test system, that the corresponding data record retrieved from the Web Service is correct by comparing characteristics of fields in the corresponding data record with the characteristics defined by the data model.
1 Assignment
0 Petitions
Accused Products
Abstract
A method of automated testing of a Web Service public interface may include retrieving a first data set from the Web Service. The first data set may include information for accessing individual data records stored by the Web Service. The method may also include retrieving a second data set from the Web Service. The second data set may include a data model for the individual data records. The method may additionally include retrieving a first data record from the Web Service using the information for accessing individual data records. The method may further include verifying that the first data record retrieved from the Web Service is correct by comparing fields in the first data record with the data model.
-
Citations
20 Claims
-
1. A method of automated testing of a Web Service public interface, the method comprising:
-
retrieving, by a test system over a network, a first data set from a Web Service, wherein the first data set comprises a collection of record identifiers for each of a plurality of individual data records stored by the Web Service, wherein the Web Service provides a method that accepts one or more record identifiers and returns one or more corresponding data records; retrieving, by the test system over the network, a second data set from the Web Service, the second data set comprising a data model that defines characteristics of each field in the individual data records; successively iterating through the collection of record identifiers, and for each record identifier in the collection of record identifiers; retrieving, by the test system over the network, a corresponding data record from the Web Service using the record identifier and the method that accepts one or more record identifiers and returns one or more corresponding data records; and verifying, by the test system, that the corresponding data record retrieved from the Web Service is correct by comparing characteristics of fields in the corresponding data record with the characteristics defined by the data model. - View Dependent Claims (2, 3, 4, 5, 6, 18)
-
-
7. A non-transitory, computer-readable medium comprising instructions that, when executed by one or more processors, causes the one or more processors to perform operations comprising:
-
retrieving a first data set from a Web Service, wherein the first data set comprises a collection of record identifiers for each of a plurality of individual data records stored by the Web Service, wherein the Web Service provides a method that accepts one or more record identifiers and returns one or more corresponding data records; retrieving a second data set from the Web Service, the second data set comprising a data model that defines characteristics of each field in the individual data records; successively iterating through the collection of record identifiers, and for each record identifier in the collection of record identifiers; retrieving a corresponding data record from the Web Service using the record identifier and the method that accepts one or more record identifiers and returns one or more corresponding data records; and verifying that the corresponding data record retrieved from the Web Service is correct by comparing characteristics of fields in the corresponding data record with the characteristics defined by the data model. - View Dependent Claims (8, 9, 10, 11, 16, 19)
-
-
12. A system comprising:
-
one or more processors; and one or more memory devices comprising instructions which, when executed by the one or more processors, cause the one or more processors to perform operations comprising; retrieving a first data set from a Web Service, wherein the first data set comprises a collection of record identifiers for each of a plurality of individual data records stored by the Web Service, wherein the Web Service provides a method that accepts one or more record identifiers and returns one or more corresponding data records; retrieving a second data set from the Web Service, the second data set comprising a data model that defines characteristics of each field in the individual data records; successively iterating through the collection of record identifiers, and for each record identifier in the collection of record identifiers; retrieving a corresponding data record from the Web Service using the record identifier and the method that accepts one or more record identifiers and returns one or more corresponding data records; and verifying that the corresponding data record retrieved from the Web Service is correct by comparing characteristics of fields in the corresponding data record with the characteristics defined by the data model. - View Dependent Claims (13, 14, 15, 17, 20)
-
Specification