Methods for Testing and Specification (MTS) - The Testing and Test Control Notation version 3 - TTCN-3 Language Extensions: Support of interfaces with continuous signals

The present document defines the "Continuous Signal support" package of TTCN-3. TTCN-3 can be used for the
specification of all types of reactive system tests over a variety of communication ports. Typical areas of application are
protocol testing (including mobile and Internet protocols), service testing (including supplementary services), module
testing, testing of APIs, etc. TTCN-3 is not restricted to conformance testing and can be used for many other kinds of
testing including interoperability, robustness, regression, system and integration testing. The specification of test suites
for physical layer protocols is outside the scope of the present document.
TTCN-3 packages are intended to define additional TTCN-3 concepts, which are not mandatory as concepts in the
TTCN-3 core language, but which are optional as part of a package which is suited for dedicated applications and/or
usages of TTCN-3.
This package defines concepts for testing systems using continuous signals as opposed to discrete messages and the
characterization of the progression of such signals by use of streams. For both the production as well as the evaluation
of continuous signals the concept of mode is introduced. Also, the signals can be processed as history-traces. Finally,
basic mathematical functions that are useful for analyzing such traces are defined for TTCN-3. It is thus especially
useful for testing systems which communicate with the physical world via sensors and actuators.
While the design of TTCN-3 package has taken into account the consistency of a combined usage of the core language
with a number of packages, the concrete usages of and guidelines for this package in combination with other packages
is outside the scope of the present document.

Metode za preskušanje in specificiranje (MTS) - 3. različica zapisa preskušanja in krmiljenja preskusov - Razširitev nabora jezikov TTCN-3: podpora vmesnikov z neprekinjenimi signali

General Information

Status
Published
Publication Date
03-May-2022
Current Stage
6060 - National Implementation/Publication (Adopted Project)
Start Date
20-Apr-2022
Due Date
25-Jun-2022
Completion Date
04-May-2022

Buy Standard

Standard
ETSI ES 202 786 V1.5.1 (2022-04) - Methods for Testing and Specification (MTS); The Testing and Test Control Notation version 3; TTCN-3 Language Extensions: Support of interfaces with continuous signals
English language
54 pages
sale 15% off
Preview
sale 15% off
Preview
Standard
ETSI ES 202 786 V1.5.1 (2022-02) - Methods for Testing and Specification (MTS); The Testing and Test Control Notation version 3; TTCN-3 Language Extensions: Support of interfaces with continuous signals
English language
54 pages
sale 15% off
Preview
sale 15% off
Preview
Standardization document
SIST ES 202 786 V1.5.1:2022
English language
54 pages
sale 10% off
Preview
sale 10% off
Preview
e-Library read for
1 day

Standards Content (sample)

ETSI ES 202 786 V1.5.1 (2022-04)
ETSI STANDARD
Methods for Testing and Specification (MTS);
The Testing and Test Control Notation version 3;
TTCN-3 Language Extensions:
Support of interfaces with continuous signals
---------------------- Page: 1 ----------------------
2 ETSI ES 202 786 V1.5.1 (2022-04)
Reference
RES/MTS-202786ed151
Keywords
interface, 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

rule and/or regulation and further, no representation or warranty is made of merchantability or fitness

and/or governmental

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
---------------------- Page: 2 ----------------------
3 ETSI ES 202 786 V1.5.1 (2022-04)
Contents

Intellectual Property Rights ................................................................................................................................ 5

Foreword ............................................................................................................................................................. 5

Modal verbs terminology .................................................................................................................................... 5

1 Scope ........................................................................................................................................................ 6

2 References ................................................................................................................................................ 6

2.1 Normative references ......................................................................................................................................... 6

2.2 Informative references ........................................................................................................................................ 7

3 Definition of terms, symbols and abbreviations ....................................................................................... 7

3.1 Terms .................................................................................................................................................................. 7

3.2 Symbols .............................................................................................................................................................. 7

3.3 Abbreviations ..................................................................................................................................................... 7

4 Package conformance and compatibility .................................................................................................. 7

5 Package concepts for the core language ................................................................................................... 8

5.0 General ............................................................................................................................................................... 8

5.1 Time and Sampling ............................................................................................................................................ 9

5.1.0 General .......................................................................................................................................................... 9

5.1.1 The now operator .......................................................................................................................................... 9

5.1.2 Define the default step size for sampling .................................................................................................... 10

5.2 Data streams ..................................................................................................................................................... 10

5.2.0 General ........................................................................................................................................................ 10

5.2.1 Data Streams: static perspective ................................................................................................................. 11

5.2.2 Data Streams: dynamic perspective ............................................................................................................ 12

5.2.2.0 General .................................................................................................................................................. 12

5.2.2.1 Defining stream port types .................................................................................................................... 12

5.2.2.2 Declaration and instantiation of stream ports ........................................................................................ 13

5.2.2.3 The Connect and Map operations .......................................................................................................... 14

5.2.3 Data Streams: access operations ................................................................................................................. 15

5.2.3.0 General .................................................................................................................................................. 15

5.2.3.1 The value operation ............................................................................................................................... 15

5.2.3.2 The timestamp operation ....................................................................................................................... 16

5.2.3.3 The delta operation ................................................................................................................................ 16

5.2.4 Data Streams: navigation operations........................................................................................................... 17

5.2.4.0 General .................................................................................................................................................. 17

5.2.4.1 The prev operation ................................................................................................................................ 17

5.2.4.2 The at operation .................................................................................................................................... 18

5.2.5 Data Streams: extraction and application operations .................................................................................. 19

5.2.5.0 General .................................................................................................................................................. 19

5.2.5.1 The history operation ............................................................................................................................ 19

5.2.5.2 The values operation ............................................................................................................................. 20

5.2.5.3 The apply operation............................................................................................................................... 21

