Cristin-resultat-ID: 1943584
Sist endret: 25. januar 2022, 13:04
NVI-rapporteringsår: 2021
Resultat
Vitenskapelig artikkel
2021

Enhancing Resource-Based Test Case Generation for RESTful APIs with SQL Handling

Bidragsytere:
  • Man Zhang og
  • Andrea Arcuri

Tidsskrift

Lecture Notes in Computer Science (LNCS)
ISSN 0302-9743
e-ISSN 1611-3349
NVI-nivå 1

Om resultatet

Vitenskapelig artikkel
Publiseringsår: 2021
Publisert online: 2021
Volum: 12914
Sider: 103 - 117
Open Access

Beskrivelse Beskrivelse

Tittel

Enhancing Resource-Based Test Case Generation for RESTful APIs with SQL Handling

Sammendrag

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.

Bidragsytere

Man Zhang

  • Tilknyttet:
    Forfatter
    ved School of Economics, Innovation, and Technology ved Høyskolen Kristiania

Andrea Arcuri

  • Tilknyttet:
    Forfatter
    ved Institutt for informasjonsteknologi ved OsloMet - storbyuniversitetet
  • Tilknyttet:
    Forfatter
    ved School of Economics, Innovation, and Technology ved Høyskolen Kristiania
1 - 2 av 2