Académique Documents
Professionnel Documents
Culture Documents
TERM
PROJECT
TTCN-3
User Conference 2011 Bled, Slovenia
Presented by MCC TF160: Wolfgang Seka
Authors: Wolfgang Seka, Hellen Griffiths, Shicheng Hu
wolfgang.seka@etsi.org , hellen.griffiths@etsi.org , shicheng.hu@etsi.org
THE PROJECT
3
Conformance Tests
Tools:
6 different compilers (all available at ETSI)
quality checks (naming conventions, template restrictions etc.)
code generation (top-level test case definitions, parameters, etc.)
code analysis (structure, approved objects)
TTCN-3 code is officially published and widely used
5
Component Structure - 1
MTC
Start of PTCs, monitoring of done and killed
RAT independent interfaces (e.g. AT-/MMI-commands to control the UE)
In general no pass/fail verdicts
PTCs for each RAT (radio access technology)
LTE, UMTS, GSM/GPRS, CDMA2000
May be connected to any other RAT PTC
Only RAT specific interfaces
Assignment of pass/fail verdicts
PTCs for other protocols
IP data (e.g. DHCP, ICMPv6), IMS and protocol layer underneath LTE PTC (NAS
Emulator)
To keep system interface simple and deal with parallel behaviour
In general no test characteristic ( no pass/fail verdicts)
7 7
UTRAN
PTC
Coordination
C2K_Ut
CDMA2000
PTC
Upper Tester
(AT , MMI)
G_Ut
SYSIND
SYS
NASCTRL
SRB
GERAN
PTC
CTRL
TC_SRB
MTC
U_Ut
DRB
E_Ut
C2K
GERAN
PTC
UT
(LTE)
GERAN
EUTRA PTC
CDMA2000
PTC
UTRAN
Component Structure - 2
NAS Emulator
E_DRB
E_SYSIND
E_SYS
SYS_SRB
Ut
E_SRB
Ut
System Interface
ETSI 2011. All rights reserved
UTRAN
PTC
Configuration
Signalling
User Data
Test System
Host PC
Test Control,
Logging
System Simulator
HW
Test Executable
Codec
System/
Platform
Adaptor
system
complex configuration
delay of messages
no matter what test
purpose is
SUT
RF
UE
specific
AT/MMI
e.g. requirements regarding real-time behaviour for System Simulator and TTCN-3 code
8
TECHNICAL ISSUES
9
System Restrictions
Estimation
10
11
information
Short duration only: For LTE, wrap-around after 10s
No bell mechanism (yet):
to schedule a wake-up call in the system simulator to send back a trigger after a
given time
Race Conditions
Race conditions occur when
TTCN implementation
12
Extendibility
Extensions of TTCN-3 code
14
too
modification of templates and addition of optional parameters
may serve the same purpose
possible conflicts, potential contradiction of both approaches
ETSI 2011. All rights reserved
Backward Compatibility - 1
Backward Compatibility at the System Interface
Impact
top-level records or unions (even when not needed in the first place)
definitions of place holders
15
Backward Compatibility - 2
Examples: Backward Compatibility at System
Interface
type union MyUnion_Type :=
{
R8_Type R8
type record
MyRecord_Type := {
R8_Type R8Only
type record
MyRecord_Type := {
R8_Type R8Only,
R9Extension_Type R9Ext
};
optional
Extension: templates may be enhanced
};by optional parameter
16
Tools
Large, long-term project
Requirements
Quality checks
Approved objects: objects used by approved test cases shall not
be changed without change request
Analysis of module dependencies
Recursive selection
ETSI)
Project-specific front-ends (approved objects, recursive selection)
Further project specific tools:
replace tabs, find non-ASCII characters in comments
17
CONCLUSIONS
18
template restrictions
encvalue/decvalue
testcase.stop
19
Common Conclusions
Feedback of long-terms projects to the core language is vital
Tool Compatibility is needed
Shortened release cycle of TTCN-3 standards
TTCN-3 development is SW Development
SW Engineering
System Engineering
Long-term characteristic of a project needs to be considered from the
beginning
Conceptual errors will be expensive
Tool support is vital
Common and project-specific tools
20
ADDITIONAL SLIDES
21
Release Upgrades - 1
Release Upgrade for Protocol and Signalling
(Baseline Moving)
Non-critical extensions
22
Release Upgrades - 2
Impact on writing TTCN-3
Non-critical extensions
parameters
(initialised with * for receiving and omit for sending)
Critical extensions
23