Commit d70ecf3e authored by Bostjan Pintar's avatar Bostjan Pintar
Browse files

Registration TP for mw and cx interfaces

parent 1d6d8853
Loading
Loading
Loading
Loading
+92 −2
Original line number Diff line number Diff line
@@ -20,6 +20,96 @@ Package TP_CX {
    import all from Diameter_Common;    
    
     
    Test Purpose {
        TP Id TP_CX_HSS_ECO_UAA_01
        //TP_CX_HSS_UAA_01 from TS 103 653-2 V2.1.1 without emergency registration
        Test objective  "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_VxLTE_INT
        
        PICS Selection NONE
        
        Initial conditions with {
            the UE_A entity not isEmergencyRegisteredTo the IMS_A
        }
        
        Expected behaviour
            ensure that {
                when {
                    the IMS_I_CSCF_A entity sends a UAR 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
                        Visited_Network_Identifier_AVP
                        User_Authorization_Type_AVP 
                            indicating value REGISTRATION,
                        User_Name_AVP
                        Destination_Host_AVP
                        Destination_Realm_AVP
                        UAR_Flags_AVP indicating value '1'; //IMS emergency registration
                    to the IMS_HSS_A entity
                }
                then {
                    the IMS_HSS_A entity sends the UAA containing
                        Session_ID_AVP,
                        Vendor_Specific_Application_Id_AVP,
                        Auth_Session_State_AVP,
                        Origin_Host_AVP,
                        Origin_Realm_AVP,
                        not Result_Code_AVP
                        Experimental_Result_AVP containing
                            Experimental_Result_Code_AVP 
                                indicating value DIAMETER_FIRST_REGISTRATION;;
                    to the IMS_I_CSCF_A entity
                }
            }  
    }  // End of TP TP_CX_HSS_ECO_UAA_01
     
    Test Purpose {
        TP Id TP_CX_HSS_ECO_UAA_02
        //TP_CX_HSS_UAA_02 from TS 103 653-2 V2.1.1 without emergency registration
        Test objective  "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_VxLTE_INT
        
        PICS Selection NONE
        
        Initial conditions with {
            the UE_A entity not isEmergencyRegisteredTo the IMS_A
        }
        
        Expected behaviour
            ensure that {
                when {
                    the IMS_I_CSCF_A entity sends a UAR containing
                        Public_Identity_AVP
                        User_Name_AVP
                        UAR_Flags_AVP indicating value '1'; //IMS emergency registration
                    to the IMS_HSS_A entity
                }
                then {
                    the IMS_HSS_A entity sends the UAA containing
                        not Result_Code_AVP,
                        Experimental_Result_AVP containing
                            Experimental_Result_Code_AVP
                                indicating value DIAMETER_SUBSEQUENT_REGISTRATION;,
                        Server_Name_AVP,
                        not Server_Capabilities_AVP;
                    to the IMS_I_CSCF_A entity
                }
            }  
    }  // End of TP TP_CX_HSS_ECO_UAA_02
    
} // End of Package TP_CX
+135 −12
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@ Package TP_GM {
        Test objective "Verify that the P-CSCF successfully processes initial emergency registration (Successful)."
        
        Reference 
            "ETSI TS 124 229 [1], Clauses 5.1.6.2 and 5.2.10.1"
            "ETSI TS 124 229 [1], Clauses 5.1.6.2, 5.2.10.1, 5.1.1.1, 6.1.1 and 6.1.2"
        
        Config Id CF_VxLTE_INT
        
@@ -44,17 +44,33 @@ Package TP_GM {
                        To indicating value PX_UE_A_SIP_URI,
                        CallId indicating value PX_UE_A_CALLID,
                        Via indicating value PX_UE_A_VIA,
                        Contact indicating value "sos"
                        ;
                        Authorization containing
                            Authentication_Schema indicating value PX_TO_BE_DEFINED,
                            Authentication_URI indicating value PX_TO_BE_DEFINED,
                            Username indicating value PX_UE_A_USERNAME,
                            Realm indicating value PX_UE_A_REALM,
                            Algorithm indicating value PX_UE_A_AUTH_ALG,
                            Nonce indicating value "",
                            not term_ioi,
                        not SecurityClient,
                        Contact indicating value "sos";;
                    to the UE_A entity
                }
                then {
                    the IMS_P_CSCF_A entity sends a 200_Ok containing
                    the IMS_P_CSCF_A entity sends a 401_Unauthorized containing
                        From indicating value PX_UE_A_SIP_URI,
                        To indicating value PX_UE_A_SIP_URI,
                        CallId indicating value PX_UE_A_CALLID,
                        Via indicating value PX_UE_A_VIA,
                        P_Associated_URI indicating value ListOfImplicitelyRegisteredPublicUserIdentities;
                        Path,
                        Warning,
                        PAccessNetworkInfo,
                        WwwAuthenticate containing
                            Digest,
                            Realm indicating value PX_UE_A_REALM,
                            Algorithm indicating value PX_UE_A_AUTH_ALG,
                            Nonce indicating value "not empty",
                            qop indicating value "auth";;
                    from the UE_A entity
                }
            }
