arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.27417cs.SE
收藏

用于 REST API 测试增强的智能体 LLM:跨云应用的比较研究

Agentic LLMs for REST API Test Amplification: A Comparative Study Across Cloud Applications

University of Antwerp(安特卫普大学);Flanders Make(佛兰德斯制造研究所)

Jarne Besjes, Robbe Nooyens, Tolgahan Bardakci, Mutlu Beyazit, Serge Demeyer

AI总结:

本研究评估了单智能体与多智能体 LLM 配置在四个云应用中的 REST API 测试增强效果,证明其能有效提升端点与参数覆盖率并揭示缺陷,同时分析了计算成本与效率的权衡。

摘要:

表征状态转移(REST)API 是现代云原生系统的基石。确保其可靠性需要能执行多样化和边界级行为的自动化测试套件。然而,设计此类测试用例仍是一项充满挑战且耗费资源的任务。本研究扩展了先前关于基于大型语言模型(LLM)测试增强的工作,通过在四个额外的云应用上评估单智能体和多智能体配置。增强后的测试套件以最少的人工干预维持了语义有效性。结果表明,智能体 LLM 系统能有效泛化至异构 API 架构,在提高端点和参数覆盖率的同时揭示了缺陷。此外,对计算成本、运行时间和能耗的详细分析突显了准确性、可扩展性与效率之间的权衡。这些发现强调了 LLM 驱动的测试增强在推进复杂云环境中 REST API 测试自动化和可持续性方面的潜力。

英文摘要:

Representational State Transfer (REST) APIs are a cornerstone of modern cloud native systems. Ensuring their reliability demands automated test suites that exercise diverse and boundary level behaviors. Nevertheless, designing such test cases remains a challenging and resource intensive endeavor. This study extends prior work on Large Language Model (LLM) based test amplification by evaluating single agent and multi agent configurations across four additional cloud applications. The amplified test suites maintain semantic validity with minimal human intervention. The results demonstrate that agentic LLM systems can effectively generalize across heterogeneous API architectures, increasing endpoint and parameter coverage while revealing defects. Moreover, a detailed analysis of computational cost, runtime, and energy consumption highlights trade-offs between accuracy, scalability, and efficiency. These findings underscore the potential of LLM driven test amplification to advance the automation and sustainability of REST API testing in complex cloud environments.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