Methods for Testing and Specification (MTS) - The Test Description Language (TDL) - Part 6: Mapping to TTCN-3

The present document specifies how the elements of the Test Description Language (TDL) should be mapped to Testing
and Test Control Notation version 3 (TTCN-3) [2]. The intended use of the present document is to serve as the basis for
the development of TDL tools. The meta-model of TDL and the meanings of the meta-classes are described in ETSI
ES 203 119-1 [1].

Metode za preskušanje in specificiranje (MTS) - Jezik za opis preskusa (TDL) - 6. del: Preslikava v TTCN-3

V tem dokumentu je opisano, kako naj bodo elementi jezika za opis preskusa (TDL) preslikani v zapis preskušanja in nadzora preskusov različice 3 (TTCN-3) [2]. Ta dokument se predvidoma uporablja kot osnova za razvoj orodij TDL. Metamodel jezika TDL in pomeni metarazredov so opisani v standardu ETSI ES 203 119-1 [1].

General Information

Status
Published
Publication Date
29-Jun-2022
Current Stage
6060 - National Implementation/Publication (Adopted Project)
Start Date
23-Jun-2022
Due Date
28-Aug-2022
Completion Date
30-Jun-2022
Standard

ETSI ES 203 119-6 V1.3.1 (2022-03) - Methods for Testing and Specification (MTS); The Test Description Language (TDL); Part 6: Mapping to TTCN-3

English language
69 pages
sale 15% off
Preview
sale 15% off
Preview
Standard

ETSI ES 203 119-6 V1.3.1 (2022-05) - Methods for Testing and Specification (MTS); The Test Description Language (TDL); Part 6: Mapping to TTCN-3

English language
69 pages
sale 15% off
Preview
sale 15% off
Preview
Standardization document

SIST ES 203 119-6 V1.3.1:2022

English language
69 pages
Preview
Preview
e-Library read for
1 day

Frequently Asked Questions

SIST ES 203 119-6 V1.3.1:2022 is a standard published by the Slovenian Institute for Standardization (SIST). Its full title is "Methods for Testing and Specification (MTS) - The Test Description Language (TDL) - Part 6: Mapping to TTCN-3". This standard covers: The present document specifies how the elements of the Test Description Language (TDL) should be mapped to Testing and Test Control Notation version 3 (TTCN-3) [2]. The intended use of the present document is to serve as the basis for the development of TDL tools. The meta-model of TDL and the meanings of the meta-classes are described in ETSI ES 203 119-1 [1].

The present document specifies how the elements of the Test Description Language (TDL) should be mapped to Testing and Test Control Notation version 3 (TTCN-3) [2]. The intended use of the present document is to serve as the basis for the development of TDL tools. The meta-model of TDL and the meanings of the meta-classes are described in ETSI ES 203 119-1 [1].

SIST ES 203 119-6 V1.3.1:2022 is classified under the following ICS (International Classification for Standards) categories: 35.060 - Languages used in information technology. The ICS classification helps identify the subject area and facilitates finding related standards.

You can purchase SIST ES 203 119-6 V1.3.1:2022 directly from iTeh Standards. The document is available in PDF format and is delivered instantly after payment. Add the standard to your cart and complete the secure checkout process. iTeh Standards is an authorized distributor of SIST standards.

Standards Content (Sample)


Final draft ETSI ES 203 119-6 V1.3.1 (2022-03)

ETSI STANDARD
Methods for Testing and Specification (MTS);
The Test Description Language (TDL);
Part 6: Mapping to TTCN-3
2 Final draft ETSI ES 203 119-6 V1.3.1 (2022-03)

