US 11,914,505 B2
API adapter test system, API adapter test assistance device, API adapter test assistance method, and API adapter test assistance program
Sho Kanemaru, Tokyo (JP); Kensuke Takahashi, Tokyo (JP); Tomoki Ikegaya, Tokyo (JP); and Satoshi Kondo, Tokyo (JP)
Assigned to Nippon Telegraph and Telephone Corporation, Tokyo (JP)
Appl. No. 17/433,303
Filed by Nippon Telegraph and Telephone Corporation, Tokyo (JP)
PCT Filed Feb. 13, 2020, PCT No. PCT/JP2020/005619
§ 371(c)(1), (2) Date Aug. 24, 2021,
PCT Pub. No. WO2020/175161, PCT Pub. Date Sep. 3, 2020.
Claims priority of application No. 2019-033972 (JP), filed on Feb. 27, 2019.
Prior Publication US 2022/0138091 A1, May 5, 2022
Int. Cl. G06F 11/00 (2006.01); G06F 11/36 (2006.01)
CPC G06F 11/3688 (2013.01) [G06F 11/3684 (2013.01); G06F 11/3692 (2013.01)] 4 Claims
OG exemplary drawing
 
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.