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

N5 tests updated

parent 38008e95
Loading
Loading
Loading
Loading
+61 −68
Original line number Diff line number Diff line
@@ -23,11 +23,13 @@ file and shall not imply any sub-license right.
//   AAA ->  Npcf_PolicyAuthorization_Update response -> PUA (TP name) 
//           200 OK  with JSON(ascResData) or 204 No Content
//   STR ->  Npcf_PolicyAuthorization_Delete request  -> PDR (TP name) 
//           POST /npcf-policyauthorization/v1/app-sessions/{appSessionId}/delete
//           DELETE /npcf-policyauthorization/v1/app-sessions/{appSessionId}/delete
//   STA ->  Npcf_PolicyAuthorization_Delete response -> PDA (TP name) 
//           204 No Content
//   RAR ->  Npcf_PolicyAuthorization_Notify request  -> PNR (TP name) 
//           POST {notifUri}/notify  with JSON(evsNotif)
//   RAA ->  Npcf_PolicyAuthorization_Notify response -> PNA (TP name) 
//           204 No Content

Package TP_N5_PCF {
    
@@ -57,21 +59,16 @@ Package TP_N5_PCF {
        Expected behaviour
            ensure that {
                when {
                    the IMS_P_CSCF_A entity sends an Npcf_PolicyAuthorization_Create_Request
                    the IMS_P_CSCF_A entity sends a vPOST containing 
                        uri indicating value "/npcf-policyauthorization/v1/app_sessions";
                    to the _5GC_PCF_A entity
                }
                then {
                    the _5GC_PCF_A entity sends the Npcf_PolicyAuthorization_Create_Response 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;;  
                    the _5GC_PCF_A entity sends a HTTP_RESPONSE containing
                        status set to "201 Created",
                        body containing
                            ascResData containing
                                ueIds indicating value "GPSI or PEI or SUPI";;;
                    to the IMS_P_CSCF_A entity
                }
            }  
@@ -80,10 +77,10 @@ Package TP_N5_PCF {
    Test Purpose {
        TP Id TP_N5_PCF_5G_ECO_PCA_02
        
        Test objective  "Verify that IUT after AA-Request is received due to AF session for emergency session establishment sends AA-Answer."
        Test objective  "Verify that IUT after Npcf_PolicyAuthorization_Create request is received due to AF session for emergency session establishment sends Npcf_PolicyAuthorization_Create response."
        
        Reference 
            "TS 129 514 [6], Annexes A.5 and E.1"
            "TS 129 514 [6], Annex B.5"
        
        Config Id CF_VoNR_INT_ES
        
@@ -96,21 +93,16 @@ Package TP_N5_PCF {
        Expected behaviour
            ensure that {
                when {
                    the IMS_P_CSCF_A entity sends an AAR
                    the IMS_P_CSCF_A entity sends a vPOST containing 
                        uri indicating value "/npcf-policyauthorization/v1/app_sessions";
                    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;;  
                    the _5GC_PCF_A entity sends a HTTP_RESPONSE containing
                        status set to "201 Created",
                        body containing
                            ascResData containing
                                ueIds indicating value "GPSI or PEI or SUPI";;;
                    to the IMS_P_CSCF_A entity
                }
            }  
@@ -119,10 +111,10 @@ Package TP_N5_PCF {
    Test Purpose {
        TP Id TP_N5_PCSCF_5G_ECO_PCR_01
        
        Test objective  "Verify that IUT after Emergency REGISTER sends an AA-Request due to provisioning of AF Signalling flow."
        Test objective  "Verify that IUT after Emergency REGISTER sends a Npcf_PolicyAuthorization_Create request due to provisioning of AF Signalling flow."
        
        Reference
            "TS 129 514 [6], Annexes A.5 and E.1"
            "TS 129 514 [6], Annex B.5"
        
        Config Id CF_VoNR_INT_ES
        
@@ -140,15 +132,15 @@ Package TP_N5_PCF {
                    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*";
                    the IMS_P_CSCF_A entity sends a vPOST containing 
                        uri indicating value "/npcf-policyauthorization/v1/app_sessions",
                        body containing
                            ascReqData containing
                                suppFeat indicating value "IMS_SBI",
                                ueIpv4 indicating value "IPv4_Address of UE_A",
                                "or" ueIpv6 indicating value "IPv6_Address of UE_A",
                                afReqData indicating value "UE_IDENTITY",
                                servUrn indicating value "sos*";;;
                    to the _5GC_PCF_A entity
                }
            }  
@@ -158,10 +150,10 @@ Package TP_N5_PCF {
    Test Purpose {
        TP Id TP_N5_PCSCF_5G_ECO_PCR_02
        
        Test objective  "Verify that IUT send AA-Request in case of emergency session establishment for originating side after INVITE is received."
        Test objective  "Verify that IUT send a Npcf_PolicyAuthorization_Create request in case of emergency session establishment for originating side after INVITE is received."
        
        Reference 
            "TS 129 514 [6],  Annexes A.5 and E.1" //clauses 4.4.1, A.1, A.2 and annex B"
            "TS 129 514 [6], Annex B.5"
        
        Config Id CF_VoNR_INT_ES
        
@@ -179,24 +171,27 @@ Package TP_N5_PCF {
                    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*";
                    the IMS_P_CSCF_A entity sends the vPOST containing 
                        uri indicating value "/npcf-policyauthorization/v1/app_sessions",
                        body containing
                            ascReqData containing
                                suppFeat indicating value "IMS_SBI",
                                ueIpv4 indicating value "IPv4_Address of UE_A",
                                "or" ueIpv6 indicating value "IPv6_Address of UE_A",
                                afReqData indicating value "UE_IDENTITY",
                                servUrn indicating value "sos*";;;
                    to the _5GC_PCF_A entity
                }
            }  
    }  // End of TP_N5_PCSCF_5G_ECO_PCR_02
    
    Test Purpose {
        TP Id TP_N5_PCSCF_5G_ECO_PCR_04
        Test objective  "Verify that IUT send AA-Request in case of session establishment for originating side after 183 response with SDP is received."
        TP Id TP_N5_PCSCF_5G_ECO_PUR_04
        Test objective  "Verify that IUT sends an Npcf_PolicyAuthorization_Update request in case of session establishment for originating side after 183 response with SDP answer is received."
        
        Reference 
            "TS 129 514 [6], clauses 4.4.1, A.1, A.2 and Annex B"
            "TS 129 514 [6], clauses 4.2.3, B.1, B.2 and B.5"
            //See also TS 129 513 Figure B.2.1-2
       
        Config Id CF_VoNR_INT_ES
        
@@ -214,21 +209,18 @@ Package TP_N5_PCF {
                    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)'
                        ;
                    the IMS_P_CSCF_A entity sends the vPATCH containing 
                        uri indicating value "/npcf-policyauthorization/v1/app-sessions/{appSessionId}",
                        body containing
                            ascReqData containing
                                suppFeat indicating value "IMS_SBI",
                                ueIpv4 indicating value "IPv4_Address of UE_A",
                                "or" ueIpv6 indicating value "IPv6_Address of UE_A",
                                servInfStatus indicating value "FINAL";;;
                    to the _5GC_PCF_A entity
                }
            }  
    }  // End of TP_N5_PCSCF_5G_ECO_PCR_04
    }  // End of TP_N5_PCSCF_5G_ECO_PUR_04
    
    Test Purpose {
        TP Id TP_N5_PCSCF_PNA_01
@@ -249,15 +241,16 @@ Package TP_N5_PCF {
        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)';
                    the _5GC_PCF_A entity sends a vPOST containing 
                        uri indicating value "{notifUri}/notify",
                        body containing
                              evsNotif containing
                                succResourcAllocReports indicating value "SUCCESSFUL_RESOURCES_ALLOCATION";;; 
                    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)";
                    the IMS_P_CSCF_A entity sends the HTTP_RESPONSE containing
                        status set to "204 No Content";
                    to the _5GC_PCF_A entity
                }
            }