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.165.1 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) T
2、esting and Test Control Notation version 3: TTCN-3 language extensions: Extended TRI Recommendation ITU-T Z.165.1 ITU-T Z-SERIES RECOMMENDATIONS LANGUAGES AND GENERAL SOFTWARE ASPECTS FOR TELECOMMUNICATION SYSTEMS FORMAL DESCRIPTION TECHNIQUES (FDT) Specification and Description Language (SDL) Z.100
3、Z.109 Application of formal 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 pri
4、nciples Z.300Z.309 Basic 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
5、.360Z.379 QUALITY Quality 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 Re
6、commendations. Rec. ITU-T Z.165.1 (10/2015) i Recommendation ITU-T Z.165.1 Testing and Test Control Notation version 3: TTCN-3 language extensions: Extended TRI Summary Recommendation ITU-T Z.165.1 defines the extended TTCN-3 runtime interface (TRI) package of TTCN-3. TTCN-3 can be used for the spec
7、ification 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 CORBA-based platforms, application progra
8、mming interfaces (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 this
9、 Recommendation. History Edition Recommendation Approval Study Group Unique ID* 1.0 ITU-T Z.165.1 2012-05-29 17 11.1002/1000/11607 2.0 ITU-T Z.165.1 2013-07-14 17 11.1002/1000/11962 3.0 ITU-T Z.165.1 2014-11-13 17 11.1002/1000/12338 4.0 ITU-T Z.165.1 2015-10-29 17 11.1002/1000/12604 _ * To access th
10、e Recommendation, type the URL http:/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.165.1 (10/2015) FOREWORD The International Telecommunication Union (ITU) is the United Na
11、tions specialized agency in the field 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 Recommendation
12、s on them with a view to standardizing 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
13、of ITU-T Recommendations is covered 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“
14、is used for conciseness to indicate 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 wi
15、th the Recommendation is achieved when 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 requir
16、ed of any party. INTELLECTUAL PROPERTY 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 Intellectua
17、l Property Rights, whether asserted 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. Howev
18、er, implementers are cautioned that 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 pri
19、or written permission of ITU. Rec. ITU-T Z.165.1 (10/2015) 1 Recommendation ITU-T Z.165.1 Testing and Test Control Notation version 3: TTCN-3 language extensions: Extended TRI 1 Scope This Recommendation defines the extended TTCN-3 runtime interface (TRI) package of TTCN-3. TTCN-3 can be used for th
20、e 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 CORBA-based platforms, APIs, etc. T
21、TCN-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 this Recommendation. TTCN-3 package
22、s are intended to define additional TTCN-3 concepts, which are not mandatory as concepts in the TTCN-3 core language or in its interfaces TRI and TCI, but which are optional as part of a package which is suited for dedicated applications and/or usages of TTCN-3. This package defines a more efficient
23、 handling of software values by a version of TRI, that does not use binary encoded messages for the communication with the SUT, but uses the values as they are; meaning e.g., that software objects or serialized data can be passed directly between the SUT and the TE. While the design of TTCN-3 packag
24、e 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 this Recommendation. 2 References The following ITU-T Recommendations and oth
25、er references contain provisions which, through reference in this text, constitute provisions of this 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
26、 to investigate the possibility of applying the most recent edition of the Recommendations and other 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
27、, the status of a Recommendation. ETSI ES 202 789 V1.4.1 ETSI ES 202 789 V1.4.1 (2015-06), Methods for Testing and Specification (MTS); The Testing and Test Control Notation version 3; TTCN-3 Language Extensions: Extended TRI, 2015-06. 3 Definitions 3.1 Terms defined elsewhere None. 3.2 Terms define
28、d in this Recommendation None. 2 Rec. ITU-T Z.165.1 (10/2015) 4 Abbreviations and acronyms This Recommendation uses the following abbreviations and acronyms: API Application Programing Interface CORBA Common Object Request Broker Architecture SUT System Under Test TCI TTCN-3 Control Interface TE Tes
29、t Equipment TRI TTCN-3 Runtime Interface TTCN Testing and Test Control Notation 5 Conventions None. 6 Endorsement ETSI ES 202 789 V1.4.1 was approved by ITU-T as the basis for Recommendation ITU-T Z.165.1.Printed in Switzerland Geneva, 2015 SERIES OF ITU-T RECOMMENDATIONS Series A Organization of th
30、e 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 Transmission systems and media, digital systems and networks Series H Audiovisual and multimedia sy
31、stems 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 p
32、rotection 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 Terminals and subjecti
33、ve 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 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