2021 36th IEEE/ACM International Conference on Automated Software Engineering (ASE) 2021
DOI: 10.1109/ase51524.2021.9678586
|View full text |Cite
|
Sign up to set email alerts
|

Improving Test Case Generation for REST APIs Through Hierarchical Clustering

Abstract: With the ever-increasing use of web APIs in modernday 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 system-level test cases for these APIs using evolutionary algorithms (EAs). One of the limiting factors of EAs is that the genetic operators (crossover and mutation) are fully randomized, potentially breaking promising patterns in the sequences of API requests discovered during the search. Breakin… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

0
5
0

Year Published

2022
2022
2024
2024

Publication Types

Select...
4
4
1

Relationship

2
7

Authors

Journals

citations
Cited by 17 publications
(5 citation statements)
references
References 40 publications
0
5
0
Order By: Relevance
“…It achieves this by automating the process of test case generation using state-of-the-art metaheuristic search algorithms. As part of our future plan, we will extend the framework with linkage learning-based evolutionary algorithms [8], MOSA [5], and sFuzz [4]. Using these additional algorithms, we plant to perform a more extensive evaluation.…”
Section: Discussionmentioning
confidence: 99%
“…It achieves this by automating the process of test case generation using state-of-the-art metaheuristic search algorithms. As part of our future plan, we will extend the framework with linkage learning-based evolutionary algorithms [8], MOSA [5], and sFuzz [4]. Using these additional algorithms, we plant to perform a more extensive evaluation.…”
Section: Discussionmentioning
confidence: 99%
“…I argue that detecting and preserving patterns of HTTP requests, hereafter referred to as linkage structures, improves the effectiveness of the test case generation process. I proposed a novel approach [44], named LT-MOSA that uses Agglomerative Hierarchical Clustering (AHC) to infer these linkage structures from automatically generated test cases in the context of REST API testing. Specifically, AHC generates a Linkage Tree (LT) model from the test cases that are the closest to reach uncovered test targets (i.e., lines and branches).…”
Section: Preserving Methods Sequence Patterns In System-level Tcgmentioning
confidence: 99%
“…To evaluate the feasibility and effectiveness of this approach, I implemented this approach within EvoMaster. I performed an empirical study [44] with 7 real-world benchmark web/enterprise applications from the EvoMaster Benchmark (EMB) dataset. The study compares the proposed approach against the two state-ofthe-art algorithms for system-level test generations implemented in EvoMaster, namely Many Independent Objective (MIO) and Many Objective Search Algorithm (MOSA).…”
Section: Preserving Methods Sequence Patterns In System-level Tcgmentioning
confidence: 99%
“…Many works are available targeting different types of testing of REST APIs such as regression testing [23], model-based testing [29], specification-based testing [17], robustness testing [28], metamorphic testing [37], search-based test case improvement [40], security testing [13], and test input validation using deep learning [34]. Some studies are also conducted analyzing REST APIs testing approaches/tools in different contexts such as in [27], [30], and [11].…”
Section: Related Workmentioning
confidence: 99%