5.2.6 Port control operations ................................................................................................................................ 22

5.2.7 Stream ports in static configurations ........................................................................................................... 22

5.3 The assert statement ......................................................................................................................................... 22

5.4 Control structures for continuous and hybrid behaviour .................................................................................. 23

5.4.0 General ........................................................................................................................................................ 23

5.4.1 Modes ......................................................................................................................................................... 23

5.4.1.0 General .................................................................................................................................................. 23

5.4.1.1 Definition of the until block .................................................................................................................. 25

5.4.1.1.0 General ............................................................................................................................................ 25

5.4.1.1.1 Definition of transition guards and events ....................................................................................... 26

5.4.1.1.2 Definition of follow up modes ......................................................................................................... 26

5.4.1.1.3 The repeat statement ........................................................................................................................ 27

5.4.1.1.4 The continue statement .................................................................................................................... 28

5.4.1.2 Definition of invariant blocks ............................................................................................................... 28

ETSI
---------------------- Page: 3 ----------------------
4 ETSI ES 202 786 V1.5.1 (2022-04)

5.4.1.3 Definition of the onentry block ............................................................................................................. 29

5.4.1.4 Definition of the onexit block ............................................................................................................... 29

5.4.1.5 Local predicate symbols in the context of modes ................................................................................. 30

5.4.1.6 The duration operator ............................................................................................................................ 31

5.4.2 Atomic modes: the cont statement .............................................................................................................. 31

5.4.3 Parallel mode composition: the par statement ............................................................................................ 32

5.4.4 Sequential mode composition: the seq statement........................................................................................ 33

5.4.5 Parameterizable modes ............................................................................................................................... 34

5.4.5.0 General .................................................................................................................................................. 34

5.4.5.1 Parameterizable mode definitions ......................................................................................................... 35

5.4.5.2 Mode types (optional) ........................................................................................................................... 35

5.5 The wait statement............................................................................................................................................ 36

6 TRI extensions for the package .............................................................................................................. 36

6.0 General ............................................................................................................................................................. 36

6.1 Extensions to clause 5.5 of ETSI ES 201 873-5: Communication interface operations ................................... 37

6.2 Extensions to clause 5.6 of ETSI ES 201 873-5: Platform interface operations............................................... 38

6.3 Extensions to clause 6.3.2 of ETSI ES 201 873-5: Structured type mapping ................................................... 40

6.3.1 TriConfigurationIdType .............................................................................................................................. 40

6.3.1.0 General .................................................................................................................................................. 40

6.3.1.1 Methods ................................................................................................................................................. 40

6.4 Extensions to clause 6.5.2.1 of ETSI ES 201 873-5: TriCommunicationSA ................................................... 41

6.5 Extensions to clause 6.5.3.1 of ETSI ES 201 873-5: TriPlatformPA ............................................................... 41

6.6 Extensions to clause 6.5.3.2 of ETSI ES 201 873-5: TriPlatformTE ............................................................... 42

6.7 Extensions to clause 7.2.1 of ETSI ES 201 873-5: Abstract type mapping ...................................................... 42

6.8 Extensions to clause 7.2.4 of ETSI ES 201 873-5: TRI operation mapping ..................................................... 42

6.9 Extensions to clause 8.5.2 of ETSI ES 201 873-5: Abstract data types ........................................................... 43

6.9.1 TriConfigurationId ...................................................................................................................................... 43

6.9.1.0 General .................................................................................................................................................. 43

6.9.1.1 Methods ................................................................................................................................................. 43

6.10 Extensions to clause 8.6.1 of ETSI ES 201 873-5: TriCommunicationSA ...................................................... 43

6.11 Extensions to clause 8.6.3 of ETSI ES 201 873-5: TriPlatformPA .................................................................. 44

6.12 Extensions to clause 8.6.4 of ETSI ES 201 873-5: TriPlatformTE .................................................................. 44

6.13 Extensions to clause 9.4.2 of ETSI ES 201 873-5: Structured type mapping ................................................... 44

6.13.1 TriConfigurationIdType .............................................................................................................................. 44

6.13.1.0 General .................................................................................................................................................. 44

6.13.1.1 Members ............................................................................................................................................... 44

6.14 Extensions to clause 9.5.2.1 of ETSI ES 201 873-5: ITriCommunicationSA .................................................. 45

6.15 Extensions to clause 9.5.2.3 of ETSI ES 201 873-5: ITriPlatformPA .............................................................. 45

6.16 Extensions to clause 9.5.2.4 of ETSI ES 201 873-5: ITriPlatformTE .............................................................. 45

7 TCI extensions for the package .............................................................................................................. 46

7.1 Extensions to clause 7.3.3.2 of ETSI ES 201 873-6: TCI-CH provided .......................................................... 46

7.2 Extensions to clause 7.3.3.1 of ETSI ES 201 873-6: TCI-CH required ........................................................... 47

7.3 Extensions to clause 8.5.3.1 of ETSI ES 201 873-6: TCI-CH provided .......................................................... 47

7.4 Extensions to clause 8.5.3.2 of ETSI ES 201 873-6: TCI-CH required ........................................................... 48

7.5 Extensions to clause 9.4.3.1 of ETSI ES 201 873-6: TCI-CH provided .......................................................... 48

7.6 Extensions to clause 9.4.3.2 of ETSI ES 201 873-6: TCI-CH required ........................................................... 48

7.7 Extensions to clause 10.6.3.1 of ETSI ES 201 873-6: TciChRequired ............................................................ 48

7.8 Extensions to clause 10.6.3.2 of ETSI ES 201 873-6: TciChProvided ............................................................. 48

7.9 Extensions to clause 12.5.3.1 of ETSI ES 201 873-6: TCI-CH provided......................................................... 49

7.10 Extensions to clause 12.5.3.2 of ETSI ES 201 873-6: TCI-CH required ......................................................... 49

