Prioritizing resiliency tests of microservices
First Claim
Patent Images
1. A system, comprising:
- a memory that stores computer executable components; and
a processor that executes the computer executable components stored in the memory, wherein the computer executable components comprise;
a test execution component that;
traverses an application program interface call subgraph of a microservices-based application in a depth first traversal pattern; and
during the traversal, performs resiliency testing of parent application program interfaces of the application program interface call subgraph according to a systematic resilience testing algorithm that reduces redundant resiliency testing of parent application program interfaces, the systematic resilience testing algorithm comprising;
during the traversal at a stop at a parent application program interface of the application program interface call subgraph;
in response to the parent application program interface having multiple dependent application program interfaces, calls to all direct and indirect dependent application program interfaces of the parent application program interface annotated as having been bounded retry pattern tested and circuit breaker pattern tested, and the parent application program interface not being annotated as having been bulkhead pattern tested, perform a bulkhead pattern test on the parent application program interface and annotate the parent application program interface as bulkhead pattern tested.
1 Assignment
0 Petitions
Accused Products
Abstract
Techniques for automated resiliency testing systems are provided. In one example, a computer-implemented method comprises traversing, by a system operatively coupled to a processor, an application program interface call subgraph of a microservices-based application in a depth first traversal. The computer-implemented method also comprises, during the traversing, performing, by the system, resiliency testing of parent application program interfaces of the application program interface call subgraph according to a systematic resilience testing algorithm that reduces and/or eliminates redundant resiliency testing of parent application program interfaces.
-
Citations
20 Claims
-
1. A system, comprising:
-
a memory that stores computer executable components; and a processor that executes the computer executable components stored in the memory, wherein the computer executable components comprise; a test execution component that; traverses an application program interface call subgraph of a microservices-based application in a depth first traversal pattern; and during the traversal, performs resiliency testing of parent application program interfaces of the application program interface call subgraph according to a systematic resilience testing algorithm that reduces redundant resiliency testing of parent application program interfaces, the systematic resilience testing algorithm comprising; during the traversal at a stop at a parent application program interface of the application program interface call subgraph; in response to the parent application program interface having multiple dependent application program interfaces, calls to all direct and indirect dependent application program interfaces of the parent application program interface annotated as having been bounded retry pattern tested and circuit breaker pattern tested, and the parent application program interface not being annotated as having been bulkhead pattern tested, perform a bulkhead pattern test on the parent application program interface and annotate the parent application program interface as bulkhead pattern tested. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer-implemented method, comprising:
-
traversing, by a system operatively coupled to a processor, an application program interface call subgraph of a microservices-based application in a depth first traversal pattern; and during the traversing, performing, by the system, resiliency testing of parent application program interfaces of the application program interface call subgraph according to a systematic resilience testing algorithm that reduces redundant resiliency testing of parent application program interfaces, the systematic resilience testing algorithm comprising; during the traversal at a stop at a parent application program interface of the application program interface call subgraph; in response to the parent application program interface having multiple dependent application program interfaces, calls to all direct and indirect dependent application program interfaces of the parent application program interface marked as having been bounded retry pattern tested and circuit breaker pattern tested, and the parent application program interface not being marked as bulkhead pattern tested, performing a bulkhead pattern test on the parent application program interface and marking the parent application program interface as bulkhead pattern tested. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A computer program product for performing resiliency testing of application program interface call subgraph associated with a user interface of a microservices-based application, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processing component to cause the processing component to:
-
traverse an application program interface call subgraph of a microservices-based application in a depth first traversal pattern; and during the traversal, perform resiliency testing of parent application program interfaces of the application program interface call subgraph according to a systematic resilience testing algorithm that reduces redundant resiliency testing of parent application program interfaces, the systematic resilience testing algorithm comprises; during the traversal at a stop at a parent application program interface of the application program interface call subgraph; in response to the parent application program interface having multiple dependent application program interfaces, calls to all direct and indirect dependent application program interfaces of the parent application program interface not marked as having been bounded retry pattern tested and circuit breaker retry pattern tested, and the parent application program interface failing to have been marked as bulkhead pattern tested, performing a bulkhead pattern test on the parent application program interface and marking the parent application program interface as bulkhead pattern tested. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification