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/2015) 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/2015) i Recommendation ITU-T Z.161 Testing and Test Control Notation version 3: TTCN-3 core language Summary Recommendation ITU-T Z.161 defines TTCN-3 (Testing and Test Control Notation 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 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 be used indepe
11、ndently 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 amendments, clar
12、ifications, 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 11.1002/1000/
13、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 _ * To access the Recommendation, type the URL htt
14、p:/handle.itu.int/ in the address field of your web browser, followed by the Recommendations unique ID. For example, http:/handle.itu.int/11.1002/1000/11830-en. ii Rec. ITU-T Z.161 (10/2015) FOREWORD The International Telecommunication Union (ITU) is the United Nations specialized agency in the fiel
15、d of telecommunications, information and communication technologies (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 standardizi
16、ng telecommunications on a worldwide basis. The World Telecommunication 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
17、by the procedure laid down in WTSA Resolution 1. In some areas 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
18、both a telecommunication administration and a recognized operating 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 wh
19、en all of these mandatory provisions are met. The words “shall“ 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 PROPER
20、TY RIGHTSITU draws attention to the possibility that the practice 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
21、by ITU members or others outside of the Recommendation development 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
22、this may not represent the latest information and are therefore strongly urged to consult the TSB patent database at http:/www.itu.int/ITU-T/ipr/. ITU 2015 All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the prior written permission of ITU. Rec. I
23、TU-T Z.161 (10/2015) iii Table of Contents Page 1 Scope . 1 2 References . 1 3 Definitions 1 3.1 Terms defined elsewhere 1 3.2 Terms defined in this Recommendation . 1 4 Abbreviations and acronyms 1 5 Conventions 2 6 Endorsement . 2 Bibliography. 3 Rec. ITU-T Z.161 (10/2015) 1 Recommendation ITU-T Z
24、.161 Testing and Test 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 protoc
25、ol testing (including 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, robustnes
26、s, regression, system 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 presentati
27、on formats are defined 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 consi
28、deration the means of realization of Executable Test Suites (ETS) from Abstract Test Suites (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
29、 Recommendation. At 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
30、references listed below. 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.7.1 ETSI ES 201 873-1 V4.7.1 (2015-06), Method
31、s for Testing and Specification (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 a
32、cronyms: API Application Programming Interface CORBA Common Object Request Broker Architecture TTCN Testing and Test Control Notation 2 Rec. ITU-T Z.161 (10/2015) 5 Conventions None. 6 Endorsement ETSI ES 201 873-1 V4.7.1 was approved by ITU-T as the basis for Recommendation ITU-T Z.161. Rec. ITU-T
33、Z.161 (10/2015) 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-T Z.163 Recommendation ITU-T Z.163 (2007), Testing and Test Control Notation version 3: TTCN-3 graphical presentation format (G
34、FT). Printed in Switzerland Geneva, 2015 SERIES OF ITU-T RECOMMENDATIONS Series A Organization of the work of ITU-T Series D General tariff principles Series E Overall network operation, telephone service, service operation and human factors Series F Non-telephone telecommunication services Series G
35、 Transmission systems and media, digital systems and networks Series H Audiovisual and multimedia 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
36、L Environment and ICTs, climate change, e-waste, energy efficiency; construction, installation and 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
37、transmission circuits Series O Specifications of measuring equipment Series P Terminals and subjective and objective assessment methods Series Q Switching and signalling Series R Telegraph transmission Series S Telegraph services terminal equipment Series T Terminals for telematic services Series U
38、Telegraph switching Series V Data communication over the telephone network Series X Data networks, open system communications and security Series Y Global information infrastructure, Internet protocol aspects and next-generation networks Series Z Languages and general software aspects for telecommunication systems