Tuesday, 31 January 2017

Functional Testing – a must for Internet of Things



Internet of Things include a plethora of software components, embedded sensors, actuators, electronics et al., that enable physical infrastructure like buildings, appliances, machines, and vehicles to communicate and exchange data with each other. Such level of automation and sophistication among physical devices requires testing of software components to check for their functionality and responsiveness. In the absence of automated functional testing for IoT, the physical infrastructure that forms a part of IoT might not be suitable for automation.

The world of computer based technology has been evolving from one paradigm to another – from Internet and cloud computing to the newer and more exciting – the Internet of Things or IoT. The latest paradigm talks about connectivity of physical infrastructure – appliances, buildings, vehicles, security paraphernalia and others, whereby each part of the infrastructure is embedded with sensors, thermostats, and actuators to enable exchange of data among them. This automation of physical infrastructure brings immense benefits to the people. The benefits include savings on power, less exploitation of resources, optimisation of productivity etc. 

As the Internet of Things works on a real time basis through communication between physical infrastructure and applications, any malfunction of a part of the chain can have undesirable implications for the whole automatic ecosystem. For example, a vehicle travelling on autopilot can misread the traffic signal leading to an accident or a thermostat malfunction can lead to overheating of the geyser and cause it to burn. To prevent such unwarranted situations, it is important that each unit is checked for its intended function and responsiveness. It can be said with a fair degree of certainty that the culmination of successful functional test automation services will have a positive impact on the overall IoT testing as well. 

However, the process of Functional Test Automation faces a few challenges as well:


  •          The individual components, be it the subsystems or services, can be owned or manned by third party vendors, the absence of which during testing will not produce desired outcomes. 

    Read More ... 

Monday, 30 January 2017

Performance Testing for IoT Devices


Performance Testing of IoT Devices involves checking the performance of the app and validating the response times based on different user loads, code optimization, and performance verification with low battery, less memory and variable network scenarios.




In recent times, the coverage area of Internet of Things (IoT) has expanded exponentially and has become inclusive of the everyday objects and appliances. The overall testing pattern of IoT devices is completely different from those of regular web and mobile applications. Here, performance testing is mainly concerned with testing the internal computation between the devices and the network infrastructure. But, before we can discuss the right approach of testing the performance of IoT, it is important to understand the different challenges faced during testing.

Challenges

Testing APIs: A smart device needs to work on a wide variety of devices and web browsers in order to maximize its reach to the audience. This requires that the developers use API Testing and performance testing tools in order to make sure that the web interface of the IoT device works correctly with all the major browsers, platforms as well as a number of screen sizes.

High Volume Usage: Service Virtualization is a good approach to run IoT Performance Testing on the servers. The testers need to be aware of the threshold limits where the infrastructure will eventually start demonstrating a degraded user experience. An increased number of device volumes also imply that more devices will compete for the same radio frequency spectrum causing slow communication with the servers and end-users.

Read More...