Commit 8936ea7f authored by Bostjan Pintar's avatar Bostjan Pintar
Browse files

Update of Cx TPs and First Gx and Rx TPs added.

parent 189b1ed5
Loading
Loading
Loading
Loading
+6 −9
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@ Package TP_CX {
     
    Test Purpose {
        TP Id TP_CX_HSS_UAA_01
        
        //TP_CX_HSS_UA_01 from TS 103 289-2 V2.1.1
        Test objective  "IUT successfully processes all mandatory AVPs in a UA-Request received due to first UE initial registration and sends UA-Answer."
        
        Reference 
@@ -77,7 +77,7 @@ Package TP_CX {
     
    Test Purpose {
        TP Id TP_CX_HSS_UAA_02
        
        //TP_CX_HSS_UA_02 from TS 103 289-2 V2.1.1
        Test objective  "IUT successfully processes all mandatory AVPs in a UA-Request received due to protected UE initial registration and sends UA-Answer."
        
        Reference 
@@ -117,7 +117,7 @@ Package TP_CX {
     
    Test Purpose {
        TP Id TP_CX_HSS_MAA_01
        
        //TP_CX_HSS_MA_01 from TS 103 289-2 V2.1.1
        Test objective  "IUT successfully processes all mandatory AVPs in a MA-Request received due to S-CSCF registration notification procedure and sends SA-Answer."
        
        Reference 
@@ -135,7 +135,7 @@ Package TP_CX {
        Expected behaviour
            ensure that {
                when {
                    the IMS_S_CSCF_A entity sends a SAR containing
                    the IMS_S_CSCF_A entity sends a MAR containing
                        Session_ID_AVP
                        Vendor_Specific_Application_Id_AVP containing
                            Auth_Session_State_AVP
@@ -150,14 +150,12 @@ Package TP_CX {
                        SIP_Number_Auth_Items_AVP
                        SIP_Auth_Data_Item_AVP containing
                            SIP_Authentication_Scheme_AVP
                                indicating value "SIP Digest"
                            SIP_Authentication_Context_AVP
                        ;
                    ;
                    to the IMS_HSS_A entity
                }
                then {
                    the IMS_HSS_A entity sends the SAA containing
                    the IMS_HSS_A entity sends the MAA containing
                        Session_ID_AVP
                        Vendor_Specific_Application_Id_AVP
                        Auth_Session_State_AVP
@@ -170,7 +168,6 @@ Package TP_CX {
                        SIP_Number_Auth_Items_AVP
                        SIP_Auth_Data_Item_AVP containing
                            SIP_Authentication_Scheme_AVP
                                indicating value "SIP Digest"
                        ;
                    ;
                    to the IMS_S_CSCF_A entity
@@ -180,7 +177,7 @@ Package TP_CX {
     
    Test Purpose {
        TP Id TP_CX_HSS_SAA_01
        
        //TP_CX_HSS_SA_01 from TS 103 289-2 V2.1.1
        Test objective  "IUT successfully processes all mandatory AVPs in a SA-Request received due to S-CSCF registration notification procedure and sends SA-Answer."
        
        Reference 
+68 −0
Original line number Diff line number Diff line
/*
Copyright (c) ETSI 2019.

This software is subject to copyrights owned by ETSI. Non-exclusive permission
is hereby granted, free of charge, to copy, reproduce and amend this file
under the following conditions: It is provided "as is", without warranty of any
kind, expressed or implied.

ETSI shall never be liable for any claim, damages, or other liability arising
from its use or inability of use.This permission does not apply to any documentation
associated with this file for which ETSI keeps all rights reserved. The present
copyright notice shall be included in all copies of whole or part of this
file and shall not imply any sub-license right.
*/


Package TP_GX {
    
    import all from Sip_Common;
     
    Test Purpose {
        TP Id TP_GX_PGW_RAA_01
        //TP_EPC_6013_01 and TP_EPC_6014_01 from TS 103 029 V5.1.1
        Test objective  "IUT successfully processes all mandatory AVPs in an RA-Request received due provision of PCC rules and sends RA-Answer."
        
        Reference 
            "TS 129 212 (V15.3.0) [9], clause 4.5.2"
        
        Config Id CFG_GX_PGW_01
        
        PICS Selection PICS_1
        
        Initial conditions with {
            the UE_A entity isNotRegisteredTo the IMS_A
        }
        
        Expected behaviour
            ensure that {
                when {
                    the EPC_PCRF_A entity sends an RAR containing
                        Charging_Rule_Install_AVP containing
                            Charging_Rule_Definition_AVP containing
                                Charging_Rule_Name_AVP containing
                                    Flows_AVP containing
                                        Media_Component_Number_AVP
                                            indicating value 0
                                        ,
                                        Flow_Status_AVP
                                            indicating value ENABLED
                                    ;
                                ;
                            ;
                        ;
                    ;
                    to the EPC_PGW_A entity
                }
                then {
                    the EPC_PGW_A entity sends the RAA containing
                        Result_Code_AVP
                            indicating value DIAMETER_SUCCESS
                        ;
                    to the EPC_PCRF_A entity
                }
            }  
    }  // End of TP TP_GX_PGW_RAA_01
    
} // End of Package TP_GX
+111 −0
Original line number Diff line number Diff line
/*
Copyright (c) ETSI 2019.

This software is subject to copyrights owned by ETSI. Non-exclusive permission
is hereby granted, free of charge, to copy, reproduce and amend this file
under the following conditions: It is provided "as is", without warranty of any
kind, expressed or implied.

ETSI shall never be liable for any claim, damages, or other liability arising
from its use or inability of use.This permission does not apply to any documentation
associated with this file for which ETSI keeps all rights reserved. The present
copyright notice shall be included in all copies of whole or part of this
file and shall not imply any sub-license right.
*/


Package TP_RX {
    
    import all from Sip_Common;
     
    Test Purpose {
        TP Id TP_RX_PCRF_AAA_01
        //TP_EPC_7001_05 and TP_EPC_7001_06 from TS 103 029 V5.1.1
        Test objective  "IUT successfully processes all mandatory AVPs in an AA-Request received due to provisioning of AF Signalling flow and sends AA-Answer."
        
        Reference 
            "TS 129 214 (V15.6.0) [8], clause A.8, 4.4.5a and Annex B"
        
        Config Id CFG_RX_PCRF_01
        
        PICS Selection PICS_1
        
        Initial conditions with {
            the UE_A entity isNotRegisteredTo the IMS_A
        }
        
        Expected behaviour
            ensure that {
                when {
                    the IMS_P_CSCF_A entity sends an AAR containing
                        Framed_IPv4_Address_AVP 
                            indicating value "IPv4_Address of UE_A",
                        "or" Framed_IPv6_Address_AVP 
                            indicating value "IPv6_Address of UE_A",
                        Specific_Action_AVP
                            indicating value INDICATION_OF_LOSS_OF_BEARER,
                        "one or more" Media_Component_Description_AVP containing 
                            Media_Component_Number_AVP
                                indicating value 0,
                            Media_Sub_Component_AVP containing
                                Flow_Description_AVP 
                                    indicating value 
                                    "permit_in_ip from (UE_A-IP_address and UE_A_port_number) to (P-CSCF-IP_address and P-CSCF_port_number) or
                                     permit_in_udp from (UE_A-IP_address and UE_A_port_number) to (P-CSCF-IP_address and P-CSCF_port_number) or
                                     permit_in_tcp from (UE_A-IP_address and UE_A_port_number) to (P-CSCF-IP_address and  P-CSCF_port_number))",
                                Flow_Description_AVP
                                    indicating value
                                    "permit_out_ip from (P-CSCF-IP_address P-CSCF_port_number) to UE_A-IP_address or
                                     permit_out_udp from (P-CSCF-IP_address P-CSCF_port_number) to UE_A-IP_address or
                                     permit_out_tcp from (P-CSCF-IP_address P-CSCF_port_number) to UE_A-IP_address)",
                                Flow_Usage_AVP
                                    indicating value AF_SIGNALING,
                                Flow_Status_AVP
                                    indicating value ENABLED,
                                AF_Signalling_Protocol_AVP
                                    indicating value SIP
                            ;
                        ;
                    ;
                    to the EPC_PCRF_A entity
                }
                then {
                    the EPC_PCRF_A entity sends the AAA containing
                        Result_Code_AVP
                            indicating value DIAMETER_SUCCESS,
                        Acceptable_Service_Info_AVP containing
                            "one or more" Media_Component_Description_AVP containing
                                Media_Component_Number_AVP
                                    indicating value 0,
                                Media_Sub_Component_AVP containing
                                    Flow_Description_AVP
                                        indicating value 
                                        "permit_in_ip from (UE_A-IP_address and  UE_A_port_number) to (P-CSCF-IP_address and P-CSCF_port_number) or
                                         permit_in_udp from (UE_A-IP_address and UE_A_port_number) to (P-CSCF-IP_address and P-CSCF_port_number) or
                                         permit_in_tcp from (UE_A-IP_address and UE_A_port_number) to (P-CSCF-IP_address and P-CSCF_port_number)",
                                    Flow_Description_AVP
                                        indicating value 
                                        "permit_out_ip from (P-CSCF-IP_address P-CSCF_port_number) to UE_A-IP_address or
                                         permit_out_udp from (P-CSCF-IP_address P-CSCF_port_number) to UE_A-IP_address or
                                         permit_out_tcp from (P-CSCF-IP_address P-CSCF_port_number) to UE_A-IP_address",
                                    Flow_Usage_AVP
                                        indicating value AF_SIGNALING,
                                    Flow_Status_AVP
                                        indicating value ENABLED,
                                    AF_Signalling_Protocol_AVP
                                        indicating value SIP
                                ;
                            ;
                        ;,
                        IP_CAN_AVP
                            indicating value "Current_IP_CAN_Type of UE_A",
                        RAT_Type_AVP
                            indicating value "Current_RAT_Type of UE_A"
                    ;
                    to the IMS_P_CSCF_A entity
                }
            }  
    }  // End of TP TP_GX_PGW_RAA_01
    
} // End of Package TP_RX
+16 −1
Original line number Diff line number Diff line
@@ -92,7 +92,6 @@ Package Sip_Common {
                    connection between IMS_A.g and NW_UE_B.g 
            ;
            
            
            Test Configuration CFG_CX_HSS_01 
                containing 
                    Tester component IMS_S_CSCF_A of type DiameterComponent
@@ -103,6 +102,22 @@ Package Sip_Common {
                    connection between IMS_I_CSCF_A.g and IMS_HSS_A.g
            ;
            
            Test Configuration CFG_GX_PGW_01 
                containing 
                    Tester component EPC_PCRF_A of type DiameterComponent
                    
                    SUT component EPC_PGW_A of type DiameterComponent
                    connection between EPC_PCRF_A.g and EPC_PGW_A.g
            ;
            
            Test Configuration CFG_RX_PCRF_01 
                containing 
                    Tester component IMS_P_CSCF_A of type DiameterComponent
                    
                    SUT component EPC_PCRF_A of type DiameterComponent
                    connection between IMS_P_CSCF_A.g and EPC_PCRF_A.g
            ;
            
            Test Configuration CFG_xxx_02 
                containing 
                    Tester component UE_A of type SipComponent