本研究评估了单智能体与多智能体 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.
Where Is the Cost of Third-Party API Routers in Agentic Software Development?
School of Computer Science, Shanghai Jiao Tong University(上海交通大学计算机科学学院);School of Software, Beihang University(北京航空航天大学软件学院);School of Computer Science, Peking University(北京大学计算机科学学院)
研究第三方 API 路由器在代理软件开发中的影响,通过实证研究编码代理中路由器端注入的四个干预级别,开发 SIDEL 框架评估代理,发现路由器端干预难测,客户端缓解措施未完全恢复控制,强调需提供商端输出完整性保证。
BackendForge: Benchmarking Agentic End-to-End Code Generation with Backend Services
Key Lab of HCST (PKU), MOE(北京大学计算机科学与技术国家重点实验室;软件学院,北京大学);SCS, Peking University(北京通明湖信息技术应用创新中心);Beijing Tongming Lake Information Technology Application Innovation Center (TLAIC)(复旦大学高级计算系统研究所);Fudan University Institute of Systems for Advanced Computing(上海开放计算系统研究所);Shanghai Institute of Systems for Open Computing