ETSI ES 202 781-2017 Methods for Testing and Specification (MTS) The Testing and Test Control Notation version 3 TTCN-3 Language Extensions Configuration and Deployment Support (V1.pdf

上传人:赵齐羽 文档编号:731036 上传时间:2019-01-08 格式:PDF 页数:93 大小:505.07KB
下载 相关 举报
ETSI ES 202 781-2017 Methods for Testing and Specification (MTS) The Testing and Test Control Notation version 3 TTCN-3 Language Extensions Configuration and Deployment Support (V1.pdf_第1页
第1页 / 共93页
ETSI ES 202 781-2017 Methods for Testing and Specification (MTS) The Testing and Test Control Notation version 3 TTCN-3 Language Extensions Configuration and Deployment Support (V1.pdf_第2页
第2页 / 共93页
ETSI ES 202 781-2017 Methods for Testing and Specification (MTS) The Testing and Test Control Notation version 3 TTCN-3 Language Extensions Configuration and Deployment Support (V1.pdf_第3页
第3页 / 共93页
ETSI ES 202 781-2017 Methods for Testing and Specification (MTS) The Testing and Test Control Notation version 3 TTCN-3 Language Extensions Configuration and Deployment Support (V1.pdf_第4页
第4页 / 共93页
ETSI ES 202 781-2017 Methods for Testing and Specification (MTS) The Testing and Test Control Notation version 3 TTCN-3 Language Extensions Configuration and Deployment Support (V1.pdf_第5页
第5页 / 共93页
点击查看更多>>
资源描述

1、 ETSI ES 202 781 V1.5.1 (2017-05) Methods for Testing and Specification (MTS); The Testing and Test Control Notation version 3; TTCN-3 Language Extensions: Configuration and Deployment Support ETSI STANDARD ETSI ETSI ES 202 781 V1.5.1 (2017-05) 2 Reference RES/MTS-202781 ed151ConfDepl Keywords proto

2、col, 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 - NAF 742 C Association but non lucratif enregistre la Sous-Prfecture de Grasse (06) N 7803/88 Important notice The present document can b

3、e 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

4、existing or perceived difference in contents between such versions and/or in print, the only prevailing document is the print of the Portable Document Format (PDF) version kept on a specific network drive within ETSI Secretariat. Users of the present document should be aware that the document may be

5、 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.

6、org/People/CommiteeSupportStaff.aspx 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 witho

7、ut the written authorization of ETSI. The copyright and the foregoing restriction extend to reproduction in all media. European Telecommunications Standards Institute 2017. All rights reserved. DECTTM, PLUGTESTSTM, UMTSTMand the ETSI logo are Trade Marks of ETSI registered for the benefit of its Mem

8、bers. 3GPPTM and LTE are Trade Marks of ETSI registered for the benefit of its Members and of the 3GPP Organizational Partners. oneM2M logo is protected for the benefit of its Members GSM and the GSM logo are Trade Marks registered and owned by the GSM Association. ETSI ETSI ES 202 781 V1.5.1 (2017-

9、05) 3 Contents Intellectual Property Rights 6g3Foreword . 6g3Modal verbs terminology 6g31 Scope 7g32 References 7g32.1 Normative references . 7g32.2 Informative references 7g33 Definitions and abbreviations . 8g33.1 Definitions 8g33.2 Abbreviations . 8g34 Package conformance and compatibility 8g35 P

10、ackage Concepts for the Core Language 9g35.0 General . 9g35.1 Static configurations . 10g35.1.1 The special configuration type: configuration 10g35.1.2 The configuration function . 10g35.1.3 Starting a static test configuration . 12g35.1.4 Destruction of static test configurations 12g35.1.5 Creation

11、 of static test components 13g35.1.6 Establishment of static connections and static mappings 14g35.1.7 Test case definitions for static test configuration 14g35.1.8 Executing test cases on static test configurations . 15g35.1.9 Further restrictions 17g35.1.10 Logging the status of static configurati

12、ons . 17g35.2 Ports with translation capability . 17g35.2.0 General 17g35.2.1 Translation capability in port type declaration 19g35.2.2 Mapping and connecting ports 20g35.2.3 Translation functions 20g35.2.4 Translation state 21g35.2.5 Sending . 22g35.2.6 Receiving 23g35.2.7 Address . 25g35.2.8 Clear

13、, start, stop and halt operation 25g36 Package Semantics . 25g36.0 General . 25g36.1 Replacement of short forms 27g36.2 Order of replacement steps . 28g36.3 Flow graph representation of TTCN-3 behaviour 28g36.4 Flow graph construction procedure 29g36.5 Flow graph representation of configuration func

14、tions 29g36.6 Retrieval of start nodes of flow graphs . 30g36.7 Module state . 30g36.8 Accessing the module state 30g36.9 Configuration state . 31g36.10 Accessing the configuration state . 31g36.11 Entity states 32g36.12 Accessing entity states 34g36.13 Handling of connections among ports 35g36.14 H

15、andling of port states . 35g36.15 The evaluation procedure for a TTCN-3 module . 37g36.16 Evaluation phases . 37g36.17 Phase I: Initialization 37g3ETSI ETSI ES 202 781 V1.5.1 (2017-05) 4 6.18 Phase II: Update . 38g36.19 Phase III: Selection . 38g36.20 Phase IV: Execution . 38g36.21 Global functions

16、. 39g36.22 Clear port operation 39g36.23 Configuration function call. 40g36.24 Connect operation. 41g36.25 Create operation . 42g36.26 Flow graph segment 44g36.27 Flow graph segment . 45g36.28 Flow graph segment . 46g36.29 Flow graph segment 46g36.30 Execute statement . 47g36.31 Flow graph segment .

17、 48g36.32 Flow graph segment . 48g36.33 Flow graph segment 48g36.34 Flow graph segment 49g36.35 Flow graph segment 51g36.36 Halt port operation 52g36.37 Kill component operation . 53g36.38 Flow graph segment . 55g36.39 Flow graph segment . 55g36.40 Kill execution statement . 57g36.41 Kill configurat

18、ion operation . 58g36.42 Map operation 58g36.43 Start port operation . 59g36.44 Stop component operation 60g36.45 Flow graph segment 62g36.46 Flow graph segment 63g36.47 Flow graph segment 64g36.48 Stop port operation . 65g36.49 Flow graph segment 66g36.50 Flow graph segment . 67g36.51 Flow graph se

19、gment . 68g37 TRI Extensions for the Package . 68g37.1 Changes and extensions to clause 5.5.2 of ETSI ES 201 873-5 Connection handling operations 68g37.2 Extensions to clause 6 of ETSI ES 201 873-5 JavaTMlanguage mapping 70g37.3 Extensions to clause 7 of ETSI ES 201 873-5 ANSI C language mapping 70g

20、37.4 Extensions to clause 8 of ETSI ES 201 873-5 C+ language mapping 71g37.5 Extensions to clause 9 of ETSI ES 201 873-5 C# language mapping 71g38 TCI Extensions for the Package . 71g38.1 Extensions to clause 7.2.1.1 of ETSI ES 201 873-6 Management . 71g38.2 Extensions to clause 7.3.1.1 of ETSI ES 2

21、01 873-6 TCI-TM required 72g38.3 Extensions to clause 7.3.1.2 of ETSI ES 201 873-6 TCI-TM provided . 73g38.4 Extensions to clause 7.3.3.1 of ETSI ES 201 873-6 TCI-CH required 74g38.5 Extensions to clause 7.3.3.2 of ETSI ES 201 873-6 TCI CH provided 74g38.6 Extensions to clause 7.3.4 of ETSI ES 201 8

22、73-6 TCI-TL provided . 76g38.7 Extensions to clause 8 of ETSI ES 201 873-6 JavaTMlanguage mapping 78g38.8 Extensions to clause 9 of ETSI ES 201 873-6 ANSI C language mapping 80g38.9 Extensions to clause 10 of ETSI ES 201 873-6 C+ language mapping 81g38.10 Extensions to clause 11 of ETSI ES 201 873-6

23、 W3C XML mapping 83g38.11 Extensions to clause 12 of ETSI ES 201 873-6 C# language mapping 86g3Annex A (normative): BNF and static semantics 89g3A.1 Additional TTCN-3 terminals 89g3A.2 Modified TTCN-3 syntax BNF productions 89g3A.3 Additional TTCN-3 syntax BNF productions 90g3Annex B (informative):

24、Library of useful types 92g3ETSI ETSI ES 202 781 V1.5.1 (2017-05) 5 B.1 Limitations . 92g3B.2 Useful TTCN-3 types . 92g3B.2.1 Status values for port states 92g3History 93g3ETSI ETSI ES 202 781 V1.5.1 (2017-05) 6 Intellectual Property Rights IPRs essential or potentially essential to the present docu

25、ment may have been declared to ETSI. The information pertaining to these essential IPRs, if any, is 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

26、 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 IPR Policy, no investigation, including IPR searches, has been carried out by ETSI. No guarantee can be given as to the existence of other

27、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. Foreword This ETSI Standard (ES) has been produced by ETSI Technical Committee Methods for Testing and Specification (MTS). The use of underline (add

28、itional 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 below: Part 1: “TTCN-3 Core Languag

29、e“; Part 4: “TTCN-3 Operational Semantics“; Part 5: “TTCN-3 Runtime Interface (TRI)“; Part 6: “TTCN-3 Control Interface (TCI)“; Part 7: “Using ASN.1 with TTCN-3“; Part 8: “The IDL to TTCN-3 Mapping“; Part 9: “Using XML schema with TTCN-3“; Part 10: “TTCN-3 Documentation Comment Specification“. Modal

30、 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 NO

31、T allowed in ETSI deliverables except when used in direct citation. ETSI ETSI ES 202 781 V1.5.1 (2017-05) 7 1 Scope The present document defines the Configuration and Deployment Supportpackage of TTCN-3. TTCN-3 can be used for the specification of all types of reactive system tests over a variety of

32、 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

33、 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 t

34、he 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 the TTCN-3 support for static test configurations. While the design of TTCN-3 package has taken into account the consistency of a combined usa

35、ge 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 ed

36、ition 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 l

37、ocation 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 E

38、S 201 873-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: “Methods for Testing and Specification (MTS); The Testing and Test Control Notation version 3; Part 4: TTCN-3 Operational Semantics“. 3 ETSI

39、 ES 201 873-5: “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: “Methods for Testing and Specification (MTS); The Testing and Test Control Notation version 3; Part 6: TTCN-3 Control Interface

40、(TCI)“. 5 ISO/IEC 9646-1: “Information technology - Open Systems Interconnection -Conformance testing methodology and framework; Part 1: General concepts“. 2.2 Informative references References are either specific (identified by date of publication and/or edition number or version number) or non-spe

41、cific. 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 te

42、rm validity. ETSI ETSI ES 202 781 V1.5.1 (2017-05) 8 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 an

43、d 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 Test

44、ing 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“. 3 Definitions and abbreviations 3.1 Definitions

45、 For the purposes of the present document, the terms and definitions 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 Abbreviations For the purposes of the present document, the abbreviations given in ETSI ES 201 873-1 1, ETS

46、I ES 201 873-4 2, ETSI ES 201 873-5 3, ETSI ES 201 873-6 4, ISO/IEC 9646-1 5 and the following apply: MTC Main Test Component PTC Parallel Test Component4 Package conformance and compatibility The package presented in the present document is identified by the package tag: “TTCN-3:2009 Static Test Co

47、nfigurations“ - 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-

48、1 1 and ETSI ES 201 873-4 2. The package presented in the present document is compatible to: ETSI ES 201 873-1 1 version 4.9.1; ETSI ES 201 873-4 2 version 4.6.1; ETSI ES 201 873-5 3 version 4.8.1; ETSI ES 201 873-6 4 version 4.9.1; ETSI ES 201 873-7 i.1; ETSI ES 201 873-8 i.2; ETSI ES 201 873-9 i.3

49、; ETSI ES 201 873-10 i.4. ETSI ETSI ES 202 781 V1.5.1 (2017-05) 9 If later versions of those parts are available and should be used instead, the compatibility to the package presented in the present document has to be checked individually. 5 Package Concepts for the Core Language 5.0 General This package defines the TTCN-3 means to define static test configurations. A static test configuration is a test configuration with a lifetime that is not bound to a single test case. The test components

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 标准规范 > 国际标准 > 其他

copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1