Annex A (normative): BNF and static semantics ......................................................................................... 50

A.1 New TTCN-3 terminals .......................................................................................................................... 50

A.2 Changed BNF Rules ............................................................................................................................... 50

A.3 New BNF Rules ..................................................................................................................................... 51

Annex B (informative): Bibliography ........................................................................................................... 53

History .............................................................................................................................................................. 54

ETSI
---------------------- Page: 4 ----------------------
5 ETSI ES 202 786 V1.5.1 (2022-04)
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 use of underline (additional text) and strike through (deleted text) highlights the differences between base

document and extended documents.

The present document relates to the multi-part standard ETSI ES 201 873 covering the Testing and Test Control

Notation version 3, as identified in ETSI ES 201 873-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
---------------------- Page: 5 ----------------------
6 ETSI ES 202 786 V1.5.1 (2022-04)
1 Scope

The present document defines the "Continuous Signal support" package of TTCN-3. TTCN-3 can be used for the

specification of all types of reactive system tests over a variety of communication ports. Typical areas of application are

protocol testing (including mobile and Internet protocols), service testing (including supplementary services), module

testing, testing of APIs, etc. TTCN-3 is not restricted to conformance testing and can be used for many other kinds of

testing including interoperability, robustness, regression, system and integration testing. The specification of test suites

for physical layer protocols is outside the scope of the present document.

TTCN-3 packages are intended to define additional TTCN-3 concepts, which are not mandatory as concepts in the

TTCN-3 core language, but which are optional as part of a package which is suited for dedicated applications and/or

usages of TTCN-3.

This package defines concepts for testing systems using continuous signals as opposed to discrete messages and the

characterization of the progression of such signals by use of streams. For both the production as well as the evaluation

of continuous signals the concept of mode is introduced. Also, the signals can be processed as history-traces. Finally,

basic mathematical functions that are useful for analyzing such traces are defined for TTCN-3. It is thus especially

useful for testing systems which communicate with the physical world via sensors and actuators.

While the design of TTCN-3 package has taken into account the consistency of a combined usage of the core language

with a number of packages, the concrete usages of and guidelines for this package in combination with other packages

is outside the scope of the present document.
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 201 873-1 (V4.9.1): "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-4 (V4.6.1): "Methods for Testing and Specification (MTS); The Testing and

Test Control Notation version 3; Part 4: TTCN-3 Operational Semantics".

[3] ETSI ES 201 873-5 (V4.8.1): "Methods for Testing and Specification (MTS); The Testing and

Test Control Notation version 3; Part 5: TTCN-3 Runtime Interface (TRI)".

[4] ETSI ES 201 873-6 (V4.9.1): "Methods for Testing and Specification (MTS); The Testing and

Test Control Notation version 3; Part 6: TTCN-3 Control Interface (TCI)".

[5] ISO/IEC 9646-1: "Information technology -- Open Systems Interconnection -- Conformance

testing methodology and framework; Part 1: General concepts".

[6] ETSI ES 202 785 (V1.3.1): "Methods for Testing and Specification (MTS); The Testing and Test

Control Notation version 3; TTCN-3 Language Extensions: Behaviour Types".

[7] ETSI ES 202 781 (V1.3.1): "Methods for Testing and Specification (MTS); The Testing and Test

Control Notation version 3; TTCN-3 Language Extensions: Configuration and Deployment

Support".
ETSI
---------------------- Page: 6 ----------------------
7 ETSI ES 202 786 V1.5.1 (2022-04)
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 ES 201 873-7: "Methods for Testing and Specification (MTS); The Testing and Test Control

Notation version 3; Part 7: Using ASN.1 with TTCN-3".

[i.2] ETSI ES 201 873-8: "Methods for Testing and Specification (MTS); The Testing and Test Control

Notation version 3; Part 8: The IDL to TTCN-3 Mapping".

[i.3] ETSI ES 201 873-9: "Methods for Testing and Specification (MTS); The Testing and Test Control

Notation version 3; Part 9: Using XML schema with TTCN-3".

[i.4] ETSI ES 201 873-10: "Methods for Testing and Specification (MTS); The Testing and Test

Control Notation version 3; Part 10: TTCN-3 Documentation Comment Specification".

[i.5] ETSI ES 202 784: "Methods for Testing and Specification (MTS); The Testing and Test Control

Notation version 3; TTCN-3 Language Extensions: Advanced Parameterization".

[i.6] ETSI ES 202 782: "Methods for Testing and Specification (MTS); The Testing and Test Control

Notation version 3; TTCN-3 Language Extensions: TTCN-3 Performance and Real Time Testing".

3 Definition of terms, symbols and abbreviations
3.1 Terms

For the purposes of the present document, the terms given in ETSI ES 201 873-1 [1], ETSI ES 201 873-4 [2], ETSI

ES 201 873-5 [3], ETSI ES 201 873-6 [4] and ISO/IEC 9646-1 [5] apply.
3.2 Symbols
Void.
3.3 Abbreviations

For the purposes of the present document, the abbreviations given in ETSI ES 201 873-1 [1], ETSI ES 201 873-4 [2],

ETSI ES 201 873-5 [3], ETSI ES 201 873-6 [4] and ISO/IEC 9646-1 [5] apply.
4 Package conformance and compatibility
The package presented in the present document is identified by the package tag:

• "TTCN-3:2012 Support for Testing Continuous Signals" - to be used with modules complying

with the present document.

For an implementation claiming to conform to this package version, all features specified in the present document shall

be implemented consistently with the requirements given in the present document and in ETSI E

...

