EmRest is a black-box testing tool that leverages error message analysis to enhance the generation of both valid and exceptional test inputs for REST APIs.
EmRest has been accepted at ISSTA 2025. This repository contains its implementation, benchmarks, baselines, and experiment scripts.
-
EmRest_core/: Contains the source code of EmRest. Please refer toEmRest_core/README.mdfor installation and usage instructions. -
api-suts/: Contains all real-world API systems used in the experiments. Please refer toapi-suts/README.mdfor instructions on setting up these API systems for testing. -
api-tools/: Contains state-of-the-art black-box testing tools for REST APIs, used as baselines. Please refer toapi-tools/README.mdfor details about each baseline tool. -
api-exp-scripts/: Contains scripts to run EmRest and the baseline tools on all API systems, along with scripts for collecting results and generating the figures and tables presented in the paper. Please refer toapi-exp-scripts/README.mdfor instructions on replicating the experiments and reproducing the figures and tables in our paper. -
EmRest-ISSTA2025.pdf: The preprint version of our ISSTA 2025 paper.
Please refer to api-exp-scripts/README.md for instructions on replicating the experiments and reproducing the figures and tables in our paper.