@@ -64,10 +80,69 @@ Package TP_GM {
        
        TP Id TP_GM_PCSCF_ECO_REGISTER_02
        
        Test objective "Verify that the emergency registration is rejected with 420 (Bad Extension) and emergency call shall continue without registration (Unsuccessful registration)."
        Test objective "Verify that the P-CSCF successfully processes a full emergency registration (Successful)."
        
        Reference 
            "ETSI TS 124 229 [1], Clauses 5.1.6.2"
            "ETSI TS 124 229 [1], Clauses 5.1.6.2, 5.2.10.1, 5.1.1.1, 6.1.1 and 6.1.3"
        
        Config Id CF_VxLTE_INT
        
        PICS Selection NONE
        
        Initial conditions with {
            the UE_A entity isEmergencyAttachedTo the EPC_A and
            the UE_A entity not isRegisteredTo the IMS_A and
            the UE_A entity hasAchievedFirstRegistration
        }
        
        Expected behaviour
            ensure that {
                when {
                    the IMS_P_CSCF_A entity receives a REGISTER containing
                        From indicating value PX_UE_A_SIP_URI,
                        To indicating value PX_UE_A_SIP_URI,
                        CallId indicating value PX_UE_A_CALLID,
                        Via indicating value PX_UE_A_VIA,
                        Authorization containing
                            Authentication_Schema indicating value PX_TO_BE_DEFINED,
                            Authentication_URI indicating value PX_TO_BE_DEFINED,
                            Username indicating value PX_UE_A_USERNAME,
                            Realm indicating value PX_UE_A_REALM,
                            Algorithm indicating value PX_UE_A_AUTH_ALG,
                            Nonce indicating value "not empty",
                            qop indicating value "auth",
                        not SecurityClient,
                        Contact indicating value "sos";;
                    from the UE_A entity
                }
                then {
                    the IMS_P_CSCF_A entity sends an 200_Ok containing
                        From indicating value PX_UE_A_SIP_URI,
                        To indicating value PX_UE_A_SIP_URI,
                        CallId indicating value PX_UE_A_CALLID,
                        Via indicating value PX_UE_A_VIA,
                        AuthenticationInfo,
                        PAccessNetworkInfo,
                        PAssociatedURI indicating value PX_UE_A_SIP_URI, //ListOfImplicitelyRegisteredPublicUserIdentities;
                        PChargingVector,
                           orig_ioi_parameter 
                               indicating value "Operator Identifier Of ImsA"
                        Path,
                        ServiceRoute;
                    to the UE_A entity
                }
            }
            
    } // End of TP_GM_PCSCF_ECO_REGISTER_02

    Test Purpose {
        
        TP Id TP_GM_PCSCF_ECO_REGISTER_03
        
        Test objective "Verify that the emergency registration is rejected with 420 (Bad Extension) in case the UE does not support GPRS-IMS-Bundled authentication while the P-CSCF supports it. (Unsuccessful emergency registration)."
        
        Reference 
            "ETSI TS 124 229 [1], Clauses 5.1.6.2 and 5.2.10.5"
        
        Config Id CF_VxLTE_INT
        
@@ -86,8 +161,8 @@ Package TP_GM {
                        To indicating value PX_UE_A_SIP_URI,
                        CallId indicating value PX_UE_A_CALLID,
                        Via indicating value PX_UE_A_VIA,
                        Contact indicating value "sos"
                        ;
                        Authorization not indicating value GPRS_IMS_Bundled_authentication,
                        Contact indicating value "sos";
                    to the UE_A entity
                }
                then {
@@ -95,11 +170,59 @@ Package TP_GM {
                        From indicating value PX_UE_A_SIP_URI,
                        To indicating value PX_UE_A_SIP_URI,
                        CallId indicating value PX_UE_A_CALLID,
                        Via indicating value PX_UE_A_VIA;
                        Via indicating value PX_UE_A_VIA,
                        Unsupported indicating value sec_agree,
                        MessageBody containing
                           XML containing
                               ims_3gpp_element indicating value anonymous_emergencycall;;;
                    from the UE_A entity
                }
            }
    } // End of TP_GM_PCSCF_ECO_REGISTER_03

    Test Purpose {
        
        TP Id TP_GM_PCSCF_ECO_REGISTER_04
        
        Test objective "Verify that the emergency registration is rejected with 403 (Forbidden) in case the UE and P-CSCF does not support GPRS-IMS-Bundled authentication. (Unsuccessful emergency registration)."
        
        Reference 
            "ETSI TS 124 229 [1], Clauses 5.1.6.2 and 5.2.10.5"
        
        Config Id CF_VxLTE_INT
        
        PICS Selection NONE
        
        Initial conditions with {
            the UE_A entity isEmergencyAttachedTo the EPC_A and
            the UE_A entity not isRegisteredTo the IMS_A
        }
        
        Expected behaviour
            ensure that {
                when {
                    the IMS_P_CSCF_A entity receives a REGISTER containing
                        From indicating value PX_UE_A_SIP_URI,
                        To indicating value PX_UE_A_SIP_URI,
                        CallId indicating value PX_UE_A_CALLID,
                        Via indicating value PX_UE_A_VIA,
                        Authorization not indicating value GPRS_IMS_Bundled_authentication,
                        Contact indicating value "sos";
                    to the UE_A entity
                }
                then {
                	the IMS_P_CSCF_A entity sends a 403_Forbidden containing
                        From indicating value PX_UE_A_SIP_URI,
                        To indicating value PX_UE_A_SIP_URI,
                        CallId indicating value PX_UE_A_CALLID,
                        Via indicating value PX_UE_A_VIA,
                        MessageBody containing
                           XML containing
                               ims_3gpp_element indicating value anonymous_emergencycall;;;
                    from the UE_A entity
                }
            }
    } // End of TP_GM_PCSCF_ECO_REGISTER_02
    } // End of TP_GM_PCSCF_ECO_REGISTER_04

    Test Purpose {
        
+108 −0
Original line number Diff line number Diff line
@@ -20,5 +20,113 @@ Package TP_MW_IS {
    

    
    Test Purpose {
        
        TP Id TP_MW_ICSCF_ECO_REGISTER_01
        
        Test objective  "Verify that the I-CSCF successfully processes a first registration (Successful)."
        
        Reference 
            "ETSI TS 124 229 [1], Clauses 5.4.1.1 and 6.3"
        
        Config Id CF_VxLTE_INT
        
        PICS Selection NONE
        
        Initial conditions with {
            the UE_A entity isEmergencyAttachedTo the EPC_A and
            the UE_A entity not isRegisteredTo the IMS_A
        }
        
        Expected behaviour
            ensure that {
                when {
                    the IMS_I_CSCF_A entity receives a REGISTER containing
                        From indicating value PX_UE_A_SIP_URI,
                        To indicating value PX_UE_A_SIP_URI,
                        CallId indicating value PX_UE_A_CALLID,
                        Via indicating value PX_UE_A_VIA,
                        Contact indicating value "sos";
                    from the IMS_P_CSCF_A entity
                }
                then {
                    the IMS_I_CSCF_A entity sends an 401_Unauthorized containing
                        From indicating value PX_UE_A_SIP_URI,
                        To indicating value PX_UE_A_SIP_URI,
                        CallId indicating value PX_UE_A_CALLID,
                        Via indicating value PX_UE_A_VIA,
                        Path,
                        Warning,
                        PAccessNetworkInfo,
                        WwwAuthenticate containing
                            Digest,
                            Realm indicating value PX_UE_A_REALM,
                            Algorithm indicating value PX_UE_A_AUTH_ALG,
                            Nonce indicating value "not empty",
                            qop indicating value "auth";;
                    to the IMS_S_CSCF_A entity
                }
            }
    } // End of TP_MW_ICSCF_ECO_REGISTER_01
    
    Test Purpose {
        
        TP Id TP_MW_ICSCF_ECO_REGISTER_02
        
        Test objective  "Verify that the I-CSCF successfully processes a full registration (Successful)."
        
        Reference 
            "ETSI TS 124 229 [1], Clauses 5.4.1.1 and 6.3"
        
        Config Id CF_VxLTE_INT
        
        PICS Selection NONE
        
        Initial conditions with {
            the UE_A entity isEmergencyAttachedTo the EPC_A and
            the UE_A entity not isRegisteredTo the IMS_A and
            the UE_A entity hasAchievedFirstREGISTER
        }
        
        Expected behaviour
            ensure that {
                when {
                    the IMS_I_CSCF_A entity receives a REGISTER containing
                        From indicating value PX_UE_A_SIP_URI,
                        To indicating value PX_UE_A_SIP_URI,
                        CallId indicating value PX_UE_A_CALLID,
                        Via indicating value PX_UE_A_VIA,
                        Authorization containing
                            Authentication_Scheme indicating value PX_TO_BE_DEFINED,
                            Authentication_URI indicating value PX_TO_BE_DEFINED,
                            Username indicating value PX_UE_A_USERNAME,
                            Realm indicating value PX_UE_A_REALM,
                            Algorithm indicating value PX_UE_A_AUTH_ALG,
                            Nonce indicating value "not empty",
                            qop indicating value "auth",
                        Contact indicating value "sos";;
                    from the IMS_P_CSCF_A entity
                }
                then {
                    the IMS_I_CSCF_A entity sends an 200_Ok containing
                        From indicating value PX_UE_A_SIP_URI,
                        To indicating value PX_UE_A_SIP_URI,
                        CallId indicating value PX_UE_A_CALLID,
                        Via indicating value PX_UE_A_VIA,
                        AuthenticationInfo,
                        PAccessNetworkInfo,
                        PAssociatedURI indicating value PX_UE_A_SIP_URI,
                        PChargingVector,
                           orig_ioi_parameter 
                               indicating value "Operator Identifier Of ImsA" ,
                           term_ioi_parameter 
                               indicating value "Operator Identifier Of ImsB"
                        Path,
                        ServiceRoute;
                    to the IMS_S_CSCF_A entity
                }
            }
    } // End of TP_MW_ICSCF_ECO_REGISTER_02
    
} // End of Package TP_MW_IS
+204 −1

File changed.

Preview size limit exceeded, changes collapsed.