Final draft ETSI ES 202 786 V1.5.1 (2022-02)
ETSI STANDARD
Methods for Testing and Specification (MTS);
The Testing and Test Control Notation version 3;
TTCN-3 Language Extensions:
Support of interfaces with continuous signals
---------------------- Page: 1 ----------------------
2 Final draft ETSI ES 202 786 V1.5.1 (2022-02)
Reference
RES/MTS-202786ed151
Keywords
interface, 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
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
---------------------- Page: 2 ----------------------
3 Final draft ETSI ES 202 786 V1.5.1 (2022-02)
Contents

Intellectual Property Rights ................................................................................................................................ 5

Foreword ............................................................................................................................................................. 5

Modal verbs terminology .................................................................................................................................... 5

1 Scope ........................................................................................................................................................ 6

2 References ................................................................................................................................................ 6

2.1 Normative references ......................................................................................................................................... 6

2.2 Informative references ........................................................................................................................................ 7

3 Definition of terms, symbols and abbreviations ....................................................................................... 7

3.1 Terms .................................................................................................................................................................. 7

3.2 Symbols .............................................................................................................................................................. 7

3.3 Abbreviations ..................................................................................................................................................... 7

4 Package conformance and compatibility .................................................................................................. 7

5 Package concepts for the core language ................................................................................................... 8

5.0 General ............................................................................................................................................................... 8

5.1 Time and Sampling ............................................................................................................................................ 9

5.1.0 General .......................................................................................................................................................... 9

5.1.1 The now operator .......................................................................................................................................... 9

5.1.2 Define the default step size for sampling .................................................................................................... 10

5.2 Data streams ..................................................................................................................................................... 10

5.2.0 General ........................................................................................................................................................ 10

5.2.1 Data Streams: static perspective ................................................................................................................. 11

5.2.2 Data Streams: dynamic perspective ............................................................................................................ 12

5.2.2.0 General .................................................................................................................................................. 12

5.2.2.1 Defining stream port types .................................................................................................................... 12

5.2.2.2 Declaration and instantiation of stream ports ........................................................................................ 13

5.2.2.3 The Connect and Map operations .......................................................................................................... 14

5.2.3 Data Streams: access operations ................................................................................................................. 15

5.2.3.0 General .................................................................................................................................................. 15

5.2.3.1 The value operation ............................................................................................................................... 15

5.2.3.2 The timestamp operation ....................................................................................................................... 16

5.2.3.3 The delta operation ................................................................................................................................ 16

5.2.4 Data Streams: navigation operations........................................................................................................... 17

5.2.4.0 General .................................................................................................................................................. 17

5.2.4.1 The prev operation ................................................................................................................................ 17

5.2.4.2 The at operation .................................................................................................................................... 18

5.2.5 Data Streams: extraction and application operations .................................................................................. 19

5.2.5.0 General .................................................................................................................................................. 19

5.2.5.1 The history operation ............................................................................................................................ 19

5.2.5.2 The values operation ............................................................................................................................. 20

5.2.5.3 The apply operation............................................................................................................................... 21

5.2.6 Port control operations ................................................................................................................................ 22

5.2.7 Stream ports in static configurations ........................................................................................................... 22

5.3 The assert statement ......................................................................................................................................... 22

5.4 Control structures for continuous and hybrid behaviour .................................................................................. 23

5.4.0 General ........................................................................................................................................................ 23

5.4.1 Modes ......................................................................................................................................................... 23

5.4.1.0 General .................................................................................................................................................. 23

5.4.1.1 Definition of the until block .................................................................................................................. 25

5.4.1.1.0 General ............................................................................................................................................ 25

5.4.1.1.1 Definition of transition guards and events ....................................................................................... 26

5.4.1.1.2 Definition of follow up modes ......................................................................................................... 26

5.4.1.1.3 The repeat statement ........................................................................................................................ 27

5.4.1.1.4 The continue statement .................................................................................................................... 28

5.4.1.2 Definition of invariant blocks ............................................................................................................... 28

ETSI
---------------------- Page: 3 ----------------------
4 Final draft ETSI ES 202 786 V1.5.1 (2022-02)

5.4.1.3 Definition of the onentry block ............................................................................................................. 29

5.4.1.4 Definition of the onexit block ............................................................................................................... 29

5.4.1.5 Local predicate symbols in the context of modes ................................................................................. 30

5.4.1.6 The duration operator ............................................................................................................................ 31

5.4.2 Atomic modes: the cont statement .............................................................................................................. 31

5.4.3 Parallel mode composition: the par statement ............................................................................................ 32

5.4.4 Sequential mode composition: the seq statement........................................................................................ 33

5.4.5 Parameterizable modes ............................................................................................................................... 34

5.4.5.0 General .................................................................................................................................................. 34

5.4.5.1 Parameterizable mode definitions ......................................................................................................... 35

5.4.5.2 Mode types (optional) ........................................................................................................................... 35

5.5 The wait statement............................................................................................................................................ 36

6 TRI extensions for the package .............................................................................................................. 36

6.0 General ............................................................................................................................................................. 36

6.1 Extensions to clause 5.5 of ETSI ES 201 873-5: Communication interface operations ................................... 37

6.2 Extensions to clause 5.6 of ETSI ES 201 873-5: Platform interface operations............................................... 38

6.3 Extensions to clause 6.3.2 of ETSI ES 201 873-5: Structured type mapping ................................................... 40

6.3.1 TriConfigurationIdType .............................................................................................................................. 40

6.3.1.0 General .................................................................................................................................................. 40

6.3.1.1 Methods ................................................................................................................................................. 40

6.4 Extensions to clause 6.5.2.1 of ETSI ES 201 873-5: TriCommunicationSA ................................................... 41

6.5 Extensions to clause 6.5.3.1 of ETSI ES 201 873-5: TriPlatformPA ............................................................... 41

6.6 Extensions to clause 6.5.3.2 of ETSI ES 201 873-5: TriPlatformTE ............................................................... 42

