RESTCov: A Tool for Structural Coverage Analysis of REST APIs

📅 2026-08-28
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
本文介绍了一种名为RESTCov的工具,它通过解析OpenAPI规范和HTTP请求/响应日志来分析REST API的结构覆盖情况,解决了传统方法难以应用于分布式API的问题。
📝 Abstract
REST APIs are widely used in modern software systems, but developers and testers often lack visibility into which parts of an API specification are exercised by a test suite. Traditional coverage analysis usually relies on source-code instrumentation, which is impractical for REST APIs that are distributed, externally maintained, and hence accessible only through black-box execution. This paper presents RESTCov, a lightweight tool that computes structural REST API coverage from an OpenAPI specification and observed HTTP request/response logs, reporting coverage across paths, operations, parameters, media types, status codes, and status classes. RESTCov produces both machine-readable results and a human-readable HTML report, helping users inspect coverage gaps, diagnose specification-log mismatches, and evaluate REST API test suites without requiring access to the implementation. Screencast: https://youtu.be/mNz2P43OyUc Repository: https://github.com/2tolgahan2/RESTCov
Problem

Research questions and friction points this paper is trying to address.

REST APIs
coverage analysis
OpenAPI specification
black-box execution
Innovation

Methods, ideas, or system contributions that make the work stand out.

structural coverage
REST APIs
OpenAPI specification
black-box execution
test suite evaluation
🔎 Similar Papers
No similar papers found.
T
Tolgahan Bardakci
Computer Science, University of Antwerp and Flanders Make, Antwerp, Belgium
Serge Demeyer
Serge Demeyer
University of Antwerp
Software EngineeringSoftware EvolutionTest Automation