跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 软件工程

arXiv:2412.03420 (cs)
[提交于 2025年1月30日 (v1),最后修订于 2025年1月30日 (此版本, v2)]

标题:Automated Test-Case Generation for REST APIs Using Model Inference Search Heuristic

作者:Clinton Cao, Annibale Panichella, Sicco Verwer
查看论文《Automated Test-Case Generation for REST APIs Using Model Inference Search Heuristic》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:The rising popularity of the microservice architectural style has led to a growing demand for automated testing approaches tailored to these systems. EvoMaster is a state-of-the-art tool that uses Evolutionary Algorithms (EAs) to automatically generate test cases for microservices' REST APIs. One limitation of these EAs is the use of unit-level search heuristics, such as branch distances, which focus on fine-grained code coverage and may not effectively capture the complex, interconnected behaviors characteristic of system-level testing. To address this limitation, we propose a new search heuristic (MISH) that uses real-time automaton learning to guide the test case generation process. We capture the sequential call patterns exhibited by a test case by learning an automaton from the stream of log events outputted by different microservices within the same system. Therefore, MISH learns a representation of the systemwide behavior, allowing us to define the fitness of a test case based on the path it traverses within the inferred automaton. We empirically evaluate MISH's effectiveness on six real-world benchmark microservice applications and compare it against a state-of-the-art technique, MOSA, for testing REST APIs. Our evaluation shows promising results for using MISH to guide the automated test case generation within EvoMaster.
评论: 12 pages
主题: 软件工程 (cs.SE); 人工智能 (cs.AI)
引用方式: arXiv:2412.03420 [cs.SE]
  (或者 arXiv:2412.03420v2 [cs.SE] 对于此版本)
  https://doi.org/10.48550/arXiv.2412.03420

提交历史

来自:Clinton Cao
[v2] 2025年1月30日 星期四 12:35:06 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.AI
< 上一篇   |   下一篇 >
最新 | 近期 | 2025-01
切换浏览方式为:
cs
cs.SE

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站