Commit 6dc5e9f4 authored by Bostjan Pintar's avatar Bostjan Pintar
Browse files

Cx tests checked/updated

parent 2aa3b761
Loading
Loading
Loading
Loading
+165 −14
Original line number Diff line number Diff line
/*
Copyright (c) ETSI 2023.
Copyright (c) ETSI 2025.

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
@@ -12,7 +12,7 @@ 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.
*
*  @author   TTF T010
*  @author   TTF T044
*/


@@ -21,17 +21,75 @@ Package TP_CX {
    import all from Sip_Common;
    import all from Diameter_Common;   
    
    Test Purpose {
        TP Id TP_CX_HSS_5G_ECO_MAA_01
        //TP_CX_HSS_MAA_01 from TS 103 653-1 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 MA-Answer."
        
        Reference 
            "TS 129 228 [4], clause 6.3",
            "TS 129 229 [5], clauses 6.1.7 and 6.1.8"
            
        Config Id CF_VxNR_INT_ES
        
        PICS Selection NONE
        
        Initial conditions with {
            the UE_A entity isNotRegisteredTo the IMS_A
        }
        
        Expected behaviour
            ensure that {
                when {
                    the IMS_S_CSCF_A entity sends a MAR containing
                        Session_ID_AVP
                        Vendor_Specific_Application_Id_AVP
                        Auth_Session_State_AVP
                            indicating value NO_STATE_MAINTAINED
                        Origin_Host_AVP
                        Origin_Realm_AVP 
                        Destination_Realm_AVP
                        Public_Identity_AVP
                        User_Name_AVP
                        Server_Name_AVP
                        SIP_Number_Auth_Items_AVP
                        SIP_Auth_Data_Item_AVP containing
                            SIP_Authentication_Scheme_AVP
                        ;
                    ;
                    to the IMS_HSS_A entity
                }
                then {
                    the IMS_HSS_A entity sends the MAA containing
                        Session_ID_AVP
                        Vendor_Specific_Application_Id_AVP
                        Auth_Session_State_AVP
                        Origin_Host_AVP
                        Origin_Realm_AVP
                        not Experimental_Result_AVP
                        Result_Code_AVP
                            indicating value DIAMETER_SUCCESS
                        User_Name_AVP
                        SIP_Number_Auth_Items_AVP
                        SIP_Auth_Data_Item_AVP containing
                            SIP_Authentication_Scheme_AVP
                        ;
                    ;
                    to the IMS_S_CSCF_A entity
                }
            }  
    }  // End of TP TP_CX_HSS_5G_ECO_MAA_01  
     
    Test Purpose {
        TP Id TP_CX_HSS_ECO_UAA_01
        //TP_CX_HSS_UAA_01 from TS 103 653-1 V2.1.1 without emergency registration
        TP Id TP_CX_HSS_5G_ECO_UAA_01
        //TP_CX_HSS_ECO_UAA_01 from TS 103 795-1 V1.1.1 (LTE)
        Test objective  "Verify that the IUT successfully processes all mandatory AVPs in a UA-Request received due to first UE emergency registration and sends UA-Answer."
        
        Reference 
            "TS 129 228 [4], clause 6.1.1 and tables 6.1.1.1 and 6.1.1.2",
            "TS 129 229 [5], clauses 6.1.1 and 6.1.2"
        
        Config Id CF_VoLTE_INT_ES
        Config Id CF_VoNR_INT_ES
        
        PICS Selection NONE
        
@@ -73,17 +131,17 @@ Package TP_CX {
                    to the IMS_I_CSCF_A entity
                }
            }  
    }  // End of TP TP_CX_HSS_ECO_UAA_01
    }  // End of TP TP_CX_HSS_5G_ECO_UAA_01
     
    Test Purpose {
        TP Id TP_CX_HSS_ECO_UAA_02
        //TP_CX_HSS_UAA_02 from TS 103 653-1 V2.1.1 without emergency registration
        TP Id TP_CX_HSS_5G_ECO_UAA_02
        //TP_CX_HSS_ECO_UAA_02 from TS 103 795-1 V1.1.1 (LTE)
        Test objective  "Verify that the IUT successfully processes all mandatory AVPs in a UA-Request received due to protected UE emergency registration and sends UA-Answer."
        
        Reference 
            "TS 129 228 [4], clause 6.1.1.1"
        
        Config Id CF_VoLTE_INT_ES
        Config Id CF_VoNR_INT_ES
        
        PICS Selection NONE
        
@@ -111,18 +169,111 @@ Package TP_CX {
                    to the IMS_I_CSCF_A entity
                }
            }  
    }  // End of TP TP_CX_HSS_ECO_UAA_02
    }  // End of TP TP_CX_HSS_5G_ECO_UAA_02
     
    Test Purpose {
        TP Id TP_CX_HSS_ECO_SAA_01
        TP Id TP_CX_HSS_5G_ECO_UAA_03
        //TP_CX_HSS_UAA_03 from TS 103 653-1 V2.1.1
        Test objective  "Verify that the IUT checks that the Private User Identity and the Public User Identity exists in the HSS and if not then IUT sets the appropriate experimental result code in the UA-Answer."
        
        Reference 
            "TS 129 228 [4], clause 6.1.1.1"
        
        Config Id CF_VxNR_INT_ES
        
        PICS Selection NONE
        
        Initial conditions with {
            the UE_A entity isNotRegisteredTo the IMS_A
        }
        
        Expected behaviour
            ensure that {
                when {
                    the IMS_I_CSCF_A entity sends a UAR containing
                    User_Name_AVP
                        indicating value "an unknown private user identity"
                    Public_Identity_AVP
                    ;
                    to the IMS_HSS_A entity
                }
                then {
                    the IMS_HSS_A entity sends the UAA containing
                        not Result_Code_AVP
                        Experimental_Result_AVP
                            Experimental_Result_Code_AVP
                                indicating value DIAMETER_ERROR_USER_UNKNOWN
                        not Server_Name_AVP
                    ;
                    to the IMS_I_CSCF_A entity
                }
            }  
    }  // End of TP TP_CX_HSS_5G_ECO_UAA_03
     
    Test Purpose {
        TP Id TP_CX_HSS_5G_ECO_SAA_01
        //TP_CX_HSS_SAA_01 from TS 103 653-1 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 
            "TS 129 228 [4], clause 6.1.2",
            "TS 129 229 [5], clauses 6.1.3 and 6.1.4"
            
        Config Id CF_VxNR_INT_ES
        
        PICS Selection NONE
        
        Initial conditions with {
            the UE_A entity isNotRegisteredTo the IMS_A
        }
        
        Expected behaviour
            ensure that {
                when {
                    the IMS_S_CSCF_A entity sends a SAR containing
                        Session_ID_AVP
                        Vendor_Specific_Application_Id_AVP
                        Auth_Session_State_AVP
                            indicating value NO_STATE_MAINTAINED,
                        Origin_Host_AVP
                        Origin_Realm_AVP 
                        Public_Identity_AVP
                        not User_Name_AVP
                        Destination_Realm_AVP
                        Server_Name_AVP
                        Server_Assignment_Type_AVP
                            indicating value UNREGISTERED_USER
                        User_Data_Already_Available_AVP 
                    ;
                    to the IMS_HSS_A entity
                }
                then {
                    the IMS_HSS_A entity sends the SAA containing
                        Session_ID_AVP
                        Vendor_Specific_Application_Id_AVP
                        Auth_Session_State_AVP
                        Origin_Host_AVP
                        Origin_Realm_AVP
                        Result_Code_AVP
                            indicating value DIAMETER_SUCCESS
                        User_Data AVP
                        Charging_Information_AVP
                    ;
                    to the IMS_S_CSCF_A entity
                }
            }  
    }  // End of TP TP_CX_HSS_5G_ECO_SAA_01
     
    Test Purpose {
        TP Id TP_CX_HSS_5G_ECO_SAA_03
        //TP_CX_HSS_ECO_SAA_01 from TS 103 795-1 V1.1.1 (LTE)
        Test objective  "Verify that the IUT successfully processes all mandatory AVPs in a SA-Request received due to S-CSCF registration notification procedure when credentials not matches and sends SA-Answer."
        
        Reference 
            "TS 129 228 [4], clause 6.1.2",
            "TS 129 229 [5], clauses 6.1.3 and 6.1.4"
            
        Config Id CF_VoLTE_INT_ES
        Config Id CF_VoNR_INT_ES
        
        PICS Selection NONE
        
@@ -163,7 +314,7 @@ Package TP_CX {
                    to the IMS_S_CSCF_A entity
                }
            }  
    }  // End of TP TP_CX_HSS_ECO_SAA_01
    }  // End of TP TP_CX_HSS_5G_ECO_SAA_03
    
} // End of Package TP_CX