Web services environment testing framework
Assigneesalesforce.com, inc.
InventorsScott Glaser, Nitin Patlola
Life of this patent
Estimating the term…
Abstract
In one embodiment, 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 SOAP protocol, the data can be converted into framework objects. These framework objects for the SOAP protocol may then be converted into test objects. If the web service is in a 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.
Claims20
A 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;
- 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;
- converting the data 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.
A 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;
- 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;
- converting the data 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.
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;
- converting the data 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.
Dependencies are inferred from the claim text.