Protocol Data Parts Inclusion in a Formal Passive Testing Approach

Commonly, two main classes of formal testing techniques are applied to check the conformance of protocols and software: active and passive testing (monitoring) techniques. Because of many industrial constraints such as the necessity to achieve implementation black box testing, passive testing techniques become highly relevant in several cases. Besides, most of the passive testing techniques only consider control portions of exchanged packets and ignores data parts. However, since systems become more complex, testing for data constraints and relations between packets is now essential. In this paper we propose a novel approach for defining data oriented invariants and show how they can be tested in a trace set by using logic programming. Experimental results on SIP protocol traces are provided.

[1]  Mercedes G. Merayo,et al.  Applying Formal Passive Testing to Study Temporal Properties of the Stream Control Transmission Protocol , 2009, 2009 Seventh IEEE International Conference on Software Engineering and Formal Methods.

[2]  David Lee,et al.  A formal approach for passive testing of protocol data portions , 2002, 10th IEEE International Conference on Network Protocols, 2002. Proceedings..

[3]  Rance Cleaveland,et al.  Using formal specifications to support testing , 2009, CSUR.

[4]  Mark Handley,et al.  SIP: Session Initiation Protocol , 1999, RFC.

[5]  Ana R. Cavalli,et al.  A passive testing approach based on invariants: application to the WAP , 2005, Comput. Networks.

[6]  Arnaud Gonguet,et al.  An Automated Passive Testing Approach for the IMS PoC Service , 2009, 2009 IEEE/ACM International Conference on Automated Software Engineering.

[7]  Ana R. Cavalli,et al.  New approaches for passive testing using an Extended Finite State Machine specification , 2003, Inf. Softw. Technol..

[8]  David Lee,et al.  Passive testing and applications to network management , 1997, Proceedings 1997 International Conference on Network Protocols.

[9]  Ulf Nilsson,et al.  Logic, programming and Prolog , 1990 .

[10]  Valentin Goranko,et al.  Logic in Computer Science: Modelling and Reasoning About Systems , 2007, J. Log. Lang. Inf..