IP Library Granted Patent US 12664078
Granted Patent B2
US 12664078 · App. 18/508,571 · Granted Jun 23, 2026

Source code level chaos injection

Inventor: Radoslav Ivanov Sugarev (Petrich, BG)
Assignee: SAP SE
G06F11/3696G06F11/3688
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12664078
App. No.
18/508,571
Granted
Jun 23, 2026
Kind
B2
Abstract

A system associated with an enterprise computing environment infrastructure may include a chaos testing tool data store that contains a plurality of electronic records, each record including a chaos engineering fault parameter. A computer processor of a chaos testing tool may receive, from a chaos testing user, injection information associated with an element of the enterprise computing environment infrastructure. The chaos testing tool may then access the chaos engineering fault parameter from the chaos testing tool data store and automatically arrange to inject a chaos engineering fault into operation of the element of the enterprise computing environment infrastructure in accordance with the injection information and the chaos fault parameter. A response of the element of the enterprise computing environment infrastructure may then be measured subsequent to said injection, and the system may output an indication of the measured response to the chaos testing user.

Claims (36)

1 . A system associated with an enterprise computing environment infrastructure, comprising:

a chaos testing tool data store that contains a chaos engineering fault parameter, the chaos testing tool data store being associated with a library; and

a chaos testing tool, coupled to the chaos testing tool data store, including:

a computer processor, and

a computer memory storing instructions that when executed by the computer processor cause the chaos testing tool to:

receive, from a chaos testing user via a user interface of the chaos testing tool, injection information associated with an element of the enterprise computing environment infrastructure;

access the chaos engineering fault parameter from the chaos testing tool data store;

automatically inject, via the library, a chaos engineering fault into a production operation of the element of the enterprise computing environment infrastructure in accordance with the injection information and the chaos fault parameter, the library, being configurable at a runtime, programmatically injects the chaos engineering fault into the production operation of the element by exposing an Application Programming Interface (“API”) that manipulates application code;

measure a response of the enterprise computing environment infrastructure subsequent to the injection of the chaos engineering fault into the operation of the element of the enterprise computing environment infrastructure; and

output, to a user interface (UI) of a device of the chaos testing user, an indication of the measured response of the enterprise computing environment infrastructure to the injection of the chaos engineering fault and at least one of an alert and a recommendation associated with the production operation of the enterprise computing environment infrastructure, each being automatically generated in response to the measured response of the enterprise computing environment infrastructure to the injection of the chaos engineering fault.

2 . The system of claim 1 , wherein the element of the enterprise computing environment infrastructure is associated with at least one of: (i) an application, (ii) a service, and (iii) a component.

3 . The system of claim 1 , wherein the chaos engineering fault parameter is associated with at least one of: (i) a failure during communication, (ii) a delay in communications between two parties, (iii) a blocked execution, (iv) a sporadic failure, (v) a delay in execution of an operation, (vi) a high level of Central Processing Unit (“CPU”) usage, (vii) a power outage, (viii) a surge in user traffic, (ix) a cyber-attack, (x) low memory, (xi) code insertion, and (xii) generation of an unexpected output.

4 . The system of claim 1 , wherein the injection information is associated with at least one of: (i) a based-on-operation level, (ii) a based-on-scenario level, (iii) a based-on-application level, (iv) a based-on-system level, and (v) a based-on-context level.

5 . The system of claim 1 , wherein the injection information is received via at least one of: (i) a user interface, (ii) a console client, (iii) a Java Management Extension (“JMX”), (iv) a Remote Method Invocation (“RMI”), and (v) a database client.

6 . The system of claim 1 , wherein the chaos testing user is associated with at least one of: (i) a development team, (ii) a quality team, and (iii) a chaos engineer.

7 . The system of claim 1 , wherein the library is associated with at least one of: (i) pre-defined functionality, and (ii) extensible functionality.

8 . The system of claim 1 , wherein the library is used to declaratively perform said injection through at least one of: (i) file configurations, and (ii) annotations.

