Lune

ISSTA2022顶会

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

Myeongsoo Kim, Qi Xin, Saurabh Sinha, Alessandro Orso

摘要

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 opensource 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.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 13 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Carving UI Tests to Generate API Tests and API Specification 引用了 Improving Test Case Generation for REST APIs Through Hierarchical Clustering
  • Carving UI Tests to Generate API Tests and API Specification 引用了 Combinatorial Testing of RESTful APIs
  • Carving UI Tests to Generate API Tests and API Specification 引用了 Morest: Model-based RESTful API Testing with Execution Feedback
  • Carving UI Tests to Generate API Tests and API Specification 引用了 Intelligent REST API data fuzzing
  • Adaptive REST API Testing with Reinforcement Learning 引用了 Combinatorial Testing of RESTful APIs
  • Adaptive REST API Testing with Reinforcement Learning 引用了 Enhancing REST API Testing with NLP Techniques
  • Adaptive REST API Testing with Reinforcement Learning 引用了 Morest: Model-based RESTful API Testing with Execution Feedback
  • Enhancing REST API Testing with NLP Techniques 引用了 Combinatorial Testing of RESTful APIs
  • Enhancing REST API Testing with NLP Techniques 引用了 Morest: Model-based RESTful API Testing with Execution Feedback
  • Morest: Model-based RESTful API Testing with Execution Feedback 引用了 Intelligent REST API data fuzzing
  • Generating REST API Specifications through Static Analysis 引用了 Carving UI Tests to Generate API Tests and API Specification
  • Generating REST API Specifications through Static Analysis 引用了 Adaptive REST API Testing with Reinforcement Learning
  • AGORA: Automated Generation of Test Oracles for REST APIs 引用了 Improving Test Case Generation for REST APIs Through Hierarchical Clustering
  • AGORA: Automated Generation of Test Oracles for REST APIs 引用了 Combinatorial Testing of RESTful APIs
  • AGORA: Automated Generation of Test Oracles for REST APIs 引用了 Differential regression testing for REST APIs
  • AGORA: Automated Generation of Test Oracles for REST APIs 引用了 Morest: Model-based RESTful API Testing with Execution Feedback
  • AGORA: Automated Generation of Test Oracles for REST APIs 引用了 Intelligent REST API data fuzzing
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper13

  1. Enhancing REST API Testing with NLP TechniquesMyeongsoo Kim, Davide Corradini, Saurabh Sinha, Alessandro Orso 等ISSTA 2023 · 34 次引用
  2. Adaptive REST API Testing with Reinforcement LearningMyeongsoo Kim, Saurabh Sinha, Alessandro OrsoASE 2023 · 29 次引用
  3. Carving UI Tests to Generate API Tests and API SpecificationRahulkrishna Yandrapally, Saurabh Sinha, Rachel Tzoref-Brill, Ali MesbahICSE 2023 · 21 次引用
  4. AGORA: Automated Generation of Test Oracles for REST APIsJuan C. Alonso, Sergio Segura, Antonio Ruiz-CortésISSTA 2023 · 15 次引用
  5. Generating REST API Specifications through Static AnalysisRuikai Huang, Manish Motwani, Idel Martinez, Alessandro OrsoICSE 2024 · 11 次引用

它引用的 Paper5

  1. Intelligent REST API data fuzzingPatrice Godefroid, Bo-Yuan Huang, Marina PolishchukFSE 2020 · 57 次引用
  2. Differential regression testing for REST APIsPatrice Godefroid, Daniel Lehmann, Marina PolishchukISSTA 2020 · 52 次引用
  3. Morest: Model-based RESTful API Testing with Execution FeedbackYi Liu, Yuekang Li, Gelei Deng, Yang Liu 等ICSE 2022 · 52 次引用
  4. Combinatorial Testing of RESTful APIsHuayao Wu, Lixin Xu, Xintao Niu, Changhai NieICSE 2022 · 47 次引用
  5. Improving Test Case Generation for REST APIs Through Hierarchical ClusteringDimitri Michel Stallenberg, Mitchell Olsthoorn, Annibale PanichellaASE 2021 · 32 次引用

相关 Paper

  1. Defects4REST: A Benchmark of Real-World Defects to Enable Controlled Testing and Debugging Studies for REST APIsRahil Mehta, Pushpak Katkhede, Manish MotwaniICSE 2026 · 1 次引用
  2. Online testing of RESTful APIs: promises and challengesAlberto Martin-Lopez, Sergio Segura, Antonio Ruiz-CortésFSE 2022 · 34 次引用
  3. A Multi-Agent Approach for REST API Testing with Semantic Graphs and LLM-Driven InputsMyeongsoo Kim, Tyler Stennett, Saurabh Sinha, Alessandro OrsoICSE 2025 · 4 次引用
  4. DeepREST: Automated Test Case Generation for REST APIs Exploiting Deep Reinforcement LearningDavide Corradini, Zeno Montolli, Michele Pasqua, Mariano CeccatoASE 2024 · 13 次引用
  5. Effective REST APIs Testing with Error Message AnalysisLixin Xu, Huayao Wu, Zhenyu Pan, Tongtong Xu 等ISSTA 2025 · 1 次引用
黄昏的海面,两侧是细线勾勒的悬崖