COTS: Connected OpenAPI Test Synthesis for RESTful Applications
<|reference_start|>COTS: Connected OpenAPI Test Synthesis for RESTful Applications: 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 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.<|reference_end|>
@article{burlò2024cots:,
    title={COTS: Connected OpenAPI Test Synthesis for RESTful Applications},
    author={Christian Bartolo Burl`o and Adrian Francalanza and Alceste Scalas
  and Emilio Tuosto},
    journal={arXiv preprint arXiv:2404.19614},
    year={2024},
    doi={10.1007/978-3-031-62697-5_5},
    archivePrefix={arXiv},
    eprint={2404.19614},
    primaryClass={cs.SE cs.LO}
}