RESTest: Automated Black-Box Testing of RESTful Web APIs

被引:33
|
作者
Martin-Lopez, Alberto [1 ]
Segura, Sergio [1 ]
Ruiz-Cortes, Antonio [1 ]
机构
[1] Univ Seville, I3US Inst, SCORE Lab, Seville, Spain
关键词
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 条
  • [21] Black-Box Optimization for Automated Discovery
    Terayama, Kei
    Sumita, Masato
    Tamura, Ryo
    Tsuda, Koji
    ACCOUNTS OF CHEMICAL RESEARCH, 2021, 54 (06) : 1334 - 1346
  • [22] An Empirical Evaluation of Automated Black-Box Testing Techniques for Crashing GUIs
    Bertolini, Cristiano
    Peres, Glaucia
    d'Amorim, Marcelo
    Mota, Alexandre
    SECOND INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION, AND VALIDATION, PROCEEDINGS, 2009, : 21 - 30
  • [23] Bootstrapping Automated Testing for RESTful Web Services
    Chen, Yixiong
    Yang, Yang
    Lei, Zhanyao
    Xia, Mingyuan
    Qi, Zhengwei
    FUNDAMENTAL APPROACHES TO SOFTWARE ENGINEERING (FASE 2021), 2021, 12649 : 46 - 66
  • [24] Automatic Discovery of Web Services Based on Dynamic Black-Box Testing
    Park, Youngki
    Jung, Woosung
    Lee, Byungjeong
    Wu, Chisu
    2009 IEEE 33RD INTERNATIONAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE, VOLS 1 AND 2, 2009, : 107 - +
  • [25] Bootstrapping Automated Testing for RESTful Web Services
    Lei, Zhanyao
    Chen, Yixiong
    Yang, Yang
    Xia, Mingyuan
    Qi, Zhengwei
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2023, 49 (04) : 1561 - 1579
  • [26] Automated Black-Box Detection of Side-Channel Vulnerabilities in Web Applications
    Chapman, Peter
    Evans, David
    PROCEEDINGS OF THE 18TH ACM CONFERENCE ON COMPUTER & COMMUNICATIONS SECURITY (CCS 11), 2011, : 263 - 274
  • [27] The Cookie Hunter: Automated Black-box Auditing for Web Authentication and Authorization Flaws
    Drakonakis, Kostas
    Ioannidis, Sotiris
    Polakis, Jason
    CCS '20: PROCEEDINGS OF THE 2020 ACM SIGSAC CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY, 2020, : 1953 - 1970
  • [28] Tailoring of black-box testing methods
    Murnane, Tafline
    Reed, Karl
    Hall, Richard
    2006 AUSTRALIAN SOFTWARE ENGINEERING CONFERENCE, PROCEEDINGS, 2006, : 292 - +
  • [29] Information gain of black-box testing
    Yang, Linmin
    Dang, Zhe
    Fischer, Thomas R.
    FORMAL ASPECTS OF COMPUTING, 2011, 23 (04) : 513 - 539
  • [30] Black-Box Testing for Security-Informed Safety of Automated Driving Systems
    Skoglund, Martin
    Warg, Fredrik
    Hansson, Hans
    Punnekkat, Sasikumar
    2021 IEEE 93RD VEHICULAR TECHNOLOGY CONFERENCE (VTC2021-SPRING), 2021,