Author:
Tanabe Kotaro,Tanabe Yoshinori,Hagiya Masami
Abstract
Abstract
Model-based testing is a widely-used vital technique for testing software running in a complex environment. In this paper, we propose extensions to existing model-based tools to apply this technique to software that employs the MQ Telemetry Transport (MQTT) protocol for transmitting messages, commonly used in the Internet of Things (IoT) environment. First, in the finite state machine used for generating test cases in a model-based testing framework, we introduce a type of transition that is triggered when receiving MQTT messages. Second, we extend the finite-state machine so that it produces test cases that reflect the characteristics of IoT software – a large number of relatively simple devices communicate with servers. Third, the concept of time is introduced into the finite state machine. Naturally, this is necessary for verifying the properties of software that runs for a long time. Moreover, to facilitate such verification, both real-time and virtual time are introduced. We implemented these extensions into a model-based testing tool, Modbat, and conducted a small experiment to confirm the feasibility, gaining positive results.
Publisher
Springer International Publishing
Reference25 articles.
1. Artho, C., Gros, Q., Rousset, G., Banzai, K., Ma, L., Kitamura, T., Hagiya, M., Tanabe, Y., Yamamoto, M.: Model-based API testing of Apache ZooKeeper. In: International Conference on Software Testing, Verification and Validation (ICST 2017), pp. 288–298 (2017)
2. Rahul, G., Andrew, B.: MQTT version 3.1.1.
http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/os/mqtt-v3.1.1-os.html
3. Artho, C., Biere, A., Hagiya, M., Platon, E., Seidl, M., Tanabe, Y., Yamamoto, M.: Modbat: a model-based API tester for event-driven systems. In: Hardware and Software: Verification and Testing, pp. 112–128 (2013)
4. Tanabe, K., Tanabe, Y., Hagiya, M.: Speedup of model-based testing for IoT software using virtual time and state distribution of devices. IEICE Tech. Rep. 119(392), 37–42 (2020)
5. Artho, C., Biere, A.: Modbat.
https://people.kth.se/~artho/modbat/
Cited by
4 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献