×

Automatically running tests against WEB APIs based on specifications

  • US 10,409,711 B2
  • Filed: 06/12/2017
  • Issued: 09/10/2019
  • Est. Priority Date: 06/12/2017
  • Status: Active Grant
First Claim
Patent Images

1. A computing device comprising:

  • a processor;

    a network interface coupled to the processor to enable communication over a network;

    a storage device coupled to the processor;

    a compliance engine software stored in the storage device, wherein an execution of the software by the processor configures the computing device to perform acts comprising;

    receiving an electronic specification defining an application program interface (API), over the network;

    identifying service calls to be tested based on the specification;

    creating a test case for each of the identified service calls;

    creating a sequence for the created test cases, for an efficient correlation between the specification and the API, wherein the sequence for the created test cases comprises;

    automatically identifying one or more Hypertext Transfer Protocol (HTTP) invocations comprising at least one of;

    POST, GET, PUT, PATCH, or DELETE invocation;

    automatically ordering any identified POST invocation before any GET, PUT, PATCH, and DELETE invocation; and

    automatically ordering any DELETE invocation after any POST, GET, PUT, and PATCH invocation;

    generating a test plan based on the created sequence;

    executing the generated test plan; and

    upon identifying an error in response to the executed test plan, generating a notification indicating that the specification is not an accurate representation of the API.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×