ETSI TR 102 026-2002 Telecommunications and Internet Protocol Harmonization Over Networks (TIPHON) Study of the Use of TTCN-3 for SIP and for OSP Test Specifications (V1 1 1)《网络上电信.pdf
《ETSI TR 102 026-2002 Telecommunications and Internet Protocol Harmonization Over Networks (TIPHON) Study of the Use of TTCN-3 for SIP and for OSP Test Specifications (V1 1 1)《网络上电信.pdf》由会员分享,可在线阅读,更多相关《ETSI TR 102 026-2002 Telecommunications and Internet Protocol Harmonization Over Networks (TIPHON) Study of the Use of TTCN-3 for SIP and for OSP Test Specifications (V1 1 1)《网络上电信.pdf(39页珍藏版)》请在麦多课文档分享上搜索。
1、ETSI TR I02 026 1.1.1 (2002-01) Technical Repor Telecommunications and Internet Protocol Harmonization Over Networks (TIPHON); Study of the use of TTCN-3 for SIP and for OSP test specifications 2 ETSI TR 102 026 VI .I .I (2002-01) Reference DTR/TIPHON-06019 Keywords VolP, interoperability, IP, testi
2、ng, TTCN ETSI 650 Route des Lucioles F-O6921 Sophia Antipolis Cedex - FRANCE Tel.: +33 4 92 94 42 O0 Fax: +33 4 93 65 47 16 Siret No 348 623 562 00017 - NAF 742 C Association but non lucratif enregistre la Sous-prfecture de Grasse (06) No 7803/88 Important notice Individual copies of the present doc
3、ument can be downloaded from: http:l/w.etsi .orq The present document may be made available in more than one electronic version or in print. In any case of existing or perceived difference in contents between such versions, the reference version is the Portable Document Format (PDF). In case of disp
4、ute, the reference shall be the printing on ETSI printers of the PDF version kept on a specific network drive within ETSI Secretariat. Users of the present document should be aware that the document may be subject to revision or change of status. Information on the current status of this and other E
5、TSI documents is available at 3 If you find errors in the present document, send your comment to: Cori vriaht Notifica tion No part may be reproduced except as authorized by written permission. The copyright and the foregoing restriction extend to reproduction in all media. O European Telecommunicat
6、ions Standards Institute 2002. All rights reserved. ETSI 3 ETSI TR 102 026 VI . 1 . 1 (2002-01) Contents Intellectual Property Rights 5 Foreword . 5 1 Scope 6 2 References 6 3 Abbreviations . 6 Suitability of TTCN-3 for SIP testing 8 5.1 Architectural considerations for testing SIP 8 9 5.3 Expressin
7、g SIP messages in TTCN-3 10 . 12 . 12 5.3.1.2 Wildcards . 13 5.3.1.3 Using modified templates . . 13 5.3.2 TTCN-3 regular expressions . . 14 5.3.2.1 Simple patterns . 14 5.3.2.2 More complex patterns . 14 5.3.2.2.1 Set expression . 15 5.3.2.2.2 Reference expression . . 15 5.3.2.2.3 Match expression
8、n times . 15 5.3.2.3 Using regular expressions with SIP . 15 6.1 Architectural considerations for testing OSP 16 6.1.1 Normal OSP message exchange 16 . 17 6.2 Expressing OSP behaviour in TTCN-3 . 17 18 6.3.1 AuthonzationRequest 18 XML declaration 18 . 18 . 19 . 20 6.3.3 Wildcards . 20 7 8 9 4 Backgr
9、ound 7 5 5.2 5.3.1 5.3.1.1 Expressing SIP dynamic behaviour in TTCN-3 6 Suitability of TTCN-3 for OSP testing . 16 6.1.2 Token carria 6.3 6.3.1.1 6.3.1.2 6.3.1.3 6.3.2 Expressing OSP messages in TTCN-3 Practical experience of using TTCN-3 . 21 Availability of tools 21 Maintenance of the TTCN-3 stand
10、ard 21 10 Training 22 Annex A: A . 1 Introduction 23 A.2 The rule and its two corollaries 23 A.3 Some guidelines . 24 A.3.1 Module organization . 24 A.3.2 Comments . . A.3.3 Type definitions . A.3.3.1 Basic types . A.3.3.2 Structured types . A.3.3.2.1 Enumerations . Suggested style guidelines . 23 2
11、7 28 28 29 29 ETSI 4 ETSI TR 102 026 VI .I .I (2002-01) A.3.3.2.2 A.3.3.2.3 A.3.4 A.3.5 A.3.6 A.3.6.1 A.3.6.2 A.3.7 A.3.8 A.3.9 A.3.10 A.3.11 A.3.12 A.3.13 Records et al 29 Variable definitions. 29 Function definitions. . . .30 Whitespace 31 Statements 31 Simple statements . 31 Compound statements.
12、31 Naming conventions . 32 Beautifiers and formatters Presentation fonts and sheet orientation Alternates, named or not PICS and PIXIT parameters . 33 33 34 35 . 35 .37 Annex B: Bibliography 38 History 39 ETSI 5 ETSI TR 102 026 VI .I .I (2002-01) Intellectual Property Rights IPRs essential or potent
13、ially essential to the present document 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 O00 314: “Intellectual Property Rights (7PRs); Essential, orpotentially Essential, I
14、PRs notlJied to ETSI in respect ofETSI standards“, which is available from the ETSI Secretariat. Latest updates are available on the ETSI Web server (5). 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 exist
15、ence of other IPRs not referenced in ETSI SR O00 3 14 (or the updates on the ETSI Web server) which are, or may be, or may become, essential to the present document. Foreword This Technical Report (TR) has been produced by ETSI Project Telecommunications and Internet Protocol Harmonization Over Netw
16、orks (TIPHON). ETSI 6 ETSI TR 102 026 VI .I .I (2002-01) 1 Scope The present document provides an analysis on the suitability of using TTCN-3 as defined in ES 210 873-1 i to spec the test specifications for TIPHON protocols, in particular the TIPHON profile of SIP (Session Initiation Protocol) and t
17、he TIPHON OSP (Open Settlement Protocol). This study is restricted to the use of the TTCN-3 Core Language. 2 Re fe re nces For the purposes of this Technical Report (TR) the following references apply: il ETSI ES 201 873-1: “Methods for Testing and Specification (MTS); The Tree and Tabular Combined
18、Notation version 3; Part 1: TTCN-3 Core Language“. ISO/IEC 9646-3 : “Information technology - Open Systems Interconnection - Conformance testing methodology and framework - Part 3: The Tree and Tabular Combined Notation (TTCN) Edition 2“. 21 31 ETSI TS 101 321: “Telecommunications and Internet Proto
19、col Harmonization Over Networks (TIPHON); Open Settlement Protocol (OSP) for Inter-Domain pricing, authorization, and usage exchange“. ITU-T Recommendation Z. 140: “The tree and tabular combined notation version 3 (TTCN-3): Core language“. 41 3 Abbreviations For the purposes of the present document,
20、 the following abbreviations apply: ASN. 1 ATS DTD IUT MTC OSP (P)IXIT PDU SIP SUT TCP (P)ICS TTCN-2 TTCN-3 UDP XML PCO DE Abstract Syntax Notation One Abstract Test Suite Document Type Definition Implementation Under Test Master Test Component Open Settlement Protocol (Protocol) Implementation Conf
21、ormance Statement (Protocol) Implementation extra Information for Testing Protocol Data Unit Session Initiation Protocol System Under Test Transfert Control Protocol Tree and Tabular Combined Notation version 2 Testing and Test Control Notation version 3 User Datagram Protocol extensible Markup Lang
22、uage Point of Control and Observation Development Environment ETSI 7 ETSI TR 102 026 VI .I .I (2002-01) 4 Background The detailed code for nearly all ETSI (conformance) Abstract Test Suites (ATS) is written in TTCN. There are two versions of TTCN, version 2 (TTCN-2) as defined in ISO/IEC-9646-3 2 an
23、d the recently published ETSI version 3 ES 201 873-1 i. NOTE: Version 1 of TTCN is not now used by ETSI. Version 2 is oriented towards conformance testing and has been widely applied in testing telecommunications protocols and services for over 10 years. TTCN-3 is a modernization of TTCN-2. It has b
24、een developed to apply to a wide range of testing applications (i.e. it is not limited to conformance testing) and the syntax of the language has been brought into line with that of other modern programming languages. While it is not anticipated that TTCN-2 will immediately replace TTCN-3 (from ETSI
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
10000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- ETSITR1020262002TELECOMMUNICATIONSANDINTERNETPROTOCOLHARMONIZATIONOVERNETWORKSTIPHONSTUDYOFTHEUSEOFTTCN3FORSIPANDFOROSPTESTSPECIFICATIONSV111

链接地址:http://www.mydoc123.com/p-735628.html