6.7 Extensions to clause 7.2.1 of ETSI ES 201 873-5: Abstract type mapping ...................................................... 42

6.8 Extensions to clause 7.2.4 of ETSI ES 201 873-5: TRI operation mapping ..................................................... 42

6.9 Extensions to clause 8.5.2 of ETSI ES 201 873-5: Abstract data types ........................................................... 43

6.9.1 TriConfigurationId ...................................................................................................................................... 43

6.9.1.0 General .................................................................................................................................................. 43

6.9.1.1 Methods ................................................................................................................................................. 43

6.10 Extensions to clause 8.6.1 of ETSI ES 201 873-5: TriCommunicationSA ...................................................... 43

6.11 Extensions to clause 8.6.3 of ETSI ES 201 873-5: TriPlatformPA .................................................................. 44

6.12 Extensions to clause 8.6.4 of ETSI ES 201 873-5: TriPlatformTE .................................................................. 44

6.13 Extensions to clause 9.4.2 of ETSI ES 201 873-5: Structured type mapping ................................................... 44

6.13.1 TriConfigurationIdType .............................................................................................................................. 44

6.13.1.0 General .................................................................................................................................................. 44

6.13.1.1 Members ............................................................................................................................................... 44

6.14 Extensions to clause 9.5.2.1 of ETSI ES 201 873-5: ITriCommunicationSA .................................................. 45

6.15 Extensions to clause 9.5.2.3 of ETSI ES 201 873-5: ITriPlatformP A .............................................................. 45

6.16 Extensions to clause 9.5.2.4 of ETSI ES 201 873-5: ITriPlatformTE .............................................................. 45

7 TCI extensions for the package .............................................................................................................. 46

7.1 Extensions to clause 7.3.3.2 of ETSI ES 201 873-6: TCI-CH provided .......................................................... 46

7.2 Extensions to clause 7.3.3.1 of ETSI ES 201 873-6: TCI-CH required ........................................................... 47

7.3 Extensions to clause 8.5.3.1 of ETSI ES 201 873-6: TCI-CH provided .......................................................... 47

7.4 Extensions to clause 8.5.3.2 of ETSI ES 201 873-6: TCI-CH required ........................................................... 48

7.5 Extensions to clause 9.4.3.1 of ETSI ES 201 873-6: TCI-CH provided .......................................................... 48

7.6 Extensions to clause 9.4.3.2 of ETSI ES 201 873-6: TCI-CH required ........................................................... 48

7.7 Extensions to clause 10.6.3.1 of ETSI ES 201 873-6: TciChRequired ............................................................ 48

7.8 Extensions to clause 10.6.3.2 of ETSI ES 201 873-6: TciChProvided ............................................................. 48

7.9 Extensions to clause 12.5.3.1 of ETSI ES 201 873-6: TCI-CH provided......................................................... 49

7.10 Extensions to clause 12.5.3.2 of ETSI ES 201 873-6: TCI-CH required ......................................................... 49

Annex A (normative): BNF and static semantics .............................................................................. 50

A.1 New TTCN-3 terminals .......................................................................................................................... 50

A.2 Changed BNF Rules ............................................................................................................................... 50

A.3 New BNF Rules ..................................................................................................................................... 51

Annex B (informative): Bibliography ................................................................................................... 53

History .............................................................................................................................................................. 54

ETSI
---------------------- Page: 4 ----------------------
5 Final draft ETSI ES 202 786 V1.5.1 (2022-02)
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 use of underline (additional text) and strike through (deleted text) highlights the differences between base

document and extended documents.

The present document relates to the multi-part standard ETSI ES 201 873 covering the Testing and Test Control

Notation version 3, as identified in ETSI ES 201 873-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
---------------------- Page: 5 ----------------------
6 Final draft ETSI ES 202 786 V1.5.1 (2022-02)
1 Scope

The present document defines the "Continuous Signal support" package of TTCN-3. TTCN-3 can be used for the

specification of all types of reactive system tests over a variety of communication ports. Typical areas of application are

protocol testing (including mobile and Internet protocols), service testing (including supplementary services), module

testing, testing of APIs, etc. TTCN-3 is not restricted to conformance testing and can be used for many other kinds of

testing including interoperability, robustness, regression, system and integration testing. The specification of test suites

for physical layer protocols is outside the scope of the present document.

TTCN-3 packages are intended to define additional TTCN-3 concepts, which are not mandatory as concepts in the

TTCN-3 core language, but which are optional as part of a package which is suited for dedicated applications and/or

usages of TTCN-3.

This package defines concepts for testing systems using continuous signals as opposed to discrete messages and the

characterization of the progression of such signals by use of streams. For both the production as well as the evaluation

of continuous signals the concept of mode is introduced. Also, the signals can be processed as history-traces. Finally,

basic mathematical functions that are useful for analyzing such traces are defined for TTCN-3. It is thus especially

useful for testing systems which communicate with the physical world via sensors and actuators.

While the design of TTCN-3 package has taken into account the consistency of a combined usage of the core language

with a number of packages, the concrete usages of and guidelines for this package in combination with other packages

is outside the scope of the present document.
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 201 873-1 (V4.9.1): "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-4 (V4.6.1): "Methods for Testing and Specification (MTS); The Testing and

Test Control Notation version 3; Part 4: TTCN-3 Operational Semantics".

[3] ETSI ES 201 873-5 (V4.8.1): "Methods for Testing and Specification (MTS); The Testing and

Test Control Notation version 3; Part 5: TTCN-3 Runtime Interface (TRI)".

[4] ETSI ES 201 873-6 (V4.9.1): "Methods for Testing and Specification (MTS); The Testing and

Test Control Notation version 3; Part 6: TTCN-3 Control Interface (TCI)".

[5] ISO/IEC 9646-1: "Information technology -- Open Systems Interconnection -- Conformance

testing methodology and framework; Part 1: General concepts".

