Multi-Agent LLM-based Metamorphic Testing for REST APIs
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
As REST APIs become an increasingly significant part of software systems, their validation is becoming more critical. Hence, testing and uncovering underlying issues are of utmost importance for improving software quality. However, testing REST APIs is challenging mainly due to the difficulty of assessing whether the output of an API call is correct, i.e., the test oracle problem. Metamorphic testing is a specification-based testing approach for situations where correct outputs are unknown or not specified explicitly. To check the correctness of a system, relations between the different outputs are specified. We present ARMeta, a tool-supported approach that uses an LLM-based multi-agent workflow to support metamorphic testing of REST APIs documented with OpenAPI. The agentic workflow is used to identify metamorphic test scenarios and specify them in the Given-When-Then format. These scenarios are automatically implemented as executable tests and executed against the system under test. We evaluate ARMeta on two publicly available web applications that expose REST interfaces and compare its performance with a scenario-based testing baseline. The results show that ARMeta explores behaviors that serve as a complement to existing scenario-based testing approaches.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 10 of its 34 references that are in the map. First posted on arXiv 27 May 2026.
Builds on
10 of 34 references.
Closest ancestors · 1
Same direction, newest first
Other references · 9
- 2024Non-Determinism of "Deterministic" LLM Settingscited by 84
- 2020Metamorphic Testing: A New Approach for Generating Next Test Casescited by 71
- 2022Automated Test Generation for REST APIs: No Time to Rest Yetcited by 13
- 2022Testing RESTful APIs: A Surveycited by 11
- 2024Towards Generating Executable Metamorphic Relations Using Large Language Modelscited by 7
- 2023Can ChatGPT advance software testing intelligence? An experience report on metamorphic testingcited by 6
- 2021Deriving Semantics-Aware Fuzzers from Web API Schemascited by 3
- 2025AutoMT: A Multi-Agent LLM Framework for Automated Metamorphic Testing of Autonomous Driving Systemscited by 2
- 2025RESTifAI: LLM-Based Workflow for Reusable REST API Testingcited by 2
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Test Amplification for REST APIs via Single and Multi-Agent LLM Systems
- 2025Combining TSL and LLM to Automate REST API Testing: A Comparative Study
- 2025A Framework for Testing and Adapting REST APIs as LLM Tools
- 2026REST API Testing with Verified LLM-Inferred Dependencies and Response-Driven Refinement ↗
- 2024A Multi-Agent Approach for REST API Testing with Semantic Graphs and LLM-Driven Inputs
- 2025Agentic LLMs for REST API Test Amplification: A Comparative Study Across Cloud Applications
- 2025MASTEST: A LLM-Based Multi-Agent System For RESTful API Tests
- 2025From REST to MCP: An Empirical Study of API Wrapping and Automated Server Generation for LLM Agents