ASC 2022 - API Specifications Conference has ended
September 19-21, 2022 | South San Francisco, California
View More Details  & Register Here
Back To Schedule
Tuesday, September 20 • 10:35am - 11:05am
Leveraging OpenAPI to Test Your APIs. Or How to Find Hundreds of Bugs Automatically - Alberto Martin López, University of Seville

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Feedback form is now closed.
OpenAPI and its associated tool ecosystem have made our lives easier by providing automated mechanisms for API design, documentation, mocking or even code generation, among others. But there’s more to it: an OpenAPI spec can also bootstrap automated testing of APIs. In this talk, I will review some approaches that leverage the OpenAPI Specification to automatically generate test cases, requiring little or no human intervention at all. Then, I will report on my team’s experience on the deployment of an automated testing ecosystem for OpenAPI-described RESTful APIs: over the course of 15 days non-stop, we continuously and automatically generated and executed over one million test cases for 13 popular APIs, including those from YouTube, Stripe and Yelp, among others. We detected over 200 bugs in a highly automated fashion, some of which have been confirmed by API developers, leading to bug fixes and documentation updates in the APIs of Amadeus and YouTube. I will finish my talk discussing the types of bugs that can be found by automated testing techniques, as well as the current limitations of these techniques to make them fully applicable at scale.

avatar for Alberto Martín López

Alberto Martín López

Postdoctoral researcher, Schaffhausen Institute of Technology
Alberto is a postdoctoral fellow at the Schaffhausen Institute of Technology (Switzerland) since September 2022. Before that, he did a PhD at the University of Seville (Spain), and he was a Fulbright fellow at the University of California, Berkeley. His work is focused on service-oriented... Read More →

ASC22 pdf

Tuesday September 20, 2022 10:35am - 11:05am PDT
Oyster Point
  • Experience Level Any