Font Size: a A A

Design And Implementation Of Distribuited Testing System Based On TTCN-3

Posted on:2016-08-10Degree:MasterType:Thesis
Country:ChinaCandidate:M XuFull Text:PDF
GTID:2298330467492594Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
Network protocols are the specifications which entities in the networks shall comply with. Protocol implementations may be various due to the different understanding of the protocol texts. In order to detect whether protocol implementations are confirm to the protocol specification, protocol conformance testing should be applied to the implementations. Currently most research on conformance testing focuses on centralized scenario, that is, test system and implementation under test (IUT) are in’one-to-one’mode. With the development of network technology such as IoT and cloud computing, more than two entities may be involved in some interactions defined by specifications. In those scenarios, single tester may act as more than one role, testing like this cannot reproduce the real architecture and interactions in the network. In view of more complex test scenarios, it’s important and necessary to research on testing under distributed scenarios. Most existing researches on distributed testing focus on theoretical analysis or test system development for specified protocols which are of less universality and practicability.TTCN-3is a standardized script language developed for testing by ETSI. ETSI also proposes TTCN-3testing architecture which support concurrent testing by means of test components. It makes it feasible for distributed testing.This paper proposes a Client-Server mode based TTCN-3distributed testing system architecture and describes detained functional design of system modules named master and slave. Meanwhile, we analyze and propose a coordination and dispatch mechanism which can be used for internal communication of the system. Based on design work, a TTCN-3based distributed testing system is implemented with C++Qt platform. Then, we apply the system to testing for two protocols DNS and XMPP, including test suite, codec and adaptor implementation and develop typical test cases to verify the system. The codec of XMPP is general and can be improved for similar protocols based on XML stream.The research on distributed testing system fills the blank of relevant field in protocol testing. The distributed mechanism implemented system are protocol-independent and can be used for various protocols. The test and verification prove the practical application value of the system.
Keywords/Search Tags:protocol testing, distributed testing, TTCN-3, testcomponent
PDF Full Text Request
Related items