# US 2023/0267074 A1 · Testing agent for application dependency discovery, reporting, and management tool

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0267074 A1
- Document ID: US20230267074A1
- Status: Published application
- Kind: A1
- Application number: 18/140,712
- Filed: 2023-04-28
- Published: 2023-08-24
- Earliest claimed: 2019-06-27
- Assignees: Capital One Services, LLC
- Applicants: Capital One Services, LLC
- Inventors: Muralidharan Balasubramanian; Eric K. Barnum; Julie Dallen; David Watson
- Web page: https://patentgrep.com/patent/US20230267074A1

## CPC

- G06F 11/3476: {Data logging (G06F11/14, G06F11/2205 take precedence)}
- G06F 11/3692: {for test results analysis}
- G06F 9/546: {Message passing systems or structures, e.g. queues}
- G06F 11/302: {where the computing system component is a software system}
- G06F 11/3495: {for systems}
- G06F 11/3684: {for test design, e.g. generating new test cases}
- G06F 11/3688: {for test execution, e.g. scheduling of test suites}
- G06F 11/0793: {Remedial or corrective actions (recovery from an exception in an instruction pipeline G06F9/3861; by retry G06F11/1402; for recovering from a failure of a protocol instance or entity H04L69/40)}
- G06F 11/323: {Visualisation of programs or trace data}
- G06F 11/3409: {for performance assessment}
- G06F 2201/865: Monitoring of software
- G06F 2201/87: Monitoring of transactions
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Techniques for monitoring operating statuses of an application and its dependencies are provided. A monitoring application may collect and report the operating status of the monitored application and each dependency. Through use of existing monitoring interfaces, the monitoring application can collect operating status without requiring modification of the underlying monitored application or dependencies. The monitoring application may determine a problem service that is a root cause of an unhealthy state of the monitored application. Dependency analyzer and discovery crawler techniques may automatically configure and update the monitoring application. Machine learning techniques may be used to determine patterns of performance based on system state information associated with performance events and provide health reports relative to a baseline status of the monitored application. Also provided are techniques for testing a response of the monitored application through modifications to API calls. Such tests may be used to train the machine learning model.

## Claims

### Claim 1

A computer-implemented method comprising:
detecting, by a testing agent and during a testing period associated with a first application, a first call in a computing system from the first application to a first Application Programming Interface (API);
modifying, by the testing agent, a response to the first call, wherein the modified response simulates an artificial unhealthy operating status of the first API;
returning the modified response to the first application in response to the first call; and
determining an impact of the modified response to the first call on the operating status of the first application,
wherein a second call to the first API is unaffected by modifying the response to the first call.

### Claim 2 (depends on 1)

The method of claim 1, wherein the modified response simulates an artificial unhealthy operating status of the first API by simulating a result with an artificially high response latency.

### Claim 3 (depends on 1)

The method of claim 1, wherein the modified response simulates an artificial unhealthy operating status of the first API by simulating a result with an artificially high error rate.

### Claim 4 (depends on 1)

The method of claim 1, wherein the modified response simulates an artificial unhealthy operating status of the first API by simulating a result with an artificially high likelihood of non-response.

### Claim 5 (depends on 1)

The method of claim 1, wherein determining the impact of the modified response on the operating status of the first application comprises:
determining, by a monitoring application, the operating status of the first application using one or more monitoring interfaces; and
determining that the first application has an unhealthy operating status based on at least one metric provided by a first monitoring interface associated with the first application satisfying at least one unhealthy operating status threshold.

### Claim 6 (depends on 1)

The method of claim 1, wherein determining the impact of the modified response on the operating status of the first application comprises:
determining that the first application was able to retrieve information associated with the first API from another source.

### Claim 7 (depends on 1)

The method of claim 1, wherein determining the impact of the modified response on the operating status of the first application comprises:
determining that the first application was able to partially complete processing despite not receiving the information requested from the first API.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
caching, by the testing agent, the unmodified response to the first call;
determining, by a monitoring application, whether the first application was able to recover from the modified response to the first call; and
based on determining that the first application was not able to recover, causing the computing system to return the unmodified response to the first call to the first application.

