Methods for Testing and Specification (MTS) - The Testing and Test Control Notation version 3 - Part 6: TTCN-3 Control Interface (TCI)

The present document specifies the control interfaces for TTCN-3 test system implementations. The TTCN-3 Control
Interfaces provide a standardized adaptation for management, test component handling and encoding/decoding of a test
system to a particular test platform. The present document defines the interfaces as a set of operations independent of a
target language.
The interfaces are defined to be compatible with the TTCN-3 standard (see clause 2). The interface definition uses the
CORBA Interface Definition Language (IDL) to specify the TCI completely. Clauses 8, 9, 10, 11 and 12 present
language mappings for this abstract specification to the target languages Java™, ANSI C, C++, XML and C#.
A summary of the IDL-based interface specification is provided in annex A.
NOTE: JavaTM is the trade name of a programming language developed by Oracle Corporation. This information
is given for the convenience of users of the present document and does not constitute an endorsement by
ETSI of the programming language named. Equivalent programming languages may be used if they can
be shown to lead to the same results.

Metode za preskušanje in specificiranje (MTS) - 3. različica zapisa preskušanja in krmiljenja preskusov - 6. del: Krmilni vmesnik TTCN-3 (TCI)

Ta dokument določa krmilne vmesnike za izvedbe preskusnega sistema TTCN-3. Krmilni vmesniki TTCN-3 zagotavljajo standardizirano prilagoditev za upravljanje, obravnavo preskusne komponente in kodiranje/dekodiranje preskusnega sistema za določeno preskusno platformo. V tem dokumentu so vmesniki opredeljeni kot niz postopkov, neodvisnih od ciljnega jezika.
Vmesniki so opredeljeni kot združljivi s standardom TTCN-3 (glej točko 2). Za popolno določitev TCI definicija vmesnika uporablja jezik za definicijo vmesnikov (IDL) CORBA. V točkah 8, 9, 10, 11 in 12 so predstavljene preslikave jezikov za to abstraktno specificiranje v ciljne jezike Java™, ANSI C, C++, XML in C#.
Povzetek specifikacij vmesnikov na osnovi IDL je podan v dodatku A.
OPOMBA: Java™ je tržno ime programskega jezika, ki ga je razvila družba Oracle Corporation. Te informacije so navedene za boljše razumevanje standarda s strani uporabnikov in ne pomenijo, da ETSI podpira imenovani programski jezik. Uporabljajo se lahko enakovredni programski jeziki, ki zagotavljajo enake rezultate.

General Information

Status
Published
Publication Date
03-Dec-2018
Current Stage
6060 - National Implementation/Publication (Adopted Project)
Start Date
28-Nov-2018
Due Date
02-Feb-2019
Completion Date
04-Dec-2018

Buy Standard

Standard
ETSI ES 201 873-6 V4.10.1 (2018-05) - Methods for Testing and Specification (MTS); The Testing and Test Control Notation version 3; Part 6: TTCN-3 Control Interface (TCI)
English language
364 pages
sale 15% off
Preview
sale 15% off
Preview
Standard
ETSI ES 201 873-6 V4.10.1 (2018-03) - Methods for Testing and Specification (MTS); The Testing and Test Control Notation version 3; Part 6: TTCN-3 Control Interface (TCI)
English language
364 pages
sale 15% off
Preview
sale 15% off
Preview
Standardization document
ES 201 873-6 V4.10.1:2019
English language
364 pages
sale 10% off
Preview
sale 10% off
Preview
e-Library read for
1 day

Standards Content (Sample)

ETSI ES 201 873-6 V4.10.1 (2018-05)






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.10.1 (2018-05)



