Enhancing Resource-based Test Case Generation For RESTful APIs with SQL Handling
Nowadays, many companies use RESTful web services to develop their enterprise applications. These web services typically interact with databases. In REST, resource handling is a fundamental concept, where resources are manipulated by exposing HTTP endpoints. Rd-MIO* is an evolutionary algorithm which is specialized in test generation for such kind of services, i.e., RESTful APIs, via manipulating resources in various ways using HTTP actions (e.g., GET and POST). In this paper, we further extended Rd-MIO* by employing SQL commands to manipulate the resources for test generation, directly into the databases. We implemented our novel technique as an extension of the EvoMaster tool.
To evaluate our approach, we selected Rd-MIO* as a baseline technique and conducted an empirical study with five open-source REST APIs. Results showed that our approach clearly outperforms the baseline over all of the five case studies.
Tue 12 OctDisplayed time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change
11:30 - 12:30 | |||
11:30 30mTalk | Preliminary Evaluation of SWAY in Permutation Decision Space via a Novel Euclidean Embedding Research Papers Junghyun Lee Korea Advanced Institute of Science and Technology (KAIST), Chani Jung Korea Advanced Institute of Science and Technology, Yoo Hwa Park Korea Advanced Institute of Science and Technology, Dongmin Lee Korea Advanced Institute of Science and Technology, Juyeon Yoon Korea Advanced Institute of Science and Technology, Shin Yoo KAIST Link to publication | ||
12:00 30mTalk | Enhancing Resource-based Test Case Generation For RESTful APIs with SQL Handling Research Papers Man Zhang Kristiania University College, Norway, Andrea Arcuri Kristiania University College and Oslo Metropolitan University Pre-print |