9 . The system of claim 1 , wherein said injection comprises a source code level injection.

10 . A computer-implemented method associated with an enterprise computing environment infrastructure, comprising:

receiving, at a computer processor of a chaos testing tool from a chaos testing user via a user interface of the chaos testing tool, injection information associated with an element of the enterprise computing environment infrastructure;

accessing a chaos engineering fault parameter from a chaos testing tool data store, the chaos testing tool data store being associated with a library;

automatically inject, via the library, a chaos engineering fault into a production operation of the element of the enterprise computing environment infrastructure in accordance with the injection information and the chaos fault parameter, the library, being configurable at a runtime, programmatically injects the chaos engineering fault into the production operation of the element by exposing an Application Programming Interface (“API”) that manipulates application code;

measuring a response of the enterprise computing environment infrastructure subsequent to injection of the chaos engineering fault into the operation of the element of the enterprise computing environment infrastructure; and

outputting, to a user interface (UI) of a device of the chaos testing user, an indication of the measured response of the enterprise computing environment infrastructure to the injection of the chaos engineering fault and at least one of an alert and a recommendation associated with the production operation of the enterprise computing environment infrastructure, each being automatically generated in response to the measured response of the enterprise computing environment infrastructure to the injection of the chaos engineering fault.

11 . The method of claim 10 , wherein the element of the enterprise computing environment infrastructure is associated with at least one of: (i) an application, (ii) a service, and (iii) a component.

12 . The method of claim 10 , wherein the chaos engineering fault parameter is associated with at least one of: (i) a failure during communication, (ii) a delay in communications between two parties, (iii) a blocked execution, (iv) a sporadic failure, (v) a delay in execution of an operation, (vi) a high level of Central Processing Unit (“CPU”) usage, (vii) a power outage, (viii) a surge in user traffic, (ix) a cyber-attack, (x) low memory, (xi) code insertion, and (xii) generation of an unexpected output.

13 . The method of claim 10 , wherein the injection information is associated with at least one of: (i) a based-on-operation level, (ii) a based-on-scenario level, (iii) a based-on-application level, (iv) a based-on-system level, and (v) a based-on-context level.

14 . The method of claim 10 , wherein the injection information is received via at least one of: (i) a user interface, (ii) a console client, (iii) a Java Management Extension (“JMX”), (iv) a Remote Method Invocation (“RMI”), and (v) a database client.

15 . A non-transitory, machine-readable medium comprising instructions thereon that, when executed by a processor, cause the processor to execute operations to perform a method associated with an enterprise computing environment infrastructure, the method comprising:

receiving, at a computer processor of a chaos testing tool from a chaos testing user via a user interface of the chaos testing tool, injection information associated with an element of the enterprise computing environment infrastructure;

accessing a chaos engineering fault parameter from a chaos testing tool data store, the chaos testing tool data store being associated with a library;

automatically inject, via the library, a chaos engineering fault into a production operation of the element of the enterprise computing environment infrastructure in accordance with the injection information and the chaos fault parameter, the library, being configurable at a runtime, programmatically injects the chaos engineering fault into the production operation of the element by exposing an Application Programming Interface (“API”) that manipulates application code;

measuring a response of the enterprise computing environment infrastructure subsequent to the injection of the chaos engineering fault into the operation of the element of the enterprise computing environment infrastructure; and

outputting, to a user interface (UI) of a device of the chaos testing user, an indication of the measured response of the enterprise computing environment infrastructure to the injection of the chaos engineering fault to the chaos testing user and at least one of an alert and a recommendation associated with the production operation of the enterprise computing environment infrastructure, each being automatically generated in response to the measured response of the enterprise computing environment infrastructure to the injection of the chaos engineering fault.

16 . The medium of claim 15 , wherein the chaos testing tool data store comprises a library associated with at least one of: (i) pre-defined functionality, and (ii) extensible functionality.

17 . The medium of claim 16 , wherein the library is used to declaratively perform said injection through at least one of: (i) file configurations, and (ii) annotations.