1、 ETSI TS 103 261-3 V1.2.1 (2015-06) Core Network and Interoperability Testing (INT); Diameter Conformance testing for S6a interface; (3GPP Release 10); Part 3: Abstract Test Suite (ATS) and partial Protocol Implementation eXtra Information for Testing (PIXIT) proforma specification floppy3TECHNICAL
2、SPECIFICATION ETSI ETSI TS 103 261-3 V1.2.1 (2015-06)2 Reference RTS/INT-00114-3 Keywords ATS, conformance, diameter, PIXIT 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 luc
3、ratif enregistre la Sous-Prfecture de Grasse (06) N 7803/88 Important notice The present document can be 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
4、present document shall not be modified without the prior written authorization of ETSI. In case of any 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 networ
5、k 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 ETSI documents is available at http:/portal.etsi.org/tb/status/status.asp If you find errors in the pre
6、sent document, please send your comment to one of the following services: https:/portal.etsi.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 authori
7、zed by written permission of ETSI. The content of the PDF version shall not be modified without the written authorization of ETSI. The copyright and the foregoing restriction extend to reproduction in all media. European Telecommunications Standards Institute 2015. All rights reserved. DECTTM, PLUGT
8、ESTSTM, UMTSTMand the ETSI logo are Trade Marks of ETSI registered for the benefit of its Members. 3GPPTM and LTE are Trade Marks of ETSI registered for the benefit of its Members and of the 3GPP Organizational Partners. GSM and the GSM logo are Trade Marks registered and owned by the GSM Associatio
9、n. ETSI ETSI TS 103 261-3 V1.2.1 (2015-06)3 Contents Intellectual Property Rights 4g3Foreword . 4g3Modal verbs terminology 4g31 Scope 5g32 References 5g32.1 Normative references . 5g32.2 Informative references 6g33 Definitions and abbreviations . 6g33.1 Definitions 6g33.2 Abbreviations . 6g34 Abstra
10、ct Test Method (ATM) . 6g34.0 Introduction 6g34.1 Test architecture . 6g34.1.1 Test method 6g34.1.2 Test machine configuration. 6g34.1.2.0 Introduction . 6g34.1.2.1 Test configurations for MME testing 7g34.1.2.2 Test configurations for HSS testing 7g34.1.3 Interconnection of TS and SUT 7g34.1.3.1 MM
11、E Role. 7g34.1.3.2 HSS Role . 8g34.1.3.3 Test Adapter 8g35 ATS conventions 9g35.0 Introduction 9g35.1 Testing conventions 9g35.1.1 Test cases Preamble and Postamble 9g35.2 Naming conventions . 9g35.2.1 General guidelines 9g35.2.2 Test case grouping 10g35.2.3 Test case identifiers 10g3Annex A (normat
12、ive): DIAMETER S6a Partial PIXIT proforma 11g3A.0 Introduction 11g3A.1 Identification summary. 11g3A.2 ATS summary 11g3A.3 Test laboratory 11g3A.4 Client identification 11g3A.5 SUT 12g3A.6 Protocol layer information 12g3A.6.1 Protocol identification 12g3A.7 PIXIT items 12g3A.7.0 Introduction 12g3A.7
13、.1 Port and Address items . 12g3A.7.2 S6a interface items . 13g3A.7.3 AVP field items 13g3Annex B (normative): DIAMETER S6a Abstract Test Suite (ATS) . 14g3History 15 ETSI ETSI TS 103 261-3 V1.2.1 (2015-06)4 Intellectual Property Rights IPRs essential or potentially essential to the present document
14、 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 ETS
15、I standards“, which is available from the ETSI Secretariat. Latest updates are available on the ETSI Web server (http:/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 IPRs n
16、ot 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 Core Network and Interoperability Testing (INT). The present docum
17、ent is part 3 of a multi-part deliverable covering the test specifications for the Diameter protocol on the S6a interface, as identified below: Part 1: “Protocol Implementation Conformance Statement (PICS)“; Part 2: “Test Suite Structure (TSS) and Test Purposes (TP)“; Part 3: “Abstract Test Suite (A
18、TS) and partial Protocol Implementation eXtra Information for Testing (PIXIT) proforma specification“. Modal 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
19、3.2 of the ETSI Drafting Rules (Verbal forms for the expression of provisions). “must“ and “must not“ are NOT allowed in ETSI deliverables except when used in direct citation. ETSI ETSI TS 103 261-3 V1.2.1 (2015-06)5 1 Scope The present document specifies the Abstract Test Suite (ATS) and partial Pr
20、otocol Implementation eXtra Information for Testing (PIXIT) proforma for the test specifications for Diameter protocol on the S6a interface as specified in ETSI TS 129 272 1 in compliance with the relevant requirements and in accordance with the relevant guidance given in ISO/IEC 9646-7 5 and ETSI E
21、TS 300 406 6. The test notation used in the ATS is TTCN-3 (see ETSI ES 201 873-1 7). The following test specification and design considerations can be found in the body of the present document: the overall test suite structure; the testing architecture; the test methods and port definitions; the tes
22、t configurations; TTCN styles and conventions; the partial PIXIT proforma; the modules containing the TTCN-3 ATS. Annex A provides the Partial Implementation Extra Information for Testing (PIXIT) Proforma. Annex B provides the Abstract Test Suite (ATS) part of the ATS. 2 References 2.1 Normative ref
23、erences References are either specific (identified by date of publication 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. R
24、eferenced documents which are not found to be publicly available in the 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. The following referen
25、ced documents are necessary for the application of the present document. 1 ETSI TS 129 272 (V10.8.0): “Universal Mobile Telecommunications System (UMTS); LTE; Evolved Packet System (EPS); Mobility Management Entity (MME) and Serving GPRS Support Node (SGSN) related interfaces based on Diameter proto
26、col (3GPP TS 29.272 version 10.8.0 Release 10)“. 2 ETSI TS 103 261-2: “Core Network and Interoperability Testing (INT); Diameter Conformance testing for S6a interface; (3GPP Release 10); Part 2: Test Suite Structure (TSS) and Test Purposes (TP)“. 3 ISO/IEC 9646-1: “Information technology - Open Syst
27、ems Interconnection - Conformance testing methodology and framework - Part 1: General concepts“. 4 ISO/IEC 9646-6: “Information technology - Open Systems Interconnection - Conformance testing methodology and framework - Part 6: Protocol profile test specification“. 5 ISO/IEC 9646-7: “Information tec
28、hnology - Open Systems Interconnection - Conformance testing methodology and framework - Part 7: Implementation Conformance Statements“. ETSI ETSI TS 103 261-3 V1.2.1 (2015-06)6 6 ETSI ETS 300 406: “Methods for testing and Specification (MTS); Protocol and profile conformance testing specifications;
29、 Standardization methodology“. 7 ETSI ES 201 873-1: “Methods for Testing and Specification (MTS); The Testing and Test Control Notation version 3; Part 1: TTCN-3 Core Language“. 2.2 Informative references References are either specific (identified by date of publication and/or edition number or vers
30、ion 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. NOTE: While any hyperlinks included in this clause were valid at the time of publication, ETSI cannot gu
31、arantee their long term validity. 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. Not applicable. 3 Definitions and abbreviations 3.1 Definitions For the purposes of the present docume
32、nt, the terms and definitions given in ISO/IEC 9646-7 5 and ETSI TS 129 272 1 apply. 3.2 Abbreviations For the purposes of the present document, the abbreviations given in ISO/IEC 9646-1 3, ISO/IEC 9646-6 4, ISO/IEC 9646-7 5 and ETSI TS 129 272 1 apply. 4 Abstract Test Method (ATM) 4.0 Introduction
33、This clause describes the ATM used to test the Diameter protocol on the S6a interface at the MME side and at the HSS side. 4.1 Test architecture 4.1.1 Test method The test method chosen is the remote test method. Remote test method means that the test tool (the test machine + the executable test sui
34、te) shall behave as an MME when the IUT is an HSS and shall behave as an HSS when the IUT is an MME. As the exchange between the test system and the IUT is at the diameter message level, the lower layers of the test machine shall be totally conformant with the corresponding lower layers specificatio
35、ns to use the remote test method. 4.1.2 Test machine configuration 4.1.2.0 Introduction In a real operating network the different Diameter nodes would not connect directly to each other. The connection is usually proxied through one or more Diameter Agents. In the following test architecture figures
36、 the Diameter Agent is not explicitly depicted as it is seen as a transparent message handler for conformance testing purposes. ETSI ETSI TS 103 261-3 V1.2.1 (2015-06)7 4.1.2.1 Test configurations for MME testing The S6a interface is located between HSS and the SUT. Figure 1: Test architecture with
37、MME as SUT 4.1.2.2 Test configurations for HSS testing The S6a interface is located between MME and the SUT. For a number of tests a second S6a interface is used when the TS acts as two separate MMEs. Figure 2: Test architecture with HSS as SUT 4.1.3 Interconnection of TS and SUT 4.1.3.1 MME Role Fi
38、gure 3 shows the interconnection of TS and SUT in terms of signalling message flows. Diameter messages are transferred over the DIAMP port. ETSI ETSI TS 103 261-3 V1.2.1 (2015-06)8 Figure 3: Interconnection for MME role 4.1.3.2 HSS Role Figure 4 shows the interconnection of TS and SUT in terms of si
39、gnalling message flows. Diameter messages are transferred over the DIAM port. Figure 4: Interconnection for HSS role 4.1.3.3 Test Adapter For execution of the tests the Test Adapter (TA) shall be developed. There are two possibilities to communicate over TA: ATS provides only Diameter messages; or A
40、TS provides Diameter messages and LL primitives. ETSI ETSI TS 103 261-3 V1.2.1 (2015-06)9 5 ATS conventions 5.0 Introduction The ATS conventions are intended to give a better understanding of the ATS but they also describe the conventions made for the development of the ATS. These conventions shall
41、be considered during any later maintenance or further development of the ATS. The ATS conventions contain two clauses, the naming conventions and the implementation conventions. The naming conventions describe the structure of the naming of all ATS elements. The implementation conventions describe t
42、he functional structure of the ATS. To define the ATS, the guidelines of the document ETSI ETS 300 406 6 were considered. 5.1 Testing conventions 5.1.1 Test cases Preamble and Postamble As described in the test method clause the test tool shall behave as an HSS when the IUT is an MME and shall behav
43、e as an MME when the IUT is an HSS. For that reason the test case preambles and postambles are named as follows: IUT is a HSS (example TC_HSS_UL_01) f_preamble_MME f_postamble_MME NOTE 1: The tester also behaves as a Diameter Client. IUT is a MME (example TC_MME_UL_01) f_preamble_HSS f_postamble_HSS
44、 NOTE 2: The tester also behaves as a Diameter Server. 5.2 Naming conventions 5.2.1 General guidelines The naming conventions are based on the following underlying principles: In most cases, identifiers should be prefixed with a short alphabetic string (specified in table 1) indicating the type of T
45、TCN-3 element it represents. Suffixes should not be used except in those specific cases identified in table 2. Prefixes and suffixes should be separated from the body of the identifier with an underscore (“_“): EXAMPLE 1: c_sixteen, t_wait_max. Only module names, data type names and module parameter
46、s should begin with an upper-case letter. All other names (i.e. the part of the identifier following the prefix) should begin with a lower-case letter. The start of second and subsequent words in an identifier should be indicated by capitalizing the first character. Underscores should not be used fo
47、r this purpose. EXAMPLE 2: f_authenticateUser. Table 1 specifies the naming guidelines for each element of the TTCN-3 language indicating the recommended prefix, suffixes (if any) and capitalization. ETSI ETSI TS 103 261-3 V1.2.1 (2015-06)10 Table 1: TTCN-3 naming convention Language element Naming
48、convention Prefix Suffix Example Notes Module Use upper-case initial letter DiameterS6a_ none DiameterS6a_Steps TSS grouping Use all upper-case letters none none TP_PCEFRole_IPSMessage template Use lower-case initial letter m_ none m_authApplicationId Message template with wildcard or matching expre
49、ssion Use lower-case initial letters mw_ none mw_subscriptionId Port instance Use upper-case initial letter none none DiameterPort Constant Use lower-case initial letter c_ none c_maxRetransmission Function Use lower-case initial letter f_ none f_authentication() Altstep Use lower-case initial letter a_ none a_receive()Variable Use lower-case initial letter v_ none v_basicId PICS values Use all upper case letters PC_ none PC_PCRF_DATA_CON Note PIXIT values Use all upper case letters PX_ none PX_DIAMETER_