IP Library › Granted Patent US 12,505,028
Granted Patent B2
US 12,505,028 · App. 18/130,970 · Granted Dec 23, 2025

Automatic generation of test scenarios from specification files

Inventors: Xeth Waxman (York, SC); Nagaraj Bhadurgatte Revanasiddappa (Austin, TX); Mamatha Pathipati (Cedar Park, TX); Billy Runyan (Austin, TX)
Assignee: LPL FINANCIAL, LLC
G06F11/3684G06F9/54
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 12,505,028
App. No.
18/130,970
Granted
Dec 23, 2025
Kind
B2
Abstract

A method, a system, and computer program product for managing an application programming interface (API). A specification file including values describing an API is received. A template of the API is retrieved based on at least one of the values. A source code of the API and a test corresponding to the source code are generated using a parameterized predefined code from the template that is modified to replace parameters based on the values of the specification file. The source code of the API is validated using the test.

Claims (36)

1 . A method comprising:

receiving a specification file comprising values describing an application programming interface (API);

retrieving, from a database, a template of the API based on at least one of the values;

generating, using the template, a source code of the API, wherein generating the source code of the API comprises generating a parameterized predefined code from the template and modifying the parameterized predefined code to replace parameters based on the values of the specification file;

generating, using the template and the source code of the API, a test corresponding to the source code, wherein the test comprises collating values extracted from the specification file with the template and comprises environment specific API calls; and

validating the source code of the API using the test by verifying an execution of each of an environment function of the source code for one or more conditions of an environment.

2 . The method of claim 1 , further comprising:

determining whether the specification file originates from a whitelisted server.

3 . The method of claim 1 , further comprising:

generating a notification indicating completion of a validation of the source code of the API.

4 . The method of claim 1 , wherein the specification file comprises a mark-up language and a standardized tagging structure to describe paths, operations, and parameters of the API.

5 . The method of claim 1 , further comprising: deploying the source code of the API to the environment.

6 . The method of claim 1 , further comprising:

verifying the database to determine whether an API matching the specification file already exists.

7 . The method of claim 1 , wherein the test comprises a model validation test code or a domain host test code.

8 . The method of claim 1 , wherein the template comprises a building frame of the API and unit test blocks of the test.

9 . The method of claim 1 , wherein retrieving the template is by a template engine that comprises an application for matching the at least one of the values with the template.

10 . A system, comprising:

at least one data processor; and

at least one memory storing instructions which, when executed by the at least one data processor, cause operations comprising:

receiving a specification file comprising values describing an application programming interface (API);

retrieving, from a database, a template of the API based on at least one of the values;

generating, using the template, a source code of the API, wherein generating the source code of the API comprises generating a parameterized predefined code from the template and modifying the parameterized predefined code to replace parameters based on the values of the specification file;

generating, using the template and the source code of the API, a test corresponding to the source code, wherein the test comprises collating values extracted from the specification file with the template and comprises environment specific API calls; and

validating the source code of the API using the test by verifying an execution of each of an environment function of the source code for one or more conditions of an environment.

11 . The system of claim 10 , wherein the specification file comprises a mark-up language and a standardized tagging structure to describe paths, operations, and parameters of the API.

12 . The system of claim 10 , wherein the test comprises a model validation test code or a domain host test code.

13 . The system of claim 10 , wherein the template comprises a building frame of the API and unit test blocks of the test.

14 . The system of claim 10 , wherein retrieving the template is by a template engine that comprises an application for matching the at least one of the values with the template.

15 . A non-transitory computer-readable storage medium comprising programming code, which when executed by at least one data processor, causes operations comprising:

receiving a specification file comprising values describing an application programming interface (API);

retrieving, from a database, a template of the API based on at least one of the values;

generating, using the template, a source code of the API, wherein generating the source code of the API comprises generating a parameterized predefined code from the template and modifying the parameterized predefined code to replace parameters based on the values of the specification file;

generating, using the template and the source code of the API, a test corresponding to the source code, wherein the test comprises collating values extracted from the specification file with the template and comprises environment specific API calls; and

validating the source code of the API using the test by verifying an execution of each of an environment function of the source code for one or more conditions of an environment.

16 . The non-transitory computer-readable storage medium of claim 15 , wherein the specification file comprises a mark-up language and a standardized tagging structure to describe paths, operations, and parameters of the API.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 15, 2025
From: WAXMAN, XETH; REVANASIDDAPPA, NAGARAJ BHADURGATTE; PATHIPATI, MAMATHA; RUNYAN, BILLY
To: LPL FINANCIAL, LLC
Reel/Frame 073212/0769 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 3, 2023
From: WAXMAN, XETH; REVANASIDDAPPA, NAGARAJ BHADURGATTE; PATHIPATI, MAMATHA; RUNYAN, BILLY
To: LPL FINANCIAL, LLC
Reel/Frame 065107/0880 →
Continuity (1)
Related Publication 20240338306A1 · Oct 10, 2024
References Cited (6)
US 10545730B2 · McCune · 2020 [cited by examiner]
US 10733088B1 · Sommers · 2020 [cited by examiner]
US 20170102925A1 · Ali · 2017 [cited by examiner]
US 20230055527A1 · Majithia · 2023 [cited by examiner]
US 20230065572A1 · Sathianarayanan · 2023 [cited by examiner]
US 20230283515A1 · Mary · 2023 [cited by examiner]