End-to-end testing for the IoT ecosystem and the importance of multistage validation

Virendra Maheta of Volansys

The Internet of Things (IoT) is an intelligent technology between the real and the digital world. It is a system of interconnected devices which have the ability to collect and transfer data over a network beyond manual interference. Enterprises are getting leverage, says Virendra Maheta of Volansys, by implementing IoT Solutions in their business models to reduce time-to-market and boost productivity.

But as we know every technology has its own challenges. The Internet of Things also faces a major challenge in terms of its IoT testing. To build a world-class IoT product, end-to-end IoT solution need to undergo quality engineering thoroughly.

It means every component such as a sensor, cloud access, gateway, user interface, and their inter-connectivity need to be tested before delivery to the end-customer. This end-to-end IoT testing of every component broadly comes under multistage validation.

Let us understand the concept of multistage validation in more detail. An End-to-End IoT solution consists of multiple components like:

  1. User Access Component: Mobile Application or Web Application
  2. Cloud Infrastructure
  3. IoT Gateway
  4. IoT Embedded Devices/Sensors

Each of the above components plays a very critical role in the functioning of the IoT ecosystem which triggers the need for multistage validation. The multistage validation ensures that each component should perform its designated action as per the requirement.

It advocates the process of validating each component of the IoT ecosystem while doing the system testing with closed loop test where the forward path (from the mobile application to the IoT device) and reverse path (from IoT device to mobile application) is considered.

Use Case

IoT System for smart air conditioner

Let us say, a user wants to set the temperature of bedroom AC from mobile application while leaving from the office, then Air Conditioner sends the notification to mobile application when desired temperature is achieved.

The IoT ecosystem for the above use case contains the following components:

  • Mobile Application: The user can set the AC temperature on his/her mobile application.
  • User Access Cloud: The mobile application sends the temperature value on user access cloud using Rest APIs and also updates the database.
  • IoT Cloud and Gateway Device: IoT cloud delivers the “change temperature” commands to IoT gateway device installed at the user’s home.
  • Smart AC: The gateway device sends the desired temperature on the bedroom AC and the AC sends a notification on mobile application once the desired temperature is achieved.

For End-to-End IoT testing, the multi-stage validation plays a critical role as the verification at each component level is required to ensure the system functionality.

Stage – 1: The validation requires mobile application level to check the mobile application functionality. Correlating with the above example, the validation, in this case, would be whether the temperature of the AC is changed to the desired level or not.

Stage – 2: The validation requires user access cloud where the mobile application or web application access the cloud using the Cloud APIs. It is mandatory to ensure that the functional requirements meet at the APIs and database level. Also, make sure that the changes made by mobile application and which are reflected in the database are sent to the gateway device through IoT cloud logs validation. Correlating with the example, validation would be done to ensure that the APIs are working as expected and the changes made to the database for AC are as expected for the desired device.

Stage – 3: Here, the verification is needed at the gateway stage where the IoT cloud sends “temperature change” command using IoT communication protocol like MQTT, XMPP, XML, JSON. The validation is done to ensure that the correct message is received by the IoT gateway device and the message is getting forwarded to the intended end device via a communication protocol such as Zigbee, BLE, or Wi-Fi, whichever is available. Correlating with the given instance, the validation would be done to ensure that the temperature change action is made for intended AC device over a supported communication protocol.

Stage – 4: At last, the validation is required at end embedded device to ensure that the action received from the IoT gateway is reflected on the embedded device.

Corresponding to the above example, the validation would be done to make sure that the temperature gets set to the desired level on AC. The air conditioner sends the “desired temperature achieved” notification to the mobile via gateway and cloud. The mobile application, cloud, and gateway gets validated as soon as the mobile notification is generated from Smart AC.

Importance of the multistage IoT ecosystem testing

  1. It enables testing, validation, and verification of application architecture, integration between all the components and business requirements
  2. Able to catch the bugs at integration level and also find the issues at component level
  3. Enables solution testing with the perception of end user and real-time use cases.

The author is Virendra Maheta, project manager at Volansys Technologies. Virendra has 12+ years of experience in Quality Assurance for various domains like Embedded, Networking, IoT, Telecom/VOIP, ERP. He also has experience in Manual and Automation Testing Management.

Comment on this article below or via Twitter: @IoTNow_OR @jcIoTnow

RECENT ARTICLES

5th Edition Connected Africa announces Telecom Innovation & Excellence Awards 2024

Posted on: April 19, 2024

The International Center for Strategic Alliances (ICSA) has announced the 5th Edition Connected Africa- Telecom Innovation & Excellence Awards 2024, set to be held on 22 May 2024 in Johannesburg, South Africa. Under the theme “Building a Connected Global Economy,” the summit aims to influence the telecom in Africa. With a focus on fostering forward-thinking

Read more

Facilio launches refrigerant tracking and leak detection software

Posted on: April 19, 2024

Property operations software firm Facilio has announced the launch of its ready-to-deploy refrigerant tracking and leak detection software solution. This is meant for all grocery and convenience store operators who want to implement an automatic leak detection system to identify and mitigate potential refrigerant leaks to achieve 100% compliance.

Read more
FEATURED IoT STORIES

What is IoT? A Beginner’s Guide

Posted on: April 5, 2023

What is IoT? IoT, or the Internet of Things, refers to the connection of everyday objects, or “things,” to the internet, allowing them to collect, transmit, and share data. This interconnected network of devices transforms previously “dumb” objects, such as toasters or security cameras, into smart devices that can interact with each other and their

Read more

The IoT Adoption Boom – Everything You Need to Know

Posted on: September 28, 2022

In an age when we seem to go through technology boom after technology boom, it’s hard to imagine one sticking out. However, IoT adoption, or the Internet of Things adoption, is leading the charge to dominate the next decade’s discussion around business IT. Below, we’ll discuss the current boom, what’s driving it, where it’s going,

Read more

9 IoT applications that will change everything

Posted on: September 1, 2021

Whether you are a future-minded CEO, tech-driven CEO or IT leader, you’ve come across the term IoT before. It’s often used alongside superlatives regarding how it will revolutionize the way you work, play, and live. But is it just another buzzword, or is it the as-promised technological holy grail? The truth is that Internet of

Read more

Which IoT Platform 2021? IoT Now Enterprise Buyers’ Guide

Posted on: August 30, 2021

There are several different parts in a complete IoT solution, all of which must work together to get the result needed, write IoT Now Enterprise Buyers’ Guide – Which IoT Platform 2021? authors Robin Duke-Woolley, the CEO and Bill Ingle, a senior analyst, at Beecham Research. Figure 1 shows these parts and, although not all

Read more

CAT-M1 vs NB-IoT – examining the real differences

Posted on: June 21, 2021

As industry players look to provide the next generation of IoT connectivity, two different standards have emerged under release 13 of 3GPP – CAT-M1 and NB-IoT.

Read more

IoT and home automation: What does the future hold?

Posted on: June 10, 2020

Once a dream, home automation using iot is slowly but steadily becoming a part of daily lives around the world. In fact, it is believed that the global market for smart home automation will reach $40 billion by 2020.

Read more

5 challenges still facing the Internet of Things

Posted on: June 3, 2020

The Internet of Things (IoT) has quickly become a huge part of how people live, communicate and do business. All around the world, web-enabled devices are turning our world into a more switched-on place to live.

Read more