SAINT: Service-level Integration Test Generation with Program Analysis and LLM-based Agents
Rangeet Pan, Raju Pavuluri, Ruikai Huang, Rahul Krishna, Tyler Stennett, Alessandro Orso, Saurabh SInha

TL;DR
SAINT is a novel white-box testing approach that combines static analysis, large language models, and agent-based workflows to automatically generate effective service-level tests for enterprise Java applications, improving coverage and fault detection.
Contribution
SAINT introduces a new method integrating static analysis and LLM-based agents for automated, scenario-based service-level test generation in enterprise Java applications.
Findings
SAINT achieves higher code and database interaction coverage.
SAINT detects faults more effectively than existing tools.
Developers endorse scenario-based tests generated by SAINT.
Abstract
Enterprise applications are typically tested at multiple levels, with service-level testing playing an important role in validating application functionality. Existing service-level testing tools, especially for RESTful APIs, often employ fuzzing and/or depend on OpenAPI specifications which are not readily available in real-world enterprise codebases. Moreover, these tools are limited in their ability to generate functional tests that effectively exercise meaningful scenarios. In this work, we present SAINT, a novel white-box testing approach for service-level testing of enterprise Java applications. SAINT combines static analysis, large language models (LLMs), and LLM-based agents to automatically generate endpoint and scenario-based tests. The approach builds two key models: an endpoint model, capturing syntactic and semantic information about service endpoints, and an operation…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Testing and Debugging Techniques · Software System Performance and Reliability · Model-Driven Software Engineering Techniques
