# US 2026/0228114 A1 · System and Method for Automated Test Case Generation

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

- Number: US 2026/0228114 A1
- Document ID: US20260228114A1
- Status: Published application
- Kind: A1
- Application number: 19/043,877
- Filed: 2025-02-03
- Published: 2026-08-06
- Earliest claimed: 2025-02-03
- Assignees: The Toronto-Dominion Bank
- Applicants: The Toronto-Dominion Bank
- Inventors: Shishu Pal KUMAR
- Web page: https://patentgrep.com/patent/US20260228114A1

## CPC

- G06F 11/3684: {for test design, e.g. generating new test cases}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

System and method for automated test case generation. The method includes obtaining an application programming interface (API) specification and using the API specification to generate a plurality of test requests, each test request corresponding to an API endpoint associated with an application. The method also includes generating a plurality of test scenarios based on technical parameters of the API endpoints, and utilizing the plurality of test requests and test scenarios in a process associated with the application.

## Claims

### Claim 1

A system for automated test case generation, the system comprising:
a processor;
a communication module coupled to the processor; and
a memory coupled to the processor, the memory storing computer executable instructions that when executed by the processor cause the system to:
obtain an application programming interface (API) specification;
use the API specification to generate a plurality of test requests, each test request corresponding to an API endpoint associated with an application;
generate a plurality of test scenarios based on technical parameters of the API endpoints; and
utilize the plurality of test requests and test scenarios in a process associated with the application.

### Claim 2 (depends on 1)

The system of claim 1, further comprising computer executable instructions that when executed by the processor cause the system to:
analyze the API specification to identify attributes of the API.

### Claim 3 (depends on 2)

The system of claim 2, wherein the attributes of the API comprise at least one of the following: required fields, data types, enumerations, or other constraints.

### Claim 4 (depends on 1)

The system of claim 1, further comprising computer executable instructions that when executed by the processor cause the system to:
obtain sample data included in the API specification; and
utilize the sample data to generate the plurality of test requests.

### Claim 5 (depends on 4)

The system of claim 4, wherein if sample data is unavailable, the system generates values based on a data type or a schema definition.

### Claim 6 (depends on 1)

The system of claim 1, wherein the process associated with the application corresponds to an application development process, and wherein the test requests and test scenarios verify that the API endpoints are adhering to the API specification while the application is being programmed.

### Claim 7 (depends on 6)

The system of claim 6, wherein the development process utilizes the system prior to moving to a testing phase.

### Claim 8 (depends on 1)

The system of claim 1, wherein the process associated with the application corresponds to a testing pipeline, and wherein the test requests and test scenarios verify that API changes or updates do not adversely affect existing functionality.

### Claim 9 (depends on 8)

The system of claim 8, wherein the test requests and test scenarios are executed along with test cases being applied by a testing team.

### Claim 10 (depends on 1)

The system of claim 1, wherein the process is associated with the application corresponds to a deployment process that automates API testing during the deployment process to provide responsive feedback on code stability.

### Claim 11

A method for automated test case generation, the method comprising:
obtaining an application programming interface (API) specification;
using the API specification to generate a plurality of test requests, each test request corresponding to an API endpoint associated with an application;
generating a plurality of test scenarios based on technical parameters of the API endpoints; and
utilizing the plurality of test requests and test scenarios in a process associated with the application.

### Claim 12 (depends on 11)

The method of claim 11, further comprising:
analyzing the API specification to identify attributes of the API.

### Claim 13 (depends on 12)

The method of claim 12, wherein the attributes of the API comprise at least one of the following: required fields, data types, enumerations, or other constraints.

### Claim 14 (depends on 11)

The method of claim 11, further comprising:
obtaining sample data included in the API specification; and
utilizing the sample data to generate the plurality of test requests.

### Claim 15 (depends on 14)

The method of claim 14, wherein if sample data is unavailable, the method comprises generating values based on a data type or a schema definition.

### Claim 16 (depends on 11)

The method of claim 11, wherein the process associated with the application corresponds to an application development process, and wherein the test requests and test scenarios verify that the API endpoints are adhering to the API specification while the application is being programmed.

### Claim 17 (depends on 16)

The method of claim 16, wherein the development process utilizes the system prior to moving to a testing phase.

### Claim 18 (depends on 11)

The method of claim 11, wherein the process associated with the application corresponds to a testing pipeline, and wherein the test requests and test scenarios verify that API changes or updates do not adversely affect existing functionality.

### Claim 19 (depends on 11)

The method of claim 11, wherein the process is associated with the application corresponds to a deployment process that automates API testing during the deployment process to provide responsive feedback on code stability.

### Claim 20

A non-transitory computer readable medium storing computer-executable instructions for automated test case generation, comprising computer-executable instructions that, when executed by a computing system, cause the system to:
obtain an application programming interface (API) specification;
use the API specification to generate a plurality of test requests, each test request corresponding to an API endpoint associated with an application;
generate a plurality of test scenarios based on technical parameters of the API endpoints; and
utilize the plurality of test requests and test scenarios in a process associated with the application.
