An Exploratory Study on Faults in Web API Integration in a Large-Scale Payment Company
Service-oriented architectures are more popular than ever, and increasingly companies and organizations depend on services offered through Web APIs. The capabilities and complexity of Web APIs differ from service to service, and therefore the impact of API errors varies. API problem cases related to Adyen’s payment service were found to have direct considerable impact on API consumer applications. With more than 60,000 daily API errors, the potential impact is enormous. In an effort to reduce the impact of API related problems, we analyze 2.43 million API error responses to identify the underlying faults. We quantify the occurrence of faults in terms of the frequency and impacted API consumers. We also challenge our quantitative results by means of a survey with 40 API consumers.
Our results show that
- faults in API integration can be grouped into 11 general causes: invalid user input, missing user input, expired request data, invalid request data, missing request data, insufficient permissions, double processing, configuration, missing server data, internal and third party,
- most faults can be attributed to the invalid or missing request data, and most API consumers seem to be impacted by faults caused by invalid request data and third party integration; and
- insufficient guidance on certain aspects of the integration and on how to recover from errors is an important challenge to developers.
Thu 31 May
|14:00 - 14:20|
|14:20 - 14:40|
|14:40 - 15:00|
Joop Aué, Maurício AnicheDelft University of Technology, Netherlands, Maikel Lobbezoo, Arie van DeursenDelft University of TechnologyDOI Pre-print
|15:00 - 15:20|
Rob van der Valk, Patrizio PelliccioneUniversity of Gothenburg & Chalmers University of Technology, Patricia LagoVrije Universiteit Amsterdam, Rogardt Heldal, Eric KnaussChalmers University of Technology and University of Gothenbrug, Jacob JuulPre-print Media Attached
|15:20 - 15:30|