Font Size: a A A

Development And Implementation Of General Communication Rotocol Testing Tool Based On XML

Posted on:2021-08-11Degree:MasterType:Thesis
Country:ChinaCandidate:Y NengFull Text:PDF
GTID:2518306308473184Subject:Electronics and Communications Engineering
Abstract/Summary:PDF Full Text Request
The communication protocol is the basic criterion to be followed when communicating information between communication terminal entities in the communication system.The standardization of communication protocol standards and the correct implementation of various services based on standardized protocols are the basic conditions for the development of Internet communications.Communication equipment manufacturers also need to correctly implement communication entities that meet the corresponding protocol standards on the basis of accurately understanding various communication protocols,and further realize the interconnection and intercommunication of communication equipment from different manufacturers.The protocol conformance test is used to verify whether the communication equipment of different manufacturers of the same protocol can communicate correctly.Existing protocol conformance testing systems can either only perform conformance testing on a specific protocol,or are difficult to become popular because they are difficult to operate,expensive,and not open source.Based on the XML language,this paper designs a simple and universal communication protocol conformance test system.On the basis of in-depth study and summary of the basic characteristics of different types of communication protocols,this paper firstly designs the general description method of the communication protocol data message format,which consists of two parts:the subject description file and the Note annotation file.The main body description file and Note annotation file can completely describe the general characteristics of the communication protocol data message format,and its structure is clear and easy to understand.Then,a general description method of synchronous interaction logic is designed,and a hierarchical structure is used to describe the consistency test set.The conformance test set is divided into 3 levels,and each level corresponds to an XML file with different common attributes and elements.Through the state migration extraction and function division of the protocol,the three-layer XML description file is integrated into a complete consistency test set,and its structure is clear,which is convenient for testers to master.Finally,the overall organization structure design and implementation of the universal communication protocol conformance test system are completed,and the system is used to conduct conformance tests on the BGP4 protocol and the FTP protocol.
Keywords/Search Tags:conformance test, XML, abstract test suite, executable test suite
PDF Full Text Request
Related items