Web services environment testing framework
First Claim
1. A computer implemented method of testing web services using a web service testing framework, the method comprising:
- using a data parser to parse data for the web service to be tested, wherein the data parser is one of a plurality of data parsers in a test library configured to support a plurality of data formats for the web service;
determining if the web service is in a simple object access protocol (SOAP) protocol or a representational state transfer (REST) protocol;
converting the data into framework objects if the web service is in the SOAP protocol;
converting the framework objects into test objects if the web service is in the SOAP protocol such that the test objects wrap around the framework objects with web service bindings to provide a layer of abstraction between the framework objects and the test objects, wherein the data for the SOAP protocol comprises web services description language (WSDL);
converting the data directly into the test objects if the web service is in the REST protocol;
accessing a web service test from the test library for testing the web service; and
executing the web service test using the test objects.
1 Assignment
0 Petitions
Accused Products
Abstract
A method of testing web services using a web service testing framework can include using a data parser to parse data for the web service to be tested. The data parser may be one of a plurality of data parsers in a test library for support of a plurality of data formats for the web service. If the web service is in a simple object access protocol (SOAP) protocol, the data can be converted into framework objects. These framework objects for the simple object access protocol (SOAP) protocol may then be converted into test objects. If the web service is in a representational state transfer (REST) protocol, the data itself can be converted into the test objects. A web service test can be accessed from the test library for testing the web service. The web service test can be executed using the test objects.
160 Citations
17 Claims
-
1. A computer implemented method of testing web services using a web service testing framework, the method comprising:
-
using a data parser to parse data for the web service to be tested, wherein the data parser is one of a plurality of data parsers in a test library configured to support a plurality of data formats for the web service; determining if the web service is in a simple object access protocol (SOAP) protocol or a representational state transfer (REST) protocol; converting the data into framework objects if the web service is in the SOAP protocol; converting the framework objects into test objects if the web service is in the SOAP protocol such that the test objects wrap around the framework objects with web service bindings to provide a layer of abstraction between the framework objects and the test objects, wherein the data for the SOAP protocol comprises web services description language (WSDL); converting the data directly into the test objects if the web service is in the REST protocol; accessing a web service test from the test library for testing the web service; and executing the web service test using the test objects. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. An apparatus for testing web services using a web service testing framework, the apparatus comprising:
-
a processor; and one or more stored sequences of instructions which, when executed by the processor, cause the processor to carry out; using a data parser to parse data for the web service to be tested, wherein the data parser is one of a plurality of data parsers in a test library configured to support a plurality of data formats for the web service; converting the data into framework objects if the web service is in a simple object access protocol (SOAP) protocol; converting the framework objects into test objects if the web service is in the SOAP protocol such that the test objects wrap around the framework objects with web service bindings to provide a layer of abstraction between the framework objects and the test objects, wherein the test objects and the framework objects comprise Java™
objects, and the received data for the SOAP protocol comprises web services description language (WSDL);converting the data directly into the test objects if the web service is in a representational state transfer (REST) protocol; accessing a web service test from the test library for testing the web service; and executing the web service test using the test objects. - View Dependent Claims (9, 10, 11, 12)
-
-
13. A non-transitory computer-readable storage medium having one or more instructions thereon for testing web services using a web service testing framework, the instructions when executed by one or more processors causing the one or more processors to carry out:
-
using a data parser to parse data for the web service to be tested, wherein the data parser is one of a plurality of data parsers in a test library configured to support a plurality of data formats for the web service; determining if the web service is in a simple object access protocol (SOAP) protocol or a representational state transfer (REST) protocol; converting the data into framework objects if the web service is in the SOAP protocol; converting the framework objects into test objects if the web service is in the SOAP protocol such that the test objects wrap around the framework objects with web service bindings to provide a layer of abstraction between the framework objects and the test objects, wherein the test objects and the framework objects comprise Java™
objects, and the data for the SOAP protocol comprises web services description language (WSDL);converting the data directly into the test objects if the web service is in the REST protocol; accessing a web service test from the test library for testing the web service; and executing the web service test using the test objects. - View Dependent Claims (14, 15, 16, 17)
-
Specification