Invention Grant
- Patent Title: System and method for performing automated API tests
-
Application No.: US16583110Application Date: 2019-09-25
-
Publication No.: US11379348B2Publication Date: 2022-07-05
- Inventor: Ramanathan Sathianarayanan , Krishna Bharath Kashyap
- Applicant: ProKarma Inc.
- Applicant Address: US NE Omaha
- Assignee: ProKarma Inc.
- Current Assignee: ProKarma Inc.
- Current Assignee Address: US NE Omaha
- Agency: Morgan, Lewis & Bockius LLP
- Main IPC: G06F11/36
- IPC: G06F11/36 ; G06F16/955 ; G06F9/54

Abstract:
A framework and a method for ad-hoc batch testing of APIs are provided, where batches of API calls are dynamically generated directly through the framework according inputs identifying the required tests and the sources of the test data, rather than through execution of prewritten test scripts that explicitly write out the test API calls in preset sequences. When performing the validation for an API test, a test payload is generated for the test, an endpoint is called using the test payload to obtain the response used for validation, where generating the test payload includes determining an API reference corresponding to the test, obtaining relevant data from the test data according to a reference key in the test, generating input assignment operations for one or more input parameters in the API reference according to the relevant data, and generating an API call based on the API reference.
Information query