[6] ETSI ES 202 785 (V1.3.1): "Methods for Testing and Specification (MTS); The Testing and Test

Control Notation version 3; TTCN-3 Language Extensions: Behaviour Types".

[7] ETSI ES 202 781 (V1.3.1): "Methods for Testing and Specification (MTS); The Testing and Test

Control Notation version 3; TTCN-3 Language Extensions: Configuration and Deployment

Support".
ETSI
---------------------- Page: 6 ----------------------
7 Final draft ETSI ES 202 786 V1.5.1 (2022-02)
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 ES 201 873-7: "Methods for Testing and Specification (MTS); The Testing and Test Control

Notation version 3; Part 7: Using ASN.1 with TTCN-3".

[i.2] ETSI ES 201 873-8: "Methods for Testing and Specification (MTS); The Testing and Test Control

Notation version 3; Part 8: The IDL to TTCN-3 Mapping".

[i.3] ETSI ES 201 873-9: "Methods for Testing and Specification (MTS); The Testing and Test Control

Notation version 3; Part 9: Using XML schema with TTCN-3".

[i.4] ETSI ES 201 873-10: "Methods for Testing and Specification (MTS); The Testing and Test

Control Notation version 3; Part 10: TTCN-3 Documentation Comment Specification".

[i.5] ETSI ES 202 784: "Methods for Testing and Specification (MTS); The Testing and Test Control

Notation version 3; TTCN-3 Language Extensions: Advanced Parameterization".

[i.6] ETSI ES 202 782: "Methods for Testing and Specification (MTS); The Testing and Test Control

Notation version 3; TTCN-3 Language Extensions: TTCN-3 Performance and Real Time Testing".

3 Definition of terms, symbols and abbreviations
3.1 Terms

For the purposes of the present document, the terms given in ETSI ES 201 873-1 [1], ETSI ES 201 873-4 [2], ETSI

ES 201 873-5 [3], ETSI ES 201 873-6 [4] and ISO/IEC 9646-1 [5] apply.
3.2 Symbols
Void.
3.3 Abbreviations

For the purposes of the present document, the abbreviations given in ETSI ES 201 873-1 [1], ETSI ES 201 873-4 [2],

ETSI ES 201 873-5 [3], ETSI ES 201 873-6 [4] and ISO/IEC 9646-1 [5] apply.
4 Package conformance and compatibility
The package presented in the present document is identified by the package tag:

• "TTCN-3:2012 Support for Testing Continuous Signals" - to be used with modules complying

with the present document.

For an implementation claiming to conform to this package version, all features specified in the present document shall

be implemented consistently with the requirements given in the present document and in ETSI ES 201 873-1 [1], ETSI

ES 201 873-4 [2], ETSI ES 201 873-5 [3]
...

SLOVENSKI STANDARD
SIST ES 202 786 V1.5.1:2022
01-junij-2022

Metode za preskušanje in specificiranje (MTS) - 3. različica zapisa preskušanja in

krmiljenja preskusov - Razširitev nabora jezikov TTCN-3: podpora vmesnikov z
neprekinjenimi signali

Methods for Testing and Specification (MTS) - The Testing and Test Control Notation

version 3 - TTCN-3 Language Extensions: Support of interfaces with continuous signals

Ta slovenski standard je istoveten z: ETSI ES 202 786 V1.5.1 (2022-04)
ICS:
35.060 Jeziki, ki se uporabljajo v Languages used in
informacijski tehniki in information technology
tehnologiji
SIST ES 202 786 V1.5.1:2022 en

2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.

---------------------- Page: 1 ----------------------
SIST ES 202 786 V1.5.1:2022
---------------------- Page: 2 ----------------------
SIST ES 202 786 V1.5.1:2022
ETSI ES 202 786 V1.5.1 (2022-04)
ETSI STANDARD
Methods for Testing and Specification (MTS);
The Testing and Test Control Notation version 3;
TTCN-3 Language Extensions:
Support of interfaces with continuous signals
---------------------- Page: 3 ----------------------
SIST ES 202 786 V1.5.1:2022
2 ETSI ES 202 786 V1.5.1 (2022-04)
Reference
RES/MTS-202786ed151
Keywords
interface, 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

rule and/or regulation and further, no representation or warranty is made of merchantability or fitness

and/or governmental

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
---------------------- Page: 4 ----------------------
SIST ES 202 786 V1.5.1:2022
3 ETSI ES 202 786 V1.5.1 (2022-04)
Contents

Intellectual Property Rights ................................................................................................................................ 5

Foreword ............................................................................................................................................................. 5

Modal verbs terminology .................................................................................................................................... 5

1 Scope ........................................................................................................................................................ 6

2 References ................................................................................................................................................ 6

2.1 Normative references ......................................................................................................................................... 6

2.2 Informative references ........................................................................................................................................ 7

3 Definition of terms, symbols and abbreviations ....................................................................................... 7

3.1 Terms .................................................................................................................................................................. 7

3.2 Symbols .............................................................................................................................................................. 7

3.3 Abbreviations ..................................................................................................................................................... 7

4 Package conformance and compatibility .................................................................................................. 7

5 Package concepts for the core language ................................................................................................... 8

5.0 General ............................................................................................................................................................... 8

5.1 Time and Sampling ............................................................................................................................................ 9

5.1.0 General .......................................................................................................................................................... 9

5.1.1 The now operator .......................................................................................................................................... 9

5.1.2 Define the default step size for sampling .................................................................................................... 10

5.2 Data streams ..................................................................................................................................................... 10

5.2.0 General ........................................................................................................................................................ 10

5.2.1 Data Streams: static perspective ................................................................................................................. 11

5.2.2 Data Streams: dynamic perspective ............................................................................................................ 12

5.2.2.0 General .................................................................................................................................................. 12

