Summary

2021

Session Number:PS1

Session:

Number:PS1-12

Design and Implementation of Automatic Generation Method for API Adapter Test Code

Sho Kanemaru,  Yukitsugu Sasaki,  Kensuke Takahashi,  Tsuyoshi Toyoshima,  

pp.45-48

Publication Date:2021/9/8

Online ISSN:2188-5079

DOI:10.34385/proc.67.PS1-12

PDF download (1.3MB)

Summary:
In the Business-to-Business-to-X (B2B2X) business model, the importance of an API orchestrator for constructing and operating services by combining multiple firstB services is increasing. In the development of RESTful API-based services, service providers are required to keep up with changes in specifications of new firstB services and existing services in a short period of time and at low cost. To do so, they need to quickly and inexpensively develop API adapters that can absorb API differences with various services. In this paper, we proposed a method for automating the test code generation while considering the API execution order, input parameter combination, test type (Normal/Semi-Normal), and state transition pattern. We implemented our method using open source software (OSS) and evaluated it from qualitative and quantitative viewpoints. The results show its effectiveness in tests with an actual software development project.