Automated Grey-Box Testing of Microservice Architectures

被引:5
作者
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 条
[21]   A method for monitoring the coupling evolution of microservice-based architectures [J].
Apolinário D.R.F. ;
de França B.B.N. .
Journal of the Brazilian Computer Society, 2021, 27 (01)
[22]   Implementation of Microservice Architectures on SEMAR Extension For Air Quality Monitoring [J].
Panduman, Yohanes Yohanie Fridelin ;
Albaab, Mochamad Rifki Ulil ;
Besari, Adnan Rachmat Anom ;
Sukaridhoto, Sritrusta ;
Tjahjono, Anang .
2018 INTERNATIONAL ELECTRONICS SYMPOSIUM ON KNOWLEDGE CREATION AND INTELLIGENT COMPUTING (IES-KCIC), 2018, :218-224
[23]   Evaluation of Microservice Architectures: A Metric and Tool-Based Approach [J].
Engel, Thomas ;
Langermeier, Melanie ;
Bauer, Bernhard ;
Hofmann, Alexander .
INFORMATION SYSTEMS IN THE BIG DATA ERA, 2018, 317 :74-89
[24]   A grey box testing method for availability simulation software based on event tree model [J].
Song, Changhao ;
Guo, Linhan ;
Wang, Naichao ;
Ma, Lin .
PROCEEDINGS OF 2014 PROGNOSTICS AND SYSTEM HEALTH MANAGEMENT CONFERENCE (PHM-2014 HUNAN), 2014, :368-372
[25]   The Ontology-Based Mapping of Microservice Identification Approaches: A Systematic Study of Migration Strategies from Monolithic to Microservice Architectures [J].
Oumoussa, Idris ;
Saidi, Rajaa .
COMPUTERS, 2025, 14 (04)
[26]   Towards Migrating Legacy Software Systems to Microservice-based Architectures: a Data-Centric Process for Microservice Identification [J].
Romani, Yamina ;
Tibermacine, Okba ;
Tibermacine, Chouki .
2022 IEEE 19TH INTERNATIONAL CONFERENCE ON SOFTWARE ARCHITECTURE COMPANION (ICSA-C 2022), 2022, :15-19
[27]   Theodolite: Scalability Benchmarking of Distributed Stream Processing Engines in Microservice Architectures [J].
Henning, Soeren ;
Hasselbring, Wilhelm .
BIG DATA RESEARCH, 2021, 25
[28]   The μTOSCA toolchain: Mining, analyzing, and refactoring microservice-based architectures [J].
Soldani, Jacopo ;
Muntoni, Giuseppe ;
Neri, Davide ;
Brogi, Antonio .
SOFTWARE-PRACTICE & EXPERIENCE, 2021, 51 (07) :1591-1621
[29]   Construing Microservice Architectures: State-of-the-Art Algorithms and Research Issues [J].
Nene, Amit, V ;
Joseph, Christina Terese ;
Chandrasekaran, K. .
KNOWLEDGE MANAGEMENT IN ORGANIZATIONS, KMO 2019, 2019, 1027 :364-376
[30]   Microservice Architectures for Advanced Driver Assistance Systems: A Case-Study [J].
Lotz, Jannik ;
Vogelsang, Andreas ;
Benderius, Ola ;
Berger, Christian .
2019 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ARCHITECTURE COMPANION (ICSA-C 2019), 2019, :45-52