Patent ID: 11914505
Assignee: NIPPON TELEGRAPH AND TELEPHONE CORPORATION
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. An API adapter test system including: an API adapter test assistance device for assisting a health determination test of an API adapter for an API of a predetermined service; a developer terminal connected to the API adapter test assistance device; and a service API simulation device connected to the API adapter test assistance device and the API adapter test assistance device, wherein the developer terminal includes: a data transmission unit, including one or more processors, configured to transmit first specification data that defines Northbound-API (NB-API) specifications, second specification data that defines service API specifications, test parameters used for the health determination test, and service simulation data for generating response data for a second API request after a first API request which is an input signal to the API adapter is converted by the API adapter to the API adapter test assistance device; and a test result information acquisition unit, including one or more processors, configured to acquire test result information transmitted from the API adapter test assistance device when data is transmitted from the data transmission unit, the service API simulation device includes: a service API simulation function execution unit, including one or more processors, configured to transmit a second API response that is a response to the second API request in order to perform the health determination test of the API adapter, and the API adapter test assistance device includes: a service API simulation function deployment unit, including one or more processors, configured to generate a stub for the second API request using the second specification data transmitted from the developer terminal and the service simulation data and transmits the stub for deployment in the service API simulation function execution unit of the service API simulation device; a test scenario creation unit, including one or more processors, configured to generate a query pattern to be included in the first API request used for the health determination test on the basis of the first specification data transmitted from the developer terminal and the test parameters and generates a test scenario indicating an expected response content using the service simulation data for each query pattern; a test scenario execution unit, including one or more processors, configured to execute the generated test scenario; and a test result information generation unit, including one or more processors, configured to receive a first API response in which the second API response is converted by the API adapter and determines the health on the basis of whether an expected response is obtained for each query pattern.