RESTful API Testing Methodologies: Rationale, Challenges, and Solution Directions

被引:21
作者
Ehsan, Adeel [1 ]
Abuhaliqa, Mohammed Ahmad M. E. [1 ]
Catal, Cagatay [1 ]
Mishra, Deepti [2 ]
机构
[1] Qatar Univ, Dept Comp Sci & Engn, Doha 2713, Qatar
[2] Norwegian Univ Sci & Technol, Dept Comp Sci, Educ Technol Lab, Software Data & Digital Ecosyst Grp, N-2815 Gjovik, Norway
来源
APPLIED SCIENCES-BASEL | 2022年 / 12卷 / 09期
关键词
auto-test case generation; cloud services; !text type='JSON']JSON[!/text] base services; micro services; RESTful APIs; testing frameworks;
D O I
10.3390/app12094369
中图分类号
O6 [化学];
学科分类号
0703 ;
摘要
Service-oriented architecture has evolved to be the backbone for large-scale integration between different applications and platforms. This concept has led to today's reality of cloud services. Many of the major business platforms are providing their services to end-users and other companies as well. Companies are crafting ways to allow other businesses fast service integration and to get on board quickly in the market. REST (representational state transfer) has emerged as the standard protocol for implementing and consuming these services, which are called RESTful application programming interfaces (APIs). As the internal details of the RESTful APIs are not completely available during consumption, thorough testing has been a major challenge. Any unprecedented change in the APIs can cause the major failure of service operations, which can cause an organization to face both financial and trust losses. Research efforts have been made to alleviate testing challenges by introducing different frameworks and auto-generating unit test approaches. However, there is still a lack of an overview of the state-of-the-art in RESTful API testing. As such, the objective of this article is to identify, analyze, and synthesize the studies that have been performed related to RESTful APIs' testing methodologies and unit test generation. With this perspective, a systematic literature review (SLR) study was conducted. In total, 16 papers were retrieved and included based on study selection criteria for in-depth analysis. This SLR discusses and categorizes different problems and solutions related to RESTful APIs' testing and unit test generation.
引用
收藏
页数:16
相关论文
共 38 条
  • [1] [Anonymous], 2007, TEST ANAL WEB SERVIC, DOI [DOI 10.1007/978-3-540-72912-9_14, 10.1007/978-3-540-72912-9_14]
  • [2] [Anonymous], 2014, P 2014 INT C GREEN C
  • [3] RESTful API Automated Test Case Generation
    Arcuri, Andrea
    [J]. 2017 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY (QRS), 2017, : 9 - 20
  • [4] RESTler: Stateful REST API Fuzzing
    Atlidakis, Vaggelis
    Godefroid, Patrice
    Polishchuk, Marina
    [J]. 2019 IEEE/ACM 41ST INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2019), 2019, : 748 - 758
  • [5] Ba K., 2007, GUIDELINES PERFORMIN, V2
  • [6] Exploiting Web service geographical neighborhood for collaborative QoS prediction
    Chen, Zhen
    Shen, Limin
    Li, Feng
    [J]. FUTURE GENERATION COMPUTER SYSTEMS-THE INTERNATIONAL JOURNAL OF ESCIENCE, 2017, 68 : 248 - 259
  • [7] OpenAPItoUML: A Tool to Generate UML Models from OpenAPI Definitions
    Ed-douibi, Hamza
    Canovas Izquierdo, Javier Luis
    Cabot, Jordi
    [J]. WEB ENGINEERING, ICWE 2018, 2018, 10845 : 487 - 491
  • [8] Automatic Generation of Test Cases for REST APIs: a Specification-Based Approach
    Ed-douibi, Hamza
    Canovas Izquierdo, Javier Luis
    Cabot, Jordi
    [J]. 2018 IEEE 22ND INTERNATIONAL ENTERPRISE DISTRIBUTED OBJECT COMPUTING CONFERENCE (EDOC 2018), 2018, : 181 - 190
  • [9] ITWS: An Extensible Tool for Interoperability Testing of Web Services
    Elia, Ivano Alessandro
    Laranjeiro, Nuno
    Vieira, Marco
    [J]. 2014 IEEE 21ST INTERNATIONAL CONFERENCE ON WEB SERVICES (ICWS 2014), 2014, : 409 - 416
  • [10] Model-driven Testing of RESTful APIs
    Fertig, Tobias
    Braun, Peter
    [J]. WWW'15 COMPANION: PROCEEDINGS OF THE 24TH INTERNATIONAL CONFERENCE ON WORLD WIDE WEB, 2015, : 1497 - 1502