|
ETSI Standard
Methods for Testing and Specification (MTS);
The Testing and Test Control Notation version 3;
Part 6: TTCN-3 Control Interface (TCI)
---------------------- Page: 1 ----------------------
2 ETSI ES 201 873-6 V4.1.1 (2009-06)
Reference
RES/MTS-00107-6 T3 ed411 TCI
Keywords
control, interface, MTS, TCI, testing, TTCN
ETSI
650 Route des Lucioles
F-06921 Sophia Antipolis Cedex - FRANCE
Tel.: +33 4 92 94 42 00 Fax: +33 4 93 65 47 16
Siret N° 348 623 562 00017 - NAF 742 C
Association à but non lucratif enregistrée à la
Sous-Préfecture de Grasse (06) N° 7803/88
Important notice
Individual copies of the present document can be downloaded from:
http://www.etsi.org
The present document may be made available in more than one electronic version or in print. In any case of existing or
perceived difference in contents between such versions, the reference version is the Portable Document Format (PDF).
In case of dispute, the reference shall be the printing on ETSI printers of the PDF version kept on a specific network drive
within ETSI Secretariat.
Users of the present document should be aware that the document may be subject to revision or change of status.
Information on the current status of this and other ETSI documents is available at
http://portal.etsi.org/tb/status/status.asp
If you find errors in the present document, please send your comment to one of the following services:
http://portal.etsi.org/chaircor/ETSI_support.asp
Copyright Notification
No part may be reproduced except as authorized by written permission.
The copyright and the foregoing restriction extend to reproduction in all media.
© European Telecommunications Standards Institute 2009.
All rights reserved.
TM TM TM TM
DECT , PLUGTESTS , UMTS , TIPHON , the TIPHON logo and the ETSI logo are Trade Marks of ETSI registered
for the benefit of its Members.
TM
3GPP is a Trade Mark of ETSI registered for the benefit of its Members and of the 3GPP Organizational Partners.
LTE™ is a Trade Mark of ETSI currently being registered
for the benefit of its Members and of the 3GPP Organizational Partners.
GSM and the GSM logo are Trade Marks registered and owned by the GSM Association.
ETSI
---------------------- Page: 2 ----------------------
3 ETSI ES 201 873-6 V4.1.1 (2009-06)
Contents
Intellectual Property Rights.13
Foreword.13
1 Scope.14
2 References.14
2.1 Normative references.14
2.2 Informative references.15
3 Definitions and abbreviations.15
3.1 Definitions.15
3.2 Abbreviations.16
4 Introduction .17
5 Compliance.17
6 General structure of a TTCN-3 test system.17
6.1 Entities in a TTCN-3 test system.18
6.1.1 Test Management and Control (TMC).19
6.1.1.1 Test Management (TM) .19
6.1.1.2 Coding and Decoding (CD) .19
6.1.1.3 Component Handling (CH) .19
6.1.1.4 Test Logging (TL).21
6.1.2 TTCN-3 Executable (TE) .21
6.1.3 SUT Adaptor (SA).21
6.1.4 Platform Adaptor (PA).21
6.2 Execution requirements for a TTCN-3 test system .21
7 TTCN-3 control interface and operations.21
7.1 Overview of the TCI.21
7.1.1 Correlation between TTCN-3 and TCI operation invocations.22
7.2 TCI data.23
7.2.1 General abstract data types .23
7.2.1.1 Management.23
7.2.1.2 Communication.24
7.2.2 Abstract TTCN-3 data types and values .24
7.2.2.1 Abstract TTCN-3 data types .25
7.2.2.2 Abstract TTCN-3 values .26
7.2.2.2.1 The abstract data type Value .26
7.2.2.2.2 The abstract data type IntegerValue .27
7.2.2.2.3 The abstract data type FloatValue .27
7.2.2.2.4 The abstract data type BooleanValue .27
7.2.2.2.5 The abstract data type CharstringValue .27
7.2.2.2.6 The abstract data type UniversalCharstringValue.28
7.2.2.2.7 The abstract data type BitstringValue.28
7.2.2.2.8 The abstract data type OctetstringValue.29
7.2.2.2.9 The abstract data type HexstringValue.29
7.2.2.2.10 The abstract data type RecordValue.30
7.2.2.2.11 The abstract data type RecordOfValue.30
7.2.2.2.12 The abstract data type UnionValue .31
7.2.2.2.13 The abstract data type EnumeratedValue .31
7.2.2.2.14 The abstract data type VerdictValue .32
7.2.2.2.15 The abstract data type AddressValue .32
7.2.3 Abstract logging types .32
7.2.3.1 The abstract data type TciValueTemplate.32
7.2.3.2 The abstract data type TciNonValueTemplate.32
7.2.3.3 The Value List and Mismatch Types .32
ETSI
---------------------- Page: 3 ----------------------
4 ETSI ES 201 873-6 V4.1.1 (2009-06)
7.2.3.4 The Status Types.33
7.3 TCI operations.33
7.3.1 The TCI-TM interface.34
7.3.1.1 TCI-TM required.35
7.3.1.1.1 tciRootModule.35
7.3.1.1.2 tciGetImportedModules.35
7.3.1.1.3 tciGetModuleParameters.35
7.3.1.1.4 tciGetTestCases.35
7.3.1.1.5 tciGetTestCaseParameters.36
7.3.1.1.6 tciGetTestCaseTSI.36
7.3.1.1.7 tciStartTestCase.36
7.3.1.1.8 tciStopTestCase.36
7.3.1.1.9 tciStartControl.37
7.3.1.1.10 tciStopControl.37
7.3.1.2 TCI-TM provided.37
7.3.1.2.1 tciTestCaseStarted.37
7.3.1.2.2 tciTestCaseTerminated.37
7.3.1.2.3 tciControlTerminated.38
7.3.1.2.4 tciGetModulePar.38
7.3.1.2.5 tciLog.38
7.3.1.2.6 tciError.38
7.3.2 The TCI-CD interface.38
7.3.2.1 TCI-CD required.39
7.3.2.1.1 getTypeForName.39
7.3.2.1.2 getInteger.40
7.3.2.1.3 getFloat.40
7.3.2.1.4 getBoolean.40
7.3.2.1.5 Void.40
7.3.2.1.6 getCharstring.40
7.3.2.1.7 getUniversalCharstring.40
7.3.2.1.8 getHexstring.40
7.3.2.1.9 getBitstring.40
7.3.2.1.10 getOctetstring.40
7.3.2.1.11 getVerdict.41
7.3.2.1.12 tciErrorReq.41
7.3.2.2 TCI-CD provided .41
7.3.2.2.1 decode.41
7.3.2.2.2 encode.41
7.3.3 The TCI-CH interface.41
7.3.3.1 TCI-CH required.42
7.3.3.1.1 tciEnqueueMsgConnected.43
7.3.3.1.2 tciEnqueueCallConnected.43
7.3.3.1.3 tciEnqueueReplyConnected.43
7.3.3.1.4 tciEnqueueRaiseConnected.44
7.3.3.1.5 tciCreateTestComponent.44
7.3.3.1.6 tciStartTestComponent.44
7.3.3.1.7 tciStopTestComponent.44
7.3.3.1.8 tciConnect.45
7.3.3.1.9 tciDisconnect.45
7.3.3.1.10 tciMap.45
7.3.3.1.11 tciUnmap.45
7.3.3.1.12 tciTestComponentTerminated.45
7.3.3.1.13 tciTestComponentRunning.46
7.3.3.1.14 tciTestComponentDone.46
7.3.3.1.15 tciGetMTC.46
7.3.3.1.16 tciExecuteTestCase.46
7.3.3.1.17 tciReset.47
7.3.3.1.18 tciKillTestComponent.47
7.3.3.1.19 tciTestComponentAlive.47
7.3.3.1.20 tciTestComponentKilled.47
7.3.3.2 TCI-CH provided .47
7.3.3.2.1 tciSendConnected.47
ETSI
---------------------- Page: 4 ----------------------
5 ETSI ES 201 873-6 V4.1.1 (2009-06)
7.3.3.2.2 tciSendConnectedBC.48
7.3.3.2.3 tciSendConnectedMC.48
7.3.3.2.4 tciCallConnected.48
7.3.3.2.5 tciCallConnectedBC.49
7.3.3.2.6 tciCallConnectedMC.49
7.3.3.2.7 tciReplyConnected.50
7.3.3.2.8 tciReplyConnectedBC.50
7.3.3.2.9 tciReplyConnectedMC.51
7.3.3.2.10 tciRaiseConnected.51
7.3.3.2.11 tciRaiseConnectedBC.51
7.3.3.2.12 tciRaiseConnectedMC.52
7.3.3.2.13 tciCreateTestComponentReq.52
7.3.3.2.14 tciStartTestComponentReq.52
7.3.3.2.15 tciStopTestComponentReq.52
7.3.3.2.16 tciConnectReq.53
7.3.3.2.17 tciDisconnectReq.53
7.3.3.2.18 tciMapReq.53
7.3.3.2.19 tciUnmapReq.53
7.3.3.2.20 tciTestComponentTerminatedReq.54
7.3.3.2.21 tciTestComponentRunningReq.54
7.3.3.2.22 tciTestComponentDoneReq.54
7.3.3.2.23 tciGetMTCReq.54
7.3.3.2.24 tciExecuteTestCaseReq.55
7.3.3.2.25 tciResetReq.55
7.3.3.2.26 tciKillTestComponentReq.55
7.3.3.2.27 tciTestComponentAliveReq.55
7.3.3.2.28 tciTestComponentKilledReq.55
7.3.4 The TCI-TL interface.56
7.3.4.1 TCI-TL provided.56
7.3.4.1.1 tliTcExecute.56
7.3.4.1.2 tliTcStart.57
7.3.4.1.3 tliTcStop.57
7.3.4.1.4 tliTcStarted.57
7.3.4.1.5 tliTcTerminated.58
7.3.4.1.6 tliCtrlStart.58
7.3.4.1.7 tliCtrlStop.58
7.3.4.1.8 tliCtrlTerminated.59
7.3.4.1.9 tliMSend_m.59
7.3.4.1.10 tliMSend_m_BC.60
7.3.4.1.11 tliMSend_m_MC.60
7.3.4.1.12 tliMSend_c.61
7.3.4.1.13 tliMSend_c_BC.61
7.3.4.1.14 tliMSend_c_MC.61
7.3.4.1.15 tliMDetected_m.62
7.3.4.1.16 tliMDetected_c.62
7.3.4.1.17 tliMMismatch_m.63
7.3.4.1.18 tliMMismatch_c.63
7.3.4.1.19 tliMReceive_m.64
7.3.4.1.20 tliMReceive_c.64
7.3.4.1.21 tliPrCall_m.65
7.3.4.1.22 tliPrCall_m_BC.65
7.3.4.1.23 tliPrCall_m_MC.66
7.3.4.1.24 tliPrCall_c.66
7.3.4.1.25 tliPrCall_c_BC.67
7.3.4.1.26 tliPrCall_c_MC.67
7.3.4.1.27 tliPrGetCallDetected_m.68
7.3.4.1.28 tliPrGetCallDetected_c.68
7.3.4.1.29 tliPrGetCallMismatch_m.69
7.3.4.1.30 tliPrGetCallMismatch_c .69
7.3.4.1.31 tliPrGetCall_m.70
7.3.4.1.32 tliPrGetCall_c.70
7.3.4.1.33 tliPrReply_m.71
ETSI
---------------------- Page: 5 ----------------------
6 ETSI ES 201 873-6 V4.1.1 (2009-06)
7.3.4.1.34 tliPrReply_m_BC.71
7.3.4.1.35 tliPrReply_m_MC.72
7.3.4.1.36 tliPrReply_c.
...