Automated specification-based testing of REST APIs

12Citations
Citations of this article
74Readers
Mendeley users who have this article in their library.

Abstract

Nowadays, REpresentational State Transfer Application Programming Interfaces (REST APIs) are widely used in web applications, hence a plethora of test cases are developed to validate the APIs calls. We propose a solution that automates the generation of test cases for REST APIs based on their specifications. In our approach, apart from the automatic generation of test cases, we provide an option for the user to influence the test case generation process. By adding user interaction, we aim to augment the automatic generation of APIs test cases with human testing expertise and specific context. We use the latest version of OpenAPI 3.x and a wide range of coverage metrics to analyze the functionality and performance of the generated test cases, and non-functional metrics to analyze the performance of the APIs. The experiments proved the effectiveness and practicability of our method.

Cite

CITATION STYLE

APA

Baniaș, O., Florea, D., Gyalai, R., & Curiac, D. I. (2021). Automated specification-based testing of REST APIs. Sensors, 21(16). https://doi.org/10.3390/s21165375

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free