Font Size: a A A

The Design And Implementation Of Template Matching Mechanisms In TTCN-3 Testing Platform

Posted on:2010-09-27Degree:MasterType:Thesis
Country:ChinaCandidate:B ZhengFull Text:PDF
GTID:2178360278467878Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
Along with the fast development of computer network, the research on protocol test technique is becoming increasingly important. In order to adapt to a wider range of test requirements, ETSI(European telecommunications Standards Institute) re-design and release a new generation of protocol and software test standards -TTCN-3 (Testing and Test Control Notation Version 3). It defines and standardizes description language of abstract test suit, meanwhile describes the TTCN-3 Operational Semantics and standardizes the testing system interface between the various components. TTCN-3 is a flexible and powerful language. It can be used to describe various response system tests on a variety of communication ports.The implementation of abstract test suit described by TTCN-3 language requires an operating environment, namely testing system. TTCN-3 implementation of the corresponding test platform is a vacancy in China. The work of the thesis is the important part of the test platform implementation—the template matching mechanisms.The template is a powerful functionality that the TTCN-3 provides and the template matching mechanisms is one of function of the template. It allows functions can be called in case of some parameters received, or filters out the messages meet the special requirements from the received message.At a full analysis of ETSI standard document, based on the use of object-oriented software development technology, three aspects of work the thesis to do are: First, template matching function implementation must be based on the TTCN-3 data type, but this part is not perfect. In order to achieve template matching function, we have supplemented and modified the TTCN-3 types and values. Second, we analyze the role of the template matching function in the entire test platform and various template matching mechanisms, and then package the template definition in ATS into class. We implement template matching function in the class operation. In order to improve the reliability and efficiency we use regular expressions in the implementation of template matching functions of string. Finally, provide abstract test suits and corresponding C++ source codes to verify reasonableness of implementation.
Keywords/Search Tags:TTCN-3, Template, Template matching, Datatype
PDF Full Text Request
Related items