5.2.2.1 Defining stream port types .................................................................................................................... 12

5.2.2.2 Declaration and instantiation of stream ports ........................................................................................ 13

5.2.2.3 The Connect and Map operations .......................................................................................................... 14

5.2.3 Data Streams: access operations ................................................................................................................. 15

5.2.3.0 General .................................................................................................................................................. 15

5.2.3.1 The value operation ............................................................................................................................... 15

5.2.3.2 The timestamp operation ....................................................................................................................... 16

5.2.3.3 The delta operation ................................................................................................................................ 16

5.2.4 Data Streams: navigation operations........................................................................................................... 17

5.2.4.0 General .................................................................................................................................................. 17

5.2.4.1 The prev operation ................................................................................................................................ 17

5.2.4.2 The at operation .................................................................................................................................... 18

5.2.5 Data Streams: extraction and application operations .................................................................................. 19

5.2.5.0 General .................................................................................................................................................. 19

5.2.5.1 The history operation ............................................................................................................................ 19

5.2.5.2 The values operation ............................................................................................................................. 20

5.2.5.3 The apply operation............................................................................................................................... 21

5.2.6 Port control operations ................................................................................................................................ 22

5.2.7 Stream ports in static configurations ........................................................................................................... 22

5.3 The assert statement ......................................................................................................................................... 22

5.4 Control structures for continuous and hybrid behaviour .................................................................................. 23

5.4.0 General ........................................................................................................................................................ 23

5.4.1 Modes ......................................................................................................................................................... 23

5.4.1.0 General .................................................................................................................................................. 23

5.4.1.1 Definition of the until block .................................................................................................................. 25

5.4.1.1.0 General ............................................................................................................................................ 25

5.4.1.1.1 Definition of transition guards and events ....................................................................................... 26

5.4.1.1.2 Definition of follow up modes ......................................................................................................... 26

5.4.1.1.3 The repeat statement ........................................................................................................................ 27

5.4.1.1.4 The continue statement .................................................................................................................... 28

5.4.1.2 Definition of invariant blocks ............................................................................................................... 28

ETSI
---------------------- Page: 5 ----------------------
SIST ES 202 786 V1.5.1:2022
4 ETSI ES 202 786 V1.5.1 (2022-04)

5.4.1.3 Definition of the onentry block ............................................................................................................. 29

5.4.1.4 Definition of the onexit block ............................................................................................................... 29

5.4.1.5 Local predicate symbols in the context of modes ................................................................................. 30

5.4.1.6 The duration operator ............................................................................................................................ 31

5.4.2 Atomic modes: the cont statement .............................................................................................................. 31

5.4.3 Parallel mode composition: the par statement ............................................................................................ 32

5.4.4 Sequential mode composition: the seq statement........................................................................................ 33

5.4.5 Parameterizable modes ............................................................................................................................... 34

5.4.5.0 General .................................................................................................................................................. 34

5.4.5.1 Parameterizable mode definitions ......................................................................................................... 35

5.4.5.2 Mode types (optional) ........................................................................................................................... 35

5.5 The wait statement............................................................................................................................................ 36

6 TRI extensions for the package .............................................................................................................. 36

6.0 General ............................................................................................................................................................. 36

6.1 Extensions to clause 5.5 of ETSI ES 201 873-5: Communication interface operations ................................... 37

6.2 Extensions to clause 5.6 of ETSI ES 201 873-5: Platform interface operations............................................... 38

6.3 Extensions to clause 6.3.2 of ETSI ES 201 873-5: Structured type mapping ................................................... 40

6.3.1 TriConfigurationIdType .............................................................................................................................. 40

6.3.1.0 General .................................................................................................................................................. 40

6.3.1.1 Methods ................................................................................................................................................. 40

6.4 Extensions to clause 6.5.2.1 of ETSI ES 201 873-5: TriCommunicationSA ................................................... 41

6.5 Extensions to clause 6.5.3.1 of ETSI ES 201 873-5: TriPlatformPA ............................................................... 41

6.6 Extensions to clause 6.5.3.2 of ETSI ES 201 873-5: TriPlatformTE ............................................................... 42

6.7 Extensions to clause 7.2.1 of ETSI ES 201 873-5: Abstract type mapping ...................................................... 42

6.8 Extensions to clause 7.2.4 of ETSI ES 201 873-5: TRI operation mapping ..................................................... 42

6.9 Extensions to clause 8.5.2 of ETSI ES 201 873-5: Abstract data types ........................................................... 43

6.9.1 TriConfigurationId ...................................................................................................................................... 43

6.9.1.0 General .................................................................................................................................................. 43

6.9.1.1 Methods ................................................................................................................................................. 43

6.10 Extensions to clause 8.6.1 of ETSI ES 201 873-5: TriCommunicationSA ...................................................... 43

6.11 Extensions to clause 8.6.3 of ETSI ES 201 873-5: TriPlatformPA .................................................................. 44

6.12 Extensions to clause 8.6.4 of ETSI ES 201 873-5: TriPlatformTE .................................................................. 44

6.13 Extensions to clause 9.4.2 of ETSI ES 201 873-5: Structured type mapping ................................................... 44

6.13.1 TriConfigurationIdType .............................................................................................................................. 44

6.13.1.0 General .................................................................................................................................................. 44

6.13.1.1 Members ............................................................................................................................................... 44

6.14 Extensions to clause 9.5.2.1 of ETSI ES 201 873-5: ITriCommunicationSA .................................................. 45

6.15 Extensions to clause 9.5.2.3 of ETSI ES 201 873-5: ITriPlatformPA .............................................................. 45

6.16 Extensions to clause 9.5.2.4 of ETSI ES 201 873-5: ITriPlatformTE .............................................................. 45

7 TCI extensions for the package .............................................................................................................. 46

