Automated Grey-Box Testing of Microservice Architectures

被引:3
|
作者
Giamattei, L. [1 ]
Guerriero, A. [1 ]
Pietrantuono, R. [1 ]
Russo, S. [1 ]
机构
[1] Univ Napoli Federico II, DIETI, Naples, Italy
来源
2022 IEEE 22ND INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY, QRS | 2022年
关键词
Microservices; Grey-box Testing; Functional testing;
D O I
10.1109/QRS57517.2022.00070
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Microservices Architectures (MSA) have found large adoption in companies delivering online services, often in conjunction with agile development practices. Microservices are distributed, independent and polyglot entities - all features favouring black-box testing. However, for real-scale MSA, a pure black-box strategy may not be able to exercise the system to properly cover the interactions involving internal microservices. We propose a grey-box strategy (MACROHIVE) for automated testing and monitoring of (internal) microservices interactions. It uses combinatorial testing to generate valid and invalid tests from microservices specification. Tests execution and monitoring are automated by a service mesh infrastructure. MACROHIVE runs the tests and traces the interactions among microservices, to report about internal coverage and failing behaviour. MACROHIVE is experimented on TrainTicket, an open-source MSA benchmark. It performs comparably to state-of-the-art techniques in terms of edge-level coverage, but exposes internal failures undetected by black-box testing, gives detailed internal coverage information, and requires fewer tests.
引用
收藏
页码:640 / 650
页数:11
相关论文
共 50 条
  • [1] Black-box testing of grey-box behavior
    Tyler, B
    Soundarajan, N
    FORMAL APPROACHES TO SOFTWARE TESTING, 2004, 2931 : 1 - 14
  • [2] A grey-box approach to automated mechanism design
    Niu, J.
    Cai, K.
    Parsons, S.
    Fasli, M.
    Yao, X.
    ELECTRONIC COMMERCE RESEARCH AND APPLICATIONS, 2012, 11 (01) : 24 - 35
  • [3] Grey-box Concolic Testing on Binary Code
    Choi, Jaeseung
    Jang, Joonun
    Han, Choongwoo
    Cha, Sang Kil
    2019 IEEE/ACM 41ST INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2019), 2019, : 736 - 747
  • [4] Automated functional and robustness testing of microservice architectures
    Giamattei, Luca
    Guerriero, Antonio
    Pietrantuono, Roberto
    Russo, Stefano
    JOURNAL OF SYSTEMS AND SOFTWARE, 2024, 207
  • [5] Grey-box steganography
    Liskiewicz, Maciej
    Reischuk, Ruediger
    Woelfel, Ulrich
    THEORETICAL COMPUTER SCIENCE, 2013, 505 : 27 - 41
  • [6] Grey-box checking
    Elkind, Edith
    Genest, Blaise
    Peled, Doron
    Qu, Hongyang
    FORMAL TECHNIQUES FOR NETWORKED AND DISTRIBUTED SYSTEMS - FORTE 2006, 2006, 4229 : 420 - 435
  • [7] Effective grey-box testing with partial FSM models
    Sachtleben, Robert
    Peleska, Jan
    SOFTWARE TESTING VERIFICATION & RELIABILITY, 2022, 32 (02):
  • [8] Grey-Box Modeling Architectures for Rotational Dynamic Control in Automotive Engines
    Cranmer, Adam
    Shahbakhti, Mahdi
    Hedrick, J. Karl
    2012 AMERICAN CONTROL CONFERENCE (ACC), 2012, : 1278 - 1283
  • [9] Grey-Box Steganography
    Liskiewicz, Maciej
    Reischuk, Ruediger
    Woelfel, Ulrich
    THEORY AND APPLICATIONS OF MODELS OF COMPUTATION, TAMC 2011, 2011, 6648 : 390 - 402
  • [10] Adaptive Grey-Box Fuzz-Testing with Thompson Sampling
    Karamcheti, Siddharth
    Mann, Gideon
    Rosenberg, David
    AISEC'18: PROCEEDINGS OF THE 11TH ACM WORKSHOP ON ARTIFICIAL INTELLIGENCE AND SECURITY, 2018, : 37 - 47