Model-Based Testing IoT Communication via Active Automata Learning

被引:58
|
作者
Tappler, Martin [1 ]
Aichernig, Bernhard K. [1 ]
Bloem, Roderick [2 ]
机构
[1] Graz Univ Technol, Inst Software Technol, Graz, Austria
[2] Graz Univ Technol, Inst Appl Informat Proc & Commun, Graz, Austria
关键词
GENERATION; CHECKING;
D O I
10.1109/ICST.2017.32
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
This paper presents a learning-based approach to detecting failures in reactive systems. The technique is based on inferring models of multiple implementations of a common specification which are pair-wise cross-checked for equivalence. Any counterexample to equivalence is flagged as suspicious and has to be analysed manually. Hence, it is possible to find possible failures in a semi-automatic way without prior modelling. We show that the approach is effective by means of a case study. For this case study, we carried out experiments in which we learned models of five implementations of MQTT brokers/servers, a protocol used in the Internet of Things. Examining these models, we found several violations of the MQTT specification. All but one of the considered implementations showed faulty behaviour. In the analysis, we discuss effectiveness and also issues we faced.
引用
收藏
页码:276 / 287
页数:12
相关论文
共 50 条
  • [1] Efficient Active Automata Learning via Mutation Testing
    Aichernig, Bernhard K.
    Tappler, Martin
    JOURNAL OF AUTOMATED REASONING, 2019, 63 (04) : 1103 - 1134
  • [2] Efficient Active Automata Learning via Mutation Testing
    Bernhard K. Aichernig
    Martin Tappler
    Journal of Automated Reasoning, 2019, 63 : 1103 - 1134
  • [3] Model-Based Testing as a Service for IoT Platforms
    Ahmad, Abbas
    Bouquet, Fabrice
    Fourneret, Elizabeta
    Le Gall, Franck
    Legeard, Bruno
    LEVERAGING APPLICATIONS OF FORMAL METHODS, VERIFICATION AND VALIDATION: DISCUSSION, DISSEMINATION, APPLICATIONS, ISOLA 2016, PT II, 2016, 9953 : 727 - 742
  • [4] Model-Based Load Testing in the IoT System
    Matic, Milica
    Nan, Eleonora
    Antic, Marija
    Ivanovic, Sandra
    Pavlovic, Roman
    2019 IEEE 9TH INTERNATIONAL CONFERENCE ON CONSUMER ELECTRONICS (ICCE-BERLIN), 2019, : 310 - 315
  • [5] Model-based software testing via incremental treatment learning
    Geletko, D
    Menzies, T
    28TH ANNUAL NASA GODDARD SOFTWARE ENGINEERING WORKSHOP, PROCEEDINGS, 2004, : 82 - 90
  • [6] Model Learning and Model-Based Testing
    Aichernig, Bernhard K.
    Mostowski, Wojciech
    Mousavi, Mohammad Reza
    Tappler, Martin
    Taromirad, Masoumeh
    MACHINE LEARNING FOR DYNAMIC SOFTWARE ANALYSIS: POTENTIALS AND LIMITS, 2018, 11026 : 74 - 100
  • [7] Model-Based Mutation Testing Using Pushdown Automata
    Belli, Fevzi
    Beyazit, Mutlu
    Takagi, Tomohiko
    Furukawa, Zengo
    IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2012, E95D (09): : 2211 - 2218
  • [8] A Framework and Algorithm for Model-Based Active Testing
    Feldman, Alexander
    Provan, Gregory
    van Gemund, Arjan
    2008 INTERNATIONAL CONFERENCE ON PROGNOSTICS AND HEALTH MANAGEMENT (PHM), 2008, : 378 - +
  • [9] Model-based security testing in IoT systems: A Rapid Review
    Lonetti, Francesca
    Bertolino, Antonia
    Di Giandomenico, Felicita
    INFORMATION AND SOFTWARE TECHNOLOGY, 2023, 164
  • [10] Dynamic testing via automata learning
    Harald Raffelt
    Maik Merten
    Bernhard Steffen
    Tiziana Margaria
    International Journal on Software Tools for Technology Transfer, 2009, 11 (4) : 307 - 324