Commit 189b1ed5 authored by Bostjan Pintar's avatar Bostjan Pintar
Browse files

Two TPs added for Cx interface

parent a01d25d2
Loading
Loading
Loading
Loading
+137 −19
Original line number Diff line number Diff line
@@ -39,19 +39,19 @@ Package TP_CX {
            ensure that {
                when {
                    the IMS_I_CSCF_A entity sends a UAR containing
                        Session_ID_AVP,
                        Vendor_Specific_Application_Id_AVP,
                        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,
                        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,
                        User_Name_AVP
                        Destination_Host_AVP
                        Destination_Realm_AVP
                        UAR_Flags_AVP 
                            indicating value IMS_Emergency_Registration_bit_not_set
                        ;
@@ -59,12 +59,12 @@ Package TP_CX {
                }
                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,
                        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
@@ -95,19 +95,19 @@ Package TP_CX {
            ensure that {
                when {
                    the IMS_I_CSCF_A entity sends a UAR containing
                        Public_Identity_AVP,
                        Public_Identity_AVP
                        User_Name_AVP
                    ;
                    to the IMS_HSS_A entity
                }
                then {
                    the IMS_HSS_A entity sends the UAA containing
                        not Result_Code_AVP,
                        not Result_Code_AVP
                        Experimental_Result_AVP containing
                            Experimental_Result_Code_AVP
                                indicating value DIAMETER_SUBSEQUENT_REGISTRATION
                            ;,
                        Server_Name_AVP,
                        Server_Name_AVP
                        not Server_Capabilities_AVP
                    ;
                    to the IMS_I_CSCF_A entity
@@ -115,5 +115,123 @@ Package TP_CX {
            }  
    }  // End of TP TP_CX_HSS_UAA_02
     
    Test Purpose {
        TP Id TP_CX_HSS_MAA_01
        
        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 
            "TS 129 228 (V15.1.0) [4], clause 6.1.2 and tables 6.1.2.1 and 6.1.2.2",
            "TS 129 229 (V15.0.0) [5], clauses 6.1.3 and 6.1.4"
            
        Config Id CFG_CX_HSS_01
        
        PICS Selection PICS_1
        
        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 containing
                            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
                                indicating value "SIP Digest"
                            SIP_Authentication_Context_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
                        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
                                indicating value "SIP Digest"
                        ;
                    ;
                    to the IMS_S_CSCF_A entity
                }
            }  
    }  // End of TP TP_CX_HSS_MAA_01
     
    Test Purpose {
        TP Id TP_CX_HSS_SAA_01
        
        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 (V15.1.0) [4], clause 6.3 and tables 6.3.1 and 6.3.2 and 6.3.4",
            "TS 129 229 (V15.0.0) [5], clauses 6.1.7 and 6.1.8"
            
        Config Id CFG_CX_HSS_01
        
        PICS Selection PICS_1
        
        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 containing
                            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_SAA_01
    
} // End of Package TP_CX