Skip to main navigation Skip to search Skip to main content

COTS: Connected OpenAPI Test Synthesis for RESTful Applications

  • Christian Bartolo Burlò
  • , Adrian Francalanza
  • , Alceste Scalas
  • , Emilio Tuosto
  • Gran Sasso Science Institute
  • University of Malta

Research output: Chapter in Book/Report/Conference proceedingArticle in proceedingsResearchpeer-review

Abstract

We present a novel model-driven approach for testing RESTful applications. We introduce a (i) domain-specific language for OpenAPI specifications and (ii) a tool to support our methodology. Our DSL, called COpenAPI, is inspired by session types and enables the modelling of communication protocols between a REST client and server. Our tool, dubbed COTS, generates (randomised) model-based test executions and reports software defects. We evaluate the effectiveness of our approach by applying it to test several open source applications. Our findings indicate that our methodology can identify nuanced defects in REST APIs and achieve comparable or superior code coverage when compared to much larger handcrafted test suites.
Original languageEnglish
Title of host publicationProceedings of the 26th International Conference on Coordination Models and Languages
Volume14676
Publication date2024
Pages75-92
ISBN (Print)978-3-031-62696-8
ISBN (Electronic)978-3-031-62697-5
DOIs
Publication statusPublished - 2024
Event26th International Conference on Coordination Models and Languages - Groningen, Netherlands
Duration: 17 Jun 202421 Jun 2024

Conference

Conference26th International Conference on Coordination Models and Languages
Country/TerritoryNetherlands
CityGroningen
Period17/06/202421/06/2024

Fingerprint

Dive into the research topics of 'COTS: Connected OpenAPI Test Synthesis for RESTful Applications'. Together they form a unique fingerprint.

Cite this