SIST ES 201 873-1 V4.16.1:2025
(Main)Methods for Testing and Specification (MTS) - The Testing and Test Control Notation version 3 - Part 1: TTCN-3 Core Language
Methods for Testing and Specification (MTS) - The Testing and Test Control Notation version 3 - Part 1: TTCN-3 Core Language
RES/MTS-201873-1v4.16.1
Metode za preskušanje in specificiranje (MTS) - 3. različica zapisa preskušanja in krmiljenja preskusov - 1. del: Jedrni jezik TTCN-3
General Information
Standards Content (Sample)
Final draft ETSI ES 201 873-1 V4.16.1 (2024-08)
ETSI STANDARD
Methods for Testing and Specification (MTS);
The Testing and Test Control Notation version 3;
Part 1: TTCN-3 Core Language
2 Final draft ETSI ES 201 873-1 V4.16.1 (2024-08)
Reference
RES/MTS-201873-1v4.16.1
Keywords
language, methodology, 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 - APE 7112B
Association à but non lucratif enregistrée à la
Sous-Préfecture de Grasse (06) N° w061004871
Important notice
The present document can be downloaded from the
ETSI Search & Browse Standards application.
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 prevailing version of an ETSI
deliverable is the one made publicly available in PDF format on ETSI deliver.
Users should be aware that the present document may be revised or have its status changed,
this information is available in the Milestones listing.
If you find errors in the present document, please send your comments to
the relevant service listed under Committee Support Staff.
If you find a security vulnerability in the present document, please report it through our
Coordinated Vulnerability Disclosure (CVD) program.
Notice of disclaimer & limitation of liability
The information provided in the present deliverable is directed solely to professionals who have the appropriate degree of
experience to understand and interpret its content in accordance with generally accepted engineering or
other professional standard and applicable regulations.
No recommendation as to products and services or vendors is made or should be implied.
No representation or warranty is made that this deliverable is technically accurate or sufficient or conforms to any law
and/or governmental rule and/or regulation and further, no representation or warranty is made of merchantability or fitness
for any particular purpose or against infringement of intellectual property rights.
In no event shall ETSI be held liable for loss of profits or any other incidental or consequential damages.
Any software contained in this deliverable is provided "AS IS" with no warranties, express or implied, including but not
limited to, the warranties of merchantability, fitness for a particular purpose and non-infringement of intellectual property
rights and ETSI shall not be held liable in any event for any damages whatsoever (including, without limitation, damages
for loss of profits, business interruption, loss of information, or any other pecuniary loss) arising out of or related to the use
of or inability to use the software.
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 2024.
All rights reserved.
ETSI
3 Final draft ETSI ES 201 873-1 V4.16.1 (2024-08)
Contents
Intellectual Property Rights . 13
Foreword . 13
Modal verbs terminology . 14
1 Scope . 15
2 References . 15
2.1 Normative references . 15
2.2 Informative references . 16
3 Definition of terms, symbols and abbreviations . 18
3.1 Terms . 18
3.2 Symbols . 24
3.3 Abbreviations . 24
4 Introduction . 25
4.0 General . 25
4.1 The core language and presentation formats . 26
4.2 Unanimity of the specification . 27
4.3 Conformance . 27
5 Basic language elements . 27
5.0 General . 27
5.1 Identifiers and keywords . 28
5.2 Scope rules . 29
5.2.0 General . 29
5.2.1 Scope of formal parameters . 31
5.2.2 Uniqueness of identifiers . 31
5.3 Ordering of language elements . 32
5.4 Parameterization . 32
5.4.0 General . 32
5.4.1 Formal parameters . 33
5.4.1.0 General . 33
5.4.1.1 Formal parameters of kind value . 34
5.4.1.2 Formal parameters of kind template . 37
5.4.2 Actual parameters . 39
5.4.3 Variadic Parameters . 44
5.5 Cyclic Definitions. 45
6 Types and values . 45
6.0 General . 45
6.1 Basic types and values . 46
6.1.0 Simple basic types and values. 46
6.1.1 Basic string types and values . 47
6.1.1.0 General . 47
6.1.1.1 Accessing individual string elements . 49
6.1.2 Subtyping of basic types . 50
6.1.2.0 General . 50
6.1.2.1 Lists of templates . 50
6.1.2.2 Lists of types . 50
6.1.2.3 Ranges . 51
6.1.2.4 String length restrictions . 52
6.1.2.5 Pattern subtyping of character string types . 52
6.1.2.6 Mixing subtyping mechanisms . 52
6.1.2.6.1 Mixing patterns, lists and ranges . 52
6.1.2.6.2 Using length restriction with other constraints . 53
6.2 Structured types and values . 53
6.2.0 General . 53
6.2.1 Record type and values . 55
ETSI
4 Final draft ETSI ES 201 873-1 V4.16.1 (2024-08)
6.2.1.0 General . 55
6.2.1.1 Referencing fields of a record type . 58
6.2.1.2 Optional elements in a record. 59
6.2.1.3 Nested type definitions for field types . 59
6.2.1.4 Embedded fields . 60
6.2.2 Set type and values . 60
6.2.2.0 General . 60
6.2.2.1 Referencing fields of a set type . 61
6.2.2.2 Optional elements in a set . 61
6.2.2.3 Nested type definition for field types . 61
6.2.2.4 Embedded Fields . 61
6.2.3 Records and sets of single types . 61
6.2.3.0 General . 61
6.2.3.1 Nested type definitions . 64
6.2.3.2 Referencing elements of record of and set of types . 64
6.2.4 Enumerated type and values . 65
6.2.5 Unions . 67
6.2.5.0 General . 67
6.2.5.1 Referencing fields of a union type . 68
6.2.5.2 Option and union . 69
6.2.5.3 Nested type definition for field types . 69
6.2.5.4 Embedded F
...
ETSI STANDARD
Methods for Testing and Specification (MTS);
The Testing and Test Control Notation version 3;
Part 1: TTCN-3 Core Language
2 ETSI ES 201 873-1 V4.16.1 (2024-10)
Reference
RES/MTS-201873-1v4.16.1
Keywords
language, methodology, 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 - APE 7112B
Association à but non lucratif enregistrée à la
Sous-Préfecture de Grasse (06) N° w061004871
Important notice
The present document can be downloaded from the
ETSI Search & Browse Standards application.
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 prevailing version of an ETSI
deliverable is the one made publicly available in PDF format on ETSI deliver repository.
Users should be aware that the present document may be revised or have its status changed,
this information is available in the Milestones listing.
If you find errors in the present document, please send your comments to
the relevant service listed under Committee Support Staff.
If you find a security vulnerability in the present document, please report it through our
Coordinated Vulnerability Disclosure (CVD) program.
Notice of disclaimer & limitation of liability
The information provided in the present deliverable is directed solely to professionals who have the appropriate degree of
experience to understand and interpret its content in accordance with generally accepted engineering or
other professional standard and applicable regulations.
No recommendation as to products and services or vendors is made or should be implied.
No representation or warranty is made that this deliverable is technically accurate or sufficient or conforms to any law
and/or governmental rule and/or regulation and further, no representation or warranty is made of merchantability or fitness
for any particular purpose or against infringement of intellectual property rights.
In no event shall ETSI be held liable for loss of profits or any other incidental or consequential damages.
Any software contained in this deliverable is provided "AS IS" with no warranties, express or implied, including but not
limited to, the warranties of merchantability, fitness for a particular purpose and non-infringement of intellectual property
rights and ETSI shall not be held liable in any event for any damages whatsoever (including, without limitation, damages
for loss of profits, business interruption, loss of information, or any other pecuniary loss) arising out of or related to the use
of or inability to use the software.
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 2024.
All rights reserved.
ETSI
3 ETSI ES 201 873-1 V4.16.1 (2024-10)
Contents
Intellectual Property Rights . 13
Foreword . 13
Modal verbs terminology . 14
1 Scope . 15
2 References . 15
2.1 Normative references . 15
2.2 Informative references . 16
3 Definition of terms, symbols and abbreviations . 18
3.1 Terms . 18
3.2 Symbols . 24
3.3 Abbreviations . 24
4 Introduction . 25
4.0 General . 25
4.1 The core language and presentation formats . 26
4.2 Unanimity of the specification . 27
4.3 Conformance . 27
5 Basic language elements . 27
5.0 General . 27
5.1 Identifiers and keywords . 28
5.2 Scope rules . 29
5.2.0 General . 29
5.2.1 Scope of formal parameters . 31
5.2.2 Uniqueness of identifiers . 31
5.3 Ordering of language elements . 32
5.4 Parameterization . 32
5.4.0 General . 32
5.4.1 Formal parameters . 33
5.4.1.0 General . 33
5.4.1.1 Formal parameters of kind value . 34
5.4.1.2 Formal parameters of kind template . 37
5.4.2 Actual parameters . 39
5.4.3 Variadic Parameters . 44
5.5 Cyclic Definitions. 45
6 Types and values . 45
6.0 General . 45
6.1 Basic types and values . 46
6.1.0 Simple basic types and values. 46
6.1.1 Basic string types and values . 47
6.1.1.0 General . 47
6.1.1.1 Accessing individual string elements . 49
6.1.2 Subtyping of basic types . 50
6.1.2.0 General . 50
6.1.2.1 Lists of templates . 50
6.1.2.2 Lists of types . 50
6.1.2.3 Ranges . 51
6.1.2.4 String length restrictions . 52
6.1.2.5 Pattern subtyping of character string types . 52
6.1.2.6 Mixing subtyping mechanisms . 52
6.1.2.6.1 Mixing patterns, lists and ranges . 52
6.1.2.6.2 Using length restriction with other constraints . 53
6.2 Structured types and values . 53
6.2.0 General . 53
6.2.1 Record type and values . 55
ETSI
4 ETSI ES 201 873-1 V4.16.1 (2024-10)
6.2.1.0 General . 55
6.2.1.1 Referencing fields of a record type . 58
6.2.1.2 Optional elements in a record. 59
6.2.1.3 Nested type definitions for field types . 59
6.2.1.4 Embedded fields . 60
6.2.2 Set type and values . 60
6.2.2.0 General . 60
6.2.2.1 Referencing fields of a set type . 61
6.2.2.2 Optional elements in a set . 61
6.2.2.3 Nested type definition for field types . 61
6.2.2.4 Embedded Fields . 61
6.2.3 Records and sets of single types . 61
6.2.3.0 General . 61
6.2.3.1 Nested type definitions . 64
6.2.3.2 Referencing elements of record of and set of types . 64
6.2.4 Enumerated type and values . 65
6.2.5 Unions . 67
6.2.5.0 General . 67
6.2.5.1 Referencing fields of a union type . 68
6.2.5.2 Option and union . 69
6.2.5.3 Nested type definition for field types . 69
6.2.5.4 Embedded Fields .
...
SLOVENSKI STANDARD
01-januar-2025
Metode za preskušanje in specificiranje (MTS) - 3. različica zapisa preskušanja in
krmiljenja preskusov - 1. del: Jedrni jezik TTCN-3
Methods for Testing and Specification (MTS) - The Testing and Test Control Notation
version 3 - Part 1: TTCN-3 Core Language
Ta slovenski standard je istoveten z: ETSI ES 201 873-1 V4.16.1 (2024-10)
ICS:
33.040.01 Telekomunikacijski sistemi Telecommunication systems
na splošno in general
35.060 Jeziki, ki se uporabljajo v Languages used in
informacijski tehniki in information technology
tehnologiji
2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.
ETSI STANDARD
Methods for Testing and Specification (MTS);
The Testing and Test Control Notation version 3;
Part 1: TTCN-3 Core Language
2 ETSI ES 201 873-1 V4.16.1 (2024-10)
Reference
RES/MTS-201873-1v4.16.1
Keywords
language, methodology, 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 - APE 7112B
Association à but non lucratif enregistrée à la
Sous-Préfecture de Grasse (06) N° w061004871
Important notice
The present document can be downloaded from the
ETSI Search & Browse Standards application.
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 prevailing version of an ETSI
deliverable is the one made publicly available in PDF format on ETSI deliver repository.
Users should be aware that the present document may be revised or have its status changed,
this information is available in the Milestones listing.
If you find errors in the present document, please send your comments to
the relevant service listed under Committee Support Staff.
If you find a security vulnerability in the present document, please report it through our
Coordinated Vulnerability Disclosure (CVD) program.
Notice of disclaimer & limitation of liability
The information provided in the present deliverable is directed solely to professionals who have the appropriate degree of
experience to understand and interpret its content in accordance with generally accepted engineering or
other professional standard and applicable regulations.
No recommendation as to products and services or vendors is made or should be implied.
No representation or warranty is made that this deliverable is technically accurate or sufficient or conforms to any law
and/or governmental rule and/or regulation and further, no representation or warranty is made of merchantability or fitness
for any particular purpose or against infringement of intellectual property rights.
In no event shall ETSI be held liable for loss of profits or any other incidental or consequential damages.
Any software contained in this deliverable is provided "AS IS" with no warranties, express or implied, including but not
limited to, the warranties of merchantability, fitness for a particular purpose and non-infringement of intellectual property
rights and ETSI shall not be held liable in any event for any damages whatsoever (including, without limitation, damages
for loss of profits, business interruption, loss of information, or any other pecuniary loss) arising out of or related to the use
of or inability to use the software.
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 2024.
All rights reserved.
ETSI
3 ETSI ES 201 873-1 V4.16.1 (2024-10)
Contents
Intellectual Property Rights . 13
Foreword . 13
Modal verbs terminology . 14
1 Scope . 15
2 References . 15
2.1 Normative references . 15
2.2 Informative references . 16
3 Definition of terms, symbols and abbreviations . 18
3.1 Terms . 18
3.2 Symbols . 24
3.3 Abbreviations . 24
4 Introduction . 25
4.0 General . 25
4.1 The core language and presentation formats . 26
4.2 Unanimity of the specification . 27
4.3 Conformance . 27
5 Basic language elements . 27
5.0 General . 27
5.1 Identifiers and keywords . 28
5.2 Scope rules . 29
5.2.0 General . 29
5.2.1 Scope of formal parameters . 31
5.2.2 Uniqueness of identifiers . 31
5.3 Ordering of language elements . 32
5.4 Parameterization . 32
5.4.0 General . 32
5.4.1 Formal parameters . 33
5.4.1.0 General . 33
5.4.1.1 Formal parameters of kind value . 34
5.4.1.2 Formal parameters of kind template . 37
5.4.2 Actual parameters . 39
5.4.3 Variadic Parameters . 44
5.5 Cyclic Definitions. 45
6 Types and values . 45
6.0 General . 45
6.1 Basic types and values . 46
6.1.0 Simple basic types and values. 46
6.1.1 Basic string types and values . 47
6.1.1.0 General . 47
6.1.1.1 Accessing individual string elements . 49
6.1.2 Subtyping of basic types . 50
6.1.2.0 General . 50
6.1.2.1 Lists of templates . 50
6.1.2.2 Lists of types . 50
6.1.2.3 Ranges . 51
6.1.2.4 String length restrictions . 52
6.1.2.5 Pattern subtyping of character string types . 52
6.1.2.6 Mixing subtyping mechanisms . 52
6.1.2.6.1 Mixing patterns, lists and ranges . 52
6.1.2.6.2 Using length restriction with other constraints . 53
6.2 Structured types and values . 53
6.2.0 General . 53
6.2.1 Record type and values . 55
ETSI
4 ETSI ES 201 873-1 V4.16.1 (2024-10)
6.2.1.0 General . 55
6.2.1.1 Referencing fields of a record type . 58
6.2.1.2 Optional elements in a record. 59
6.2.1.3 Nested type definitions for field types . 59
6.2.1.4 Embedded fields . 60
6.2.2 Set type and values . 60
6.2.2.0 General . 60
6.2.2.1 Referencing fields of a set type . 61
6.2.2.2 Optional elements in a set . 61
6.2.2.3 Nested type definition for field types . 61
6.2.2.4 Embedded Fields . 61
6.2.3 Records and sets of single types . 61
6.2.3.0 General . 61
6.2.3.1 Nested type definitions . 64
6.2.3.2 Referencing elements of record of and set of types .
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.