Providing flexibility and extensibility, SIP has recently gained significant attention in many areas. Critical requirements on reliability, fault tolerance and security highlight the necessity of SIP robustness testing. There are only a few researches on SIP robustness testing. The biggest challenge is the anomalous message generation. This paper proposes a method and architecture for SIP robustness testing based on TTCN-3, and presents a method for auto-generating large numbers of anomalous message. Based on these, we adopt compound test case to simplify the test suite, and use normal verification sequence to enhance the verdict mechanism. Our method and architecture is extensible for other text based protocols. The test practice on four SIP entities indicate that, our method is efficient to SIP robustness testing, and the test results can provide helpful reference to the upgrade of SIP products.
[1]
Jianping Wu,et al.
A Formal Approach to Robustness Testing of Network Protocol
,
2008,
NPC.
[2]
Xingang Shi,et al.
A TTCN-3-based protocol testing system and its extension
,
2008,
Science in China Series F: Information Sciences.
[3]
Peter F. Linington.
Open system interconnection (OSI)
,
2003
.
[4]
Zhiliang Wang,et al.
SIP Conformance Testing Based on TTCN-2 *
,
2007
.
[5]
Mark Handley,et al.
SIP: Session Initiation Protocol
,
1999,
RFC.
[6]
Gai Xiao-na.
Research on SIP protocol testing
,
2010
.
[7]
Jianping Wu,et al.
Mutation Testing of Protocol Messages Based on Extended TTCN-3
,
2008,
22nd International Conference on Advanced Information Networking and Applications (aina 2008).