mlsanityData to 7 Oct 2026

RESTestBench: A Benchmark for Evaluating the Effectiveness of LLM-Generated REST API Test Cases from NL Requirements

arXiv 2604.25862 ↗First posted 28 Apr 2026cs.SE cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Existing REST API testing tools are typically evaluated using code coverage and crash-based fault metrics. However, recent LLM-based approaches increasingly generate tests from NL requirements to validate functional behaviour, making traditional metrics weak proxies for whether generated tests validate intended behaviour. To address this gap, we present RESTestBench, a benchmark comprising three REST services paired with manually verified NL requirements in both precise and vague variants, enabling controlled and reproducible evaluation of requirement-based test generation. RESTestBench further introduces a requirements-based mutation testing metric that measures the fault-detection effectiveness of a generated test case with respect to a specific requirement, extending the property-based approach of Bartocci et al. . Using RESTestBench, we evaluate two approaches across multiple state-of-the-art LLMs: (i) non-refinement-based generation, and (ii) refinement-based generation guided by interaction with the running SUT. In the refinement experiments, RESTestBench assesses how exposure to the actual implementation, valid or mutated, affects test effectiveness. Our results show that test effectiveness drops considerably when the generator interacts with faulty or mutated code, especially for vague requirements, sometimes negating the benefit of refinement and indicating that incorporating actual SUT behaviour is unnecessary when requirement detail is high.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 7 of its 37 references that are in the map. First posted on arXiv 28 Apr 2026.

Builds on

7 of 37 references.

References · 7

  1. 2024Do LLMs generate test oracles that capture the actual or the expected program behaviour?cited by 10
  2. 2024APITestGenie: Automated API Test Generation through Generative AIcited by 7
  3. 2025Requirements-Based Test Generation: A Comprehensive Surveycited by 4
  4. 2025Combining TSL and LLM to Automate REST API Testing: A Comparative Studycited by 3
  5. 2025Large Language Models for Software Testing: A Research Roadmapcited by 2
  6. 2025RESTifAI: LLM-Based Workflow for Reusable REST API Testingcited by 2
  7. 2025SAINT: Service-level Integration Test Generation with Program Analysis and LLM-based Agentscited by 1

Built on by

Not cited yet.