Whitepaper: Service-Based Testing of IoT Devices

It’s time to advance the quality of IoT software development. A services-based perspective and orientation are your keys.

Achieve the performance, quality of service and security that IoT systems require.

Parasoft Iot Solutions

Download the whitepaper to understand why and how test automation is the proven approach to reducing costs and risk in IoT development.

Here’s what you’ll learn about:

  • The role of services in IoT
  • Why service-based testing is critical for IoT success
  • Test automation in the software development process
  • How automation reduces risk and cost
  • Testing nonfunctional requirements like security and performance
  • Virtualization for automated service-based testing
  • Reducing time, costs and risk with virtual labs

Think about it: consumers aren’t really interested in the temperature of one room in their house or the video feed from a single camera. They’re looking for the complete picture: ensuring the security system detects movement throughout the whole house or confirming the air conditioning maintains a comfortable temperature.

IoT is about the context of the product and its use cases. Your device or application is part of a broader service. A more comprehensive perspective broadens the context of an individual device and its scope of operation, affecting the approach of overall system design as we move from device-centric thinking to service-centric thinking. Consider the following:

  1. Conglomeration

 The IoT consists of too many “things” for each to be valuable on their own. Devices must be organized together to provide useful information at a higher level. For example, an HVAC system doesn’t need to report the temperature in every room. Individual sensors report to a supervisory control system that makes local decisions, which in turn are reported to higher-level systems that may be offsite.

  1. Self-monitoring

 Higher-level business decision-making processes would be overwhelmed if every individual sensor reported everything all the time. In our HVAC example, a localized supervisory control system can maintain building temperature based on an amount set by a centralized process. The enterprise-level systems would, therefore, rely on a service provided by the HVAC system on a building-by-building basis that reports critical information such as energy usage.

  1. Interchangeability

 The services provided by this conglomeration of devices become more valuable than the devices themselves. If the quality of service remains the same, or better, the hardware is interchangeable. This might seem like a disadvantage for device manufactures, but smart companies who understand the importance of services and compete on the quality become the market leaders.

  • Instead of viewing system quality in terms of meeting individual device requirements, the scope is broadened to consider the quality of the services provided.
  • Testing at the service level ensures nonfunctional requirements are met.
  • Service-based testing can create simulated environments for robust security testing, either through fuzzing (random and erroneous data inputs) or denial-of-service attacks.

Most developers are familiar with some aspects of test automation, but many are not thinking in terms of services or services-based testing and virtualization. As the paradigm shifts from “things” to “services,” the benefits of service-based testing become more apparent.

  • Increased testing productivity
  • Removing hardware and lab resource bottlenecks
  • Scaling to current and future needs
  • Practical and realistic performance and security testing
  • Real-word test environments

Using sophisticated test automation tools is key to leveraging virtual test labs. These tools include:

  • Service virtualization
  • Service and API testing
  • Runtime monitoring
  • Test lab management & analytics

 Recommended solutions:

Normal physical test environments are expensive, probably more so than most development managers forecast for. A study by voke Research found that the average investment in a pre-production lab was $12 million.

Service virtualization improves access and availability of testing devices and makes it easier to control the behavior of virtualized dependencies, reducing costs and increasing test speed.

Benefits of the virtual IoT test lab include: 

  • Improved quality through better, more complete testing
  • Improved security with automated penetration tests that simulate malformed data
  • Reducing testing time, risk and cost by removing the need for expensive dependencies required for complete systems testing

About Parasoft

Parasoft helps organizations continuously deliver quality software with its market-proven, integrated suite of automated software testing tools. Supporting the embedded, enterprise, and IoT markets, Parasoft’s technologies reduce the time, effort, and cost of delivering secure, reliable, and compliant software by integrating everything from deep code analysis and unit testing to web UI and API testing, plus service virtualization and complete code coverage, into the delivery pipeline. Bringing all this together, Parasoft’s award winning reporting and analytics dashboard delivers a centralized view of quality enabling organizations to deliver with confidence and succeed in today’s most strategic ecosystems and development initiatives — security, safety-critical, Agile, DevOps, and continuous testing.