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.171 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: Using JSON with TTCN-3 Recommendation ITU-T Z.171 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 f
3、ormal 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 Bas
4、ic 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 Qual
5、ity 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. IT
6、U-T Z.171 (10/2017) i Recommendation ITU-T Z.171 Testing and Test Control Notation version 3: Using JSON with TTCN-3 Summary Recommendation ITU-T Z.171 specifies the rules to define schemas for JavaScript Object Notation (JSON) data structures in Testing and Test Control Notation 3 (TTCN-3), to enab
7、le testing of JSON-based systems, interfaces and protocols, and the conversion rules between TTCN-3 and JSON to enable exchanging TTCN-3 data in JSON format between different systems. History Edition Recommendation Approval Study Group Unique ID* 1.0 ITU-T Z.171 2017-10-14 17 11.1002/1000/13382 _ *
8、To access the 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.171 (10/2017) FOREWORD The International Telecommunication Union (ITU) is the
9、 United Nations 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 Reco
10、mmendations 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
11、 approval 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 “Admini
12、stration“ 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 com
13、pliance with 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
14、 is required 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 I
15、ntellectual 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 Recommendat
16、ion. However, 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 2017 All rights reserved. No part of this publication may be reproduced, by any means whatsoever, witho
17、ut the prior written permission of ITU. Rec. ITU-T Z.171 (10/2017) 1 Recommendation ITU-T Z.171 Testing and Test Control Notation version 3: Using JSON with TTCN-3 1 Scope This Recommendation specifies the rules to define schemas for JSON data structures in TTCN 3, to enable testing of JSON-based sy
18、stems, interfaces and protocols, and the conversion rules between TTCN-3 and JSON to enable exchanging TTCN 3 data in JSON format between different systems. 2 References The following ITU-T Recommendations and other references contain provisions which, through reference in this text, constitute prov
19、isions 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 to investigate the possibility of applying the most recent edition of the Recommendati
20、ons 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, the status of a Recommendation. ETSI ES 201 873-11 V4.7.1 ETSI ES 201 873-11 V4.7.1 (
21、2017-06), Methods for Testing and Specification (MTS); The Testing and Test Control Notation version 3; Part 11: Using JSON with TTCN-3. 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
22、abbreviations and acronyms: JSON JavaScript Object Notation TTCN Testing and Test Control Notation TTCN-3 Testing and Test Control Notation version 3 5 Conventions None. 6 Endorsement ETSI ES 201 873-11 V4.7.1 was approved by ITU-T as the basis for Recommendation ITU-T Z.171. Printed in Switzerland
23、Geneva, 2017 SERIES OF ITU-T RECOMMENDATIONS Series A Organization of the work of ITU-T Series D Tariff and accounting principles and international telecommunication/ICT economic and policy issues Series E Overall network operation, telephone service, service operation and human factors Series F Non
24、-telephone telecommunication services Series G 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 Se
25、ries K Protection against interference Series 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:
26、 international sound programme and television transmission circuits Series O Specifications of measuring equipment Series P Telephone transmission quality, telephone installations, local line networks Series Q Switching and signalling, and associated measurements and tests Series R Telegraph transmi
27、ssion 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, next-generation networks, Internet of Things and smart cities Series Z Languages and general software aspects for telecommunication systems