Pith. sign in

REVIEW 3 cited by

A Multi-Agent Approach for REST API Testing with Semantic Graphs and LLM-Driven Inputs

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2411.07098 v2 pith:KO7PWKTJ submitted 2024-11-11 cs.SE cs.AI

A Multi-Agent Approach for REST API Testing with Semantic Graphs and LLM-Driven Inputs

classification cs.SE cs.AI
keywords resttestingautoresttestagentsapproachblack-boxcoveragellms
verification ladder T0 review T1 audit T2 compute T3 formal T4 reserved
0 comments
read the original abstract

As modern web services increasingly rely on REST APIs, their thorough testing has become crucial. Furthermore, the advent of REST API documentation languages, such as the OpenAPI Specification, has led to the emergence of many black-box REST API testing tools. However, these tools often focus on individual test elements in isolation (e.g., APIs, parameters, values), resulting in lower coverage and less effectiveness in fault detection. To address these limitations, we present AutoRestTest, the first black-box tool to adopt a dependency-embedded multi-agent approach for REST API testing that integrates multi-agent reinforcement learning (MARL) with a semantic property dependency graph (SPDG) and Large Language Models (LLMs). Our approach treats REST API testing as a separable problem, where four agents -- API, dependency, parameter, and value agents -- collaborate to optimize API exploration. LLMs handle domain-specific value generation, the SPDG model simplifies the search space for dependencies using a similarity score between API operations, and MARL dynamically optimizes the agents' behavior. Our evaluation of AutoRestTest on 12 real-world REST services shows that it outperforms the four leading black-box REST API testing tools, including those assisted by RESTGPT (which generates realistic test inputs using LLMs), in terms of code coverage, operation coverage, and fault detection. Notably, AutoRestTest is the only tool able to trigger an internal server error in the Spotify service. Our ablation study illustrates that each component of AutoRestTest -- the SPDG, the LLM, and the agent-learning mechanism -- contributes to its overall effectiveness.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 3 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. MASTOR: A Multi-Agent Approach to Semantic Test Oracle Generation for RESTful APIs

    cs.SE 2026-06 unverdicted novelty 7.0

    MASTOR is a multi-agent system that generates semantic test oracles from REST API source code via source extraction and dual oracle-generation paths with challenger review, achieving 75.4% average mutation score on 13...

  2. From REST to MCP: An Empirical Study of API Wrapping and Automated Server Generation for LLM Agents

    cs.SE 2025-07 unverdicted novelty 7.0

    First large-scale empirical analysis of MCP server construction shows predominant REST wrapping with low operation exposure, plus an AutoMCP pipeline that improves automated generation success and reduces tool complexity.

  3. AutoRestTest at the SBFT 2026 Tool Competition

    cs.SE 2026-07 unverdicted novelty 4.0

    AutoRestTest ranked first in fault detection, efficiency, and effectiveness in the SBFT 2026 REST League on 11 APIs with 317 operations under a one-hour budget.