Font Size: a A A

A Study On Design And Implementation Of Procedure-Based Communication In TTCN-3 Test Platform

Posted on:2012-03-02Degree:MasterType:Thesis
Country:ChinaCandidate:H WangFull Text:PDF
GTID:2178330335972276Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
The TTCN-3 language which was published by (ETSI) is a powerful language for testing specification, it is wildly used in conformance testing of network protocol and reactive systems. With the development of computer technology, the TTCN-3 language is going to be used more and more wildly in variety fields of software testing such as service testing, performance testing and inter-operability testing.This paper mainly researches on the design and implementation of TTCN-3 procedure-based communication on special testing platform. Procedure-based communication is one of the important testing behaviors of the TTCN-3 language. The TTCN-3 language uses the actions of components to simulate the behaviors of entities in a highly abstracted level during the testing. By using the mechanism of the message passing by connected or mapped ports on different components, the TTCN-31anguage can simulate the real-time or the connected communication procedure in real systems in an abstract but straight way. In the real TTCN-3 testing systems, the implementations of the procedure-based communication need the interaction between the ETS and T3RTS inside TE by internal interfaces, and the interaction between TE and other entities by standard interfaces. Based on the package2 at the AO stage implemented by the European UNION Go4IT project, meeting the ttcn-3 technical standards published by ETSI, this thesis improves the TTCN-3 Run-time System which has implemented the message-based communication between test component and SUT on single TE node. The new T3RTS provides the.basic functions required by TE to implement the procedure-based communication. This thesis presents the design and implementation of the unique message format and its storage structure with related operations which validate the snapshot mechanism used in the message-based communication; the thesis presents the design and implementation of internal interface inside TE used between test components to call a procedure and get a procedure-call, to send and get a reply to a procedure-call, to raise and catch exceptions to a procedure-call;the thesis also designs and implements the internal interfaces inside TE used between a test component and the SUT to call a procedure and get a procedure-call, to send and get a reply to a procedure-call, to raise and catch exceptions to a procedure-call; the thesis also presents the design and implementation of the TCI and TRI should be implemented inside TE.Finally, the thesis illuminates the rationality and the usability of the interfaces designed and implemented inside TE by introducing an example of a TTCN-3 test suit.
Keywords/Search Tags:test, TTCN-3, procedure-based communication, TE, Go4IT
PDF Full Text Request
Related items