CPC G06F 11/3676 (2013.01) [G06F 11/3688 (2013.01); G06F 9/547 (2013.01); G06F 11/0766 (2013.01); G06F 11/3034 (2013.01); G06F 11/3428 (2013.01); G06F 11/3636 (2013.01); G06F 11/3664 (2013.01); G06F 11/3684 (2013.01); G06F 11/3692 (2013.01); G06F 21/577 (2013.01); G06F 21/6227 (2013.01)] | 15 Claims |
1. A testing method for use in a microservice environment, wherein the testing method comprises:
executing a plurality of test cases on a target system comprising a plurality of microservices to produce representational state transfer application programming interface (REST API) tracing data comprising a plurality of tracing records corresponding to the plurality of test cases;
accessing the tracing data, wherein the target system includes a plurality of microservices configured in accordance with a representational state transfer application programming interface (REST API);
importing a definition of the REST API;
checking each of the tracing records for consistency with the REST API definition wherein said checking includes attempting to match the REST API definition with each tracing record via universal resource locator (URL) and hypertext transport protocol (HTTP) trace methods;
based on said checking of the tracing records, calculating one or more coverage metrics; and
responsive to any one or more of the one or more coverage metrics not exceeding a threshold coverage, selecting a testing action in accordance with the one or more coverage metrics, wherein the testing action is selected from a group comprising:
seeking additional API coverage; and
seeking additional test result coverage.
|