paper-with-me

Papers

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

2024-12-04 · Clinton Cao, Annibale Panichella, Sicco Verwer

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.

📄 PDF Abstract BibTeX arXiv:2412.03420

Code (0)

등록된 구현이 없습니다.

Tasks

Evolutionary Algorithms

Methods 이 논문이 사용한 방법론

(TravEL!!Guide)How Do I File a Claim with Expedia? How Do I File a Claim with Expedia? Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Fast Help & Exclusive Travel Discounts!Need to file a claim with…
Tanh Activation 설명 없음
+ ( 1 ) ⟷ 888 ⟷ ( 829 ) ⟷ 0881 How do I file a claim with Expedia? How do I file a claim with Expedia , call + ( 1 ) ⟷ 888 ⟷ ( 829 ) ⟷ 0881 or + ( 1 ) ⟷ 805 ⟷ ( 330 ) ⟷ 4056 and ask to speak with a manager. Explain your issue in detail and…
Focus 설명 없음

Similar Papers 제목 키워드 기반

APIRL: Deep Reinforcement Learning for REST API Fuzzing

2024-12-20 · Myles Foley, Sergio Maffeis

REST APIs have become key components of web services. However, they often contain logic flaws resulting in server side errors or security vulnerabilities. HTTP requests are used as test cases to find and mitigate such is…

Deep Reinforcement Learningreinforcement-learningReinforcement Learning

Combining TSL and LLM to Automate REST API Testing: A Comparative Study

2025-09-05 · Thiago Barradas, Aline Paes, Vânia de Oliveira Neves arxiv

The effective execution of tests for REST APIs remains a considerable challenge for development teams, driven by the inherent complexity of distributed systems, the multitude of possible scenarios, and the limited time a…

Prompt Engineering

Automating REST API Postman Test Cases Using LLM

2024-04-16 · S Deepika Sri, Mohammed Aadil S, Sanjjushri Varshini R, Raja CSP Raman 외

In the contemporary landscape of technological advancements, the automation of manual processes is crucial, compelling the demand for huge datasets to effectively train and test machines. This research paper is dedicated…

Natural Language Understanding

Improving Test Case Generation for REST APIs Through Hierarchical Clustering

2021-09-14 · Dimitri Stallenberg, Mitchell Olsthoorn, Annibale Panichella

With the ever-increasing use of web APIs in modern-day applications, it is becoming more important to test the system as a whole. In the last decade, tools and approaches have been proposed to automate the creation of sy…

ClusteringEvolutionary AlgorithmsFault Detection

A Framework for Testing and Adapting REST APIs as LLM Tools

2025-04-22 · Jayachandu Bandlamudi, Ritwik Chaudhuri, Neelamadhav Gantayat, Kushal Mukherjee 외

Large Language Models (LLMs) are enabling autonomous agents to perform complex workflows using external tools or functions, often provided via REST APIs in enterprise systems. However, directly utilizing these APIs as to…