SAINT: Service-level Integration Test Generation with Program Analysis and LLM-based Agents
Not on the map. Why?
Abstract (arXiv)
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 dependency graph, capturing inter-endpoint ordering constraints. SAINT then employs LLM-based agents to generate tests. Endpoint-focused tests aim to maximize code and database interaction coverage. Scenario-based tests are synthesized by extracting application use cases from code and refining them into executable tests via planning, action, and reflection phases of the agentic loop. We evaluated SAINT on eight Java applications, including a proprietary enterprise application. Our results illustrate the effectiveness of SAINT in coverage, fault detection, and scenario generation. Moreover, a developer survey provides strong endorsement of the scenario-based tests generated by SAINT. Overall, our work shows that combining static analysis with agentic LLM workflows enables more effective, functional, and developer-aligned service-level test generation.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). First posted on arXiv 17 Nov 2025.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2026Multi-Agent LLM-based Metamorphic Testing for REST APIs
- 2025A Framework for Testing and Adapting REST APIs as LLM Tools
- 2026APITestGenie: Generating Web API Tests from Requirements and API Specifications with LLMs ↗
- 2026BackendForge: Benchmarking Agentic End-to-End Code Generation with Backend Services
- 2025Combining TSL and LLM to Automate REST API Testing: A Comparative Study
- 2025Test Amplification for REST APIs via Single and Multi-Agent LLM Systems
- 2026REST API Testing with Verified LLM-Inferred Dependencies and Response-Driven Refinement ↗
- 2026VibeCheck: Assessing the Quality of LLM-Generated Unit Tests: A Multi-agent Empirical Study across Heterogeneous Repositories