Commit 323ed0f1 authored by Bostjan Pintar's avatar Bostjan Pintar
Browse files

First Cx TP

parent 291fbe7a
Loading
Loading
Loading
Loading
+77 −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_CX {
	
    import all from Sip_Common;	
	 
    Test Purpose {
	    TP Id TP_CX_UAA_01
	    
        Test objective  "HSS shall successfully processes all mandatory AVPs in a UA-Request received due to an UE initial registration."
               
        Reference 
          "TS 129 228 (V15.1.0) [1], clause 6.1.1 and tables 6.1.1.1 and 6.1.1.2",
          "TS 129 229 (V15.0.0) [2], clauses 6.1.1 and 6.1.2"
        
        Config Id CFG_CX_01
                  
        PICS Selection PICS_1
        
        Initial conditions with {
            the UE_A entity isNotRegisteredTo the IMS_A and
            the NW_UE_B entity isAttachedTo the IMS_A
        }

        Expected behaviour
            ensure that {
                when {
                    the IMS_I_CSCF_A entity sends an 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 IMS_Emergency_Registration_bit_not_set ;
                    to the HSS_A entity
                }
                then {
                    the 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
                            Experimental_Result_Code_AVP indicating value DIAMETER_FIRST_REGISTRATION
                        ;
                    to the IMS_I_CSCF_A entity
                }
            }  
    }  // End of TP TP_CX_UAA_01
    
    
}
	

+11 −5
Original line number Diff line number Diff line
@@ -31,6 +31,9 @@ Package Sip_Common {
            - IMS_A
            - IMS_PCRF_A
            - IMS_xxx_A
            - IMS_I_CSCF_A
            - IMS_S_CSCF_A
            - HSS_A
            - EPC_A
        ;
        events:
@@ -39,6 +42,7 @@ Package Sip_Common {
            - forwards
            // Initial conditions
            - isRegisteredTo
            - isNotRegisteredTo
            - isNotAttachedTo
            - isAttachedTo
        ;
@@ -53,6 +57,7 @@ Package Sip_Common {

    Data {
        type SipMessage;
        type DiameterMessage;
        
    } // End of Data section
           
@@ -75,14 +80,15 @@ Package Sip_Common {
            ;
            
            
            Test Configuration CFG_xxx_01 
            Test Configuration CFG_CX_01 
                containing 
                    Tester component UE_A of type SipComponent
                    Tester component IMS_PCRF_A of type SipComponent
                    Tester component IMS_S_CSCF_A of type SipComponent
                    Tester component IMS_I_CSCF_A of type SipComponent
                    Tester component IMS_HSS_A of type DiameterComponent
                    
                    SUT component IUT of type SipComponent
                    connection between UE_A.g and IMS_PCRF_A.g
                    connection between IMS_PCRF_A.g and IMS_xxx_A.g
                    connection between IMS_S_CSCF_A.g and IMS_HSS_A.g
                    connection between IMS_I_CSCF_A.g and IMS_HSS_A.g
            ;
            
            Test Configuration CFG_xxx_02