Reference
RES/MTS-1196v1.3.1
Keywords
methodology, model, 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:
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 prevailing version of an ETSI
deliverable is the one made publicly available in PDF format at www.etsi.org/deliver.
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
If you find a security vulnerability in the present document, please report it through our
Coordinated Vulnerability Disclosure Program:
https://www.etsi.org/standards/coordinated-vulnerability-disclosure
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 2022.
All rights reserved.
ETSI
3 Final draft ETSI ES 203 119-6 V1.3.1 (2022-03)
Contents
Intellectual Property Rights . 7
Foreword . 7
Modal verbs terminology . 7
1 Scope . 8
2 References . 8
2.1 Normative references . 8
2.2 Informative references . 8
3 Definition of terms, symbols and abbreviations . 9
3.1 Terms . 9
3.2 Symbols . 9
3.3 Abbreviations . 9
4 Basic Principles . 9
4.1 Introduction . 9
4.2 Document Structure . 9
4.3 Notational Conventions . 10
4.3.0 General . 10
4.3.1 Functions used in production rules . 11
4.3.2 Predefined Annotations . 11
4.4 Conformance . 11
5 Foundation . 11
5.1 Overview . 11
5.2 Mapping of Foundation Elements . 11
5.2.1 Element . 11
5.2.2 NamedElement . 12
5.2.3 PackageableElement . 12
5.2.4 Package . 12
5.2.5 ElementImport . 12
5.2.6 Comment . 13
5.2.7 Annotation . 13
5.2.8 AnnotationType . 13
5.2.9 TestObjective . 13
5.2.10 Extension . 13
6 Data . 14
6.1 Overview . 14
6.2 Mapping of Data Definition Elements . 14
6.2.1 DataResourceMapping . 14
6.2.2 MappableDataElement . 14
6.2.3 DataElementMapping . 14
6.2.4 ParameterMapping . 14
6.2.5 DataType . 14
6.2.6 DataInstance . 14
6.2.7 SimpleDataType . 14
6.2.8 SimpleDataInstance . 15
6.2.9 StructuredDataType . 15
6.2.10 Member . 15
6.2.11 StructuredDataInstance . 15
6.2.12 MemberAssignment . 16
6.2.13 CollectionDataType . 16
6.2.14 CollectionDataInstance . 16
6.2.15 ProcedureSignature . 17
6.2.16 ProcedureParameter . 17
6.2.17 ParameterKind . 17
6.2.18 Parameter . 17
ETSI
4 Final draft ETSI ES 203 119-6 V1.3.1 (2022-03)
6.2.19 FormalParameter . 17
6.2.20 Variable . 17
6.2.21 Action . 17
6.2.22 Function . 18
6.2.23 UnassignedMemberTreatment . 18
6.2.24 PredefinedFunction . 18
6.2.25 EnumDataType . 18
6.3 Mapping of Data Use Elements . 19
6.3.1 DataUse . 19
6.3.2 ParameterBinding . 19
6.3.3 StaticDataUse . 19
6.3.4 DataInstanceUse . 19
6.3.5 SpecialValueUse . 21
6.3.6 AnyValue . 21
6.3.7 AnyValueOrOmit . 21
6.3.8 OmitValue. 22
6.3.9 DynamicDataUse . 22
6.3.10 FunctionCall . 22
6.3.11 FormalParameterUse . 23
6.3.12 VariableUse . 24
6.3.13 PredefinedFunctionCall . 26
6.3.14 LiteralValueUse . 26
6.3.15 DataElementUse . 26
7 Time . 27
7.1 Overview . 27
7.2 Mapping of Time Elements . 27
7.2.1 Time . 27
7.2.2 TimeLabel . 27
7.2.3 TimeLabelUse . 28
7.2.4 TimeLabelUseKind . 28
7.2.5 TimeConstraint . 28
7.2.6 TimeOperation . 29
7.2.7 Wait . 30
7.2.8 Quiescence . 30
7.2.9 Timer . 30
7.2.10 TimerOperation . 30
7.2.11 TimerStart . 30
7.2.12 TimerStop . 31
7.2.13 TimeOut . 31
8 Test Configuration . 31
8.1 Overview . 31
8.2 Mapping of TestConfiguration Elements in Non-special Cases . 31
8.2.1 Introduction. 31
8.2.2 GateType . 32
8.2.3 GateTypeKind . 32
8.2.4 GateInstance . 32
8.2.5 ComponentType . 32
8.2.6 ComponentInstance . 33
8.2.7 ComponentInstanceRole . 33
8.2.8 GateReference . 33
8.2.9 Connection . 33
8.2.10 TestConfiguration . 34
8.2.11 Definition of the component type of MTC . 34
8.2.12 Definition of the component type of system . 34
8.3 Mapping of TestConfiguration Elements in Special Cases . 35
8.3.1 Introduction. 35
8.3.2 Connectable and mappable GateType. 35
8.3.3 A gate connected to a Tester and an SUT . 35
8.3.4 More than one SUT. 36
8.3.5 A gate of a Tester is connected to more SUTs . 37
ETSI
5 Final draft ETSI ES 203 119-6 V1.3.1 (2022-03)
8.3.6 A gate is connected to more gates of the same component . 37
9 Test Behaviour . 38
9.1 Overview . 38
9.2 Mapping of Test Description Elements . 39
9.2.1 TestDescription . 39
9.2.2 BehaviourDescription . 41
9.3 Mapping of Combined Behaviour elements . 41
9.3.1 Behaviour . 41
9.3.2 Block . 41
9.3.3 LocalExpression . 41
9.3.4 CombinedBehaviour . 41
9.3.5 SingleCombinedBehaviour . 41
9.3.6 CompoundBehaviour . 41
9.3.7 BoundedLoopBehaviour . 42
9.3.8 UnboundedLoopBehaviour . 42
9.3.9 OptionalBehaviour . 42
9.3.10 MultipleCombinedBehaviour . 44
9.3.11 AlternativeBehaviour . 45
9.3.12 ConditionalBehaviour . 45
9.3.13 ParallelBehaviour . 45
9.3.14 ExceptionalBehaviour . 46
9.3.15 DefaultBehaviour . 48
9.3.16 InterruptBehaviour . 48
9.3.17 PeriodicBehaviour . 48
9.4 Mapping of Atomic Behaviour Elements . 48
9.4.1 AtomicBehaviour . 48
9.4.2 Break . 48
9.4.3 Stop . 49
9.4.4 VerdictAssignment . 49
9.4.5 Assertion . 49
9.4.6 Interaction . 49
9.4.7 Message . 49
9.4.8 ProcedureCall . 50
9.4.9 Target . 52
9.4.10 ValueAssignment . 52
9.4.11 TestDescriptionReference . 52
9.4.12 ComponentInstanceBinding . 53
9.4.13 ActionBehaviour . 53
9.4.14 ActionReference . 53
9.4.15 InlineAction . 53
9.4.16 Assignment . 53
10 Predefined TDL Model Instances . 54
10.1 Overview . 54
10.2 Mapping of Predefined Instances of the 'SimpleDataType' Element . 54
10.2.1 Boolean . 54
10.2.2 Integer . 54
10.2.3 String . 54
10.2.4 Verdict . 54
10.3 Mapping of Predefined Instances of 'SimpleDataInstance' Element . 54
10.3.1 True . 54
10.3.2 False . 54
10.3.3 pass . 54
10.3.4 fail . 54
10.3.5 inconclusive . 54
10.4 Mapping of Predefined Instances of 'Time' Element . 55
10.4.1 Second . 55
10.5 Mapping of Predefined Instances of the 'Function' Element . 55
10.5.1 Overview . 55
10.5.2 Functions of Return Type 'Boolean' . 55
10.5.3 Functions of Return Type 'Integer' . 56
ETSI
6 Final draft ETSI ES 203 119-6 V1.3.1 (2022-03)
10.5.4 Functions of Return Type of Instance of 'Time' . 56
Annex A (informative): Examples of mapping TDL to TTCN-3 . 57
A.1 Introduction . 57
A.2 A 3GPP Conformance Example in Textual Syntax . 57
A.3 An IMS Interoperability Example in Textual Syntax . 62
History . 69

