IP Library › Granted Patent US 12,079,103
Granted Patent B2
US 12,079,103 · App. 17/673,082 · Granted Sep 3, 2024

Performance test environment for APIs

Inventors: Shuva Ranjan Sen Sharma (Jamshedpur, IN); Mohammad Jibran Jibran Sofi (Srinagar, IN); Mayank Lakhera (Kotdwar, IN); Deven Patidar (Manawar, IN)
Assignee: SAP SE
G06F11/3616
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,079,103
App. No.
17/673,082
Granted
Sep 3, 2024
Kind
B2
Abstract

According to some embodiments, systems and methods are provided, comprising an Application Programming Interface (API) source; a cluster including a master node and at least one worker node; a memory storing processor-executable program code; and a processing unit to execute the processor-executable program code to cause the system to: receive, at the cluster, an API from the API source; receive, at the cluster, a customer usage value for the received API; determine a load test injection pattern for the received API based on the customer usage value; schedule execution of a load test for the received API based on the determined load test injection pattern; and execute the load test on the at least one worker node. Numerous other aspects are provided.

Claims (53)

1. A system comprising:

an Application Programming Interface (API) source;

a cluster including a master node and at least one worker node;

a memory storing processor-executable program code; and

a processing unit to execute the processor-executable program code to cause the system to:

receive, at the cluster, an API from the API source;

receive, at the cluster, a customer usage value for the received API;

determine a load test injection pattern for the received API based on the customer usage value;

schedule execution of a load test for the received API based on the determined load test injection pattern; and

execute the load test on the at least one worker node.

2. The system of claim 1 , wherein prior to determination of the load test injection pattern, it is determined the received API has not been load tested.

3. The system of claim 1 , wherein the master node includes a scheduler, an API server and a controller.

4. The system of claim 3 , wherein the scheduler is adapted to determine a number of worker nodes for the determined load test injection pattern.

5. The system of claim 1 , further comprising processor-executable program code to cause the system to:

automatically generate, at the master node, a script based on the determined load test injection pattern, the script defining a load that will be entered into the system at particular intervals of time.

6. The system of claim 5 , further comprising processor-executable program code to cause the system to:

transmit the generated script to the at least one worker node.

7. The system of claim 1 , further comprising processor-executable program code to cause the system to:

generate a log for each completed execution of the load test at the worker node; and

aggregate the logs into a report after execution of the load test is completed at all of the worker nodes.

8. The system of claim 7 , wherein the log includes data input to the API for execution of the API and one or more performance statistics of the executed API.

9. The system of claim 1 , wherein the determined load test injection pattern is based on a pattern map.

10. A computer-implemented method comprising:

receiving, at a master node, an API from an API source;

receiving, at the master node, a customer usage value for the received API;

determining a load test injection pattern for the received API based on the customer usage value;

scheduling execution of a load test for the received API based on the determined load test injection pattern; and

executing the load test on at least one worker node.

11. The computer-implemented method of claim 10 , wherein the master node includes a scheduler, an API server and a controller.

12. The computer-implemented method of claim 11 , further comprising:

determining, via the scheduler, a number of worker nodes for the determined load test injection pattern.

13. The computer-implemented method of claim 10 , further comprising:

automatically generating, at the master node, a script based on the determined load test injection pattern, the script defining a load that will be entered at particular intervals of time.

14. The computer-implemented method of claim 13 , further comprising:

transmitting the generated script to the at least one worker node.

15. The computer-implemented method of claim 10 , further comprising:

generating a log for each completed execution of the load test at the worker node; and

aggregating the logs into a report after execution of the load test is completed at all of the worker nodes.

16. The computer-implemented method of claim 15 , wherein the log includes data input to the API for execution of the API and one or more performance statistics of the executed API.

17. A non-transitory, computer readable medium having executable instructions stored therein to perform a method, the method comprising:

receiving, at a master node, an API from an API source;

receiving, at the master node, a customer usage value for the received API;

determining a load test injection pattern for the received API based on the customer usage value;

scheduling execution of a load test for the received API based on the determined load test injection pattern; and

executing the load test on at least one worker node.

18. The non-transitory, computer readable medium of claim 17 , the method further comprising:

determining a number of worker nodes for the determined load test injection pattern.

19. The non-transitory, computer readable medium of claim 17 , the method further comprising:

automatically generating, at the master node, a script based on the determined load test injection pattern, the script defining a load that will be entered at particular intervals of time; and

transmitting the generated script to the at least one worker node.

20. The non-transitory, computer readable medium of claim 17 , the method further comprising:

generating a log for each completed execution of the load test at the worker node; and

aggregating the logs into a report after execution of the load test is completed at all of the worker nodes.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 16, 2022
From: SHARMA, SHUVA RANJAN SEN; SOFI, MOHAMMAD JIBRAN; LAKHERA, MAYANK; PATIDAR, DEVEN
To: SAP SE
Reel/Frame 059026/0544 →
Continuity (1)
Related Publication 20230259446A1 · Aug 17, 2023