REST API Fuzzing by Coverage Level Guided Blackbox Testing
Authors:
- 1 December 2021
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 291-300
Abstract
With the growth of web applications, REST APIs have become the primary communication method between services. In order to ensure system reliability and security, software quality can be assured by effective testing methods. Black box fuzz testing is one of the effective methods to perform tests on a large scale. However, conventional black box fuzz testing generates random data without judging the quality of the input. We implement a black box fuzz testing method for REST APIs. It resolves the issues of blind mutations without knowing the effectiveness by Test Coverage Level feedback. We also enhance the mutation strategies by reducing the testing complexity for REST APIs, generating more appropriate test cases to cover possible paths. We evaluate our method by testing two large open-source projects and 89 bugs are reported and confirmed. In addition, we find 351 bugs from 64 remote API services in APIs.guru. The work is in https://github.com/iasthc/hsuan-fuzz.Keywords
All Related Versions
Funding Information
- Ministry of Science and Technology (MOST107-2221-E-009-030-MY3,MOST-110-2218-E-A49-011-MBK)
This publication has 9 references indexed in Scilit:
- RESTTESTGEN: Automated Black-Box Testing of RESTful APIs2020
- QuickREST: Property-based Test Generation of OpenAPI-Described RESTful APIs2020
- Automated Black- and White-Box Testing of RESTful APIs With EvoMasterIEEE Software, 2020
- Test coverage criteria for RESTful web APIs2019
- RESTler: Stateful REST API Fuzzing2019
- REDQUEEN: Fuzzing with Input-to-State Correspondence2019
- RESTful API Automated Test Case Generation2017
- Pragmatic Software Testing2016
- Code Coverage of Adaptive Random TestingIEEE Transactions on Reliability, 2013