Presentation 2021-03-05
Model-Based Testing Environment Equipped with a Network Simulator
Kosuke Fukuda, Yoshinori Tanabe, Masami Hagiya,
PDF Download Page PDF download Page Link
Abstract(in Japanese) (See Japanese page)
Abstract(in English) The application of IoT devices is expanding. Model-based testing is one of the testing methods which fit well for IoT devices. In model-based testing, the model with which the system under test (SUT) interacts is expressed as an extended finite state machine and a testing tool like Modbat executes the model and checks its correctness. In our research, we extended Modbat's capability for IoT software testing. First, we implemented a simulator of an MQTT broker in Modbat. This allows the simulation of networking over MQTT protocol to be performed coordinately with the virtual time in Modbat and enables faster testing of SUT. In addition, we made it possible to simulate the delay of the communication between devices using the simulator, which extends the range of testing. Along with those, we also improved a library of virtual-time scheduler so that it can also schedule tasks based on real time and that tasks can schedule tasks recursively. Finally, we introduced new libraries that allow the exploitation of Modbat functionalities also from SUT, like virtual-time speedup and networking simulation, with just a small modification of original SUT code, which consequently enables testing SUT by executing the SUT program as a thread running independently to Modbat. With these improvements and new features, we conducted a case study on a simple drone controller program and observed their effectiveness.
Keyword(in Japanese) (See Japanese page)
Keyword(in English) IoT / model-based testing / MQTT / virtual time
Paper # KBSE2020-36
Date of Issue 2021-02-26 (KBSE)

Conference Information
Committee KBSE
Conference Date 2021/3/5(2days)
Place (in Japanese) (See Japanese page)
Place (in English) Online
Topics (in Japanese) (See Japanese page)
Topics (in English)
Chair Hiroyuki Nakagawa(Osaka Univ.)
Vice Chair Takuya Saruwatari(NTT Data)
Secretary Takuya Saruwatari(OKI)
Assistant Shinpei Ogata(Shinshu Univ.) / Erina Nakihara(Doshisha Univ,)

Paper Information
Registration To Technical Committee on Knowledge-Based Software Engineering
Language ENG-JTITLE
Title (in Japanese) (See Japanese page)
Sub Title (in Japanese) (See Japanese page)
Title (in English) Model-Based Testing Environment Equipped with a Network Simulator
Sub Title (in English)
Keyword(1) IoT
Keyword(2) model-based testing
Keyword(3) MQTT
Keyword(4) virtual time
1st Author's Name Kosuke Fukuda
1st Author's Affiliation University of Tokyo(Univ. of Tokyo)
2nd Author's Name Yoshinori Tanabe
2nd Author's Affiliation Tsurumi University(Tsurumi Univ.)
3rd Author's Name Masami Hagiya
3rd Author's Affiliation University of Tokyo(Univ. of Tokyo)
Date 2021-03-05
Paper # KBSE2020-36
Volume (vol) vol.120
Number (no) KBSE-423
Page pp.pp.13-18(KBSE),
#Pages 6
Date of Issue 2021-02-26 (KBSE)