RESTifAI: LLM-Based Workflow for Reusable REST API Testing
By: Leon Kogler , Maximilian Ehrhart , Benedikt Dornauer and more
With this paper, we introduce RESTifAI, an LLM-driven approach for generating reusable, CI/CD ready REST API tests, following the happy-path approach. Unlike existing tools that often focus primarily on internal server errors, RESTifAI systematically constructs valid test scenarios (happy paths) and derives negative cases to verify both intended functionality (2xx responses) and robustness against invalid inputs or business-rule violations (4xx responses). The results indicate that RESTifAI performs on par with the latest LLM tools, i.e., AutoRestTest and LogiAgent, while addressing limitations related to reusability, oracle complexity, and integration. To support this, we provide common comparative results and demonstrate the tool's applicability in industrial services. For tool demonstration, please refer to https://www.youtube.com/watch?v=2vtQo0T0Lo4. RESTifAI is publicly available at https://github.com/casablancahotelsoftware/RESTifAI.
Similar Papers
Agentic LLMs for REST API Test Amplification: A Comparative Study Across Cloud Applications
Software Engineering
AI writes tests to find bugs in online services.
Combining TSL and LLM to Automate REST API Testing: A Comparative Study
Software Engineering
Tests computer programs automatically from their blueprints.
A Framework for Testing and Adapting REST APIs as LLM Tools
Software Engineering
Helps smart computer programs use company tools.