RESTifAI: LLM-Based Workflow for Reusable REST API Testing

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.

Paper

References (11)

072024. APITestGenie: Auto-matedAPITestGenerationthroughGenerativeAI
082024. Testing RESTful APIs: A SurveyACM Transactions on Software Engineering and Methodology
092025.LogiAgent:AutomatedLogicalTesting forRESTSystemswithLLM-BasedMulti-Agents
102025. LlamaRestTest: Effective REST API Testing with Small Language ModelsProceedings of the ACM on Software Engineering
112024. How We Build Effective Agents

Similar papers

© 2026 NYSGPT2525 LLC