RESTifAI: LLM-Based Workflow for Reusable REST API Testing

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Kogler, Leon, Ehrhart, Maximilian, Dornauer, Benedikt, Enoiu, Eduard Paul
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866914190123335680
author Kogler, Leon
Ehrhart, Maximilian
Dornauer, Benedikt
Enoiu, Eduard Paul
author_facet Kogler, Leon
Ehrhart, Maximilian
Dornauer, Benedikt
Enoiu, Eduard Paul
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2512_08706
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle RESTifAI: LLM-Based Workflow for Reusable REST API Testing
Kogler, Leon
Ehrhart, Maximilian
Dornauer, Benedikt
Enoiu, Eduard Paul
Software Engineering
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.
title RESTifAI: LLM-Based Workflow for Reusable REST API Testing
topic Software Engineering
url https://arxiv.org/abs/2512.08706