Continuously Testing Distributed IoT Systems: An Overview of the State of the Art

Jossekin Beilharz, Philipp Wiesner, Arne Boockmeyer, Lukas Pirl, Dirk Friedenberger, Florian Brokhausen, Ilja Behnke, Andreas Polze, Lauritz ThamsenIcsoc Workshops 2021 · DOI

TL;DR

This paper surveys the current landscape of IoT test environments, highlighting a critical gap: the lack of integration with domain environment simulations. While many tools exist for emulating nodes and networks, they fail to capture the crucial interaction between IoT systems and their real-world surroundings, hindering continuous, realistic testing.

What Problem Does This Paper Address?

Developing and deploying distributed Internet of Things (IoT) systems presents a significant challenge, particularly in ensuring their reliability and robustness. A major hurdle is the difficulty of adequately testing these systems. IoT environments are characterized by a vast number of heterogeneous devices, dynamic network conditions (like disconnections), and tight integration with physical environments. Traditional software testing approaches, which rely on continuous testing in production-like environments, are hard to apply here. Existing IoT test environments often fall short by either being limited in scalability, lacking hardware integration, or failing to realistically simulate the complex interplay between IoT applications and their surrounding domains (e.g., traffic, smart homes). This paper aims to provide a comprehensive overview of the state-of-the-art in IoT testing, identify desirable characteristics of test environments, and pinpoint the existing research gaps.

Methods

The authors conducted a systematic survey and comparison of existing IoT test environments. They first defined a set of desirable characteristics for such environments, categorized into general aspects, node capabilities, network emulation, and domain environment integration. These characteristics include:

  • General: Publication date, active maintenance, maturity level (concept, prototype, full system), service offering, and scriptability of scenarios.
  • Nodes: Hardware integration, virtualization type (VMs, containers), and energy consumption modeling.
  • Network: Network type (traffic shaping, SDN, network simulation), distributability, and fault injection capabilities.
  • Domain Environment: Support for domain-specific simulators, distributability, and fault injection.

They then evaluated 18 selected IoT test environments against these criteria, presenting their findings in a detailed comparison table. The paper also categorizes these tools based on their ability to integrate real IoT devices and their network emulation approach.

Datasets

Not discussed in the paper.

Key Insights and Ideas

  • The Domain Environment Gap is Critical: The most significant finding is the near-universal lack of support for simulating domain environments in current IoT testbeds. This is a fundamental flaw, as IoT systems are inherently cyber-physical and interact with their surroundings. Without this, testing interactions like a smart traffic system influencing traffic flow or a remote patient monitoring system reacting to environmental cues is impossible.
  • Hardware Integration is Often Missing: While many tools focus on virtualized nodes (containers and VMs), a substantial portion lacks the ability to integrate actual hardware devices. This is a drawback for IoT, where custom hardware and embedded systems are common.
  • Energy Consumption is Underrepresented: Despite the prevalence of battery-constrained IoT devices, modeling or monitoring energy consumption is a feature that is barely considered in the surveyed tools.
  • Trend Towards Lightweight Virtualization: There's a noticeable trend towards using container virtualization (e.g., Docker) for virtual nodes, likely due to its lightweight nature compared to virtual machines.
  • Fault Injection is Important but Undersupported: While fault injection is recognized as crucial for testing robustness, dedicated support for defining and executing specific failure scenarios across nodes, networks, and domain environments is often missing.

Key Results

The paper provides a detailed comparison of 18 IoT test environments, highlighting their strengths and weaknesses across various characteristics. While many tools offer robust network emulation (traffic shaping, SDN, or simulation) and support for virtual nodes, none fully integrate domain environment simulations. This leaves a substantial gap for continuous, realistic testing of IoT systems in their operational context. The authors conclude that future work must focus on bridging this gap to enable comprehensive testing of critical IoT applications.

Limitations and Future Work

The authors acknowledge that their survey is limited to publicly available information and does not include proprietary solutions. A key limitation identified is the lack of domain environment simulation support across all surveyed tools.

Future work should focus on:

  • Developing comprehensive test environments: An ideal test environment would support virtual and hardware nodes, model energy consumption, offer flexible network representation with fault injection, and crucially, integrate domain environment simulations.
  • Bridging the gap between virtual and real: Enabling seamless integration of domain simulations with both virtual and hardware nodes.
  • Improving fault injection: Providing more granular and comprehensive fault injection capabilities across all dimensions (nodes, network, domain).
  • Addressing energy consumption modeling: Incorporating better support for modeling and monitoring energy usage.

The authors are actively working on a framework called "Marvis" that aims to address these challenges by combining virtual and hardware nodes and integrating domain environment simulators like SUMO for traffic simulation.

Summary updated

BibTeX
@inproceedings{beilharz2021continuously,
  author = {Jossekin Beilharz and Philipp Wiesner and Arne Boockmeyer and Lukas Pirl and Dirk Friedenberger and Florian Brokhausen and Ilja Behnke and Andreas Polze and Lauritz Thamsen},
  title = {{Continuously Testing Distributed IoT Systems: An Overview of the State of the Art}},
  booktitle = {Icsoc Workshops},
  year = {2021},
  doi = {10.1007/978-3-031-14135-5\_30},
}

Loading related content...

Figure