### Claim 9

A non-transitory computer readable medium storing instructions that, when executed by one or more processors, cause a computing device to:
detect, by a testing agent and during a testing period associated with a first application, a first call in a computing system from the first application to a first Application Programming Interface (API);
modify, by the testing agent, a response to the first call, wherein the modified response simulates an artificial unhealthy operating status of the first API;
return the modified response to the first application in response to the first call; and
determine an impact of the modified response to the first call on the operating status of the first application,
wherein a second call to the first API is unaffected by modifying the response to the first call.

### Claim 10 (depends on 9)

The non-transitory computer readable medium of claim 9, wherein the modified response simulates an artificial unhealthy operating status of the first API by simulating a result with an artificially high response latency.

### Claim 11 (depends on 9)

The non-transitory computer readable medium of claim 9, wherein the modified response simulates an artificial unhealthy operating status of the first API by simulating a result with an artificially high error rate.

### Claim 12 (depends on 9)

The non-transitory computer readable medium of claim 9, wherein the modified response simulates an artificial unhealthy operating status of the first API by simulating a result with an artificially high likelihood of non-response.

### Claim 13 (depends on 9)

The non-transitory computer readable medium of claim 9, wherein the instructions cause the computing device to determine the impact of the modified response on the operating status of the first application by causing the computing device to:
determine, by a monitoring application, the operating status of the first application using one or more monitoring interfaces; and
determine that the first application has an unhealthy operating status based on at least one metric provided by a first monitoring interface associated with the first application satisfying at least one unhealthy operating status threshold.

### Claim 14 (depends on 9)

The non-transitory computer readable medium of claim 9, wherein the instructions cause the computing device to determine the impact of the modified response on the operating status of the first application by causing the computing device to:
determine that the first application was able to retrieve information associated with the first API from another source.

### Claim 15 (depends on 9)

The non-transitory computer readable medium of claim 9, wherein the instructions cause the computing device to determine the impact of the modified response on the operating status of the first application by causing the computing device to:
determine that the first application was able to partially complete processing despite not receiving the information requested from the first API.

### Claim 16 (depends on 9)

The non-transitory computer readable medium of claim 9, wherein the instructions further cause the computing device to:
cache, by the testing agent, the unmodified response to the first call;
determine, by a monitoring application, whether the first application was able to recover from the modified response to the first call; and
based on determining that the first application was not able to recover, cause the computing device to return the unmodified response to the first call to the first application.

### Claim 17

A monitoring system comprising:
one or more processors; and
memory storing instructions that, when executed by the one or more processors, cause the monitoring system to:
detect, by a testing agent and during a testing period associated with a first application, a first call in a computing system from the first application to a first Application Programming Interface (API);
modify, by the testing agent, a response to the first call, wherein the modified response simulates an artificial unhealthy operating status of the first API;
return the modified response to the first application in response to the first call; and
determine an impact of the modified response to the first call on the operating status of the first application,
wherein a second call to the first API is unaffected by modifying the response to the first call.

### Claim 18 (depends on 17)

The monitoring system of claim 17, wherein the modified response simulates an artificial unhealthy operating status of the first API by simulating a result with at least one of:
an artificially high response latency, an artificially high error rate, or an artificially high likelihood of non-response.

### Claim 19 (depends on 17)

The monitoring system of claim 17, wherein the instructions cause the monitoring system to determine the impact of the modified response on the operating status of the first application by causing the monitoring system to:
determine, by a monitoring application, the operating status of the first application using one or more monitoring interfaces; and
determine that the first application has an unhealthy operating status based on at least one metric provided by a first monitoring interface associated with the first application satisfying at least one unhealthy operating status threshold.

### Claim 20 (depends on 9)

The non-transitory computer readable medium of claim 9, wherein the instructions further cause the monitoring system to:
cache, by the testing agent, the unmodified response to the first call;
determine, by a monitoring application, whether the first application was able to recover from the modified response to the first call; and
based on determining that the first application was not able to recover, cause the monitoring system to return the unmodified response to the first call to the first application.
