Sensors · 2021 · 17 citations · 9 references
ComputingComputer ScienceFormal MethodsSoftware EngineeringTest DevelopmentApplication Programming InterfacesComputer-based TestingSoftware TestingTest SpecificationWeb ApisWeb Application TestingApi TestingOpenapi SpecificationSpecification-based TestingTest Case GenerationTest CasesTest Coverage MetricsTest GenerationUser Interaction
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.
9
RESTler: Stateful REST API Fuzzing
Vaggelis Atlidakis, Patrice Godefroid, Marina Polishchuk · 2019 · 212 citations
WSDL-Based Automatic Test Case Generation for Web Services Testing
Xiaoying Bai, Wenli Dong, Wei‐Tek Tsai et al. · 2005 · 189 citations