Cristin-resultat-ID: 1947594
Sist endret: 4. mars 2022, 11:15
NVI-rapporteringsår: 2021
Resultat
Vitenskapelig Kapittel/Artikkel/Konferanseartikkel
2021

Black-Box and White-Box Test Case Generation for RESTful APIs: Enemies or Allies?

Bidragsytere:
  • Alberto Martin-Lopez
  • Andrea Arcuri
  • Sergio Segura og
  • Antonio Cortes

Bok

The 32nd International Symposium on Software Reliability Engineering (ISSRE 2021)
ISBN:
  • 978-1-7281-9870-5

Utgiver

IEEE conference proceedings
NVI-nivå 1

Om resultatet

Vitenskapelig Kapittel/Artikkel/Konferanseartikkel
Publiseringsår: 2021
Antall sider: 11
ISBN:
  • 978-1-7281-9870-5

Klassifisering

Fagfelt (NPI)

Fagfelt: IKT
- Fagområde: Realfag og teknologi

Beskrivelse Beskrivelse

Tittel

Black-Box and White-Box Test Case Generation for RESTful APIs: Enemies or Allies?

Sammendrag

Automated test case generation for RESTful APIs is a thriving research topic due to their critical role in software integration. Testing approaches can be divided into black-box and white-box. Black-box approaches exploit the API specification for the generation of test cases, while white-box approaches can also leverage the source code. Both strategies have shown great promise, but they have not been fully compared yet, hindering the selection of the right tool for the job. In this paper, we report on our experience comparing black-box and white-box test case generation for RESTful APIs using the stateof-the-art tools RESTest (black-box) and EvoMaster (white-box). Also, we propose integrating both approaches by using blackbox test cases as the seed for white-box search-based test case generation. Evaluation results on four RESTful APIs involving over 40 million API calls show that there is no one-size-fits-all strategy. More importantly, the combination of black-box and white-box yielded the best results in most case studies in terms of code coverage and fault finding, paving the way for better tools integrating the best of both perspectives. As a result of our work, we provide lessons learned and open challenges for guiding the use and further development of current tool support.

Bidragsytere

Alberto Martin-Lopez

  • Tilknyttet:
    Forfatter
    ved Universidad de Sevilla

Andrea Arcuri

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

Sergio Segura

  • Tilknyttet:
    Forfatter
    ved Universidad de Sevilla

Antonio Cortes

  • Tilknyttet:
    Forfatter
    ved Universidad de Sevilla
1 - 4 av 4

Resultatet er en del av Resultatet er en del av

The 32nd International Symposium on Software Reliability Engineering (ISSRE 2021).

Mariani, Leonardo. 2021, IEEE conference proceedings. Vitenskapelig antologi/Konferanseserie
1 - 1 av 1