Automated Specification-Based Testing Of Rest Apis

Ovidiu Baniaș, Diana Florea, Robert Gyalai,Daniel-Ioan Curiac

SENSORS(2021)

引用 6|浏览1
暂无评分
摘要
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.
更多
查看译文
关键词
software testing, specification-based testing, automatic test case generation, REST API, OpenAPI 3, x
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要