Abstract
Interoperability testing is an important technique to ensure the quality of implementations of network communication protocol. In the next generation Internet protocol, real-time applications should be supported effectively. However, time constraints were not considered in the related studies of protocol interoperability testing, so existing interoperability testing methods are difficult to be applied in real-time protocol interoperability testing. In this paper, a formal method to real-time protocol interoperability testing is proposed. Firstly, a formal model CMpTIOA (communicating multi-port timed input output automata) is defined to specify the system under test (SUT) in real-time protocol interoperability testing; based on this model, timed interoperability relation is then defined. In order to check this relation, a test generation method is presented to generate a parameterized test behavior tree from SUT model; a mechanism of executability pre-determination is also integrated in the test generation method to alleviate state space explosion problem to some extent. The proposed theory and method are then applied in interoperability testing of IPv6 neighbor discovery protocol to show the feasibility of this method.
Similar content being viewed by others
References
ISO/IEC. ISO/IEC 9646. Information technology, open systems interconnection, conformance testing methodology and framework. Geneva, Switzerland: ISO/IEC, 1991
Hao R B, Wu J P. A formal approach to protocol interoperability testing. J Comput Sci Technol, 1998, 13(1): 79–90
Viho C, Barbin S, Tanguy L. Towards a formal framework for interoperability testing. In: Kim M, Chin B, Kang S, et al., eds. Proceedings of the 21st IFIP International Conference on Formal Techniques for Networked and Distributed Systems (FORTE 2001). Cheju Island, Korea: Kluwer, 2001. 53–68
Rafiq O, Castanet R. From conformance testing to interoperability testing. In: Davidson I, Litwack D W, eds. Proceedings of the 3rd IFIP International Workshop on Protocol Test Systems. Virginia, USA: Elsevier Science Publishers, 1990. 371–385
Kang S, Shin J, Kim M. Interoperability test suite derivation for communication protocols. Comput Netw, 2000, 32(3): 347–364
Trenkaev V, Kim M, Seol S. Interoperability testing based on a fault model for a system of communicating FSMs. In: Hogrefe D, Wiles A, eds. Proceedings of the 15th IFIP International Conference on Testing of Communicating Systems (TestCom 2003), Lect Notes in Comput Sci (LNCS) Vol 2644. Sophia Antipolis, France: Springer, 2003. 226–242
Seol S, Kim M, Kang S, et al. Fully automated interoperability test suite derivation for communication protocols. Comput Netw, 2003, 43(6): 735–759
Seol S, Kim M, Chanson S T, et al. Interoperability test generation and minimization for communication protocols based on the multiple stimuli principle. IEEE J Sel Area Comm, 2004, 22(10): 2062–2074
El-Fakih K, Trenkaev V, Spitsyna N, et al. FSM based interoperability testing methods for multi-stimuli model. In: Groz R, Hierons R M, eds. Proceedings of the 16th IFIP International Conference of Testing of Communicating Systems (TestCom 2004), Lect Notes in Comput Sci (LNCS) Vol 2978. Oxford, UK: Springer, 2004. 60–75
Wang Z L, Wu J P, Yin X. Protocol interoperability test generation based on communicating multi-port FSMs (in Chinese). Chinese J Comput, 2006, 29(11): 1909–1919
Hao R B, Lee D, Sinha R K, et al. Integrated system interoperability testing with applications to VoIP. IEEE/ACM Trans Netw, 2004, 12(5): 823–836
Desmoulin A, Viho C. Quiescence management improves interoperability testing. In: Khendek F, Dssouli R, eds. Proceedings of the 17th IFIP International Conference of Testing of Communicating Systems (TestCom 2005). Lect Notes in Comput Sci (LNCS) Vol 3502, Montreal, Canada: Springer, 2005. 365–379
Desmoulin A, Viho C. Formalizing interoperability for test case generation purpose. In: Proceedings of IEEE Nasa ISoLA Workshop on Leveraging Applications of Formal Methods, Verification, and Validation. Columbia, MD, USA: IEEE, 2005
Desmoulin A, Viho C. A new method for interoperability test generation. In: Petrenko A, Veanes M, Tretmans J, et al., eds. Proceedings of the 19th IFIP International Conference of Testing of Communicating Systems/the 7th International Workshop on Formal Approaches to Testing of Software (TestCom/FATES 2007). Lect Notes in Comput Sci (LNCS) Vol 4581. Tallinn, Estonia: Springer, 2007. 58–73
En-Nouaary A, Dssouli R, Khendek F. Timed Wp-method: testing real-time systems. IEEE Trans Softw Eng, 2002, 28(11):1023–1038
Springintveld J, Vaandrager F, D’Argenio P R. Testing timed automata. Theor Comput Sci, 2001, 254(1–2): 225–257
Higashino T, Nakata A, Taniguchi K, Cavalli A R. Generating test cases for a timed I/O automaton model. In: Csopaki G, Dibuz S, Tarnay K, eds. Proceedings of the IFIP 12th International Workshop on Testing Communicating Systems (IWTCS 1999). Budapest, Hungary: Kluwer, 1999. 197–214
Khoumsi A, Jéron T, Marchand H. Test cases generation for nondeterministic real-time systems. In: Petrenko A, Ulrich A, eds. Proceedings of the 3rd Workshop on Formal Approaches to Testing of Software (FATES 2003), Lect Notes in Comput Sci (LNCS) Vol 2931. Montreal, Canada: Springer, 2003. 131–146
Krichen M, Tripakis S. An expressive and implementable formal framework for testing real-time systems. In: Khendek F, Dssouli R, eds. Proceedings of the 17th IFIP International Conference of Testing of Communicating Systems (TestCom 2005). Lect Notes in Comput Sci (LNCS) Vol 3502. Montreal, Canada: Springer, 2005. 209–225
Larsen K, Mikucionis M, Nielsen B. Online testing of real-time systems using Uppaal. In: Grabowski J, Nielsen B, eds. Workshop on Formal Approaches to Testing of Software (FATES 2004), Lect Notes in Comput Sci (LNCS) Vol 3395. Linz, Austria: Springer, 2004. 79–94
Briones L B, Brinksma E. A test generation framework for quiescent real-time systems. In: Grabowski J, Nielsen B, eds. Workshop on Formal Approaches to Testing of Software (FATES 2004), Lect Notes in Comput Sci (LNCS) Vol 3395. Linz, Austria: Springer, 2004. 64–78
Wang Z L, Wu J P, Yin X. Towards interoperability test generation of time dependent protocols: a case study. In: Proceedings of IEEE Global Telecommunications Conference (GLOBECOM 2004), Vol. 2. Dallas, Texas USA: IEEE Communications Society, 2004. 589–594
Lee D, Yannakakis M. Principles and methods of testing finite state machines—a survey. Proc IEEE, 1996, 84(8): 1090–1123
Tretmans J. Test generation with inputs, outputs and repetitive quiescence. Softw-Concepts and Tools, 1996, 17(3): 103–120
Alur R, Dill D. A theory of timed automata. Theor Comput Sci, 1994, 126(2): 183–235
Bornot S, Sifakis J, Tripakis S. Modeling urgency in timed systems. In: de Roever W P, Langmaack H, Pnueli A, eds. International Symposium of Compositionality—The Significant Difference (COMPOS 1997), Lect Notes in Comput Sci (LNCS) Vol 1536. Malente: Springer, 1998. 103–129
Wang Z L. Distributed protocol interoperability testing based on formal methods (in Chinese). Ph.D. Thesis. Beijing: Tsinghua University, 2006
Narten T, Nordmark E, Simpson W. Neighbor Discovery for IP Version 6 (IPv6). IETF RFC 2461, 1998
ETSI: ETSI standard ES 201 873-1 V3.2.1(2007-03): The Testing and Test Control Notation version 3; Part 1: TTCN-3 Core Language. European Telecommunications Standards Institute (ETSI), Sophia-Antipolis, France. 2007
Dai Z R, Grabowski J, Neukirchen H. TIMEDTTCN-3—a real-time extension for TTCN-3. In: Schieferdecker I, et al, eds. Proceedings of the IFIP 14th International Conference on Testing Communicating Systems (Testcom 2002). Berlin: Kluwer, 2002. 407–424
Wang Z L, Wu J P, Yin X, Shi X G, Tian B H. Using TIMEDTTCN-3 in interoperability testing for real-time communication systems. In: Uyar M U, Duale A, Fecko M, eds. Proceedings of the IFIP 18th IFIP International Conference on Testing Communicating Systems (Testcom 2006), Lect Notes in Comput Sci (LNCS) Vol 3964. New York: Springer, 2006.
Author information
Authors and Affiliations
Corresponding author
Additional information
Supported by the National Basic Research Program of China (973 Program) (Grant No. 2003CB314801), and the National Natural Science Foundation of China (Grant No. 60572082)
Rights and permissions
About this article
Cite this article
Wang, Z., Yin, X. & Jing, C. A formal method to real-time protocol interoperability testing. Sci. China Ser. F-Inf. Sci. 51, 1723–1744 (2008). https://doi.org/10.1007/s11432-008-0153-7
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11432-008-0153-7