Reference
RES/MTS-201873-6 T3ed4A1
Keywords
control, interface, methodology, TCI, testing,
TTCN-3
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
The present document can be downloaded from:
http://www.etsi.org/standards-search
The present document may be made available in electronic versions and/or in print. The content of any electronic and/or
print versions of the present document shall not be modified without the prior written authorization of ETSI. In case of any
existing or perceived difference in contents between such versions and/or in print, the only prevailing document is the
print of the Portable Document Format (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
https://portal.etsi.org/TB/ETSIDeliverableStatus.aspx
If you find errors in the present document, please send your comment to one of the following services:
https://portal.etsi.org/People/CommiteeSupportStaff.aspx
Copyright Notification
No part may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying
and microfilm except as authorized by written permission of ETSI.
The content of the PDF version shall not be modified without the written authorization of ETSI.
The copyright and the foregoing restriction extend to reproduction in all media.

© ETSI 2018.
All rights reserved.

TM TM TM
DECT , PLUGTESTS , UMTS and the ETSI logo are trademarks of ETSI registered for the benefit of its Members.
TM TM
3GPP and LTE are trademarks of ETSI registered for the benefit of its Members and
of the 3GPP Organizational Partners.
oneM2M logo is protected for the benefit of its Members.
®
GSM and the GSM logo are trademarks registered and owned by the GSM Association.
ETSI

---------------------- Page: 2 ----------------------
3 ETSI ES 201 873-6 V4.10.1 (2018-05)
Contents
Intellectual Property Rights . 16
Foreword . 16
Modal verbs terminology . 16
1 Scope . 17
2 References . 17
2.1 Normative references . 17
2.2 Informative references . 18
3 Definitions and abbreviations . 18
3.1 Definitions . 18
3.2 Abbreviations . 19
4 Introduction . 20
5 Compliance . 20
6 General structure of a TTCN-3 test system . 20
6.1 Entities in a TTCN-3 test system . 20
6.1.0 Types of entities . 20
6.1.1 Test Management and Control (TMC). 22
6.1.1.0 Test Management and Control Entities . 22
6.1.1.1 Test Management (TM) . 22
6.1.1.2 Coding and Decoding (CD) . 22
6.1.1.3 Component Handling (CH) . 23
6.1.1.4 Test Logging (TL) . 24
6.1.2 TTCN-3 Executable (TE) . 24
6.1.3 SUT Adaptor (SA) . 24
6.1.4 Platform Adaptor (PA) . 24
6.2 Execution requirements for a TTCN-3 test system . 24
7 TTCN-3 control interface and operations . 24
7.1 Overview of the TCI. 24
7.1.0 TCI role in a TTCN-3 test system . 24
7.1.1 Correlation between TTCN-3 and TCI operation invocations . 25
7.1.1.0 Mapping of TTCN-3 operations to TCI operations . 25
7.1.1.1 TTCN-3 operations with TCI operation equivalent . 25
7.1.1.2 TTCN-3 operations with TCI operation pair equivalent . 26
7.1.1.3 TTCN-3 operations without direct TCI operation equivalent . 27
7.1.1.3.0 Mapping of TTCN-3 operations to series of TCI operations . 27
7.1.1.3.1 Test case stop operation . 27
7.2 TCI data . 27
7.2.0 Abstract data types . 27
7.2.1 General abstract data types . 27
7.2.1.0 Use of general abstract data types . 27
7.2.1.1 Management . 27
7.2.1.2 Communication . 28
7.2.2 Abstract TTCN-3 data types and values . 29
7.2.2.0 Definition and scope of use . 29
7.2.2.1 Abstract TTCN-3 data types . 29
7.2.2.2 Abstract TTCN-3 values . 31
7.2.2.2.0 Basic rules . 31
7.2.2.2.1 The abstract data type Value . 32
7.2.2.2.2 The abstract data type IntegerValue . 35
7.2.2.2.3 The abstract data type FloatValue . 35
7.2.2.2.4 The abstract data type BooleanValue . 35
7.2.2.2.5 The abstract data type CharstringValue . 35
7.2.2.2.6 The abstract data type UniversalCharstringValue . 36
ETSI

---------------------- Page: 3 ----------------------
4 ETSI ES 201 873-6 V4.10.1 (2018-05)
7.2.2.2.7 The abstract data type BitstringValue . 36
7.2.2.2.8 The abstract data type OctetstringValue . 37
7.2.2.2.9 The abstract data type HexstringValue . 38
7.2.2.2.10 The abstract data type RecordValue . 39
7.2.2.2.11 The abstract data type RecordOfValue . 39
7.2.2.2.12 The abstract data type UnionValue . 41
7.2.2.2.13 The abstract data type EnumeratedValue . 41
7.2.2.2.14 The abstract data type VerdictValue . 41
7.2.2.2.15 The abstract data type AddressValue . 42
7.2.2.3 Abstract TTCN-3 matching mechanisms . 42
7.2.2.3.1 The abstract data type MatchingMechanism . 42
7.2.2.3.2 The abstract data type MatchingList . 42
7.2.2.3.3 The abstract data type ValueRange . 43
7.2.2.3.4 The abstract data type CharacterPattern . 43
7.2.2.3.5 The abstract data type MatchDecodedContent . 44
7.2.2.4 Data types for complex TTCN-3 properties . 44
7.2.2.4.0 Scope of use of TTCN-3 properties . 44
7.2.2.4.1 The abstract data type LengthRestriction . 44
7.2.2.4.2 The abstract data type Permutation . 44
7.2.2.4.3 The abstract data type RangeBoundary . 45
7.2.3 Abstract logging types . 45
7.2.3.1 The abstract data type TciValueTemplate . 45
7.2.3.2 The abstract data type TciNonValueTemplate . 45
7.2.3.3 The Value List and Mismatch Types . 46
7.2.3.4 The Status Types . 46
7.3 TCI operations . 47
7.3.0 The TCI interfaces . 47
7.3.1 The TCI-TM interface . 48
7.3.1.0 Scope of use . 48
7.3.1.1 TCI-TM required . 48
7.3.1.1.0 Scope of use . 48
7.3.1.1.1 tciRootModule . 48
7.3.1.1.2 tciGetImportedModules . 49
7.3.1.1.3 tciGetModuleParameters . 49
7.3.1.1.4 tciGetTestCases . 49
7.3.1.1.5 tciGetTestCaseParameters . 49
7.3.1.1.6 tciGetTestCaseTSI . 49
7.3.1.1.7 tciStartTestCase . 50
7.3.1.1.8 tciStopTestCase . 50
7.3.1.1.9 tciStartControl . 50
7.3.1.1.10 tciStopControl . 50
7.3.1.2 TCI-TM provided . 51
7.3.1.2.0 Scope of use . 51
7.3.1.2.1 tciTestCaseStarted . 51
7.3.1.2.2 tciTestCaseTerminated . 51
7.3.1.2.3 tciControlTerminated . 51
7.3.1.2.4 tciGetModulePar. 52
7.3.1.2.5 tciLog . 52
7.3.1.2.6 tciError. 52
7.3.2 The TCI-CD interface . 52
7.3.2.0 Scope of use . 52
7.3.2.1 TCI-CD required . 53
7.3.2.1.0 Scope of use . 53
7.3.2.1.1 getTypeForName . 53
7.3.2.1.2 getInteger . 54
7.3.2.1.3 getFloat . 54
7.3.2.1.4 getBoolean . 54
7.3.2.1.5 Void . 54
7.3.2.1.6 getCharstring . 54
7.3.2.1.7 getUniversalCharstring . 54
ETSI

---------------------- Page: 4 ----------------------
5 ETSI ES 201 873-6 V4.10.1 (2018-05)
7.3.2.1.8 getHexstring . 54
7.3.2.1.9 getBitstring . 54
7.3.2.1.10 getOctetstring . 55
7.3.2.1.11 getVerdict . 55
7.3.2.1.12 tciErrorReq . 55
7.3.2.2 TCI-CD provided . 55
7.3.2.2.0 Scope of use . 55
7.3.2.2.1 decode . 55
7.3.2.2.2 encode . 55
7.3.2.2.3 decodeValue . 56
7.3.2.2.4 encodeValue . 56
7.3.3 The TCI-CH interface . 56
7.3.3.0 Scope of use . 56
7.3.3.1 TCI-CH required . 57
7.3.3.1.0 Scope of use . 57
7.3.3.1.1 tciEnqueueMsgConnected . 58
7.3.3.1.2 tciEnqueueCallConnected . 58
7.3.3.1.3 tciEnqueueReplyConnected . 58
7.3.3.1.4 tciEnqueueRaiseConnected . 59
7.3.3.1.5 tciCreateTestComponent . 59
7.3.3.1.6 tciStartTestComponent . 59
7.3.3.1.7 tciStopTestComponent . 60
7.3.3.1.8 tciConnect . 60
7.3.3.1.9 tciDisconnect . 60
7.3.3.1.10 tciMap . 60
7.3.3.1.11 tciMapParam . 60
7.3.3.1.12 tciUnmap . 61
7.3.3.1.13 tciUnmapParam . 61
7.3.3.1.14 tciTestComponentTerminated . 61
7.3.3.1.15 tciTestComponentRunning . 61
7.3.3.1.16 tciTestComponentDone . 61
7.3.3.1.17 tciGetMTC . 62
7.3.3.1.18 tciExecuteTestCase . 62
7.3.3.1.19 tciReset . 62
7.3.3.1.20 tciKillTestComponent . 62
7.3.3.1.21 tciTestComponentAlive . 63
7.3.3.1.22 tciTestComponentKilled . 63
7.3.3.2 TCI-CH provided . 63
7.3.3.2.0 Scope of use . 63
7.3.3.2.1 tciSendConnected . 63
7.3.3.2.2 tciSendConnectedBC . 63
7.3.3.2.3 tciSendConnectedMC . 64
7.3.3.2.4 tciCallConnected . 64
7.3.3.2.5 tciCallConnectedBC . 64
7.3.3.2.6 tciCallConnectedMC . 65
7.3.3.2.7 tciReplyConnected . 65
7.3.3.2.8 tciReplyConnectedBC . 66
7.3.3.2.9 tciReplyConnectedMC . 66
7.3.3.2.10 tciRaiseConnected . 67
7.3.3.2.11 tciRaiseConnectedBC . 67
7.3.3.2.12 tciRaiseConnectedMC . 67
7.3.3.2.13 tciCreateTestComponentReq . 68
7.3.3.2.14 tciStartTestComponentReq . 68
7.3.3.2.15 tciStopTestComponentReq . 68
7.3.3.2.16 tciConnectReq . 68
7.3.3.2.17 tciDisconnectReq . 69
7.3.3.2.18 tciMapReq . 69
7.3.3.2.19 tciMapParamReq . 69
7.3.3.2.20 tciUnmapReq . 69
7.3.3.2.21 tciUnmapParamReq . 70
7.3.3.2.22 tciTestComponentTerminatedReq . 70
7.3.3.2.23 tciTestComponentRunningReq . 70
ETSI

---------------------- Page: 5 ----------------------
6 ETSI ES 201 873-6 V4.10.1 (2018-05)
7.3.3.2.24 tciTestComponentDoneReq . 70
7.3.3.2.25 tciGetMTCReq . 70
7.3.3.2.26 tciExecuteTestCaseReq .
...

Final draft ETSI ES 201 873-6 V4.10.1 (2018-03)






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 Final draft ETSI ES 201 873-6 V4.10.1 (2018-03)



Reference
RES/MTS-201873-6T3TCIed4A1
Keywords
control, interface, methodology, TCI, testing,
TTCN-3
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
The present document can be downloaded from:
http://www.etsi.org/standards-search
The present document may be made available in electronic versions and/or in print. The content of any electronic and/or
print versions of the present document shall not be modified without the prior written authorization of ETSI. In case of any
existing or perceived difference in contents between such versions and/or in print, the only prevailing document is the
print of the Portable Document Format (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
https://portal.etsi.org/TB/ETSIDeliverableStatus.aspx
If you find errors in the present document, please send your comment to one of the following services:
https://portal.etsi.org/People/CommiteeSupportStaff.aspx
Copyright Notification
No part may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying
and microfilm except as authorized by written permission of ETSI.
The content of the PDF version shall not be modified without the written authorization of ETSI.
The copyright and the foregoing restriction extend to reproduction in all media.

© ETSI 2018.
All rights reserved.

TM TM TM
DECT , PLUGTESTS , UMTS and the ETSI logo are trademarks of ETSI registered for the benefit of its Members.
TM TM
3GPP and LTE are trademarks of ETSI registered for the benefit of its Members and
of the 3GPP Organizational Partners.
oneM2M logo is protected for the benefit of its Members.
®
GSM and the GSM logo are trademarks registered and owned by the GSM Association.
ETSI

---------------------- Page: 2 ----------------------
3 Final draft ETSI ES 201 873-6 V4.10.1 (2018-03)
Contents
Intellectual Property Rights . 16
Foreword . 16
Modal verbs terminology . 16
1 Scope . 17
2 References . 17
2.1 Normative references . 17
2.2 Informative references . 18
3 Definitions and abbreviations . 18
3.1 Definitions . 18
3.2 Abbreviations . 19
4 Introduction . 20
5 Compliance . 20
6 General structure of a TTCN-3 test system . 20
6.1 Entities in a TTCN-3 test system . 20
6.1.0 Types of entities . 20
6.1.1 Test Management and Control (TMC). 22
6.1.1.0 Test Management and Control Entities . 22
6.1.1.1 Test Management (TM) . 22
6.1.1.2 Coding and Decoding (CD) . 22
6.1.1.3 Component Handling (CH) . 23
6.1.1.4 Test Logging (TL) . 24
6.1.2 TTCN-3 Executable (TE) . 24
6.1.3 SUT Adaptor (SA) . 24
6.1.4 Platform Adaptor (PA) . 24
6.2 Execution requirements for a TTCN-3 test system . 24
7 TTCN-3 control interface and operations . 24
7.1 Overview of the TCI. 24
7.1.0 TCI role in a TTCN-3 test system . 24
7.1.1 Correlation between TTCN-3 and TCI operation invocations . 25
7.1.1.0 Mapping of TTCN-3 operations to TCI operations . 25
7.1.1.1 TTCN-3 operations with TCI operation equivalent . 25
7.1.1.2 TTCN-3 operations with TCI operation pair equivalent . 26
7.1.1.3 TTCN-3 operations without direct TCI operation equivalent . 27
7.1.1.3.0 Mapping of TTCN-3 operations to series of TCI operations . 27
7.1.1.3.1 Test case stop operation . 27
7.2 TCI data . 27
7.2.0 Abstract data types . 27
7.2.1 General abstract data types . 27
7.2.1.0 Use of general abstract data types . 27
7.2.1.1 Management . 27
7.2.1.2 Communication . 28
7.2.2 Abstract TTCN-3 data types and values . 29
7.2.2.0 Definition and scope of use . 29
7.2.2.1 Abstract TTCN-3 data types . 29
7.2.2.2 Abstract TTCN-3 values . 31
7.2.2.2.0 Basic rules . 31
7.2.2.2.1 The abstract data type Value . 32
7.2.2.2.2 The abstract data type IntegerValue . 35
7.2.2.2.3 The abstract data type FloatValue . 35
7.2.2.2.4 The abstract data type BooleanValue . 35
7.2.2.2.5 The abstract data type CharstringValue . 35
ETSI

---------------------- Page: 3 ----------------------
4 Final draft ETSI ES 201 873-6 V4.10.1 (2018-03)
7.2.2.2.6 The abstract data type UniversalCharstringValue . 36
7.2.2.2.7 The abstract data type BitstringValue . 36
7.2.2.2.8 The abstract data type OctetstringValue . 37
7.2.2.2.9 The abstract data type HexstringValue . 38
7.2.2.2.10 The abstract data type RecordValue . 39
7.2.2.2.11 The abstract data type RecordOfValue . 39
7.2.2.2.12 The abstract data type UnionValue . 41
7.2.2.2.13 The abstract data type EnumeratedValue . 41
7.2.2.2.14 The abstract data type VerdictValue . 41
7.2.2.2.15 The abstract data type AddressValue . 42
7.2.2.3 Abstract TTCN-3 matching mechanisms . 42
7.2.2.3.1 The abstract data type MatchingMechanism . 42
7.2.2.3.2 The abstract data type MatchingList . 42
7.2.2.3.3 The abstract data type ValueRange . 43
7.2.2.3.4 The abstract data type CharacterPattern . 43
7.2.2.3.5 The abstract data type MatchDecodedContent . 44
7.2.2.4 Data types for complex TTCN-3 properties . 44
7.2.2.4.0 Scope of use of TTCN-3 properties . 44
7.2.2.4.1 The abstract data type LengthRestriction . 44
7.2.2.4.2 The abstract data type Permutation . 44
7.2.2.4.3 The abstract data type RangeBoundary . 45
7.2.3 Abstract logging types . 45
7.2.3.1 The abstract data type TciValueTemplate . 45
7.2.3.2 The abstract data type TciNonValueTemplate . 45
7.2.3.3 The Value List and Mismatch Types . 46
7.2.3.4 The Status Types . 46
7.3 TCI operations . 47
7.3.0 The TCI interfaces . 47
7.3.1 The TCI-TM interface . 48
7.3.1.0 Scope of use . 48
7.3.1.1 TCI-TM required . 48
7.3.1.1.0 Scope of use . 48
7.3.1.1.1 tciRootModule . 48
7.3.1.1.2 tciGetImportedModules . 49
7.3.1.1.3 tciGetModuleParameters . 49
7.3.1.1.4 tciGetTestCases . 49
7.3.1.1.5 tciGetTestCaseParameters . 49
7.3.1.1.6 tciGetTestCaseTSI . 49
7.3.1.1.7 tciStartTestCase . 50
7.3.1.1.8 tciStopTestCase . 50
7.3.1.1.9 tciStartControl . 50
7.3.1.1.10 tciStopControl . 50
7.3.1.2 TCI-TM provided . 51
7.3.1.2.0 Scope of use . 51
7.3.1.2.1 tciTestCaseStarted . 51
7.3.1.2.2 tciTestCaseTerminated . 51
7.3.1.2.3 tciControlTerminated . 51
7.3.1.2.4 tciGetModulePar. 52
7.3.1.2.5 tciLog . 52
7.3.1.2.6 tciError. 52
7.3.2 The TCI-CD interface . 52
7.3.2.0 Scope of use . 52
7.3.2.1 TCI-CD required . 53
7.3.2.1.0 Scope of use . 53
7.3.2.1.1 getTypeForName . 53
7.3.2.1.2 getInteger . 54
7.3.2.1.3 getFloat . 54
7.3.2.1.4 getBoolean . 54
7.3.2.1.5 Void . 54
7.3.2.1.6 getCharstring . 54
ETSI

---------------------- Page: 4 ----------------------
5 Final draft ETSI ES 201 873-6 V4.10.1 (2018-03)
7.3.2.1.7 getUniversalCharstring . 54
7.3.2.1.8 getHexstring . 54
7.3.2.1.9 getBitstring . 54
7.3.2.1.10 getOctetstring . 55
7.3.2.1.11 getVerdict . 55
7.3.2.1.12 tciErrorReq . 55
7.3.2.2 TCI-CD provided . 55
7.3.2.2.0 Scope of use . 55
7.3.2.2.1 decode . 55
7.3.2.2.2 encode . 55
7.3.2.2.3 decodeValue . 56
7.3.2.2.4 encodeValue . 56
7.3.3 The TCI-CH interface . 56
7.3.3.0 Scope of use . 56
7.3.3.1 TCI-CH required . 57
7.3.3.1.0 Scope of use . 57
7.3.3.1.1 tciEnqueueMsgConnected . 58
7.3.3.1.2 tciEnqueueCallConnected . 58
7.3.3.1.3 tciEnqueueReplyConnected . 58
7.3.3.1.4 tciEnqueueRaiseConnected . 59
7.3.3.1.5 tciCreateTestComponent . 59
7.3.3.1.6 tciStartTestComponent . 59
7.3.3.1.7 tciStopTestComponent . 60
7.3.3.1.8 tciConnect . 60
7.3.3.1.9 tciDisconnect . 60
7.3.3.1.10 tciMap . 60
7.3.3.1.11 tciMapParam . 60
7.3.3.1.12 tciUnmap . 61
7.3.3.1.13 tciUnmapParam . 61
7.3.3.1.14 tciTestComponentTerminated . 61
7.3.3.1.15 tciTestComponentRunning . 61
7.3.3.1.16 tciTestComponentDone . 61
7.3.3.1.17 tciGetMTC . 62
7.3.3.1.18 tciExecuteTestCase . 62
7.3.3.1.19 tciReset . 62
7.3.3.1.20 tciKillTestComponent . 62
7.3.3.1.21 tciTestComponentAlive . 63
7.3.3.1.22 tciTestComponentKilled . 63
7.3.3.2 TCI-CH provided . 63
7.3.3.2.0 Scope of use . 63
7.3.3.2.1 tciSendConnected . 63
7.3.3.2.2 tciSendConnectedBC . 63
7.3.3.2.3 tciSendConnectedMC . 64
7.3.3.2.4 tciCallConnected . 64
7.3.3.2.5 tciCallConnectedBC . 64
7.3.3.2.6 tciCallConnectedMC . 65
7.3.3.2.7 tciReplyConnected . 65
7.3.3.2.8 tciReplyConnectedBC . 66
7.3.3.2.9 tciReplyConnectedMC . 66
7.3.3.2.10 tciRaiseConnected . 67
7.3.3.2.11 tciRaiseConnectedBC . 67
7.3.3.2.12 tciRaiseConnectedMC . 67
7.3.3.2.13 tciCreateTestComponentReq . 68
7.3.3.2.14 tciStartTestComponentReq . 68
7.3.3.2.15 tciStopTestComponentReq . 68
7.3.3.2.16 tciConnectReq . 68
7.3.3.2.17 tciDisconnectReq . 69
7.3.3.2.18 tciMapReq . 69
7.3.3.2.19 tciMapParamReq . 69
7.3.3.2.20 tciUnmapReq . 69
7.3.3.2.21 tciUnmapParamReq . 70
7.3.3.2.22 tciTestComponentTerminatedReq . 70
ETSI

---------------------- Page: 5 ----------------------
6 Final draft ETSI ES 201 873-6 V4.10.1 (2018-03)
7.3.3.2.23 tciTestComponentRunningReq . 70
7.3.3.2.24 tciTestComponentDoneReq . 70
7.3.3.2.25 tciGetMTCReq .
...

SLOVENSKI STANDARD
SIST ES 201 873-6 V4.10.1:2019
01-januar-2019
0HWRGH]DSUHVNXãDQMHLQVSHFLILFLUDQMH 076 UD]OLþLFD]DSLVDSUHVNXãDQMDLQ
NUPLOMHQMDSUHVNXVRYGHO.UPLOQLYPHVQLN77&1 7&,
Methods for Testing and Specification (MTS) - The Testing and Test Control Notation
version 3 - Part 6: TTCN-3 Control Interface (TCI)
Ta slovenski standard je istoveten z: ETSI ES 201 873-6 V4.10.1 (2018-05)
ICS:
33.040.01 Telekomunikacijski sistemi Telecommunication systems
na splošno in general
SIST ES 201 873-6 V4.10.1:2019 en
2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.

