RESTest: Automated Black-Box Testing of RESTful Web APIs

被引:34
|
作者
Martin-Lopez, Alberto [1 ]
Segura, Sergio [1 ]
Ruiz-Cortes, Antonio [1 ]
机构
[1] Univ Seville, I3US Inst, SCORE Lab, Seville, Spain
来源
ISSTA '21: PROCEEDINGS OF THE 30TH ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS | 2021年
关键词
REST; black-box testing; web APIs;
D O I
10.1145/3460319.3469082
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Testing RESTful APIs thoroughly is critical due to their key role in software integration. Existing tools for the automated generation of test cases in this domain have shown great promise, but their applicability is limited as they mostly rely on random inputs, i.e., fuzzing. In this paper, we present RESTest, an open source blackbox testing framework for RESTful web APIs. Based on the API specification, RESTest supports the generation of test cases using different testing techniques such as fuzzing and constraint-based testing, among others. RESTest is developed as a framework and can be easily extended with new test case generators and test writers for different programming languages. We evaluate the tool in two scenarios: offline and online testing. In the former, we show how RESTest can efficiently generate realistic test cases (test inputs and test oracles) that uncover bugs in real-world APIs. In the latter, we show RESTest's capabilities as a continuous testing and monitoring framework. Demo video: https://youtu.be/1f_tjdkaCKo.
引用
收藏
页码:682 / 685
页数:4
相关论文
共 50 条
  • [41] A TEST CASE GENERATION METHOD FOR BLACK-BOX TESTING OF CONCURRENT PROGRAMS
    ARAKAWA, N
    SONEOKA, T
    IEICE TRANSACTIONS ON COMMUNICATIONS, 1992, E75B (10) : 1081 - 1089
  • [42] An algorithm for detecting SQL injection vulnerability using black-box testing
    Muhammad Saidu Aliero
    Imran Ghani
    Kashif Naseer Qureshi
    Mohd Fo’ad Rohani
    Journal of Ambient Intelligence and Humanized Computing, 2020, 11 : 249 - 266
  • [43] Black-Box Testing of Practical Movie Recommendation Systems: a Comparative Study
    Lee, Namhee
    Jung, Jason J.
    Selamat, Ali
    Hwang, Dosam
    COMPUTER SCIENCE AND INFORMATION SYSTEMS, 2014, 11 (01) : 241 - 249
  • [44] Equivalence, identity, and unitarity checking in black-box testing of quantum programs
    Long, Peixun
    Zhao, Jianjun
    JOURNAL OF SYSTEMS AND SOFTWARE, 2024, 211
  • [45] Controlled Experiments Comparing Black-box Testing Strategies for Software Product Lines
    Accioly, Paola
    Borba, Paulo
    Bonifacio, Rodrigo
    JOURNAL OF UNIVERSAL COMPUTER SCIENCE, 2014, 20 (05) : 615 - 639
  • [46] Multi-Objective Black-Box Test Case Selection for System Testing
    Lachmann, Remo
    Felderer, Michael
    Nieke, Manuel
    Schulze, Sandro
    Seidl, Christoph
    Schaefer, Ina
    PROCEEDINGS OF THE 2017 GENETIC AND EVOLUTIONARY COMPUTATION CONFERENCE (GECCO'17), 2017, : 1311 - 1318
  • [47] Software Black-box Testing Tool for Railway Signaling System by Real Interface
    Hwang, Jong-Gyu
    Baek, Jong-Hyun
    Jo, Hyun-Jeong
    Lee, Kang-Mi
    2013 13TH INTERNATIONAL CONFERENCE ON CONTROL, AUTOMATION AND SYSTEMS (ICCAS 2013), 2013, : 508 - 511
  • [48] Black-Box for Blockchain Parameters Adjustment
    Amelin, Vladislav
    Gatiyatullin, Ernest
    Romanov, Nikita
    Samarkhanov, Ratmir
    Vasilyev, Robert
    Yanovich, Yury
    IEEE ACCESS, 2022, 10 : 101795 - 101802
  • [49] An Black-Box Testing Approach on User Modeling in Practical Movie Recommendation Systems
    Xuan Hau Pham
    Tu Ngoc Luong
    Jung, Jason J.
    COMPUTATIONAL COLLECTIVE INTELLIGENCE: TECHNOLOGIES AND APPLICATIONS, 2013, 8083 : 72 - 79
  • [50] Experience with teaching black-box testing in a computer science/software engineering curriculum
    Chen, TY
    Poon, PL
    IEEE TRANSACTIONS ON EDUCATION, 2004, 47 (01) : 42 - 50