Skip to main content
Log in

Testing protocols in Internet of Things by a formal passive technique

  • Research Paper
  • Special Focus on Adv. Sci. & Tech. for Future Cybermatics
  • Published:
Science China Information Sciences Aims and scope Submit manuscript

Abstract

In recent years, Extensible Messaging and Presence Protocol (XMPP) is gaining momentum in Internet of Things (IoT). It has been widely used in chatting, message exchanging and unique addressing. As a matter of course, it raises an interesting issue: how to formally test the conformance and performance of XMPP in IoT environment. While conformance testing of communicating protocols is a functional test that verifies whether the behaviors of the protocol satisfy defined requirements, performance testing is a qualitative and quantitative test that aims at checking whether the performance requirements of the protocol are satisfied under certain conditions. In this paper, we present a logic-based passive testing approach that can test both the conformance and the performance of XMPP protocol through real execution traces and formally specified properties. To evaluate and assess our methodology, we present a developed prototype and the experiments with a set of XMPP properties. Finally, the relevant verdicts and conclusions are provided.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Saint-Andre P. Extensible messaging and presence protocol (XMPP): core. IETF RFC 6120. 2011

    Google Scholar 

  2. Klauck R, Kirsche M. Chatty things-making the Internet of Things readily usable for the masses with XMPP. In: Proceedings of 2012 8th International Conference on Collaborative Computing: Networking, Applications andWorksharing (CollaborateCom). Piscataway: IEEE, 2012. 60–69

    Google Scholar 

  3. Kirsche M, Klauck R. Unify to bridge gaps: bringing XMPP into the Internet of Things. In: Proceedings of 2012 IEEE International Conference on Pervasive Computing and Communications Workshops (PERCOM Workshops). Piscataway: IEEE, 2012. 455–458

    Chapter  Google Scholar 

  4. Bendel S, Springer T, Schuster D, et al. A service infrastructure for the Internet of Things based on XMPP. In: Proceedings of 2013 IEEE International Conference on Pervasive Computing and Communications Workshops (PERCOM Workshops). Piscataway: IEEE, 2013. 385–388

    Chapter  Google Scholar 

  5. Laine M, Säilä K. Performance Evaluation of XMPP on the Web. Aalto University Technical Report. 2012

    Google Scholar 

  6. Shahrokni A, Feldt R. RobusTest: a framework for automated testing of software robustness. In: Proceedings of 2011 18th Asia Pacific Software Engineering Conference. Piscataway: IEEE, 2011. 171–178

    Chapter  Google Scholar 

  7. Che X, Lalanne F, Maag S. A logic-based passive testing approach for the validation of communicating protocols. In: Proceedings of 7th International Conference on Evaluation of Novel Approaches to Software Engineering, Wroclaw, 2012. 53–64

    Google Scholar 

  8. Bauer A, Leucker M, Schallhart C. Runtime verification for LTL and TLTL. ACM Trans Softw Eng Methodology, 2011, 20: 14

    Article  Google Scholar 

  9. Tronçon R. Beautiful XMPP testing. In: Riley T, Goucher A, eds. Beautiful Testing: Leading Professionals Reveal How They Improve Software, 2009. 85–102

    Google Scholar 

  10. Hughes J, Norell U, Sautret J. Using temporal relations to specify and test an instant messaging server. In: Proceedings of the 5th Workshop on Automation of Software Test. New York: ACM, 2010. 95–102

    Chapter  Google Scholar 

  11. Lalanne F, Che X, Maag S, et al. Data-centric property formulation for passive testing of communication protocols. In: Proceedings of the 13th IASME/WSEAS International Conference on Mathematical Methods and Computational Techniques in Electrical Engineering conference on Applied Computing. Athens: WSEAS, 2011. 176–181

    Google Scholar 

  12. van Emden M H, Kowalski R A. The semantics of predicate logic as a programming language. J ACM, 1976, 23: 733–742

    Article  MATH  Google Scholar 

  13. Lalanne F, Maag S. A formal data-centric approach for passive testing of communication protocols. IEEE/ACM Trans Network, 2013: 788–801

    Google Scholar 

  14. Che X, Maag S. Passive testing on performance requirements of network protocols. In: Proceedings of International Workshop on Network Management and Monitoring, Barcelona, 2013

    Google Scholar 

  15. Apt K R, van Emden M H. Contributions to the theory of logic programming. J ACM, 1982, 29: 841–862

    Article  MATH  Google Scholar 

  16. ISO. Information Technology-Open Systems Interconnection-Conformance Testing Methodology and Framework-Part 1: General Concepts. ISO/IEC 9646-1. 1994

    Google Scholar 

  17. Shin M, Park M, Oh D, et al. Clock synchronization for one-way delay measurement: a survey. In: Proceedings of 3rd International Conference on Advanced Communication and Networking. Berlin: Springer, 2011. 1–10

    Google Scholar 

  18. Mills D L. Internet time synchronization: the network time protocol. IEEE Trans Commun, 1991, 39: 1482–1493

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Xiaoping Che.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Che, X., Maag, S. Testing protocols in Internet of Things by a formal passive technique. Sci. China Inf. Sci. 57, 1–13 (2014). https://doi.org/10.1007/s11432-014-5068-x

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11432-014-5068-x

Keywords

Navigation