Use-cases in the Internet of Things (IoT) typically involve a high number of interconnected, heterogeneous devices. Due to the criticality of many IoT scenarios, systems and applications need to be tested thoroughly before rollout. Existing staging environments and testing frameworks are able to emulate network properties but fail to deliver actual network-wide traffic control to test systems application independently. To extend existing frameworks, we present the distributed traffic replaying tool IoTreeplay. The tool embeds TCPLivePlay into an environment that allows the synchronous replaying of network traffic with multiple endpoints and connections. Replaying takes place in a user-defined network or testbed containing IoT use-cases. Network traffic can be captured and compared to the original trace to evaluate accuracy and reliability. The resulting implementation is able to accurately replay connections within a maximum transmission rate but struggles with deviations from regular TCP connections, like packet loss or connection reset. An evaluation has been performed, measuring individual and aggregated delays between packets, based on the recorded timestamps.
翻译:在Tings Internet (IoT) 中,使用的情况通常涉及大量相互关联的、多种的装置。由于许多IoT情景的临界性,在推出之前,系统和应用需要彻底测试。现有的中转环境和测试框架能够模仿网络特性,但未能提供实际的全网络交通控制来独立测试系统应用。为了扩展现有的框架,我们展示分布式交通重放工具 IoTrepeplay 。该工具将 TCPLivePlay 嵌入一个环境,允许以多个端点和连接同步重播网络交通。重播发生在一个用户定义的网络或含有 IoT 使用案例的试盘中。网络流量可以被捕捉,并与原始跟踪进行比较,以评价准确性和可靠性。因此,执行能够精确地重播在最大传输率内的连接,但与常规 TCP 连接的偏差,如包丢失或连接重置。已经进行了评估,根据所记录的时标,对各包之间的单个和汇总延迟进行了测量。