1、 I n t e r n a t i o n a l T e l e c o m m u n i c a t i o n U n i o n ITU-T Z.161 TELECOMMUNICATION STANDARDIZATION SECTOR OF ITU (10/2017) SERIES Z: LANGUAGES AND GENERAL SOFTWARE ASPECTS FOR TELECOMMUNICATION SYSTEMS Formal description techniques (FDT) Testing and Test Control Notation (TTCN) Tes
2、ting and Test Control Notation version 3: TTCN-3 core language Recommendation ITU-T Z.161 ITU-T Z-SERIES RECOMMENDATIONS LANGUAGES AND GENERAL SOFTWARE ASPECTS FOR TELECOMMUNICATION SYSTEMS FORMAL DESCRIPTION TECHNIQUES (FDT) Specification and Description Language (SDL) Z.100Z.109 Application of for
3、mal description techniques Z.110Z.119 Message Sequence Chart (MSC) Z.120Z.129 User Requirements Notation (URN) Z.150Z.159 Testing and Test Control Notation (TTCN) Z.160Z.179 PROGRAMMING LANGUAGES CHILL: The ITU-T high level language Z.200Z.209 MAN-MACHINE LANGUAGE General principles Z.300Z.309 Basic
4、 syntax and dialogue procedures Z.310Z.319 Extended MML for visual display terminals Z.320Z.329 Specification of the man-machine interface Z.330Z.349 Data-oriented human-machine interfaces Z.350Z.359 Human-machine interfaces for the management of telecommunications networks Z.360Z.379 QUALITY Qualit
5、y of telecommunication software Z.400Z.409 Quality aspects of protocol-related Recommendations Z.450Z.459 METHODS Methods for validation and testing Z.500Z.519 MIDDLEWARE Processing environment architectures Z.600Z.609 For further details, please refer to the list of ITU-T Recommendations. Rec. ITU-
6、T Z.161 (10/2017) i Recommendation ITU-T Z.161 Testing and Test Control Notation version 3: TTCN-3 core language Summary Recommendation ITU-T Z.161 defines Testing and Test Control Notation 3 (TTCN-3) intended for specification of test suites that are independent of platforms, test methods, protocol
7、 layers and protocols. TTCN-3 can be used for 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, te
8、sting of Common Object Request Broker Architecture (CORBA) based platforms and application programming interfaces (APIs). The specification of test suites for physical layer protocols is outside the scope of this Recommendation. The core language of TTCN-3 can be expressed in a variety of presentati
9、on formats. While this Recommendation defines the core language, Recommendation ITU-T Z.162 defines the tabular format for TTCN (TFT) and Recommendation ITU-T Z.163 defines the graphical format for TTCN (GFT). The specification of these formats is outside the scope of this Recommendation. The core l
10、anguage serves the following three purposes: a) as a generalized text-based test language; b) as a standardized interchange format of TTCN test suites between TTCN tools; c) as the semantic basis (and where relevant, the syntactical basis) for the various presentation formats. The core language may
11、be used independently of the presentation formats. However, neither the tabular format nor the graphical format can be used without the core language. Use and implementation of these presentation formats shall be done on the basis of the core language. This revision of the Recommendation contains am
12、endments, clarifications, corrigenda and editorial corrections. History Edition Recommendation Approval Study Group Unique ID* 1.0 ITU-T Z.140 2001-07-22 10 11.1002/1000/5475 2.0 ITU-T Z.140 2003-04-22 17 11.1002/1000/6241 3.0 ITU-T Z.140 2006-03-16 17 11.1002/1000/8640 4.0 ITU-T Z.161 2007-11-13 17
13、 11.1002/1000/9265 5.0 ITU-T Z.161 2011-03-16 17 11.1002/1000/11065 6.0 ITU-T Z.161 2012-05-29 17 11.1002/1000/11598 7.0 ITU-T Z.161 2013-07-14 17 11.1002/1000/11957 8.0 ITU-T Z.161 2014-11-13 17 11.1002/1000/12346 9.0 ITU-T Z.161 2015-10-29 17 11.1002/1000/12617 10.0 ITU-T Z.161 2016-10-14 17 11.10
14、02/1000/13044 11.0 ITU-T Z.161 2017-10-14 17 11.1002/1000/13369 Keywords Control notation, interoperability testing, protocol testing, protocols, service testing, testing, tools, TTCN-3. _ * To access the Recommendation, type the URL http:/handle.itu.int/ in the address field of your web browser, fo
15、llowed by the Recommendations unique ID. For example, http:/handle.itu.int/11.1002/1000/11830-en. ii Rec. ITU-T Z.161 (10/2017) FOREWORD The International Telecommunication Union (ITU) is the United Nations specialized agency in the field of telecommunications, information and communication technolo
16、gies (ICTs). The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of ITU. ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis. The World Telecommu
17、nication Standardization Assembly (WTSA), which meets every four years, establishes the topics for study by the ITU-T study groups which, in turn, produce Recommendations on these topics. The approval of ITU-T Recommendations is covered by the procedure laid down in WTSA Resolution 1. In some areas
18、of information technology which fall within ITU-Ts purview, the necessary standards are prepared on a collaborative basis with ISO and IEC. NOTE In this Recommendation, the expression “Administration“ is used for conciseness to indicate both a telecommunication administration and a recognized operat
19、ing agency. Compliance with this Recommendation is voluntary. However, the Recommendation may contain certain mandatory provisions (to ensure, e.g., interoperability or applicability) and compliance with the Recommendation is achieved when all of these mandatory provisions are met. The words “shall“
20、 or some other obligatory language such as “must“ and the negative equivalents are used to express requirements. The use of such words does not suggest that compliance with the Recommendation is required of any party. INTELLECTUAL PROPERTY RIGHTSITU draws attention to the possibility that the practi
21、ce or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. ITU takes no position concerning the evidence, validity or applicability of claimed Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation developm
22、ent process. As of the date of approval of this Recommendation, ITU had not received notice of intellectual property, protected by patents, which may be required to implement this Recommendation. However, implementers are cautioned that this may not represent the latest information and are therefore
23、 strongly urged to consult the TSB patent database at http:/www.itu.int/ITU-T/ipr/. ITU 2017 All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the prior written permission of ITU. Rec. ITU-T Z.161 (10/2017) 1 Recommendation ITU-T Z.161 Testing and T
24、est Control Notation version 3: TTCN-3 core language 1 Scope Recommendation ITU-T Z.161 defines the core language 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 (includ
25、ing mobile and Internet protocols), service testing (including supplementary services), module testing, testing of CORBA based platforms, APIs, etc. TTCN-3 is not restricted to conformance testing and can be used for many other kinds of testing including interoperability, robustness, regression, sys
26、tem and integration testing. The specification of test suites for physical layer protocols is outside the scope of this Recommendation. TTCN-3 is intended to be used for the specification of test suites which are independent of test methods, layers and protocols. Various presentation formats are def
27、ined for TTCN-3 such as a tabular presentation format and a graphical presentation format. The specification of these formats is outside the scope of this Recommendation. While the design of TTCN-3 has taken the eventual implementation of TTCN-3 translators and compilers into consideration the means
28、 of realization of executable test suite (ETS) from abstract test suite (ATS) is outside the scope of this Recommendation. 2 References The following ITU-T Recommendations and other references contain provisions which, through reference in this text, constitute provisions of this Recommendation. At
29、the time of publication, the editions indicated were valid. All Recommendations and other references are subject to revision; users of this Recommendation are therefore encouraged to investigate the possibility of applying the most recent edition of the Recommendations and other references listed be
30、low. A list of the currently valid ITU-T Recommendations is regularly published. The reference to a document within this Recommendation does not give it, as a stand-alone document, the status of a Recommendation. ETSI ES 201 873-1 V4.9.1 ETSI ES 201 873-1 V4.9.1 (2017), Methods for Testing and Speci
31、fication (MTS); The Testing and Test Control Notation version 3; Part 1: TTCN-3 Core Language. 3 Definitions 3.1 Terms defined elsewhere None. 3.2 Terms defined in this Recommendation None. 4 Abbreviations and acronyms This Recommendation uses the following abbreviations and acronyms: API Applicatio
32、n Programming Interface ATS Abstract Test Suite 2 Rec. ITU-T Z.161 (10/2017) CORBA Common Object Request Broker Architecture ETS Executable Test Suite GFT Graphical Format for TTCN TFT Tabular Format for TTCN TTCN Testing and Test Control Notation TTCN-3 Testing and Test Control Notation 3 5 Convent
33、ions None. 6 Endorsement ETSI ES 201 873-1 V4.9.1 was approved by ITU-T as the basis for Recommendation ITU-T Z.161. Rec. ITU-T Z.161 (10/2017) 3 Bibliography b-ITU-T Z.162 Recommendation ITU-T Z.162 (2007), Testing and Test Control Notation version 3: TTCN-3 tabular presentation format (TFT). b-ITU
34、-T Z.163 Recommendation ITU-T Z.163 (2007), Testing and Test Control Notation version 3: TTCN-3 graphical presentation format (GFT). Printed in Switzerland Geneva, 2017 SERIES OF ITU-T RECOMMENDATIONS Series A Organization of the work of ITU-T Series D Tariff and accounting principles and internatio
35、nal telecommunication/ICT economic and policy issues Series E Overall network operation, telephone service, service operation and human factors Series F Non-telephone telecommunication services Series G Transmission systems and media, digital systems and networks Series H Audiovisual and multimedia
36、systems Series I Integrated services digital network Series J Cable networks and transmission of television, sound programme and other multimedia signals Series K Protection against interference Series L Environment and ICTs, climate change, e-waste, energy efficiency; construction, installation and
37、 protection of cables and other elements of outside plant Series M Telecommunication management, including TMN and network maintenance Series N Maintenance: international sound programme and television transmission circuits Series O Specifications of measuring equipment Series P Telephone transmissi
38、on quality, telephone installations, local line networks Series Q Switching and signalling, and associated measurements and tests Series R Telegraph transmission Series S Telegraph services terminal equipment Series T Terminals for telematic services Series U Telegraph switching Series V Data commun
39、ication over the telephone network Series X Data networks, open system communications and security Series Y Global information infrastructure, Internet protocol aspects, next-generation networks, Internet of Things and smart cities Series Z Languages and general software aspects for telecommunication systems