IoT (Internet of Things) Testing – Challenges, Applications And Sample Test Cases.

In the development of applications which involve Internet of things (IoT). The IoT gadget, device application and communication module plays a vital role in analyzing the performance and behavior of the IoT service. Poor design may hamper the working of the application and affect the end-user experience. In today’s article we are going to cover Why IoT, QA Opportunities In IoT Testing, Sample IoT Test Cases on IoT testing, Challenges That QA Team Can Face During IoT Testing and Solutions And Best Practices.

Why IoT?

  1. Efficient Machine to Machine (M2M) Communication
  2. Development of multiple Protocols (IPv6, MQTT, XMPP (D2S), DDS (D2D) etc.)
  3. Development and Integration of Enabling Technologies (Nano-electronics, embedded systems, software and cloud computing, etc.)
  4. Supports Smart Living concept

Important Domains of IoT:

  1. Smart Cities
  2. Smart Environment
  3. Smart Water
  4. Smart Metering
  5. Smart Safety measures
  6. Smart Retail
Internet of Things IoT Testing

QA Opportunities In IoT Testing:

  1. NFC Payments: Nowadays banks have started using NFC payment tags for the retail bill payments and payments in toll booths.
  2. Apple Pay/Samsung Pay: Apple Pay empowers users to make use of multiple credit/debit cards to make pay swiftly with in stores that support Apple Pay technology. Payment process is based on NFC. ‘Samsung Pay’ is linked with major banks which includes JP Morgan and BOA.
  3. Telematics: It also helps to keep an eye on the driver behavior for car insurance done by insurance firms.
  4. Consumer Behavior Analysis: Retail shop payments, ATM Card/NFC usage need to be studied to offer enhanced personalized customer services and offers.
  5. Integration between apps and bank accounts: This is helpful for making smart financial transactions. In case of unlucky events like an accident,if a person doesn’t have ample liquid cash in his bank account but has some investments in the form of equity, information from health care app may initiate a quick instruction which results in liquidity from investment account.
  6. Payments through wearable devices: Payments can also be done through google glass or a wearable device.

Sample IoT Test Cases:

  1. Verify that IoT gadget is able to register to the network and data connection is made successfully.
  2. Set a proper time delay after the connection for the first gadget is established. Verify that another IoT gadget is able to register to the network and data connection is made successfully.
  3. Verify that all the gadgets involved in the Internet of things testing are able to register to the network.
  4. Verify that all the gadgets involved in the IoT testing are able to send SMS to the network.
  5. Verify that only gadgets with proper authentication are able to connect to network.
  6. Verify that gadget disconnects quickly from the network when user removes the (U) SIM.
  7. Verify that gadget is able to enable or disable network friendly mode feature.
  8. Verify that gadgets involved in IoT are able to transmit huge chunks of user data if required.
  9. Verify that gadget transmits keep-alive message once in every half an hour.
  10. Verify that if sim subscription is subject to terminated condition, gadget does not retry service request as per the requirements in NFM.
  11. Verify that if sim subscription with roaming not allowed, gadget does not retry service request as per the requirements in NFM.
  12. Verify that if SIM subscription with barred GPRS service, gadget does not retry service request as per the requirements in NFM.
  13. Verify that if maximum number of connections ( as per the requirement) is attained, the IoT gadget need to stop attempt to link to the network till a predefined duration.
  14. Verify that in case data volume exceeds that defined in requirement, the IoT gadget should not initiate any more transfer of data till a predefined duration.
  15. Verify that IoT gadget need to inform the network about power status.
  16. Verify that IoT gadget is able to transfer data in low power mode.
  17. Verify that IoT gadget transmits data with IoT device application in the form of encrypted data.

Challenges That QA Team Can Face During IoT Testing:

  1. It is expensive to replicate the environment required for IoT testing and demands too much of effort
  2. The subsystems, sub-components, and services that are interrelated  are possessed by various groups and third party units. If user is unable to access a single dependent sub-component, it could affect the testing of the whole system.
  3. In order to obtain the right test data among different systems, Substantial effort and organization among multiple teams is required
  4. Gadget which is available for testing might be of inadequate capacity or is not available at  the right time
  5. Sensor quality and accuracy – Device under test may not be of good quality or have the right precision needed for testing
  6. Compatibility Issues
  7. Complexity
  8. Connectivity issues
  9. Power problems
  10. Security/Privacy issues
  11. Safety Concerns

IoT Testing – Solutions And Best Practices:

IoT Services stresses for robust testing competences to guarantee that the performance of the services is able to meet the requirements and SLA. By adopting effective best practices user can successfully execute IoT testing.

  1. QA need to concentrate on good testing approaches and practices for efficiently implementing a testing job. Well-defined requirements, comprehensive test plan, unit testing, integration testing and effective communication would form the basis of IoT testing. Impeccable programming tactics and practices ensure that the end-result is a quality product.
  2. New platforms ensure effective communication and to efficiently obtain valid info from huge amounts of raw data. This ensures good timing and systems framework to back the real-time applications. QA testing team can also make use of cutting-edge tools, consoles, viewers and simulators to ensure successful execution of the project.
  3. QA testing team also need to have sound understanding of the architecture, the Operating System, hardware, applications, protocols and shortcomings of hardware gadgets to design good test cases.
  4. Robust backend – if the mainstream functionalities are embedded into a robust backend, backend functionalities can be tested using usual testing methods, tools and approaches.

Summary:

The IoT has been around for a years, but is rapidly developing market. Looking at the current trend in next coming years the things are definitely going to change. If you look at the number of devices and software in IoT, then the count is growing rapidly every day by day. As a result there will be more testing and testers are required to find the bugs in the IoT software and release more quality software to end users. Looking at current problems IoT testers may face in their area of test strategies and planning, we come up with the some recommendations and sample test cases. This list is not comprehensive either, but get some idea around how to start testing.

As the area Internet of Testing (IoT) is growing rapidly and subject is vaster to cover, did not covered every aspects of IoT. One suggestion here, you need to work more on planning, strategies, error taxonomies and tools for IoT.

IoT should become a brave new future for software and testing.


⇓ Subscribe Us ⇓


If you are not regular reader of this website then highly recommends you to Sign up for our free email newsletter!! Sign up just providing your email address below:


 

Check email in your inbox for confirmation to get latest updates Software Testing for free.


  Happy Testing!!!
 

5 thoughts on “IoT (Internet of Things) Testing – Challenges, Applications And Sample Test Cases.”

  1. Nice article, before reading the article I just ate of Supporting Smart Living concept.
    Now clear what is IoT is all about.

    Thanks for sharing such a trending information.

    Brett

    Reply
  2. Useful information on IoT.

    I am looking forward to get info on UAT testing? what is a tester role here in UAT testing?

    Thanks.

    Reply

Leave a Comment

Share This Post