The TTCN-3(Testing and Test Control Notation version 3)[1-2] based test systems are widely used for protocol testing in various technical system, but fall to be inefficient in both compiling and running, since the implementation are primarily based on high-level programming language and interpretation-execution mechanism. Viewing the test system as ports state system, this paper proposes a port-oriented, and compiling running mechanism based TTCN-3 test system, which is implemented primarily by assembly programming language. The test process is divided into the implementation of a series of two phases: the first test phase is environment computation which is implemented by assembly language necessary for the following port operations and the second phase is corresponding port operations which can be implemented by higher-level programming language. The assembly language implementation for the TTCN-3 abstract test suit allows much more computational optimizations at a lower level, and the compiling-running mechanism outperforms the performance of interpretation-execution mechanism by saving the efforts for compiling whenever the TS is executed and CPU's sources for interpretation during runtime. Keywords-TTCN-3,Test System, Protocol conformance testing
[1]
Alexandre Petrenko,et al.
Test Selection Based on Communicating Nondeterministic Finite-State Machines Using a Generalized WP-Method
,
1994,
IEEE Trans. Software Eng..
[2]
Sihai Zhang,et al.
A Novel Test Architecture for Wireless Communication System
,
2011
.
[3]
Zeng Fan-ping.
Design and Implementation of TTCN-3 Test System
,
2005
.
[4]
Wen Jian,et al.
TTCN-3:A New Test Specification Language for Black-Box Testing of Distributed Systems
,
2001
.
[5]
Gregor von Bochmann,et al.
FSM-based incremental conformance testing methods
,
2004,
IEEE Transactions on Software Engineering.
[6]
Tiziana Margaria,et al.
The Testing and Test Control Notation TTCN-3 and its Use
,
2012
.
[7]
Jens Grabowski,et al.
TTCN-3 - A new Test Specification Language for Black-Box Testing of Distributed Systems
,
2000
.