1、 ETSI TS 101 592 V1.1.1 (2012-10) IMS Network Testing (INT); Signalling Connection Control Part User Adaptation Layer (SUA); (IETF RFC 3868); Test Suite Structure and Test Purposes (TSS Essential, or potentially Essential, IPRs notified to ETSI in respect of ETSI standards“, which is available from
2、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 not referenced in ETSI SR 000 314 (or t
3、he 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 Testing (INT). ETSI ETSI TS 101 592 V1.1.1 (2012-10)51 Scope The present document proposes a
4、 Test Suite Structure and Test Purposes (TSS furthermore, one or more SGP can be contained within an SGP. ASPs and SGPs can be interconnected so that full redundancy is provided. Several scenarios have been envisioned in the present document: - One ASP within the AS. - Several ASPs within the ASP. -
5、 One ASP connected to one SGP. - Several ASPs connected to one SGP. 4.2 Overview of the Test Suite Structure The Test Suite Structures is based on the main functionalities as defined above. Figure 2 shows the Test Suite Structure. Last Sub groups may be subdivided in three subgroups: Valid behaviour
6、 (V), Invalid behaviour (I), inOpportune behaviour (O). ETSI ETSI TS 101 592 V1.1.1 (2012-10)8Test Suite Main Functionalities Functionality Subgroup Test Group SUA SGP ASP State Maintenance V-I-O ASP Traffic Maintenance V-I-O Message Transfer V-I Routing Key Management V-I ASP ASP State Maintenance
7、V-I-O ASP Traffic Maintenance V-I-O Message Transfer V-I Routing Key Management V-I Figure 2: TSS for SUA 5 Test Purposes (TP) 5.1 Introduction 5.1.1 TP naming convention Table 1: TP identifier naming convention scheme Identifier: _ SUA SGP (Signalling Gateway Process) ASP (Application Server Proces
8、s) ASPM (ASP Maintenance procedures) RKM (Routing Key Management) MSG (MeSsaGing) Valid behaviour (V) Invalid behaviour (I) inOpportune behaviour (O) sequential number (01 to 99) 5.1.2 TP structure Each test purpose is decomposed in six keywords: - The TPId gives a unique identifier to each test pur
9、pose. - The Status specifies whether the test purpose or the group is mandatory or optional according to RFC 3868 1. - The Group Status applies to all test purposes belonging to this group. Within the present document only test purposes that are mandatory have been defined. - The Precondition determ
10、ines the initial state of the SUT for the evaluating the test purpose. - The Reference outlines the references in RFC 3868 1 used to create the test purpose. - The Purpose describes the objective of the test. ETSI ETSI TS 101 592 V1.1.1 (2012-10)95.2 Test Purposes for Signalling Gateway Process (SGP
11、) 5.2.1 ASP State Maintenance Procedures 5.2.1.1 Valid behaviour TPId SUA_SGP_ASPSM_V_01 Status Mandatory Pre-condition Successfully established SCTP association between the SGP and the ASP ASP marked as ASP-DOWN at the SGP Reference 1 section: 4.3.4.1 Purpose Ensure that the IUT, upon reception of
12、an ASP Up message, responds with an ASP Up Ack. Comments This test case, even though included in SUA_SGP_ASPSM_V_02 validates the response with an ASP Up Ack regardless of the number of ASPs configured in the AS TPId SUA_SGP_ASPSM_V_02 Status Mandatory Pre-condition Successfully established SCTP ass
13、ociation between the SGP and the ASP One ASP configured within the AS ASP marked as ASP-DOWN at the SGP Reference 1 sections: 3.8.2 4.3.1 4.3.2 4.3.4.1 4.3.4.5 Purpose Ensure that the IUT, upon reception of an ASP Up message, responds with an ASP Up Ack and sends a NOTIFY message indicating the AS s
14、tate change to AS-INACTIVE Comments TPId SUA_SGP_ASPSM_V_03 Status Mandatory Pre-condition Successfully established SCTP association between the SGP and the ASP ASP marked as ASP-INACTIVE at the SGP Reference 1 sections: 4.3.1 4.3.4.2 Purpose Ensure that the IUT, upon reception of an ASP Down messag
15、e, responds with an ASP Down Ack Comments TPId SUA_SGP_ASPSM_V_04 Status Optional Pre-condition Successfully established SCTP association between the SGP and the ASP ASP marked as blocked at the SGP Reference 1 section: 4.3.4.1 Purpose Ensure that the IUT, upon reception of an ASP Up message sent by
16、 an ASP marked as blocked at the SGP, responds with an ERROR message with reason 0x0d “Refused-Management Blocking“ Comments ETSI ETSI TS 101 592 V1.1.1 (2012-10)105.2.1.2 Invalid behaviour TPId SUA_SGP_ASPSM_I_01 Status Mandatory Pre-condition Successfully established SCTP association between the S
17、GP and the ASP Reference 1 sections: 3.1.1 4.3.4.1.1 Purpose Ensure that the IUT, upon reception of an ASP Up message that contains an invalid SUA version (e.g. 2), responds with an ERROR message with reason 0x01 (“Invalid Version“) Comments TPId SUA_SGP_ASPSM_I_02 Status Mandatory Pre-condition Suc
18、cessfully established SCTP association between the SGP and the ASP ASP marked as ASP-DOWN at the SGP Reference 1 sections: 3.1.2 4.3.2 Purpose Ensure that the IUT, upon reception of a message which class is 3 (ASPSM) and type is different from 0 (Reserved) 1 (ASP Up), 2 (ASP Down), 3 (BEAT), 4 (ASP
19、Up Ack), 5 (ASP Down Ack) and 6 (BEAT Ack) responds with an ERROR message with reason 0x04 “Unsupported Message Type“ Comments TPId SUA_SGP_ASPSM_I_03 Status Mandatory Pre-condition Successfully established SCTP association between the SGP and the ASP ASP marked as ASP-DOWN at the SGP Reference 1 se
20、ctions: 3.1.2 4.3.2 Purpose Ensure that the IUT, upon reception of a message which class is 4 (ASPTM) responds with an ERROR message with reason 0x06 “Unexpected Message“ or silently discards the message Comments TPId SUA_SGP_ASPSM_I_04 Status Mandatory Pre-condition Successfully established SCTP as
21、sociation between the SGP and the ASP ASP marked as ASP-INACTIVE at the SGP Reference 1 sections: 3.1.2 4.3.2 Purpose Ensure that the IUT, upon reception of a message which class is 3 (ASPSM) and type is different from 0 (Reserved) 1 (ASP Up), 2 (ASP Down), 3 (BEAT), 4 (ASP Up Ack), 5 (ASP Down Ack)
22、 and 6 (BEAT Ack) responds with an ERROR message with reason 0x04 “Unsupported Message Type“ Comments 5.2.1.3 inOpportune behaviour TPId SUA_SGP_ASPSM_O_01 Status Mandatory Pre-condition Successfully established SCTP association between the SGP and the ASP ASP marked as ASP-INACTIVE at the SGP Refer
23、ence 1 sections: 4.3.1 4.3.4.1 Purpose Ensure that the IUT, upon reception of an ASP Up message, responds with an ASP Up Ack Comments ETSI ETSI TS 101 592 V1.1.1 (2012-10)11TPId SUA_SGP_ASPSM_O_02 Status Mandatory Pre-condition Successfully established SCTP association between the SGP and the ASP AS
24、P marked as ASP-ACTIVE at the SGP One ASP in the AS Reference 1 sections: 4.3.1 4.3.4.1 4.3.4.4 Purpose Ensure that the IUT, upon reception of an ASP Up message, responds with an ASP Up Ack, sends an ERROR message with reason 0x06 “Unexpected Message“ and sends a NOTIFY message indicating the AS sta
25、te change to AS-INACTIVE Comments TPId SUA_SGP_ASPSM_O_03 Status Mandatory Pre-condition Successfully established SCTP association between the SGP and the ASP ASP marked as ASP-DOWN at the SGP Reference 1 sections: 4.3.1 4.3.4.2 Purpose Ensure that the IUT, upon reception of an ASP Down message, res
26、ponds with an ASP Down Ack Comments 5.2.2 ASP Traffic Maintenance procedures 5.2.2.1 Valid behaviour TPId SUA_SGP_ASPTM_V_01 Status Mandatory Pre-condition Successfully established SCTP association between the SGP and the ASP ASP marked as ASP-INACTIVE at the SGP Reference 1 sections: 4.3.1 4.3.4.3
27、Purpose Ensure that the IUT, upon reception of an ASP Active message, responds with an ASP Active Ack Comments TPId SUA_SGP_ASPTM_V_02 Status Mandatory Pre-condition Successfully established SCTP association between the SGP and the ASP One ASP configured in the AS ASP marked as ASP-INACTIVE at the S
28、GP Reference 1 sections: 4.3.1 4.3.2 4.3.4.3 Purpose Ensure that the IUT, upon reception of an ASP Active message, responds with an ASP Active Ack and sends a NOTIFY message indicating the AS state change to AS-ACTIVE Comments TPId SUA_SGP_ASPTM_V_03 Status Mandatory Pre-condition Successfully estab
29、lished SCTP association between the SGP and the ASP ASP marked as ASP-INACTIVE at the SGP Reference 1 section: 4.3.4.3 Purpose Ensure that the IUT, upon reception of an ASP Active message that contains a Routing Context, responds with an ASP Active Ack that contains the Routing Context Comments ETSI
30、 ETSI TS 101 592 V1.1.1 (2012-10)12TPId SUA_SGP_ASPTM_V_04 Status Mandatory Pre-condition Successfully established SCTP association between the SGP and the ASP ASP marked as ASP-ACTIVE at the SGP Reference 1 sections: 4.3.1 4.3.4.4 Purpose Ensure that the IUT, upon reception of an ASP Inactive messa
31、ge, responds with an ASP Inactive Ack Comments TPId SUA_SGP_ASPTM_V_05 Status Mandatory Pre-condition Successfully established SCTP association between the SGP and the ASP ASP marked as ASP-ACTIVE at the SGP One ASP in the AS Reference 1 sections: 4.3.1 4.3.2 4.3.4.4 Status Mandatory Purpose Ensure
32、that the IUT, upon reception of an ASP Inactive message, responds with an ASP Inactive Ack and sends a NOTIFY message indicating the AS state change to AS-PENDING Comments TPId SUA_SGP_ASPTM_V_06 Status Mandatory Pre-condition Successfully established SCTP association between the SGP and the ASP ASP
33、 marked as ASP-ACTIVE at the SGP Reference 1 section: 4.3.4.6 Purpose Ensure that the IUT, upon reception of a Heartbeat message, responds with a Heartbeat Ack Comments TPId SUA_SGP_ASPTM_V_07 Status Mandatory Pre-condition Successfully established SCTP association between the SGP and the ASP ASP ma
34、rked as ASP-ACTIVE at the SGP Reference 1 section: 4.3.4.6 Purpose Ensure that the IUT, upon reception of a Heartbeat message that contains an opaque Heartbeat Data parameter, responds with a Heartbeat Ack that echoes back unchanged the opaque Heartbeat Data parameter Comments TPId SUA_SGP_ASPTM_V_0
35、8 Status Optional Pre-condition Successfully established SCTP association between the SGP and the ASP 2 ASP in the AS Both ASPs marked as ASP ACTIVE at the SGP AS configure in Broadcast mode Reference 1 section: 4.3.4.4 Purpose Ensure that the IUT, upon reception of an ASP Inactive message from ASP1
36、 responds with an ASP Inactive Ack and sends a NOTIFY message with status “Insufficient ASP Resources Active in AS“ to all Inactive ASPs Comments The use of “Broadcast“ mode is not recommended by ETSI ETSI ETSI TS 101 592 V1.1.1 (2012-10)13TPId SUA_SGP_ASPTM_V_09 Status Optional Pre-condition Succes
37、sfully established SCTP association between the SGP and the ASP 2 ASP in the AS ASP1 marked as ASP INACTIVE at the SGP ASP2 marked as ASP ACTIVE at the SGP ASP1 and ASP2 configured in “Override“ mode Reference 1 section: 4.3.4.3 Purpose Ensure that the IUT, upon reception of an ASP Active message fr
38、om ASP1 that indicates a Traffic Handling Type of “Override“, responds with an ASP Active Ack and sends a NOTIFY message with status “Alternate ASP Active“ to ASP 2 Comments TPId SUA_SGP_ASPTM_V_10 Status Optional Pre-condition Successfully established SCTP association between the SGP and the ASP 2
39、ASP in the AS ASP1 marked as ASP INACTIVE at the SGP ASP2 marked as ASP ACTIVE at the SGP Reference 1 section: 4.3.4.3 Purpose Ensure that the IUT, upon reception of an ASP Active message from ASP1 that indicates a Traffic Handling Type of “Override“, responds with an ASP Active Ack and sends a NOTI
40、FY message with status “Alternate ASP Active“ to ASP 2 that includes the ASP ID of the Alternate ASP Comments 5.2.2.2 Invalid behaviour TPId SUA_SGP_ASPTM_I_01 Status Optional Pre-condition Successfully established SCTP association between the SGP and the ASP ASP marked as ASP-INACTIVE at the SGP Re
41、ference 1 sections: 3.1.1 3.8.14.3.1 4.3.4.3 Purpose Ensure that the IUT, upon reception of an ASP Active message that contains an invalid SUA version (e.g. 2), responds with an ERROR message with reason 0x01 (“Invalid Version“) Comments TPId SUA_SGP_ASPTM_I_02 Status Optional Pre-condition Successf
42、ully established SCTP association between the SGP and the ASP ASP marked as ASP-INACTIVE at the SGP One ASP in the AS Reference 1 sections: 3.7.1 3.8.1ETSI Profile Broadcast mode not supported Purpose Ensure that the IUT, upon reception of an ASP Active, that indicates a Traffic Mode Type of “Broadc
43、ast“, responds with an ERROR message with reason 0x05 “Unsupported Traffic Mode Type“ Comments ETSI ETSI TS 101 592 V1.1.1 (2012-10)14TPId SUA_SGP_ASPTM_I_03 Status Mandatory Pre-condition Successfully established SCTP association between the SGP and the ASP ASP marked as ASP-INACTIVE at the SGP One
44、 ASP in the AS Reference 1 sections: 3.7.1 3.8.1 Purpose Ensure that the IUT, upon reception of an ASP Active, that indicates a Traffic Mode Type of “4“ (i.e. not valid), responds with an ERROR message with reason 0x05 “Unsupported Traffic Mode Type“ Comments TPId SUA_SGP_ASPTM_I_04 Status Mandatory
45、 Pre-condition Successfully established SCTP association between the SGP and the ASP ASP marked as ASP-INACTIVE at the SGP Reference 1 section: 4.3.4.3 Purpose Ensure that the IUT, upon reception of an ASP Active message that contains a Routing Context which has not been provisioned at the SGP, resp
46、onds with ERROR message with reason “Invalid Routing Context“ Comments TPId SUA_SGP_ASPTM_I_05 Status Mandatory Pre-condition Successfully established SCTP association between the SGP and the ASP ASP marked as ASP-INACTIVE at the SGP Reference 1 sections: 3.1.2 3.8.1 Purpose Ensure that the IUT, upo
47、n reception of a message which class is 4 (ASPTM) and type is different from 0 (Reserved) 1 (ASP Active), 2 (ASP Inactive), 3 (ASP Active Ack), and 4 (ASP Inactive Ack) responds with an ERROR message with reason 0x04 “Unsupported Message Type“ Comments TPId SUA_SGP_ASPTM_I_06 Status Mandatory Pre-co
48、ndition Successfully established SCTP association between the SGP and the ASP ASP marked as ASP-ACTIVE at the SGP Reference 1 sections: 3.1.2 3.8.1 Purpose Ensure that the IUT, upon reception of a message which class is 4 (ASPTM) and type is different from 0 (Reserved) 1(ASP Active), 2 (ASP Inactive
49、), 3 (ASP Active Ack), and 4 (ASP Inactive Ack) responds with an ERROR message with reason 0x04 “Unsupported Message Type“ Comments TPId SUA_SGP_ASPTM_I_07 Status Optional Pre-condition Successfully established SCTP association between the SGP and the ASP 2 ASPs in AS ASPs marked as ASP-ACTIVE at the SGP Reference 1 sections: 3.8.2 4.3.3 Purpose Ensure that the IUT that has lost SCTP connectivity with ASP1 sends a NOTIFY message with status “ASP Failure“ to ASP2 Comments ETSI ETSI TS 101 592 V1.1.1 (2012-10)15TPId SUA_SGP_ASPTM_