paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Automated test generation for REST APIs: no time to rest yet

REST API 的自动化测试生成:尚不能休息
ISSTA Proceedings of the 31st ACM SIGSOFT International Symposium on Software Testing and Analysis2022匹配度 2/10 · 该论文研究REST API自动化测试工具的经验性比较,属于软件测试/经验软件工程方向,与用户关注的静态分析、LLM/Agent与程序分析交叉、浮点程序分析及贝叶斯程序分析均无直接关系。虽然其benchmark与工具对比方法有一定参考价值,但研究对象和技术路线与画像核心不匹配。引用 78 inbox
Myeongsoo Kim, Qi Xin, Saurabh Sinha, Alessandro Orso
crossref: 2026-09-12

AI 速览

一句话:对10个最先进的REST API测试工具在20个真实服务上进行实证比较,揭示其优劣与底层策略局限。

现代Web服务普遍以REST API对外提供功能,这为自动化测试带来了独特挑战与机遇,近年涌现出多种面向API端点的测试用例生成技术与工具。然而,这些技术往往在不同基准和不同度量下评估,难以横向比较。为填补这一空白,本文开展了一项实证研究:首先通过系统化筛选流程,选出10个来自学术界与工业界的最先进REST API测试工具;随后将这些工具应用于包含20个真实开源RESTful服务的基准上,并从代码覆盖率和触发的唯一失败数两个维度分析其性能。该分析揭示了各工具及其底层策略的优势、劣势与局限,并为该领域的未来研究指明了方向。

问题
REST API自动化测试工具众多,但评估基准与度量不统一,导致难以理解不同技术之间的相对优劣。
方法
系统筛选10个学界与业界的先进REST API测试工具,在20个真实开源RESTful服务组成的基准上运行,比较代码覆盖率与触发的唯一失败数。
评估
通过代码覆盖率和唯一失败触发数两项指标对工具进行实证对比,归纳各工具及底层策略的优缺点与局限,并讨论对未来研究的启示。
原文摘要(Abstract)

Modern web services routinely provide REST APIs for clients to access their functionality. These APIs present unique challenges and opportunities for automated testing, driving the recent development of many techniques and tools that generate test cases for API endpoints using various strategies. Understanding how these techniques compare to one another is difficult, as they have been evaluated on different benchmarks and using different metrics. To fill this gap, we performed an empirical study aimed to understand the landscape in automated testing of REST APIs and guide future research in this area. We first identified, through a systematic selection process, a set of 10 state-of-the-art REST API testing tools that included tools developed by both researchers and practitioners. We then applied these tools to a benchmark of 20 real-world open-source RESTful services and analyzed their performance in terms of code coverage achieved and unique failures triggered. This analysis allowed us to identify strengths, weaknesses, and limitations of the tools considered and of their underlying strategies, as well as implications of our findings for future research in this area.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot7413,
  title = {Automated test generation for REST APIs: no time to rest yet},
  author = {Myeongsoo Kim and Qi Xin and Saurabh Sinha and Alessandro Orso},
  booktitle = {ISSTA},
  year = {2022},
  doi = {10.1145/3533767.3534401}
}