LlamaRestTest: Effective REST API Testing with Small Language Models
Published in Proceedings of the ACM on Software Engineering, Volume 2, FSE, 2025
This paper presents LlamaRestTest, a novel REST API testing approach that employs two custom fine-tuned small language models (Llama3-8B) to generate realistic test inputs and uncover inter-parameter dependencies during testing by analyzing server responses. The approach demonstrates that fine-tuning enables smaller models to outperform much larger models in REST API testing, balancing effectiveness and efficiency.
Recommended citation: Myeongsoo Kim, Saurabh Sinha, and Alessandro Orso. 2025. LlamaRestTest: Effective REST API Testing with Small Language Models. Proc. ACM Softw. Eng. 2, FSE, Article FSE022 (July 2025), 24 pages. https://doi.org/10.1145/3715737
Download Paper
