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

RES/MTS-201873-6 T3ed481TCI

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

Ta dokument določa krmilne vmesnike za uvedbe 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 vmesnika 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 jezika IDL je podan v dodatku A.

General Information

Status
Published
Publication Date
24-Jul-2016
Current Stage
12 - Completion
Due Date
29-Jul-2016
Completion Date
25-Jul-2016

Buy Standard

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

Standards Content (Sample)

ETSI ES 201 873-6 V4.8.1 (2016-07)






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.8.1 (2016-07)



Reference
RES/MTS-201873-6 T3ed481TCI
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.

© European Telecommunications Standards Institute 2016.
All rights reserved.

TM TM TM
DECT , PLUGTESTS , UMTS and the ETSI logo are Trade Marks of ETSI registered for the benefit of its Members.
TM
3GPP and LTE™ are Trade Marks of ETSI 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.8.1 (2016-07)
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) . 22
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 . 30
7.2.2.2.0 Basic rules . 30
7.2.2.2.1 The abstract data type Value . 31
7.2.2.2.2 The abstract data type IntegerValue . 33
7.2.2.2.3 The abstract data type FloatValue . 33
7.2.2.2.4 The abstract data type BooleanValue . 33
7.2.2.2.5 The abstract data type CharstringValue . 34
7.2.2.2.6 The abstract data type UniversalCharstringValue . 34
ETSI

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

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

---------------------- Page: 5 ----------------------
6 ETSI ES 201 873-6 V4.8.1 (2016-07)
7.3.3.2.24 tciTestComponentDoneReq . 68
7.3.3.2.25 tciGetMTCReq . 68
7.3.3.2.26 tciExecuteTestCaseReq .
...

Final draft ETSI ES 201 873-6 V4.8.1 (2016-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 Final draft ETSI ES 201 873-6 V4.8.1 (2016-05)



Reference
RES/MTS-201873-6 T3ed481TCI
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.

© European Telecommunications Standards Institute 2016.
All rights reserved.

TM TM TM
DECT , PLUGTESTS , UMTS and the ETSI logo are Trade Marks of ETSI registered for the benefit of its Members.
TM
3GPP and LTE™ are Trade Marks of ETSI 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 Final draft ETSI ES 201 873-6 V4.8.1 (2016-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) . 22
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 . 26
7.1.1.3.0 Mapping of TTCN-3 operations to series of TCI operations . 26
7.1.1.3.1 Test case stop operation . 26
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 . 28
7.2.2.0 Definition and scope of use . 28
7.2.2.1 Abstract TTCN-3 data types . 29
7.2.2.2 Abstract TTCN-3 values . 30
7.2.2.2.0 Basic rules . 30
7.2.2.2.1 The abstract data type Value . 31
7.2.2.2.2 The abstract data type IntegerValue . 33
7.2.2.2.3 The abstract data type FloatValue . 33
7.2.2.2.4 The abstract data type BooleanValue . 33
7.2.2.2.5 The abstract data type CharstringValue . 33
7.2.2.2.6 The abstract data type UniversalCharstringValue . 34
ETSI

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

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

---------------------- Page: 5 ----------------------
6 Final draft ETSI ES 201 873-6 V4.8.1 (2016-05)
7.3.3.2.24 tciTestComponentDoneReq . 67
7.3.3.2.25 tciGetMTCReq .
...

SLOVENSKI STANDARD
SIST ES 201 873-6 V4.8.1:2016
01-oktober-2016
0HWRGH]DSUHVNXãDQMHLQVSHFLILFLUDQMH 076 UD]OLþLFD]DSLVDSUHVNXãDQMDLQ
NUPLOQLKSUHVNXVRYGHO.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.8.1 (2016-07)
ICS:
33.040.01 Telekomunikacijski sistemi Telecommunication systems
na splošno in general
SIST ES 201 873-6 V4.8.1:2016 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.8.1:2016

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

SIST ES 201 873-6 V4.8.1:2016
ETSI ES 201 873-6 V4.8.1 (2016-07)






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.8.1:2016
 2 ETSI ES 201 873-6 V4.8.1 (2016-07)



Reference
RES/MTS-201873-6 T3ed481TCI
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.

© European Telecommunications Standards Institute 2016.
All rights reserved.

TM TM TM
DECT , PLUGTESTS , UMTS and the ETSI logo are Trade Marks of ETSI registered for the benefit of its Members.
TM
3GPP and LTE™ are Trade Marks of ETSI 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: 4 ----------------------

SIST ES 201 873-6 V4.8.1:2016
 3 ETSI ES 201 873-6 V4.8.1 (2016-07)
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) . 22
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 . 30
7.2.2.2.0 Basic rules . 30
7.2.2.2.1 The abstract data type Value . 31
7.2.2.2.2 The abstract data type IntegerValue . 33
7.2.2.2.3 The abstract data type FloatValue . 33
7.2.2.2.4 The abstract data type BooleanValue . 33
7.2.2.2.5 The abstract data type CharstringValue . 34
7.2.2.2.6 The abstract data type UniversalCharstringValue . 34
ETSI

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

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

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

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