ETSI
7 Final draft ETSI ES 203 119-6 V1.3.1 (2022-03)
Intellectual Property Rights
Essential patents
IPRs essential or potentially essential to normative deliverables may have been declared to ETSI. The declarations
pertaining to these essential IPRs, if any, are publicly available for ETSI members and non-members, and can be
found in ETSI SR 000 314: "Intellectual Property Rights (IPRs); Essential, or potentially Essential, IPRs notified to
ETSI in respect of ETSI standards", which is available from the ETSI Secretariat. Latest updates are available on the
ETSI Web server (https://ipr.etsi.org/).
Pursuant to the ETSI Directives including the ETSI IPR Policy, no investigation regarding the essentiality of IPRs,
including IPR searches, has been carried out by ETSI. No guarantee can be given as to the existence of other IPRs not
referenced in ETSI SR 000 314 (or the updates on the ETSI Web server) which are, or may be, or may become,
essential to the present document.
Trademarks
The present document may include trademarks and/or tradenames which are asserted and/or registered by their owners.
ETSI claims no ownership of these except for any which are indicated as being the property of ETSI, and conveys no
right to use or reproduce any trademark and/or tradename. Mention of those trademarks in the present document does
not constitute an endorsement by ETSI of products, services or organizations associated with those trademarks.
DECT™, PLUGTESTS™, UMTS™ and the ETSI logo are trademarks of ETSI registered for the benefit of its

Members. 3GPP™ and LTE™ are trademarks of ETSI registered for the benefit of its Members and of the 3GPP
Organizational Partners. oneM2M™ logo is a trademark of ETSI registered for the benefit of its Members and of the ®
oneM2M Partners. GSM and the GSM logo are trademarks registered and owned by the GSM Association.
Foreword
This final draft ETSI Standard (ES) has been produced by ETSI Technical Committee Methods for Testing and
Specification (MTS), and is now submitted for the ETSI standards Membership Approval Procedure.
The present document is part 6 of a multi-part deliverable. Full details of the entire series can be found in part 1 [1].
Modal verbs terminology
In the present document "shall", "shall not", "should", "should not", "may", "need not", "will", "will not", "can" and
"cannot" are to be interpreted as described in clause 3.2 of the ETSI Drafting Rules (Verbal forms for the expression of
provisions).
"must" and "must not" are NOT allowed in ETSI deliverables except when used in direct citation.
ETSI
8 Final draft ETSI ES 203 119-6 V1.3.1 (2022-03)
1 Scope
The present document specifies how the elements of the Test Description Language (TDL) should be mapped to Testing
and Test Control Notation version 3 (TTCN-3) [2]. The intended use of the present document is to serve as the basis for
the development of TDL tools. The meta-model of TDL and the meanings of the meta-classes are described in ETSI
ES 203 119-1 [1].
2 References
2.1 Normative references
References are either specific (identified by date of publication and/or edition number or version number) or
non-specific. For specific references, only the cited version applies. For non-specific references, the latest version of the
referenced document (including any amendments) applies.
Referenced documents which are not found to be publicly available in the expected location might be found at
https://docbox.etsi.org/Reference/.
NOTE: While any hyperlinks included in this clause were valid at the time of publication, ETSI cannot guarantee
their long term validity.
The following referenced documents are necessary for the application of the present document.
[1] ETSI ES 203 119-1 (V1.6.1): "Methods for Testing and Specification (MTS); The Test
Description Language (TDL); Part 1: Abstract Syntax and Associated Semantics".
[2] ETSI ES 201 873-1 (V4.13.1): "Methods for Testing and Specification (MTS); The Testing and
Test Control Notation version 3; Part 1: TTCN-3 Core Language".
[3] ETSI ES 203 119-3 (V1.5.1): "Methods for Testing and Specification (MTS); The Test
Description Language (TDL); Part 3: Exchange Format".
[4] ETSI ES 203 119-2 (V1.5.1): "Methods for Testing and Specification (MTS); The Test
Description Language (TDL); Part 2: Graphical Syntax".
2.2 Informative references
References are either specific (identified by date of publication and/or edition number or version number) or
non-specific. For specific references, only the cited version applies. For non-specific references, the latest version of the
referenced document (including any amendments) applies.
NOTE: While any hyperlinks included in this clause were valid at the time of publication, ETSI cannot guarantee
their long term validity.
The following referenced documents are not necessary for the application of the present document but they assist the
user with regard to a particular subject area.
[i.1] ETSI TS 136 523-1 (V10.2.0): "LTE; Evolved Universal Terrestrial Radio Access (E-UTRA) and
Evolved Packet Core (EPC); User Equipment (UE) conformance specification; Part 1: Protocol
conformance specification (3GPP TS 36.523-1 version 10.2.0 Release 10)".
[i.2] ETSI TS 186 011-2: "Core Network and Interoperability Testing (INT); IMS NNI Interoperability
Test Specifications (3GPP Release 10); Part 2: Test descriptions for IMS NNI Interoperability".
ETSI
9 Final draft ETSI ES 203 119-6 V1.3.1 (2022-03)
3 Definition of terms, symbols and abbreviations
3.1 Terms
For the purposes of the present document, the following terms apply:
behaviour function: function used in TTCN-3 code that describes the behaviour of a TDL component instance
TTCNname: name of a TDL meta-model element that is used in the TTCN-3 code
NOTE: A TTCNname of a TDL element follows the syntactical rules of identifiers specified in ETSI
ES 201 873-1 [2]. A TTCNname of a TDL element may contain a part that is derived from the TDL name
with some prefixes and/or postfixes determined by a naming convention used in the TTCN-3 code.
3.2 Symbols
Void.
3.3 Abbreviations
For the purposes of the present document, the following abbreviations apply:
IMS IP Multimedia Subsystem
MTC Main Test Component
PTC Parallel Test Component
SUT System Under Test
TDL Test Description Language
TTCN-3 Testing and Test Control Notation version 3
4 Basic Principles
4.1 Introduction
While both TDL and TTCN-3 are standardized languages, there are various ways how TTCN-3 code can be derived
from a TDL test description. This may result in different or even incompatible code intended to implement the same test
description. Without a standardized mapping of TDL to TTCN-3, there could be a proliferation of different and possibly
incompatible tool- and user-specific mappings of TDL test descriptions to executable test cases which can present new
challenges to users and tool vendors.
A standardized mapping between the two languages provides a consistent approach for producing executable tests from
high level test descriptions specified in TDL. This enables the generation of executable tests from TDL test descriptions
in a (semi-) automatic way, and by extension of the re-use of existing test tools and frameworks for test execution. This
way, test engineers can concentrate on the specification of test descriptions at a higher level of abstraction, while having
a clear expectation of what the resulting test implementation will look like.
4.2 Document Structure
The meta-model of the Test Description Language is specified in ETSI ES 203 119-1 [1]. The present document
specifies how the elements of the meta-model of TDL in locally ordered 'TestDescriptions' should be mapped to
TTCN-3 code. The mapping of the globally ordered 'TestDescription's is outside the scope of the present document.
ETSI
10 Final draft ETSI ES 203 119-6 V1.3.1 (2022-03)
The structure of the present document follows the structure of the meta-model specification in ETSI ES 203 119-1 [1].
The clauses 5 to 10 describe the standardized mappings of the meta-model elements with identical clause numbers in
ETSI ES 203 119-1 [1]. In each clause, first the description of the mapping of the corresponding meta-model element is
described. It may be followed by a Constraints section, if the mapping is provided only with limitations. At the end of a
clause an Example clause may exist to illustrate the mapping of the corresponding meta-model element. In the
Examples the textual (specified in ETSI ES 203 119-1 [1]) or the graphical (specified in ETSI ES 203 119-3 [3])
notations of TDL can be used.
In some cases the structure of the TTCN-3 code may differ from the structure of the TDL specification or it requires
some additional specification in TTCN-3. These special cases are described in clauses 8.2.11, 8.2.12 and 8.3.
At the end of the present document in Annex A several examples illustrate how the TTCN-3 code will look like after
the rules of mapping specified in the present document are applied.
4.3 Notational Conventions
4.3.0 General
Elements (e.g. meta-classes, properties, etc.) from the TDL meta-model [1] are typed in between 'single quotes',
e.g. 'StructuredDataType' or 'returnType'.
The TTCN-3 code elements (keywords, symbols, etc.) are typed in bold Courier New font, e.g. type port or
{ .
The TTCN-3 code to be generated is described by production rules, where applicable. The production rules are
specified in between << and >> symbols. Inside a production rule, the concatenation between elements of that
production rule is specified by a plus (+) symbol.
Iterations over collections of attributes of a metaclass make use of a function collect( ) with the following syntax:
propertyName.collect(VariableName ':' expression), where VariableName is an alphanumeric word signifying the
variable used in the subsequent expression, . propertyName is a string that shall be the same as the name of a property
of a TDL metaclass. The type of this property determines the type of the variable denoted by VariableName.
The separator between the elements of an iteration is specified by the concat( ) function.
EXAMPLE 1:
The production rule:
type record <> {
<< member.collect(m | m.dataType.name + " " + m.name() ).concat(",")>>
}
for this TDL description
Type MSG (sessionID of type integer, content of type charstring);
will provide the following TTCN-3 code snippet:
type record MSG {
integer sessionID,
charstring content
}
The function select() selects a TDL element with a given value of a property.
ETSI
11 Final draft ETSI ES 203 119-6 V1.3.1 (2022-03)
EXAMPLE 2:
componentInstance.select(c | c.role = Tester) selects a 'componentInstance' whose 'role' property has a value of
'Tester'.
Other helper functions used in the production rules are collected in clause 4.3.1, while the predefined 'AnnotationType's
that can be used to control the TTCN-3 code generation are listed in clause 4.3.2.
4.3.1 Functions used in production rules
• behaviourFunctionInReferencedTD(): returns the name of the behaviour function used in a referenced
'TestDescription' of the same tester component.
• equivalent(): returns the equivalent of the corresponding TDL element. If none of the structural modifications -
described in clause 8.3 - on a TDL configuration is to be applied then
...


ETSI STANDARD
Methods for Testing and Specification (MTS);
The Test Description Language (TDL);
Part 6: Mapping to TTCN-3
2 ETSI ES 203 119-6 V1.3.1 (2022-05)

Reference
RES/MTS-1196v1.3.1
Keywords
methodology, model, 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:
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 prevailing version of an ETSI
deliverable is the one made publicly available in PDF format at www.etsi.org/deliver.
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
If you find a security vulnerability in the present document, please report it through our
Coordinated Vulnerability Disclosure Program:
https://www.etsi.org/standards/coordinated-vulnerability-disclosure
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
governmental rule and/or regulation and further, no representation or warranty is made of merchantability or fitness
and/or
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 2022.
All rights reserved.
ETSI
3 ETSI ES 203 119-6 V1.3.1 (2022-05)
Contents
Intellectual Property Rights . 7
Foreword . 7
Modal verbs terminology . 7
1 Scope . 8
2 References . 8
2.1 Normative references . 8
2.2 Informative references . 8
3 Definition of terms, symbols and abbreviations . 9
3.1 Terms . 9
3.2 Symbols . 9
3.3 Abbreviations . 9
4 Basic Principles . 9
4.1 Introduction . 9
4.2 Document Structure . 9
4.3 Notational Conventions . 10
4.3.0 General . 10
4.3.1 Functions used in production rules . 11
4.3.2 Predefined Annotations . 11
4.4 Conformance . 11
5 Foundation . 11
5.1 Overview . 11
5.2 Mapping of Foundation Elements . 11
5.2.1 Element . 11
5.2.2 NamedElement . 12
5.2.3 PackageableElement . 12
5.2.4 Package . 12
5.2.5 ElementImport . 12
5.2.6 Comment . 13
5.2.7 Annotation . 13
5.2.8 AnnotationType . 13
5.2.9 TestObjective . 13
5.2.10 Extension . 13
6 Data . 14
6.1 Overview . 14
6.2 Mapping of Data Definition Elements . 14
6.2.1 DataResourceMapping . 14
6.2.2 MappableDataElement . 14
6.2.3 DataElementMapping . 14
6.2.4 ParameterMapping . 14
6.2.5 DataType . 14
6.2.6 DataInstance . 14
6.2.7 SimpleDataType . 14
6.2.8 SimpleDataInstance . 15
6.2.9 StructuredDataType . 15
6.2.10 Member . 15
6.2.11 StructuredDataInstance . 15
6.2.12 MemberAssignment . 16
6.2.13 CollectionDataType . 16
6.2.14 CollectionDataInstance . 16
6.2.15 ProcedureSignature . 17
6.2.16 ProcedureParameter . 17
6.2.17 ParameterKind . 17
6.2.18 Parameter . 17
ETSI
4 ETSI ES 203 119-6 V1.3.1 (2022-05)
6.2.19 FormalParameter . 17
6.2.20 Variable . 17
6.2.21 Action . 17
6.2.22 Function . 18
6.2.23 UnassignedMemberTreatment . 18
6.2.24 PredefinedFunction . 18
6.2.25 EnumDataType . 18
6.3 Mapping of Data Use Elements . 19
6.3.1 DataUse . 19
6.3.2 ParameterBinding . 19
6.3.3 StaticDataUse . 19
6.3.4 DataInstanceUse . 19
6.3.5 SpecialValueUse . 21
6.3.6 AnyValue . 21
6.3.7 AnyValueOrOmit . 21
6.3.8 OmitValue. 22
6.3.9 DynamicDataUse . 22
6.3.10 FunctionCall . 22
6.3.11 FormalParameterUse . 23
6.3.12 VariableUse . 24
6.3.13 PredefinedFunctionCall . 26
6.3.14 LiteralValueUse . 26
6.3.15 DataElementUse . 26
7 Time . 27
7.1 Overview . 27
7.2 Mapping of Time Elements . 27
7.2.1 Time . 27
7.2.2 TimeLabel . 27
7.2.3 TimeLabelUse . 28
7.2.4 TimeLabelUseKind . 28
7.2.5 TimeConstraint . 28
7.2.6 TimeOperation . 29
7.2.7 Wait . 30
7.2.8 Quiescence . 30
7.2.9 Timer . 30
7.2.10 TimerOperation . 30
7.2.11 TimerStart . 30
7.2.12 TimerStop . 31
7.2.13 TimeOut . 31
8 Test Configuration . 31
8.1 Overview . 31
8.2 Mapping of TestConfiguration Elements in Non-special Cases . 31
8.2.1 Introduction. 31
8.2.2 GateType . 32
8.2.3 GateTypeKind . 32
8.2.4 GateInstance . 32
8.2.5 ComponentType . 32
8.2.6 ComponentInstance . 33
8.2.7 ComponentInstanceRole . 33
8.2.8 GateReference . 33
8.2.9 Connection . 33
8.2.10 TestConfiguration . 34
8.2.11 Definition of the component type of MTC . 34
8.2.12 Definition of the component type of system . 34
8.3 Mapping of TestConfiguration Elements in Special Cases . 35
8.3.1 Introduction. 35
8.3.2 Connectable and mappable GateType. 35
8.3.3 A gate connected to a Tester and an SUT . 35
8.3.4 More than one SUT. 36
8.3.5 A gate of a Tester is connected to more SUTs . 37
ETSI
5 ETSI ES 203 119-6 V1.3.1 (2022-05)
8.3.6 A gate is connected to more gates of the same component . 37
9 Test Behaviour . 38
9.1 Overview . 38
9.2 Mapping of Test Description Elements . 39
9.2.1 TestDescription . 39
9.2.2 BehaviourDescription . 41
9.3 Mapping of Combined Behaviour elements . 41
9.3.1 Behaviour . 41
9.3.2 Block . 41
9.3.3 LocalExpression . 41
9.3.4 CombinedBehaviour . 41
9.3.5 SingleCombinedBehaviour . 41
9.3.6 CompoundBehaviour . 41
9.3.7 BoundedLoopBehaviour . 42
9.3.8 UnboundedLoopBehaviour . 42
9.3.9 OptionalBehaviour . 42
9.3.10 MultipleCombinedBehaviour . 44
9.3.11 AlternativeBehaviour . 45
9.3.12 ConditionalBehaviour . 45
9.3.13 ParallelBehaviour . 45
9.3.14 ExceptionalBehaviour . 46
9.3.15 DefaultBehaviour . 48
9.3.16 InterruptBehaviour . 48
9.3.17 PeriodicBehaviour . 48
9.4 Mapping of Atomic Behaviour Elements . 48
9.4.1 AtomicBehaviour . 48
9.4.2 Break . 48
9.4.3 Stop . 49
9.4.4 VerdictAssignment . 49
9.4.5 Assertion . 49
9.4.6 Interaction . 49
9.4.7 Message . 49
9.4.8 ProcedureCall . 50
9.4.9 Target . 52
9.4.10 ValueAssignment . 52
9.4.11 TestDescriptionReference . 52
9.4.12 ComponentInstanceBinding . 53
9.4.13 ActionBehaviour . 53
9.4.14 ActionReference . 53
9.4.15 InlineAction . 53
9.4.16 Assignment . 53
10 Predefined TDL Model Instances . 54
10.1 Overview . 54
10.2 Mapping of Predefined Instances of the 'SimpleDataType' Element . 54
10.2.1 Boolean . 54
10.2.2 Integer . 54
10.2.3 String . 54
10.2.4 Verdict . 54
10.3 Mapping of Predefined Instances of 'SimpleDataInstance' Element . 54
10.3.1 True . 54
10.3.2 False . 54
10.3.3 pass . 54
10.3.4 fail . 54
10.3.5 inconclusive . 54
10.4 Mapping of Predefined Instances of 'Time' Element . 55
10.4.1 Second . 55
10.5 Mapping of Predefined Instances of the 'Function' Element . 55
10.5.1 Overview . 55
10.5.2 Functions of Return Type 'Boolean' . 55
10.5.3 Functions of Return Type 'Integer' . 56
ETSI
6 ETSI ES 203 119-6 V1.3.1 (2022-05)
10.5.4 Functions of Return Type of Instance of 'Time' . 56
Annex A (informative): Examples of mapping TDL to TTCN-3 . 57
A.1 Introduction . 57
A.2 A 3GPP Conformance Example in Textual Syntax . 57
A.3 An IMS Interoperability Example in Textual Syntax . 62
History . 69

ETSI
7 ETSI ES 203 119-6 V1.3.1 (2022-05)
Intellectual Property Rights
Essential patents
IPRs essential or potentially essential to normative deliverables may have been declared to ETSI. The declarations
pertaining to these essential IPRs, if any, are publicly available for ETSI members and non-members, and can be
found in ETSI SR 000 314: "Intellectual Property Rights (IPRs); Essential, or potentially Essential, IPRs notified to
ETSI in respect of ETSI standards", which is available from the ETSI Secretariat. Latest updates are available on the
ETSI Web server (https://ipr.etsi.org/).
Pursuant to the ETSI Directives including the ETSI IPR Policy, no investigation regarding the essentiality of IPRs,
including IPR searches, has been carried out by ETSI. No guarantee can be given as to the existence of other IPRs not
referenced in ETSI SR 000 314 (or the updates on the ETSI Web server) which are, or may be, or may become,
essential to the present document.
Trademarks
The present document may include trademarks and/or tradenames which are asserted and/or registered by their owners.
ETSI claims no ownership of these except for any which are indicated as being the property of ETSI, and conveys no
right to use or reproduce any trademark and/or tradename. Mention of those trademarks in the present document does
not constitute an endorsement by ETSI of products, services or organizations associated with those trademarks.
DECT™, PLUGTESTS™, UMTS™ and the ETSI logo are trademarks of ETSI registered for the benefit of its

Members. 3GPP™ and LTE™ are trademarks of ETSI registered for the benefit of its Members and of the 3GPP
Organizational Partners. oneM2M™ logo is a trademark of ETSI registered for the benefit of its Members and of the ®
oneM2M Partners. GSM and the GSM logo are trademarks registered and owned by the GSM Association.
Foreword
This ETSI Standard (ES) has been produced by ETSI Technical Committee Methods for Testing and Specification
(MTS).
The present document is part 6 of a multi-part deliverable. Full details of the entire series can be found in part 1 [1].
Modal verbs terminology
In the present document "shall", "shall not", "should", "should not", "may", "need not", "will", "will not", "can" and
"cannot" are to be interpreted as described in clause 3.2 of the ETSI Drafting Rules (Verbal forms for the expression of
provisions).
"must" and "must not" are NOT allowed in ETSI deliverables except when used in direct citation.
ETSI
8 ETSI ES 203 119-6 V1.3.1 (2022-05)
1 Scope
The present document specifies how the elements of the Test Description Language (TDL) should be mapped to Testing
and Test Control Notation version 3 (TTCN-3) [2]. The intended use of the present document is to serve as the basis for
the development of TDL tools. The meta-model of TDL and the meanings of the meta-classes are described in ETSI
ES 203 119-1 [1].
2 References
2.1 Normative references
References are either specific (identified by date of publication and/or edition number or version number) or
non-specific. For specific references, only the cited version applies. For non-specific references, the latest version of the
referenced document (including any amendments) applies.
Referenced documents which are not found to be publicly available in the expected location might be found at
https://docbox.etsi.org/Reference/.
NOTE: While any hyperlinks included in this clause were valid at the time of publication, ETSI cannot guarantee
their long term validity.
The following referenced documents are necessary for the application of the present document.
[1] ETSI ES 203 119-1 (V1.6.1): "Methods for Testing and Specification (MTS); The Test
Description Language (TDL); Part 1: Abstract Syntax and Associated Semantics".
[2] ETSI ES 201 873-1 (V4.13.1): "Methods for Testing and Specification (MTS); The Testing and
Test Control Notation version 3; Part 1: TTCN-3 Core Language".
[3] ETSI ES 203 119-3 (V1.5.1): "Methods for Testing and Specification (MTS); The Test
Description Language (TDL); Part 3: Exchange Format".
[4] ETSI ES 203 119-2 (V1.5.1): "Methods for Testing and Specification (MTS); The Test
Description Language (TDL); Part 2: Graphical Syntax".
2.2 Informative references
References are either specific (identified by date of publication and/or edition number or version number) or
non-specific. For specific references, only the cited version applies. For non-specific references, the latest version of the
referenced document (including any amendments) applies.
NOTE: While any hyperlinks included in this clause were valid at the time of publication, ETSI cannot guarantee
their long term validity.
The following referenced documents are not necessary for the application of the present document but they assist the
user with regard to a particular subject area.
[i.1] ETSI TS 136 523-1 (V10.2.0): "LTE; Evolved Universal Terrestrial Radio Access (E-UTRA) and
Evolved Packet Core (EPC); User Equipment (UE) conformance specification; Part 1: Protocol
conformance specification (3GPP TS 36.523-1 version 10.2.0 Release 10)".
[i.2] ETSI TS 186 011-2: "Core Network and Interoperability Testing (INT); IMS NNI Interoperability
Test Specifications (3GPP Release 10); Part 2: Test descriptions for IMS NNI Interoperability".
ETSI
9 ETSI ES 203 119-6 V1.3.1 (2022-05)
3 Definition of terms, symbols and abbreviations
3.1 Terms
For the purposes of the present document, the following terms apply:
behaviour function: function used in TTCN-3 code that describes the behaviour of a TDL component instance
TTCNname: name of a TDL meta-model element that is used in the TTCN-3 code
NOTE: A TTCNname of a TDL element follows the syntactical rules of identifiers specified in ETSI
ES 201 873-1 [2]. A TTCNname of a TDL element may contain a part that is derived from the TDL name
with some prefixes and/or postfixes determined by a naming convention used in the TTCN-3 code.
3.2 Symbols
Void.
3.3 Abbreviations
For the purposes of the present document, the following abbreviations apply:
IMS IP Multimedia Subsystem
MTC Main Test Component
PTC Parallel Test Component
SUT System Under Test
TDL Test Description Language
TTCN-3 Testing and Test Control Notation version 3
4 Basic Principles
4.1 Introduction
While both TDL and TTCN-3 are standardized languages, there are various ways how TTCN-3 code can be derived
from a TDL test description. This may result in different or even incompatible code intended to implement the same test
description. Without a standardized mapping of TDL to TTCN-3, there could be a proliferation of different and possibly
incompatible tool- and user-specific mappings of TDL test descriptions to executable test cases which can present new
challenges to users and tool vendors.
A standardized mapping between the two languages provides a consistent approach for producing executable tests from
high level test descriptions specified in TDL. This enables the generation of executable tests from TDL test descriptions
in a (semi-) automatic way, and by extension of the re-use of existing test tools and frameworks for test execution. This
way, test engineers can concentrate on the specification of test descriptions at a higher level of abstraction, while having
a clear expectation of what the resulting test implementation will look like.
4.2 Document Structure
The meta-model of the Test Description Language is specified in ETSI ES 203 119-1 [1]. The present document
specifies how the elements of the meta-model of TDL in locally ordered 'TestDescriptions' should be mapped to
TTCN-3 code. The mapping of the globally ordered 'TestDescription's is outside the scope of the present document.
ETSI
10 ETSI ES 203 119-6 V1.3.1 (2022-05)
The structure of the present document follows the structure of the meta-model specification in ETSI ES 203 119-1 [1].
The clauses 5 to 10 describe the standardized mappings of the meta-model elements with identical clause numbers in
ETSI ES 203 119-1 [1]. In each clause, first the description of the mapping of the corresponding meta-model element is
described. It may be followed by a Constraints section, if the mapping is provided only with limitations. At the end of a
clause an Example clause may exist to illustrate the mapping of the corresponding meta-model element. In the
Examples the textual (specified in ETSI ES 203 119-1 [1]) or the graphical (specified in ETSI ES 203 119-3 [3])
notations of TDL can be used.
In some cases the structure of the TTCN-3 code may differ from the structure of the TDL specification or it requires
some additional specification in TTCN-3. These special cases are described in clauses 8.2.11, 8.2.12 and 8.3.
At the end of the present document in Annex A several examples illustrate how the TTCN-3 code will look like after
the rules of mapping specified in the present document are applied.
4.3 Notational Conventions
4.3.0 General
Elements (e.g. meta-classes, properties, etc.) from the TDL meta-model [1] are typed in between 'single quotes',
e.g. 'StructuredDataType' or 'returnType'.
The TTCN-3 code elements (keywords, symbols, etc.) are typed in bold Courier New font, e.g. type port or
{ .
The TTCN-3 code to be generated is described by production rules, where applicable. The production rules are
specified in between << and >> symbols. Inside a production rule, the concatenation between elements of that
production rule is specified by a plus (+) symbol.
Iterations over collections of attributes of a metaclass make use of a function collect( ) with the following syntax:
propertyName.collect(VariableName ':' expression), where VariableName is an alphanumeric word signifying the
variable used in the subsequent expression, . propertyName is a string that shall be the same as the name of a property
of a TDL metaclass. The type of this property determines the type of the variable denoted by VariableName.
The separator between the elements of an iteration is specified by the concat( ) function.
EXAMPLE 1:
The production rule:
type record <> {
<< member.collect(m | m.dataType.name + " " + m.name() ).concat(",")>>
}
for this TDL description
Type MSG (sessionID of type integer, content of type charstring);
will provide the following TTCN-3 code snippet:
type record MSG {
integer sessionID,
charstring content
}
The function select() selects a TDL element with a given value of a property.
ETSI
11 ETSI ES 203 119-6 V1.3.1 (2022-05)
EXAMPLE 2:
componentInstance.select(c | c.role = Tester) selects a 'componentInstance' whose 'role' property has a value of
'Tester'.
Other helper functions used in the production rules are collected in clause 4.3.1, while the predefined 'AnnotationType's
that can be used to control the TTCN-3 code generation are listed in clause 4.3.2.
4.3.1 Functions used in production rules
• behaviourFunctionInReferencedTD(): returns the name of the behaviour function used in a referenced
'TestDescription' of the same tester component.
• equivalent(): returns the equivalent of the corresponding TDL element. If none of the structural modifications -
described in clause 8.3 - on a TDL configuration is to be applied then the element.equivalent() is the element
itself, otherwise what is specified in the corresponding sub-clause of clause 8.3.
• getKind(): returns the kind of an 'importedElement' (e.g. type, template, const, function, etc.) that
...


SLOVENSKI STANDARD
01-september-2022
Metode za preskušanje in specificiranje (MTS) - Jezik za opis preskusa (TDL) - 6.
del: Preslikava v TTCN-3
Methods for Testing and Specification (MTS) - The Test Description Language (TDL) -
Part 6: Mapping to TTCN-3
Ta slovenski standard je istoveten z: ETSI ES 203 119-6 V1.3.1 (2022-05)
ICS:
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 Test Description Language (TDL);
Part 6: Mapping to TTCN-3
2 ETSI ES 203 119-6 V1.3.1 (2022-05)

Reference
RES/MTS-1196v1.3.1
Keywords
methodology, model, 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:
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 prevailing version of an ETSI
deliverable is the one made publicly available in PDF format at www.etsi.org/deliver.
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
If you find a security vulnerability in the present document, please report it through our
Coordinated Vulnerability Disclosure Program:
https://www.etsi.org/standards/coordinated-vulnerability-disclosure
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
governmental rule and/or regulation and further, no representation or warranty is made of merchantability or fitness
and/or
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 2022.
All rights reserved.
ETSI
3 ETSI ES 203 119-6 V1.3.1 (2022-05)
Contents
Intellectual Property Rights . 7
Foreword . 7
Modal verbs terminology . 7
1 Scope . 8
2 References . 8
2.1 Normative references . 8
2.2 Informative references . 8
3 Definition of terms, symbols and abbreviations . 9
3.1 Terms . 9
3.2 Symbols . 9
3.3 Abbreviations . 9
4 Basic Principles . 9
4.1 Introduction . 9
4.2 Document Structure . 9
4.3 Notational Conventions . 10
4.3.0 General . 10
4.3.1 Functions used in production rules . 11
4.3.2 Predefined Annotations . 11
4.4 Conformance . 11
5 Foundation . 11
5.1 Overview . 11
5.2 Mapping of Foundation Elements . 11
5.2.1 Element . 11
5.2.2 NamedElement . 12
5.2.3 PackageableElement . 12
5.2.4 Package . 12
5.2.5 ElementImport . 12
5.2.6 Comment . 13
5.2.7 Annotation . 13
5.2.8 AnnotationType . 13
5.2.9 TestObjective . 13
5.2.10 Extension . 13
6 Data . 14
6.1 Overview . 14
6.2 Mapping of Data Definition Elements . 14
6.2.1 DataResourceMapping . 14
6.2.2 MappableDataElement . 14
6.2.3 DataElementMapping . 14
6.2.4 ParameterMapping . 14
6.2.5 DataType . 14
6.2.6 DataInstance . 14
6.2.7 SimpleDataType . 14
6.2.8 SimpleDataInstance . 15
6.2.9 StructuredDataType . 15
6.2.10 Member . 15
6.2.11 StructuredDataInstance . 15
6.2.12 MemberAssignment . 16
6.2.13 CollectionDataType . 16
6.2.14 CollectionDataInstance . 16
6.2.15 ProcedureSignature . 17
6.2.16 ProcedureParameter . 17
6.2.17 ParameterKind . 17
6.2.18 Parameter . 17
ETSI
4 ETSI ES 203 119-6 V1.3.1 (2022-05)
6.2.19 FormalParameter . 17
6.2.20 Variable . 17
6.2.21 Action . 17
6.2.22 Function . 18
6.2.23 UnassignedMemberTreatment . 18
6.2.24 PredefinedFunction . 18
6.2.25 EnumDataType . 18
6.3 Mapping of Data Use Elements . 19
6.3.1 DataUse . 19
6.3.2 ParameterBinding . 19
6.3.3 StaticDataUse . 19
6.3.4 DataInstanceUse . 19
6.3.5 SpecialValueUse . 21
6.3.6 AnyValue . 21
6.3.7 AnyValueOrOmit . 21
6.3.8 OmitValue. 22
6.3.9 DynamicDataUse . 22
6.3.10 FunctionCall . 22
6.3.11 FormalParameterUse . 23
6.3.12 VariableUse . 24
6.3.13 PredefinedFunctionCall . 26
6.3.14 LiteralValueUse . 26
6.3.15 DataElementUse . 26
7 Time . 27
7.1 Overview . 27
7.2 Mapping of Time Elements . 27
7.2.1 Time . 27
7.2.2 TimeLabel . 27
7.2.3 TimeLabelUse . 28
7.2.4 TimeLabelUseKind . 28
7.2.5 TimeConstraint . 28
7.2.6 TimeOperation . 29
7.2.7 Wait . 30
7.2.8 Quiescence . 30
7.2.9 Timer . 30
7.2.10 TimerOperation . 30
7.2.11 TimerStart . 30
7.2.12 TimerStop . 31
7.2.13 TimeOut . 31
8 Test Configuration . 31
8.1 Overview . 31
8.2 Mapping of TestConfiguration Elements in Non-special Cases . 31
8.2.1 Introduction. 31
8.2.2 GateType . 32
8.2.3 GateTypeKind . 32
8.2.4 GateInstance . 32
8.2.5 ComponentType . 32
8.2.6 ComponentInstance . 33
8.2.7 ComponentInstanceRole . 33
8.2.8 GateReference . 33
8.2.9 Connection . 33
8.2.10 TestConfiguration . 34
8.2.11 Definition of the component type of MTC . 34
8.2.12 Definition of the component type of system . 34
8.3 Mapping of TestConfiguration Elements in Special Cases . 35
8.3.1 Introduction. 35
8.3.2 Connectable and mappable GateType. 35
8.3.3 A gate connected to a Tester and an SUT . 35
8.3.4 More than one SUT. 36
8.3.5 A gate of a Tester is connected to more SUTs . 37
ETSI
5 ETSI ES 203 119-6 V1.3.1 (2022-05)
8.3.6 A gate is connected to more gates of the same component . 37
9 Test Behaviour . 38
9.1 Overview . 38
9.2 Mapping of Test Description Elements . 39
9.2.1 TestDescription . 39
9.2.2 BehaviourDescription . 41
9.3 Mapping of Combined Behaviour elements . 41
9.3.1 Behaviour . 41
9.3.2 Block . 41
9.3.3 LocalExpression . 41
9.3.4 CombinedBehaviour . 41
9.3.5 SingleCombinedBehaviour . 41
9.3.6 CompoundBehaviour . 41
9.3.7 BoundedLoopBehaviour . 42
9.3.8 UnboundedLoopBehaviour . 42
9.3.9 OptionalBehaviour . 42
9.3.10 MultipleCombinedBehaviour . 44
9.3.11 AlternativeBehaviour . 45
9.3.12 ConditionalBehaviour . 45
9.3.13 ParallelBehaviour . 45
9.3.14 ExceptionalBehaviour . 46
9.3.15 DefaultBehaviour . 48
9.3.16 InterruptBehaviour . 48
9.3.17 PeriodicBehaviour . 48
9.4 Mapping of Atomic Behaviour Elements . 48
9.4.1 AtomicBehaviour . 48
9.4.2 Break . 48
9.4.3 Stop . 49
9.4.4 VerdictAssignment . 49
9.4.5 Assertion . 49
9.4.6 Interaction . 49
9.4.7 Message . 49
9.4.8 ProcedureCall . 50
9.4.9 Target . 52
9.4.10 ValueAssignment . 52
9.4.11 TestDescriptionReference . 52
9.4.12 ComponentInstanceBinding . 53
9.4.13 ActionBehaviour . 53
9.4.14 ActionReference . 53
9.4.15 InlineAction . 53
9.4.16 Assignment . 53
10 Predefined TDL Model Instances . 54
10.1 Overview . 54
10.2 Mapping of Predefined Instances of the 'SimpleDataType' Element . 54
10.2.1 Boolean . 54
10.2.2 Integer . 54
10.2.3 String . 54
10.2.4 Verdict . 54
10.3 Mapping of Predefined Instances of 'SimpleDataInstance' Element . 54
10.3.1 True . 54
10.3.2 False . 54
10.3.3 pass . 54
10.3.4 fail . 54
10.3.5 inconclusive . 54
10.4 Mapping of Predefined Instances of 'Time' Element . 55
10.4.1 Second . 55
10.5 Mapping of Predefined Instances of the 'Function' Element . 55
10.5.1 Overview . 55
10.5.2 Functions of Return Type 'Boolean' . 55
10.5.3 Functions of Return Type 'Integer' . 56
ETSI
6 ETSI ES 203 119-6 V1.3.1 (2022-05)
10.5.4 Functions of Return Type of Instance of 'Time' . 56
Annex A (informative): Examples of mapping TDL to TTCN-3 . 57
A.1 Introduction . 57
A.2 A 3GPP Conformance Example in Textual Syntax . 57
A.3 An IMS Interoperability Example in Textual Syntax . 62
History . 69

ETSI
7 ETSI ES 203 119-6 V1.3.1 (2022-05)
Intellectual Property Rights
Essential patents
IPRs essential or potentially essential to normative deliverables may have been declared to ETSI. The declarations
pertaining to these essential IPRs, if any, are publicly available for ETSI members and non-members, and can be
found in ETSI SR 000 314: "Intellectual Property Rights (IPRs); Essential, or potentially Essential, IPRs notified to
ETSI in respect of ETSI standards", which is available from the ETSI Secretariat. Latest updates are available on the
ETSI Web server (https://ipr.etsi.org/).
Pursuant to the ETSI Directives including the ETSI IPR Policy, no investigation regarding the essentiality of IPRs,
including IPR searches, has been carried out by ETSI. No guarantee can be given as to the existence of other IPRs not
referenced in ETSI SR 000 314 (or the updates on the ETSI Web server) which are, or may be, or may become,
essential to the present document.
Trademarks
The present document may include trademarks and/or tradenames which are asserted and/or registered by their owners.
ETSI claims no ownership of these except for any which are indicated as being the property of ETSI, and conveys no
right to use or reproduce any trademark and/or tradename. Mention of those trademarks in the present document does
not constitute an endorsement by ETSI of products, services or organizations associated with those trademarks.
DECT™, PLUGTESTS™, UMTS™ and the ETSI logo are trademarks of ETSI registered for the benefit of its

Members. 3GPP™ and LTE™ are trademarks of ETSI registered for the benefit of its Members and of the 3GPP
Organizational Partners. oneM2M™ logo is a trademark of ETSI registered for the benefit of its Members and of the ®
oneM2M Partners. GSM and the GSM logo are trademarks registered and owned by the GSM Association.
Foreword
This ETSI Standard (ES) has been produced by ETSI Technical Committee Methods for Testing and Specification
(MTS).
The present document is part 6 of a multi-part deliverable. Full details of the entire series can be found in part 1 [1].
Modal verbs terminology
In the present document "shall", "shall not", "should", "should not", "may", "need not", "will", "will not", "can" and
"cannot" are to be interpreted as described in clause 3.2 of the ETSI Drafting Rules (Verbal forms for the expression of
provisions).
"must" and "must not" are NOT allowed in ETSI deliverables except when used in direct citation.
ETSI
8 ETSI ES 203 119-6 V1.3.1 (2022-05)
1 Scope
The present document specifies how the elements of the Test Description Language (TDL) should be mapped to Testing
and Test Control Notation version 3 (TTCN-3) [2]. The intended use of the present document is to serve as the basis for
the development of TDL tools. The meta-model of TDL and the meanings of the meta-classes are described in ETSI
ES 203 119-1 [1].
2 References
2.1 Normative references
References are either specific (identified by date of publication and/or edition number or version number) or
non-specific. For specific references, only the cited version applies. For non-specific references, the latest version of the
referenced document (including any amendments) applies.
Referenced documents which are not found to be publicly available in the expected location might be found at
https://docbox.etsi.org/Reference/.
NOTE: While any hyperlinks included in this clause were valid at the time of publication, ETSI cannot guarantee
their long term validity.
The following referenced documents are necessary for the application of the present document.
[1] ETSI ES 203 119-1 (V1.6.1): "Methods for Testing and Specification (MTS); The Test
Description Language (TDL); Part 1: Abstract Syntax and Associated Semantics".
[2] ETSI ES 201 873-1 (V4.13.1): "Methods for Testing and Specification (MTS); The Testing and
Test Control Notation version 3; Part 1: TTCN-3 Core Language".
[3] ETSI ES 203 119-3 (V1.5.1): "Methods for Testing and Specification (MTS); The Test
Description Language (TDL); Part 3: Exchange Format".
[4] ETSI ES 203 119-2 (V1.5.1): "Methods for Testing and Specification (MTS); The Test
Description Language (TDL); Part 2: Graphical Syntax".
2.2 Informative references
References are either specific (identified by date of publication and/or edition number or version number) or
non-specific. For specific references, only the cited version applies. For non-specific references, the latest version of the
referenced document (including any amendments) applies.
NOTE: While any hyperlinks included in this clause were valid at the time of publication, ETSI cannot guarantee
their long term validity.
The following referenced documents are not necessary for the application of the present document but they assist the
user with regard to a particular subject area.
[i.1] ETSI TS 136 523-1 (V10.2.0): "LTE; Evolved Universal Terrestrial Radio Access (E-UTRA) and
Evolved Packet Core (EPC); User Equipment (UE) conformance specification; Part 1: Protocol
conformance specification (3GPP TS 36.523-1 version 10.2.0 Release 10)".
[i.2] ETSI TS 186 011-2: "Core Network and Interoperability Testing (INT); IMS NNI Interoperability
Test Specifications (3GPP Release 10); Part 2: Test descriptions for IMS NNI Interoperability".
ETSI
9 ETSI ES 203 119-6 V1.3.1 (2022-05)
3 Definition of terms, symbols and abbreviations
3.1 Terms
For the purposes of the present document, the following terms apply:
behaviour function: function used in TTCN-3 code that describes the behaviour of a TDL component instance
TTCNname: name of a TDL meta-model element that is used in the TTCN-3 code
NOTE: A TTCNname of a TDL element follows the syntactical rules of identifiers specified in ETSI
ES 201 873-1 [2]. A TTCNname of a TDL element may contain a part that is derived from the TDL name
with some prefixes and/or postfixes determined by a naming convention used in the TTCN-3 code.
3.2 Symbols
Void.
3.3 Abbreviations
For the purposes of the present document, the following abbreviations apply:
IMS IP Multimedia Subsystem
MTC Main Test Component
PTC Parallel Test Component
SUT System Under Test
TDL Test Description Language
TTCN-3 Testing and Test Control Notation version 3
4 Basic Principles
4.1 Introduction
While both TDL and TTCN-3 are standardized languages, there are various ways how TTCN-3 code can be derived
from a TDL test description. This may result in different or even incompatible code intended to implement the same test
description. Without a standardized mapping of TDL to TTCN-3, there could be a proliferation of different and possibly
incompatible tool- and user-specific mappings of TDL test descriptions to executable test cases which can present new
challenges to users and tool vendors.
A standardized mapping between the two languages provides a consistent approach for producing executable tests from
high level test descriptions specified in TDL. This enables the generation of executable tests from TDL test descriptions
in a (semi-) automatic way, and by extension of the re-use of existing test tools and frameworks for test execution. This
way, test engineers can concentrate on the specification of test descriptions at a higher level of abstraction, while having
a clear expectation of what the resulting test implementation will look like.
4.2 Document Structure
The meta-model of the Test Description Language is specified in ETSI ES 203 119-1 [1]. The present document
specifies how the elements of the meta-model of TDL in locally ordered 'TestDescriptions' should be mapped to
TTCN-3 code. The mapping of the globally ordered 'TestDescription's is outside the scope of the present document.
ETSI
10 ETSI ES 203 119-6 V1.3.1 (2022-05)
The structure of the present document follows the structure of the meta-model specification in ETSI ES 203 119-1 [1].
The clauses 5 to 10 describe the standardized mappings of the meta-model elements with identical clause numbers in
ETSI ES 203 119-1 [1]. In each clause, first the description of the mapping of the corresponding meta-model element is
described. It may be followed by a Constraints section, if the mapping is provided only with limitations. At the end of a
clause an Example clause may exist to illustrate the mapping of the corresponding meta-model element. In the
Examples the textual (specified in ETSI ES 203 119-1 [1]) or the graphical (specified in ETSI ES 203 119-3 [3])
notations of TDL can be used.
In some cases the structure of the TTCN-3 code may differ from the structure of the TDL specification or it requires
some additional specification in TTCN-3. These special cases are described in clauses 8.2.11, 8.2.12 and 8.3.
At the end of the present document in Annex A several examples illustrate how the TTCN-3 code will look like after
the rules of mapping specified in the present document are applied.
4.3 Notational Conventions
4.3.0 General
Elements (e.g. meta-classes, properties, etc.) from the TDL meta-model [1] are typed in between 'single quotes',
e.g. 'StructuredDataType' or 'returnType'.
The TTCN-3 code elements (keywords, symbols, etc.) are typed in bold Courier New font, e.g. type port or
{ .
The TTCN-3 code to be generated is described by production rules, where applicable. The production rules are
specified in between << and >> symbols. Inside a production rule, the concatenation between elements of that
production rule is specified by a plus (+) symbol.
Iterations over collections of attributes of a metaclass make use of a function collect( ) with the following syntax:
propertyName.collect(VariableName ':' expression), where VariableName is an alphanumeric word signifying the
variable used in the subsequent expression, . propertyName is a string that shall be the same as the name of a property
of a TDL metaclass. The type of this property determines the type of the variable denoted by VariableName.
The separator between the elements of an iteration is specified by the concat( ) function.
EXAMPLE 1:
The production rule:
type record <> {
<< member.collect(m | m.dataType.name + " " + m.name() ).concat(",")>>
}
for this TDL description
Type MSG (sessionID of type integer, content of type charstring);
will provide the following TTCN-3 code snippet:
type record MSG {
integer sessionID,
charstring content
}
The function select() selects a TDL ele
...

Questions, Comments and Discussion

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

Loading comments...