---------------------- Page: 1 ----------------------

SIST ES 201 873-6 V4.10.1:2019

---------------------- Page: 2 ----------------------

SIST ES 201 873-6 V4.10.1:2019
ETSI ES 201 873-6 V4.10.1 (2018-05)






ETSI STANDARD
Methods for Testing and Specification (MTS);
The Testing and Test Control Notation version 3;
Part 6: TTCN-3 Control Interface (TCI)

---------------------- Page: 3 ----------------------

SIST ES 201 873-6 V4.10.1:2019

2 ETSI ES 201 873-6 V4.10.1 (2018-05)



Reference
RES/MTS-201873-6 T3ed4A1
Keywords
control, interface, methodology, TCI, testing,
TTCN-3
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
The present document can be downloaded from:
http://www.etsi.org/standards-search
The present document may be made available in electronic versions and/or in print. The content of any electronic and/or
print versions of the present document shall not be modified without the prior written authorization of ETSI. In case of any
existing or perceived difference in contents between such versions and/or in print, the only prevailing document is the
print of the Portable Document Format (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
https://portal.etsi.org/TB/ETSIDeliverableStatus.aspx
If you find errors in the present document, please send your comment to one of the following services:
https://portal.etsi.org/People/CommiteeSupportStaff.aspx
Copyright Notification
No part may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying
and microfilm except as authorized by written permission of ETSI.
The content of the PDF version shall not be modified without the written authorization of ETSI.
The copyright and the foregoing restriction extend to reproduction in all media.

© ETSI 2018.
All rights reserved.

TM TM TM
DECT , PLUGTESTS , UMTS and the ETSI logo are trademarks of ETSI registered for the benefit of its Members.
TM TM
3GPP and LTE are trademarks of ETSI registered for the benefit of its Members and
of the 3GPP Organizational Partners.
oneM2M logo is protected for the benefit of its Members.
®
GSM and the GSM logo are trademarks registered and owned by the GSM Association.
ETSI

---------------------- Page: 4 ----------------------

SIST ES 201 873-6 V4.10.1:2019

3 ETSI ES 201 873-6 V4.10.1 (2018-05)
Contents
Intellectual Property Rights . 16
Foreword . 16
Modal verbs terminology . 16
1 Scope . 17
2 References . 17
2.1 Normative references . 17
2.2 Informative references . 18
3 Definitions and abbreviations . 18
3.1 Definitions . 18
3.2 Abbreviations . 19
4 Introduction . 20
5 Compliance . 20
6 General structure of a TTCN-3 test system . 20
6.1 Entities in a TTCN-3 test system . 20
6.1.0 Types of entities . 20
6.1.1 Test Management and Control (TMC). 22
6.1.1.0 Test Management and Control Entities . 22
6.1.1.1 Test Management (TM) . 22
6.1.1.2 Coding and Decoding (CD) . 22
6.1.1.3 Component Handling (CH) . 23
6.1.1.4 Test Logging (TL) . 24
6.1.2 TTCN-3 Executable (TE) . 24
6.1.3 SUT Adaptor (SA) . 24
6.1.4 Platform Adaptor (PA) . 24
6.2 Execution requirements for a TTCN-3 test system . 24
7 TTCN-3 control interface and operations . 24
7.1 Overview of the TCI. 24
7.1.0 TCI role in a TTCN-3 test system . 24
7.1.1 Correlation between TTCN-3 and TCI operation invocations . 25
7.1.1.0 Mapping of TTCN-3 operations to TCI operations . 25
7.1.1.1 TTCN-3 operations with TCI operation equivalent . 25
7.1.1.2 TTCN-3 operations with TCI operation pair equivalent . 26
7.1.1.3 TTCN-3 operations without direct TCI operation equivalent . 27
7.1.1.3.0 Mapping of TTCN-3 operations to series of TCI operations . 27
7.1.1.3.1 Test case stop operation . 27
7.2 TCI data . 27
7.2.0 Abstract data types . 27
7.2.1 General abstract data types . 27
7.2.1.0 Use of general abstract data types . 27
7.2.1.1 Management . 27
7.2.1.2 Communication . 28
7.2.2 Abstract TTCN-3 data types and values . 29
7.2.2.0 Definition and scope of use . 29
7.2.2.1 Abstract TTCN-3 data types . 29
7.2.2.2 Abstract TTCN-3 values . 31
7.2.2.2.0 Basic rules . 31
7.2.2.2.1 The abstract data type Value . 32
7.2.2.2.2 The abstract data type IntegerValue . 35
7.2.2.2.3 The abstract data type FloatValue . 35
7.2.2.2.4 The abstract data type BooleanValue . 35
7.2.2.2.5 The abstract data type CharstringValue . 35
7.2.2.2.6 The abstract data type UniversalCharstringValue . 36
ETSI

---------------------- Page: 5 ----------------------

SIST ES 201 873-6 V4.10.1:2019

4 ETSI ES 201 873-6 V4.10.1 (2018-05)
7.2.2.2.7 The abstract data type BitstringValue . 36
7.2.2.2.8 The abstract data type OctetstringValue . 37
7.2.2.2.9 The abstract data type HexstringValue . 38
7.2.2.2.10 The abstract data type RecordValue . 39
7.2.2.2.11 The abstract data type RecordOfValue . 39
7.2.2.2.12 The abstract data type UnionValue . 41
7.2.2.2.13 The abstract data type EnumeratedValue . 41
7.2.2.2.14 The abstract data type VerdictValue . 41
7.2.2.2.15 The abstract data type AddressValue . 42
7.2.2.3 Abstract TTCN-3 matching mechanisms . 42
7.2.2.3.1 The abstract data type MatchingMechanism . 42
7.2.2.3.2 The abstract data type MatchingList . 42
7.2.2.3.3 The abstract data type ValueRange . 43
7.2.2.3.4 The abstract data type CharacterPattern . 43
7.2.2.3.5 The abstract data type MatchDecodedContent . 44
7.2.2.4 Data types for complex TTCN-3 properties . 44
7.2.2.4.0 Scope of use of TTCN-3 properties . 44
7.2.2.4.1 The abstract data type LengthRestriction . 44
7.2.2.4.2 The abstract data type Permutation . 44
7.2.2.4.3 The abstract data type RangeBoundary . 45
7.2.3 Abstract logging types . 45
7.2.3.1 The abstract data type TciValueTemplate . 45
7.2.3.2 The abstract data type TciNonValueTemplate . 45
7.2.3.3 The Value List and Mismatch Types . 46
7.2.3.4 The Status Types . 46
7.3 TCI operations . 47
7.3.0 The TCI interfaces . 47
7.3.1 The TCI-TM interface . 48
7.3.1.0 Scope of use . 48
7.3.1.1 TCI-TM required . 48
7.3.1.1.0 Scope of use . 48
7.3.1.1.1 tciRootModule . 48
7.3.1.1.2 tciGetImportedModules . 49
7.3.1.1.3 tciGetModuleParameters . 49
7.3.1.1.4 tciGetTestCases . 49
7.3.1.1.5 tciGetTestCaseParameters . 49
7.3.1.1.6 tciGetTestCaseTSI . 49
7.3.1.1.7 tciStartTestCase . 50
7.3.1.1.8 tciStopTestCase . 50
7.3.1.1.9 tciStartControl . 50
7.3.1.1.10 tciStopControl . 50
7.3.1.2 TCI-TM provided . 51
7.3.1.2.0 Scope of use . 51
7.3.1.2.1 tciTestCaseStarted . 51
7.3.1.2.2 tciTestCaseTerminated . 51
7.3.1.2.3 tciControlTerminated . 51
7.3.1.2.4 tciGetModulePar. 52
7.3.1.2.5 tciLog . 52
7.3.1.2.6 tciError. 52
7.3.2 The TCI-CD interface . 52
7.3.2.0 Scope of use . 52
7.3.2.1 TCI-CD required . 53
7.3.2.1.0 Scope of use . 53
7.3.2.1.1 getTypeForName . 53
7.3.2.1.2 getInteger . 54
7.3.2.1.3 getFloat . 54
7.3.2.1.4 getBoolean . 54
7.3.2.1.5 Void . 54
7.3.2.1.6 getCharstring . 54
7.3.2.1.7 getUniversalCharstring . 54
ETSI

---------------------- Page: 6 ----------------------

SIST ES 201 873-6 V4.10.1:2019

5 ETSI ES 201 873-6 V4.10.1 (2018-05)
7.3.2.1.8 getHexstring . 54
7.3.2.1.9 getBitstring . 54
7.3.2.1.10 getOctetstring . 55
7.3.2.1.11 getVerdict . 55
7.3.2.1.12 tciErrorReq . 55
7.3.2.2 TCI-CD provided . 55
7.3.2.2.0 Scope of use . 55
7.3.2.2.1 decode . 55
7.3.2.2.2 encode . 55
7.3.2.2.3 decodeValue . 56
7.3.2.2.4 encodeValue . 56
7.3.3 The TCI-CH interface . 56
7.3.3.0 Scope of use . 56
7.3.3.1 TCI-CH required . 57
7.3.3.1.0 Scope of use . 57
7.3.3.1.1 tciEnqueueMsgConnected . 58
7.3.3.1.2 tciEnqueueCallConnected . 58
7.3.3.1.3 tciEnqueueReplyConnected . 58
7.3.3.1.4 tciEnqueueRaiseConnected . 59
7.3.3.1.5 tciCreateTestComponent . 59
7.3.3.1.6 tciStartTestComponent . 59
7.3.3.1.7 tciStopTestComponent . 60
7.3.3.1.8 tciConnect . 60
7.3.3.1.9 tciDisconnect . 60
7.3.3.1.10 tciMap . 60
7.3.3.1.11 tciMapParam . 60
7.3.3.1.12 tciUnmap . 61
7.3.3.1.13 tciUnmapParam . 61
7.3.3.1.14 tciTestComponentTerminated . 61
7.3.3.1.15 tciTestComponentRunning . 61
7.3.3.1.16 tciTestComponentDone . 61
7.3.3.1.17 tciGetMTC . 62
7.3.3.1.18 tciExecuteTestCase . 62
7.3.3.1.19 tciReset . 62
7.3.3.1.20 tciKillTestComponent . 62
7.3.3.1.21 tciTestComponentAlive . 63
7.3.3.1.22 tciTestComponentKilled . 63
7.3.3.2 TCI-CH provided . 63
7.3.3.2.0 Scope of use . 63
7.3.3.2.1 tciSendConnected . 63
7.3.3.2.2 tciSendConnectedBC . 63
7.3.3.2.3 tciSendConnectedMC . 64
7.3.3.2.4 tciCallConnected . 64
7.3.3.2.5 tciCallConnectedBC . 64
7.3.3.2.6 tciCallConnectedMC . 65
7.3.3.2.7 tciReplyConnected . 65
7.3.3.2.8 tciReplyConnectedBC . 66
7.3.3.2.9 tciReplyConnectedMC . 66
7.3.3.2.10 tciRaiseConnected . 67
7.3.3.2.11 tciRaiseConnectedBC . 67
7.3.3.2.12 tciRaiseConnectedMC . 67
7.3.3.2.13 tciCreateTestComponentReq . 68
7.3.3.2.14 tciStartTestComponentReq . 68
7.3.3.2.15 tciStopTestComponentReq . 68
7.3.3.2.16 tciConnectReq . 68
7.3.3.2.17 tciDisconnectReq . 69
7.3.3.2.18 tciMapReq . 69
7.3.3.2.19 tciMapParamReq . 69
7.3.3.2.20 tciUnmapReq .
...

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.