1、 ETSI TS 186 016-3 V2.2.1 (2010-10)Technical Specification Technical Committee for IMS Network Testing (INT);Closed User Group (CUG);Conformance Testing;Part 3: Abstract Test Suite (ATS) and partial ProtocolImplementation eXtra Information for Testing (PIXIT)proforma specificationfloppy3ETSI ETSI TS
2、 186 016-3 V2.2.1 (2010-10)2Reference RTS/INT-00039-3 Keywords ATS, CUG, IMS, PIXIT, SIP, testing, TTCN 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
3、Sous-Prfecture de Grasse (06) N 7803/88 Important notice Individual copies of the present document can be downloaded from: http:/www.etsi.org 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 betwee
4、n such versions, the reference version is the Portable Document Format (PDF). In case of dispute, 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 s
5、ubject to revision or change of status. Information on the current status of this and other ETSI documents is available at http:/portal.etsi.org/tb/status/status.asp If you find errors in the present document, please send your comment to one of the following services: http:/portal.etsi.org/chaircor/
6、ETSI_support.asp Copyright Notification No part may be reproduced except as authorized by written permission. The copyright and the foregoing restriction extend to reproduction in all media. European Telecommunications Standards Institute 2010. All rights reserved. DECTTM, PLUGTESTSTM, UMTSTM, TIPHO
7、NTM, the TIPHON logo and the ETSI logo are Trade Marks of ETSI registered for the benefit of its Members. 3GPPTM is a Trade Mark of ETSI registered for the benefit of its Members and of the 3GPP Organizational Partners. LTE is a Trade Mark of ETSI currently being registered for the benefit of its Me
8、mbers and of the 3GPP Organizational Partners. GSM and the GSM logo are Trade Marks registered and owned by the GSM Association. ETSI ETSI TS 186 016-3 V2.2.1 (2010-10)3Contents Intellectual Property Rights 5g3Foreword . 5g31 Scope 6g32 References 6g32.1 Normative references . 6g32.2 Informative ref
9、erences 7g33 Definitions and abbreviations . 7g33.1 Definitions 7g33.2 Abbreviations . 8g34 Abstract Test Method (ATM) . 8g34.1 Network architecture 8g34.2 Protocol architecture. 9g34.3 Test architecture . 10g34.3.1 Test configuration . 10g34.3.1.1 Configuration using Gm interface . 10g34.3.1.2 Conf
10、iguration using ISC interface . 10g34.3.1.3 Configuration using Mw and Ic interfaces 11g34.3.2 Test system architecture 11g34.3.2.1 General 11g34.3.2.2 Structure 11g34.3.2.3 Interaction between TTCN-3 Executable (TE) and SUT Adapter (SA) 12g34.3.2.3.1 Sending and receiving SIP/IMS messages 12g34.3.2
11、.3.2 Security and messages compression feature 13g34.3.2.3.3 Additional SA constraints 13g34.3.2.4 Encoding/Decoding requirements . 13g34.3.2.4.1 Encoding/Decoding System requirements for basic SIP messages/headers 13g34.3.2.5 Platform adaptation requirements . 14g35 The ATS development process . 15
12、g35.1 Requirements and Test Purposes 15g35.2 ATS structure . 15g35.2.1 Test case grouping 15g35.2.2 Test case identifiers 15g35.3 ATS specification framework . 16g35.3.1 ATS Library 16g35.3.2 Use of TTCN-3 . 17g35.3.2.1 General 17g35.3.2.2 TTCN-3 naming conventions 17g35.3.2.3 Additional TTCN-3 IMS/
13、SIP naming convention 18g35.3.2.4 Additional concepts and conventions 19g35.3.2.5 PICS information 19g35.3.2.6 Test Suite documentation 19g35.4 ATS archive 19g3Annex A (normative): Partial PIXIT proforma 20g3A.1 Introduction 20g3A.2 PIXIT items 20g3A.2.1 SIP-related PIXIT . 20g3A.2.2 IMS-related PIX
14、IT . 22g3Annex B (informative): TTCN-3 library modules . 26g3B.1 Electronic annex, zip file with TTCN-3 code 26g3ETSI ETSI TS 186 016-3 V2.2.1 (2010-10)4Annex C (informative): Bibliography . 27g3History 28g3ETSI ETSI TS 186 016-3 V2.2.1 (2010-10)5Intellectual Property Rights IPRs essential or potent
15、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 000 314: “Intellectual Property Rights (IPRs); Essential, or potentially Essential,
16、IPRs notified to ETSI in respect of ETSI standards“, which is available from the ETSI Secretariat. Latest updates are available on the ETSI Web server (http:/webapp.etsi.org/IPR/home.asp). Pursuant to the ETSI IPR Policy, no investigation, including IPR searches, has been carried out by ETSI. No gua
17、rantee can be given as to the existence of other 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 Technical Specification (TS) has been produced by ETSI Technical Committee IMS Network
18、 Testing (INT). The present document is part 3 of a multi-part deliverable covering Closed User Group (CUG), as identified below: Part 1: “Protocol Implementation Conformance Statement (PICS)“; Part 2: “Test Suite Structure and Test Purposes (TSS Part 3: “Abstract Test Suite (ATS) and partial Protoc
19、ol Implementation eXtra Information for Testing (PIXIT) proforma specification“. ETSI ETSI TS 186 016-3 V2.2.1 (2010-10)61 Scope The present document specifies the Abstract Test Suite (ATS) and partial Protocol Implementation eXtra Information for Testing (PIXIT) proforma based on the Testsuite Stru
20、cture and Testpurposes defined in TS 186 016-2 3. The TSS the testing architecture; the test methods and port definitions; the test configurations; the design principles, assumptions and used interfaces to the TTCN3 tester (System Simulator); TTCN styles and conventions; the partial PIXIT proforma;
21、the modules containing the TTCN-3 ATS. Annex A provides the Partial Implementation Extra Information for Testing (PIXIT) Proforma of the ATS. Annex B provides the Testing and Test Control Notation (TTCN-3) part of the ATS. 2 References References are either specific (identified by date of publicatio
22、n and/or edition number or version number) or non-specific. For specific references, only the cited version applies. For non-specific references, the latest version of the reference document (including any amendments) applies. Referenced documents which are not found to be publicly available in the
23、expected location might be found at http:/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. 2.1 Normative references The following referenced documents are necessary for the application
24、of the present document. 1 ETSI TS 183 054: “Telecommunications and Internet converged Services and Protocols for Advanced Networking (TISPAN); PSTN/ISDN simulation services; Protocol specification Closed User Group (CUG)“. 2 Void. 3 ETSI TS 186 016-2: “Telecommunications and Internet converged Serv
25、ices and Protocols for Advanced Networking (TISPAN); PSTN/ISDN simulation services; Closed User Group (CUG); Part 2: Test Suite Structure and Test Purposes (TSS The Testing and Test Control Notation version 3; Part 1: TTCN-3 Core Language“. 8 Void. 9 ETSI ES 201 873-5: “Methods for Testing and Speci
26、fication (MTS); The Testing and Test Control Notation version 3; Part 5: TTCN-3 Runtime Interface (TRI)“. 10 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 (TCI)“. 11 ETSI TS 102 027-3 (V3.1.1): “Meth
27、ods for Testing and Specification (MTS); Conformance Test Specification for SIP (IETF RFC 3261); Part 3: Abstract Test Suite (ATS) and partial Protocol Implementation eXtra Information for Testing (PIXIT) proforma“. 12 ETSI TS 102 351 (V2.1.1): “Methods for Testing and Specification (MTS); Internet
28、Protocol Testing (IPT); IPv6 Testing: Methodology and Framework“. 13 ETSI TS 186 005-2: “Telecommunications and Internet converged Services and Protocols for Advanced Networking (TISPAN); Terminating Identification Presentation (TIP) and Terminating Identification Restriction (TIR); Part 2: Test Sui
29、te Structure and Test Purposes (TSS PSTN/ISDN simulation services; Anonymous Communication Rejection (ACR) and Communication Barring (CB); Part 2: Test Suite Structure and Test Purposes (TSS PSTN/ISDN simulation services; Malicious Communication Identification (MCID); Part 2: Test Suite Structure an
30、d Test Purposes (TSS Peer-to-Peer Digital Private Mobile Radio; Part 2: Conformance testing; Test Suite Structure and Test Purposes (TSS Internet Protocol Testing (IPT); Testing: Methodology and Framework“. 3 Definitions and abbreviations 3.1 Definitions For the purposes of the present document, the
31、 terms and definitions given in ISO/IEC 9646-7 6, TS 102 587-2 16 and ISO/IEC 9646-1 5 apply. ETSI ETSI TS 186 016-3 V2.2.1 (2010-10)83.2 Abbreviations For the purposes of the present document, the abbreviations given in ISO/IEC 9646-1 5 ISO/IEC 9646-7 6 and the following apply: NOTE: Abbreviations
32、have been used both in the present document and in the TTCN-3 library modules (annex B). AS Application Server ATS Abstract Test Suite CSCF Call Session Control Function CUG Closed User Group EDS Encoding/Decoding System ETS Executable Test Suite IBCF Interconnection Border Control Function ICB Inco
33、ming Communication Barring I-CSCF Interrogating CSCF IMS IP Multimedia Subsystem IP Internet Protocol IUT Implementation Under Test OAE Outgoing Access, Explicit request required OAI Outgoing Access, Implicit outgoing access for all communications OCB Outgoing Communication Barring PA Platform Adapt
34、er P-CSCF Proxy CSCF PICS Protocol Implementation Conformance Statement PIXIT Partial Protocol Implementation Extra Information for Testing PTC Parallel Test Component SA SUT Adapter SDP Session Description Protocol SIP Session Initiation Protocol SS Supplementary ServicesSUT System under TestTC Tes
35、t CaseTCI TTCN-3 Control Interface TCP Transmission Control Protocol TE TTCN-3 ExecutableTL Test Logging TM Test ManagementTRI TTCN-3 Runtime Interface TS Test System TSI Test System Information TSS Test Suite Structure TTCN Testing and Test Control Notation TTCN-3 Testing and Test Control Notation
36、version 3 UDP User Datagram Protocol UE User Equipment XML eXtensible Markup Language 4 Abstract Test Method (ATM) 4.1 Network architecture The SUT is assumed as a complete IMS core network and contains the following components: P-CSCF, I/S-CSCF, E-CSCF and IBCF. As illustrated in the following figu
37、re the PCOs for the communication between the systems are Gm, Mw, Ic and Isc. Each component can play role of SUT. ETSI ETSI TS 186 016-3 V2.2.1 (2010-10)9Figure 1: SUT test interface 4.2 Protocol architecture The Implementation Under Test (IUT) for which this test case specification applies consist
38、s of the SIP protocol (see figure 2). SUT IMS CN SIP/IMS Extension SIP RFC 3261 Compression algorithms (2) UDP TCPSecurity Algorithms (2) IPV4/IPV6 (1) (LAN) Figure 2: SIP protocol architecture AS IMSx IMSy UE IMS Mw Ic Isc Gm SIP protocol ETSI ETSI TS 186 016-3 V2.2.1 (2010-10)104.3 Test architectu
39、re The target SUT to be covered by the test purposes of TS 186 016-2 3 address the IMS functional entities that are accessible via the following interfaces: Gm, Mw, Ic and ISC. This clause introduces the test configurations that have been used for the test purpose definitions. Depending on the speci
40、fic configuration the test system (TS) simulates the behaviour of the UE or another IMS communicating with the SUT. Figures 3 to 7 provide the different configurations in detail. The test configuration is specified in the context of TTCN-3 functions (e.g. f_cf_1UeUp). The letters “P“, “S“, “I“ and “
41、B“ etc. indicate the CSCFs within the SUT or TS. If applicable used identifiers on user profiles (see clause 5.3.2.4) have also been added in the figures (e.g. “PCSCFwithHomeUE“ corresponds to TTCN-3 constant c_userProfile_PCSCFwithHomeUE). 4.3.1 Test configuration 4.3.1.1 Configuration using Gm int
42、erface The Gm interface is located between UE and IMS. UE1 SUT IMSPgmue1homePCSCFwithHomeUEFigure 3: Test configuration with CF_1Ue IMS SUTUE1PUE3gmue1homeue3homegmUE1atSUThomeUE3atSUThomeFigure 4: Test configuration with CF_2Ue 4.3.1.2 Configuration using ISC interface The ISC interface provides an
43、 access to the AS. AS SUTIMSSiscASue1homeSCSCFwithHomeUEFigure 5: Test configuration with CF_1Scscf ETSI ETSI TS 186 016-3 V2.2.1 (2010-10)11ASIMS SUTSiscPASue1homeue2homeUE1UE2gmgmUE1atSUThomeUE2atSUThomeFigure 6: Test configuration with CF_1As2Ue 4.3.1.3 Configuration using Mw and Ic interfaces Th
44、e Mw or Ic interface is located between two different IMS, e.g. due to at least one user visiting a network outside of the home network. IMS SUTmwIMS TSB UEuehomeIBCFwithHomeUEIMS TSIUEuehomeICSCFwithHomeUEicFigure 7: Test configuration with CF_1Scscf1Ibcf 4.3.2 Test system architecture 4.3.2.1 Gene
45、ral Test systems that implement this ATS shall conform to the requirements as defined in this clause. 4.3.2.2 Structure An abstract architecture for a Test System (TS) implementing a TTCN-3 ATS is displayed in figure 8 and also stated in ES 201 873-5 9. Test Management (TM) Test Control (TC) Test Lo
46、gging (TL) TCI TTCN-3 Executable (TE) TTCN-3 Runtime System (T3RTS) Executable Test Suite (ETS) Encoding/Decoding System TRI SUT Adapter (SA) Platform Adapter (PA) Figure 8: Abstract Test System Architecture ETSI ETSI TS 186 016-3 V2.2.1 (2010-10)12A TS has two interfaces, the TTCN-3 Control Interfa
47、ce (TCI) and the TTCN-3 Runtime Interface (TRI), which specify the interface between Test Management (TM) and TTCN-3 Executable (TE) entities, and TE, SUT Adapter (SA) and Platform Adapter (PA) entities, respectively. Out of these two interfaces the TRI has been standardized in ES 201 873-5 9, where
48、as the specification and implementation of the TCI is in ES 201 873-6 10. The part of TS that deals with interpretation and execution of TTCN-3 modules, i.e. the Executable Test Suite (ETS), is shown as part of the TTCN-3 Executable (TE). This ETS corresponds either to the executable code produced b
49、y a TTCN-3 compiler or a TTCN-3 interpreter from the TTCN-3 ATS in a TS implementation. The remaining part of the TS, which deals with any aspects that cannot be concluded from information being present in the TTCN-3 ATS alone, can be decomposed into Test Management (TM), SUT Adapter (SA) and Platform Adapter (PA) entities. In general, these entities cover a TS user interface, test execution control, test event logging, communication of test data with the SUT and timer implementation. The part of SA used for SIP message tr