7.1 Extensions to clause 7.3.3.2 of ETSI ES 201 873-6: TCI-CH provided .......................................................... 46

7.2 Extensions to clause 7.3.3.1 of ETSI ES 201 873-6: TCI-CH required ........................................................... 47

7.3 Extensions to clause 8.5.3.1 of ETSI ES 201 873-6: TCI-CH provided .......................................................... 47

7.4 Extensions to clause 8.5.3.2 of ETSI ES 201 873-6: TCI-CH required ........................................................... 48

7.5 Extensions to clause 9.4.3.1 of ETSI ES 201 873-6: TCI-CH provided .......................................................... 48

7.6 Extensions to clause 9.4.3.2 of ETSI ES 201 873-6: TCI-CH required ........................................................... 48

7.7 Extensions to clause 10.6.3.1 of ETSI ES 201 873-6: TciChRequired ............................................................ 48

7.8 Extensions to clause 10.6.3.2 of ETSI ES 201 873-6: TciChProvided ............................................................. 48

7.9 Extensions to clause 12.5.3.1 of ETSI ES 201 873-6: TCI-CH provided......................................................... 49

7.10 Extensions to clause 12.5.3.2 of ETSI ES 201 873-6: TCI-CH required ......................................................... 49

Annex A (normative): BNF and static semantics ......................................................................................... 50

A.1 New TTCN-3 terminals .......................................................................................................................... 50

A.2 Changed BNF Rules ............................................................................................................................... 50

A.3 New BNF Rules ..................................................................................................................................... 51

Annex B (informative): Bibliography ........................................................................................................... 53

History .............................................................................................................................................................. 54

ETSI
---------------------- Page: 6 ----------------------
SIST ES 202 786 V1.5.1:2022
5 ETSI ES 202 786 V1.5.1 (2022-04)
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 use of underline (additional text) and strike through (deleted text) highlights the differences between base

document and extended documents.

The present document relates to the multi-part standard ETSI ES 201 873 covering the Testing and Test Control

Notation version 3, as identified in ETSI ES 201 873-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
---------------------- Page: 7 ----------------------
SIST ES 202 786 V1.5.1:2022
6 ETSI ES 202 786 V1.5.1 (2022-04)
1 Scope

The present document defines the "Continuous Signal support" package of TTCN-3. TTCN-3 can be used for the

specification of all types of reactive system tests over a variety of communication ports. Typical areas of application are

protocol testing (including mobile and Internet protocols), service testing (including supplementary services), module

testing, testing of APIs, etc. TTCN-3 is not restricted to conformance testing and can be used for many other kinds of

testing including interoperability, robustness, regression, system and integration testing. The specification of test suites

for physical layer protocols is outside the scope of the present document.

TTCN-3 packages are intended to define additional TTCN-3 concepts, which are not mandatory as concepts in the

TTCN-3 core language, but which are optional as part of a package which is suited for dedicated applications and/or

usages of TTCN-3.

This package defines concepts for testing systems using continuous signals as opposed to discrete messages and the

characterization of the progression of such signals by use of streams. For both the production as well as the evaluation

of continuous signals the concept of mode is introduced. Also, the signals can be processed as history-traces. Finally,

basic mathematical functions that are useful for analyzing such traces are defined for TTCN-3. It is thus especially

useful for testing systems which communicate with the physical world via sensors and actuators.

While the design of TTCN-3 package has taken into account the consistency of a combined usage of the core language

with a number of packages, the concrete usages of and guidelines for this package in combination with other packages

is outside the scope of the present document.
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 201 873-1 (V4.9.1): "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-4 (V4.6.1): "Methods for Testing and Specification (MTS); The Testing and

Test Control Notation version 3; Part 4: TTCN-3 Operational Semantics".

[3] ETSI ES 201 873-5 (V4.8.1): "Methods for Testing and Specification (MTS); The Testing and

Test Control Notation version 3; Part 5: TTCN-3 Runtime Interface (TRI)".

[4] ETSI ES 201 873-6 (V4.9.1): "Methods for Testing and Specification (MTS); The Testing and

Test Control Notation version 3; Part 6: TTCN-3 Control Interface (TCI)".

[5] ISO/IEC 9646-1: "Information technology -- Open Systems Interconnection -- Conformance

testing methodology and framework; Part 1: General concepts".

[6] ETSI ES 202 785 (V1.3.1): "Methods for Testing and Specification (MTS); The Testing and Test

Control Notation version 3; TTCN-3 Language Extensions: Behaviour Types".

[7] ETSI ES 202 781 (V1.3.1): "Methods for Testing and Specification (MTS); The Testing and Test

Control Notation version 3; TTCN-3 Language Extensions: Configuration and Deployment

Support".
ETSI
---------------------- Page: 8 ----------------------
SIST ES 202 786 V1.5.1:2022
7 ETSI ES 202 786 V1.5.1 (2022-04)
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 ES 201 873-7: "Methods for Testing and Specification (MTS); The Testing and Test Control

Notation version 3; Part 7: Using ASN.1 with TTCN-3".

[i.2] ETSI ES 201 873-8: "Methods for Testing and Specification (MTS); The Testing and Test Control

Notation version 3; Part 8: The IDL to TTCN-3 Mapping".

[i.3] ETSI ES 201 873-9: "Methods for Testing and Specification (MTS); The Testing and Test Control

Notation version 3; Part 9: Using XML schema with TTCN-3".

[i.4] ETSI ES 201 873-10: "Methods for Testing and Specification (MTS); The Testing and Test

Control Notation version 3; Part 10: TTCN-3 Documentation Comment Specification".

[i.5] ETSI ES 202 784: "Methods for Testing and Specification (MTS); The Testing and Test Control

Notation version 3; TTCN-3 Language Extensions: Advanced Parameterization".
[i.6] ETSI ES 202
...

Questions, Comments and Discussion

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