Commit 7f503001 authored by Bostjan Pintar's avatar Bostjan Pintar
Browse files

Rx TPs added

parent 48d55eb8
Loading
Loading
Loading
Loading
+381 −0
Original line number Diff line number Diff line
/*
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
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.
*
*  @author   TTF T044
*/


Package TP_RX {
    
    import all from Sip_Common;
    import all from Diameter_Common;
     

     
    Test Purpose {
        TP Id TP_RX_PCF_5G_ECO_AAA_01
        
        Test objective  "Verify that IUT after AA-Request is received due to provisioning of AF Signalling flow for emergency registration sends AA-Answer."
        
        Reference 
            "TS 129 214 [5], Annexes A.5 and E.1"
        
        Config Id CF_VoNR_INT_ES
        
        PICS Selection NONE
        
        Initial conditions with {
        	the UE_A entity isNotRegisteredTo the _5GC_A and
            the UE_A entity not isEmergencyRegisteredTo the IMS_A
        }
        
        Expected behaviour
            ensure that {
                when {
                    the IMS_P_CSCF_A entity sends an AAR
                    to the _5GC_PCF_A entity
                }
                then {
                    the _5GC_PCF_A entity sends the AAA containing
                        Result_Code_AVP
                            indicating value DIAMETER_SUCCESS
                        Subscription_Id_AVP containing
                            Subscription_Id_Type_AVP
                                indicating value END_USER_IMSI;, //or END_USERE_164   
                        "and/or" 
                        User_Equipment_Info_AVP containing
                            User_Equipment_Info_Type
                                indicating value IMEISV,
                            User_Equipment_Info_Value;;  
                    to the IMS_P_CSCF_A entity
                }
            }  
    }  // End of TP_RX_PCF_5G_ECO_AAA_01
     
    Test Purpose {
        TP Id TP_RX_PCF_5G_ECO_AAA_02
        
        Test objective  "Verify that IUT after AA-Request is received due to AF session for emergency session establishment sends AA-Answer."
        
        Reference 
            "TS 129 214 [5], Annexes A.5 and E.1"
        
        Config Id CF_VoNR_INT_ES
        
        PICS Selection NONE
        
        Initial conditions with {
        	the UE_A entity isRegisteredTo the _5GC_A
        }
        
        Expected behaviour
            ensure that {
                when {
                    the IMS_P_CSCF_A entity sends an AAR
                    to the _5GC_PCF_A entity
                }
                then {
                    the _5GC_PCF_A entity sends the AAA containing
                        Result_Code_AVP
                            indicating value DIAMETER_SUCCESS
                        Subscription_Id_AVP containing
                            Subscription_Id_Type_AVP
                                indicating value END_USER_IMSI;, //or END_USERE_164   
                        "and/or" 
                        User_Equipment_Info_AVP containing
                            User_Equipment_Info_Type
                                indicating value IMEISV,
                            User_Equipment_Info_Value;;  
                    to the IMS_P_CSCF_A entity
                }
            }  
    }  // End of TP_RX_PCF_5G_ECO_AAA_02
     
    Test Purpose {
        TP Id TP_RX_PCSCF_5G_ECO_AAR_01
        
        Test objective  "Verify that IUT after Emergency REGISTER sends an AA-Request due to provisioning of AF Signalling flow."
        
        Reference
            "TS 129 214 [5], Annexes A.5 and E.1"
        
        Config Id CF_VoNR_INT_ES
        
        PICS Selection NONE
        
        Initial conditions with {
        	the UE_A entity isNotAttachedTo the _5GC_A and
            the UE_A entity not isEmergencyRegisteredTo the IMS_A
        }
        
        Expected behaviour
            ensure that {
                when {
                    the UE_A entity sends a REGISTER
                    to the IMS_P_CSCF_A entity
                }
                then {
                    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",
                        AF_Requested_Data_AVP
                            indicating value "EPC-level identities required",
                        Service_URN_AVP
                            indicating value "sos*";
                    to the _5GC_PCF_A entity
                }
            }  
    }  // End of TP_RX_PCSCF_5G_ECO_AAR_01
    
    
    Test Purpose {
        TP Id TP_RX_PCSCF_5G_ECO_AAR_02
        
        Test objective  "Verify that IUT send AA-Request in case of emergency session establishment for originating side after INVITE is received."
        
        Reference 
            "TS 129 214 [5],  Annexes A.5 and E.1" //clauses 4.4.1, A.1, A.2 and annex B"
        
        Config Id CF_VoNR_INT_ES
        
        PICS Selection NONE
        
        Initial conditions with {
            the UE_A entity isRegisteredTo the _5GC_A and
            the UE_A entity isEmergencyRegisteredTo the IMS_A
        }
        
        Expected behaviour
            ensure that {
                when {
                    the IMS_P_CSCF_A entity receives an INVITE_Request_with_SDP_offer
                    from the UE_A entity
                }
                then {
                    the IMS_P_CSCF_A entity sends the 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",
                        Service_URN_AVP
                            indicating value "sos*";
                    to the _5GC_PCF_A entity
                }
            }  
    }  // End of TP_RX_PCSCF_5G_ECO_AAR_02
    
    Test Purpose {
        TP Id TP_RX_PCSCF_5G_ECO_AAR_04
        //TP_RX_PCSCF_AAR_04 from TS 103 795-1 V1.1.1 (LTE)
        Test objective  "Verify that IUT send AA-Request in case of session establishment for originating side after 183 response with SDP is received."
        
        Reference 
            "TS 129 214 [5], clauses 4.4.1, A.1, A.2 and Annex B"
       
        Config Id CF_VoNR_INT_ES
        
        PICS Selection NONE
        
        Initial conditions with {
            the UE_A entity isRegisteredTo the _5GC_A and
            the UE_A entity isRegisteredTo the IMS_A
        }
        
        Expected behaviour
            ensure that {
                when {
                    the IMS_P_CSCF_A entity receives a 183_Response_INVITE_with_SDP_offer
                    from the IMS_S_CSCF_A entity
                }
                then {
                    the IMS_P_CSCF_A entity sends the 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",
                        "one or more" Media_Component_Description_AVP 
                        Rx_Request_Type_AVP
                            indicating value UPDATE_REQUEST '(1)',
                        Service_Info_Status_AVP
                            indicating value FINAL_SERVICE_INFORMATION '(1)'
                        ;
                    to the _5GC_PCF_A entity
                }
            }  
    }  // End of TP_RX_PCSCF_5G_ECO_AAR_04
    
    Test Purpose {
        TP Id TP_RX_PCSCF_RAA_01
        //TP_RX_PCSCF_RAA_01 from TS 103 795-1 V1.1.1 (LTE)
        Test objective  "Verify that IUT sends RA-Answer after RAR is received from PCRF."
        
        Reference 
            "TS 129 214 [5], clauses 4.4.6.2, 5.3.13 and A.5"
        
        Config Id CF_VoNR_INT_ES
        
        PICS Selection NONE
        
        Initial conditions with {
            the UE_A entity isRegisteredTo the _5GC_A and
            the UE_A entity isRegisteredTo the IMS_A
        }
        
        Expected behaviour
            ensure that {
                when {
                    the _5GC_PCF_A entity sends a RAR containing
                        Specific_Action_AVP
                            indicating value INDICATION_OF_SUCCESSFUL_RESOURCES_ALLOCATION '(8)';
                    to the IMS_P_CSCF_A entity
                }
                then {
                    the IMS_P_CSCF_A entity sends the RAA containing
                        Result_Code_AVP
                            indicating value DIAMETER_SUCCESS "(2001)";
                    to the _5GC_PCF_A entity
                }
            }  
    }  // End of TP_RX_PCSCF_RAA_01
     
    Test Purpose {
        TP Id TP_RX_PCRF_5G_ECO_STA_02
        //TP_RX_PCRF_STA_02 from TS 103 795-1 V1.1.1 (LTE)
        Test objective  "Verify that IUT after reception of ST-Request sends ST-Answer."
        
        Reference 
            "TS 129 214 [5], clauses 4.4.4, 4.4.5, A.8 and A.5"
        
        Config Id CF_VoNR_INT_ES
        
        PICS Selection NONE
        
        Initial conditions with {
        	the UE_A entity isNotAttachedTo the _5GC_A and
            the UE_A entity isNotRegisteredTo the IMS_A
        }
        
        Expected behaviour
            ensure that {
                when {
                    the IMS_P_CSCF_A entity sends an STR
                    to the _5GC_PCF_A entity
                }
                then {
                    the _5GC_PCF_A entity sends the STA containing
                        Result_Code_AVP
                            indicating value DIAMETER_SUCCESS;
                    to the IMS_P_CSCF_A entity
                }
            }  
    }  // End of TP_RX_PCRF_5G_ECO_STA_02
    
    Test Purpose {
        TP Id TP_RX_PCSCF_5G_ECO_STR_01
        //TP_RX_PCSCF_STR_01 from TS 103 795-1 V1.1.1 (LTE)
        Test objective  "Verify that IUT after reception of BYE sends an ST-Request at originating leg."
        
        Reference 
            "TS 129 214 [5], clause 4.4.4 and Annex A.5"
        
        Config Id CF_VoNR_INT_ES
        
        PICS Selection NONE
        
        Initial conditions with {
            the UE_A entity isRegisteredTo the _5GC_A and
            the UE_A entity isRegisteredTo the IMS_A and 
            the UE_A entity previouslyEstablishedCallWith the UE_B
        }
        
        Expected behaviour
            ensure that {
                when {
                    the IMS_P_CSCF_A entity receives a BYE
                    from the UE_A entity
                }
                then {
                    the IMS_P_CSCF_A entity sends the STR containing
                        Session_Id_AVP;
                    to the _5GC_PCF_A entity
                }
            }  
    }  // End of TP_RX_PCSCF_5G_ECO_STR_01
    
    Test Purpose {
        TP Id TP_RX_PCSCF_5G_ECO_STR_03
        //TP_RX_PCSCF_STR_03 from TS 103 795-1 V1.1.1 (LTE)
        Test objective  "Verify that IUT after reception of CANCEL sends an ST-Request at originating leg."
        
        Reference 
            "TS 129 214 [5], clause 4.4.4 and Annex A.5"
        
        Config Id CF_VoNR_INT_ES
        
        PICS Selection NONE
        
        Initial conditions with {
            the UE_A entity isRegisteredTo the _5GC_A and
            the UE_A entity isRegisteredTo the IMS_A
        }
        
        Expected behaviour
            ensure that {
                when {
                    the IMS_P_CSCF_A entity receives a CANCEL
                    from the UE_A entity
                }
                then {
                    the IMS_P_CSCF_A entity sends the STR containing
                        Session_Id_AVP;
                    to the _5GC_PCF_A entity
                }
            }  
    }  // End of TP_RX_PCSCF_5G_ECO_STR_03
    
    Test Purpose {
        TP Id TP_RX_PCSCF_5G_ECO_STR_05
        //TP_RX_PCSCF_STR_05 from TS 103 795-1 V1.1.1 (LTE)
        Test objective  "Verify that IUT after reception of 486 response sends an ST-Request at originating leg."
        
        Reference 
            "TS 129 214 [5], clause 4.4.4 and A.5"
        
        Config Id CF_VoNR_INT_ES
        
        PICS Selection NONE
        
        Initial conditions with {
            the UE_A entity isRegisteredTo the _5GC_A and
            the UE_A entity isRegisteredTo the IMS_A
        }
        
        Expected behaviour
            ensure that {
                when {
                    the IMS_P_CSCF_A entity receives a 486_Response_INVITE
                    from the IMS_S_CSCF_A entity
                }
                then {
                    the IMS_P_CSCF_A entity sends the STR containing
                        Session_Id_AVP;
                    to the _5GC_PCF_A entity
                }
            }  
    }  // End of TP_RX_PCSCF_5G_ECO_STR_05
   
} // End of Package TP_RX