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

Update TPs until TP_5GNAS_AMF_DRG_REQ_03

parent dbde6674
Loading
Loading
Loading
Loading
+84 −64
Original line number Diff line number Diff line
@@ -598,7 +598,7 @@ Package TP_AMF {
            
                TP Id TP_5GNAS_AMF_DLN_ACC_01 
                
                Test objective "Verify that the IUT correctly handles a UL NAS transport message containing a PDU_SESSION_ESTABLISHMENT_REQUEST from the UE and responds with a DL NAS transport message containing a PDU_SESSION_ESTABLISHMENT_ACCEPT."
                Test objective "Verify that the IUT, upon receipt of a UL NAS TRANSPORT message containing a PDU SESSION ESTABLISHMENT REQUEST, sends a PDU_SESSION_RESOURCE_SETUP_REQUEST carrying a DL NAS TRANSPORT message with a PDU SESSION ESTABLISHMENT ACCEPT."

                Reference 
                    "ETSI TS 124 501 [1], Clauses 5.4.5, 6.4.1, 8.2.10 and 8.2.11"
@@ -622,7 +622,7 @@ Package TP_AMF {
								payload_container_type set to "N1 SM information",
								payload_container containing
									5GSM_PDU containing
                                        extended_protocol_discriminator set to 5GS_SESION_MANAGEMENT_MESSAGES,
										extended_protocol_discriminator set to 5GS_SESSION_MANAGEMENT_MESSAGES,
										message_type set to PDU_SESSION_ESTABLISHMENT_REQUEST,
										PDU_session_type set to "IPv4",
										SSC_mode set to "SSC mode 1";;,
@@ -640,11 +640,12 @@ Package TP_AMF {
								extended_protocol_discriminator set to 5GS_MOBILITY_MANAGEMENT_MESSAGES, 
								security_header_type set to INTEGRITY_PROTECTED_AND_CIPHERED,
								message_type set to DL_NAS_TRANSPORT,
                                payload_container containing 
								payload_container_type set to "N1 SM information",
                                    number_of_optional_IEs set to 1,
                                    optional_IE_1 set to PDU_SESSION_ESTABLISHMENT_ACCEPT;,
                                pDU_session_ID RV_PDU_SESSION_ID;;
								payload_container containing
									5GSM_PDU containing
										extended_protocol_discriminator set to 5GS_SESSION_MANAGEMENT_MESSAGES,
										message_type set to PDU_SESSION_ESTABLISHMENT_ACCEPT;;,
								pDU_session_identity set to PX_PDU_session_identity;;
                    to the GNB entity
                    }

@@ -1027,35 +1028,43 @@ Package TP_AMF {
        
        TP Id TP_5GNAS_AMF_REG_REJ_02 
        
        Test objective "Verify that the IUT rejects initial registration request because all the S-NSSAI(s) included in the requested NSSAI are either rejected for current PLMN, rejected for the current registration area or rejected due to failed or revoked NSSAIs."
        Test objective "Verify that, during the initial registration procedure, the IUT sends a REGISTRATION_REJECT message with 5GMM cause value #9 'UE identity cannot be derived by the network' when the UE responds to an IDENTITY_REQUEST for SUCI with an IDENTITY_RESPONSE indicating that no identity is available."
        
        Reference 
            "ETSI TS 124 501 [1], Clauses 5.5.1.2.5 and 8.2.9" 
            "ETSI TS 123 502 [2], Clause 4.2.2.2.2
             ETSI TS 124 501 [1], Clauses 5.4.3.2, 5.4.3.3, 5.5.1.2.5 and 8.2.9" 
        
        Config Id CF_AMF_N2N1
        
        PICS Selection NONE
        PICS Selection PICS_A4/3
        
        Initial conditions with {
            the UE entity isNotRegisteredToAMF
            the UE entity isNotRegisteredToAMF and
            the IUT entity sends a DOWNLINK_NAS_TRANSPORT containing
                NAS_PDU containing
                    extended_protocol_discriminator set to 5GS_MOBILITY_MANAGEMENT_MESSAGES,
                    message_type set to IDENTITY_REQUEST,
                    identity_type set to SUCI;;
            to the GNB entity
        }
        
        Expected behaviour
            ensure that {
                when {
                    the IUT entity receives an INITIAL_UE_MESSAGE containing
                    the IUT entity receives an UPLINK_NAS_TRANSPORT containing
                        NAS_PDU containing
                            message_type set to REGISTRATION_REQUEST,
                            5GS_registration_type containing
                                5GS_registration_type_value set to INITIAL_REGISTRATION;,
                            Requested_NSSAI indicating value PX_NSSAI_REVOKED;;
                            extended_protocol_discriminator set to 5GS_MOBILITY_MANAGEMENT_MESSAGES,
                            message_type set to IDENTITY_RESPONSE,
                            5GS_mobile_identity containing
                                Type_of_identity set to NO_IDENTITY;;;
                    from the GNB entity
                }
                then {
                    the IUT entity sends a DOWNLINK_NAS_TRANSPORT containing
                        NAS_PDU containing
                            extended_protocol_discriminator set to 5GS_MOBILITY_MANAGEMENT_MESSAGES,
                            message_type set to REGISTRATION_REJECT,
                           5GMM_cause set to "No network slice available (62)";; 
                            5GMM_cause set to "UE identity cannot be derived by the network (9)";;
                    to the GNB entity
                }
            }
@@ -1072,7 +1081,7 @@ Package TP_AMF {
    
        TP Id TP_5GNAS_AMF_DRG_ACC_01 
    
        Test objective "Verify that the IUT, upon receiving a DEREGISTRATION_REQUEST message containing the De-registration type IE with Normal de-registration from the UE, sends a DEREGISTRATION_ACCEPT message."
        Test objective "Verify that the IUT sends a DEREGISTRATION_ACCEPT message upon receipt of a UE-originated DEREGISTRATION_REQUEST message indicating normal de-registration."
    
        Reference 
            "ETSI TS 124 501 [1], Clauses 5.5.2.2.3, 8.2.12 and 8.2.13" 
@@ -1122,7 +1131,7 @@ Package TP_AMF {
    
        TP Id TP_5GNAS_AMF_DRG_ACC_02 
    
        Test objective "Verify that the IUT, upon receiving a DEREGISTRATION_REQUEST message containing the De-registration type IE with Switch-off from the UE, does not send a DEREGISTRATION_ACCEPT message and IUT completes de-registration procedure."
        Test objective "Verify that the IUT does not send a DEREGISTRATION_ACCEPT message upon receipt of a UE-originated DEREGISTRATION_REQUEST message indicating switch off."
    
        Reference 
            "ETSI TS 124 501 [1], Clauses 5.5.2.2.3, 8.2.12 and 8.2.13" 
@@ -1138,7 +1147,7 @@ Package TP_AMF {
        Expected behaviour
            ensure that {
                when {
                    the IUT entity receives an UPLINK_NAS_TRANSPORT containing
                    (.) at time point start_DRG_event : the IUT entity receives an UPLINK_NAS_TRANSPORT containing
                        NAS_PDU containing
                            extended_protocol_discriminator set to 5GS_MOBILITY_MANAGEMENT_MESSAGES,
                            security_header_type set to INTEGRITY_PROTECTED_AND_CIPHERED,
@@ -1158,7 +1167,8 @@ Package TP_AMF {
                    from the GNB entity
                }
                then {
                    the IUT entity not send a DOWNLINK_NAS_TRANSPORT containing
                    // PX_DRG_TWAIT: Test system observation timer used to verify that no DEREGISTRATION_ACCEPT message is sent after receipt of a switch-off DEREGISTRATION_REQUEST (no corresponding NAS timer defined in the specification) 
                    (!) PX_DRG_TWAIT after start_DRG_event : the IUT entity does not send a DOWNLINK_NAS_TRANSPORT containing
                        NAS_PDU containing
                            extended_protocol_discriminator set to 5GS_MOBILITY_MANAGEMENT_MESSAGES, 
                            security_header_type set to INTEGRITY_PROTECTED_AND_CIPHERED,
@@ -1179,7 +1189,7 @@ Package TP_AMF {
    
        TP Id TP_5GNAS_AMF_DRG_REQ_01 
    
        Test objective "Verify that the IUT initiates network de-registration by sending a DEREGISTRATION_REQUEST message containing De-registration type IE with re-registration not required and the access type based on the UE’s registration status (3GPP access only). **NOTE:** explicit network deregistration triggered by O&M - deactivation of UE"
        Test objective "Verify that the IUT initiates network de-registration by sending a DEREGISTRATION_REQUEST message containing the De-registration type IE with re-registration not required for 3GPP access. **NOTE:** explicit network deregistration triggered by O&M - deactivation of UE"
    
        Reference 
            "ETSI TS 124 501 [1], Clauses 5.5.2.3.1 and 8.2.14" 
@@ -1206,7 +1216,15 @@ Package TP_AMF {
                            Deregistration_type containing
                                Switch_off set to NORMAL_DEREGISTRATION,
                                Reregistration_required set to REREGISTRATION_NOT_REQUIRED,
                                Access_type set to 3GPP_ACCESS;;; 
                                Access_type set to 3GPP_ACCESS;,
                            5GS_mobile_identity containing
                                Type_of_identity set to 5G_GUTI,
                                MCC indicating value PX_MCC,
                                MNC indicating value PX_MNC,
                                AMF_Region_ID indicating value PX_AMF_REGION_ID,
                                AMF_Set_ID indicating value PX_AMF_SET_ID,
                                AMF_Pointer indicating value PX_AMF_POINTER,
                                5G_TMSI indicating value RV_5G_TMSI;;;
                    to the GNB entity       
                }
            }
@@ -1216,7 +1234,7 @@ Package TP_AMF {
    
        TP Id TP_5GNAS_AMF_DRG_REQ_02 
    
        Test objective "Verify that the IUT initiates network de-registration by sending a DEREGISTRATION_REQUEST message and if UE does not send DEREGISTRATION_ACCEPT then IUT retransmits DEREGISTRATION_REQUEST message after timer T3522 expiration. **NOTE:** explicit network deregistration triggered by O&M - UE deregistration."
        Test objective "Verify that the IUT retransmits the DEREGISTRATION_REQUEST message if no DEREGISTRATION_ACCEPT is received from the UE. **NOTE:** explicit network deregistration triggered by O&M - UE deregistration."
    
        Reference 
            "ETSI TS 124 501 [1], Clauses 5.5.2.3.1 and 8.2.14" 
@@ -1232,26 +1250,20 @@ Package TP_AMF {
        Expected behaviour
            ensure that {
                when {  
                    the IUT entity indicateUEderegistration and 
                    the IUT entity sends a DOWNLINK_NAS_TRANSPORT containing
                    the IUT entity indicateUEdeactivation and
                    (.) at time point start_DRG_event : the IUT entity sends a DOWNLINK_NAS_TRANSPORT containing
                        NAS_PDU containing
                            extended_protocol_discriminator set to 5GS_MOBILITY_MANAGEMENT_MESSAGES, 
                            security_header_type set to INTEGRITY_PROTECTED_AND_CIPHERED,
                            message_type set to DEREGISTRATION_REQUEST;;
                    to the GNB entity and 
                    the IUT entity does not receive an UPLINK_NAS_TRANSPORT containing
                        NAS_PDU containing
                            message_type set to DEREGISTRATION_ACCEPT;;
                    from the GNB entity
                    to the GNB entity
                }
                then {
                    the IUT entity sends a DOWNLINK_NAS_TRANSPORT containing
                    (!) PX_T3522 after start_DRG_event : the IUT entity sends a DOWNLINK_NAS_TRANSPORT containing
                        NAS_PDU containing
                            extended_protocol_discriminator set to 5GS_MOBILITY_MANAGEMENT_MESSAGES, 
                            security_header_type set to INTEGRITY_PROTECTED_AND_CIPHERED,
                            message_type set to DEREGISTRATION_REQUEST,
                            Deregistration_type containing
                                Switch_off set to NORMAL_DEREGISTRATION,
                                Reregistration_required set to REREGISTRATION_NOT_REQUIRED,
                                Access_type set to 3GPP_ACCESS;;; 
                            message_type set to DEREGISTRATION_REQUEST;;
                    to the GNB entity      
                }
            }
@@ -1261,7 +1273,9 @@ Package TP_AMF {
    
        TP Id TP_5GNAS_AMF_DRG_REQ_03 
    
        Test objective "Verify that the IUT initiates network de-registration by sending DEREGISTRATION_REQUEST message containing De-registration type IE with re-registration required and the access type based on the UE’s registration status (3GPP access only). **NOTE 1:** UE sends DEREGISTRATION_ACCEPT and starts with re-registration procedure.(also used ref 5.5.2.3.2 1st paragraph) **NOTE 2:** explicit network deregistration triggered by O&M - UE deregistration"
        Test objective "Verify that the IUT initiates network de-registration by sending a DEREGISTRATION_REQUEST message containing the De-registration type IE with re-registration required for 3GPP access.
        // NOTE: After receipt of this message, the UE is expected to respond with DEREGISTRATION_ACCEPT and to initiate a new registration procedure. These subsequent steps are not part of the verification objective of this TP, but need to be handled by the TTCN-3 test implementation and postamble.
        // **NOTE 1:** UE sends DEREGISTRATION_ACCEPT and starts with re-registration procedure.(also used ref 5.5.2.3.2 1st paragraph) **NOTE 2:** explicit network deregistration triggered by O&M - UE deregistration"
    
        Reference 
            "ETSI TS 124 501 [1], Clauses 5.5.2.3.1, 5.5.2.3.2 and 8.2.14" 
@@ -1280,7 +1294,6 @@ Package TP_AMF {
                    the IUT entity indicateUEderegistration
                }
                then {
                    the IUT entity sends a DOWNLINK_NAS_TRANSPORT containing
                        NAS_PDU containing
                            extended_protocol_discriminator set to 5GS_MOBILITY_MANAGEMENT_MESSAGES, 
                            security_header_type set to INTEGRITY_PROTECTED_AND_CIPHERED,
@@ -1288,8 +1301,15 @@ Package TP_AMF {
                            Deregistration_type containing
                                Switch_off set to NORMAL_DEREGISTRATION,
                                Reregistration_required set to REREGISTRATION_REQUIRED,
                                Access_type set to 3GPP_ACCESS;;; 
                    to the GNB entity       
                                Access_type set to 3GPP_ACCESS;,
                            5GS_mobile_identity containing
                                Type_of_identity set to 5G_GUTI,
                                MCC indicating value PX_MCC,
                                MNC indicating value PX_MNC,
                                AMF_Region_ID indicating value PX_AMF_REGION_ID,
                                AMF_Set_ID indicating value PX_AMF_SET_ID,
                                AMF_Pointer indicating value PX_AMF_POINTER,
                                5G_TMSI indicating value RV_5G_TMSI;;;      
                }
            }
        }// end TP_5GNAS_AMF_DRG_REQ_03