Commit 61f5a37f authored by kretzschmann's avatar kretzschmann
Browse files

fix using UE as IUT. AMF is the IUT in TP TP_NGNAS_AMF_AUT_REQ_01

parent fb2477a4
Loading
Loading
Loading
Loading
+22 −58
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@ Package TP_AMF {
			
			TP Id TP_NGNAS_AMF_AUT_REQ_01 
			
			Test objective "Verify that the IUT correctly processes an AUTHENTICATION REQUEST from the AMF when it contains no security protection and indicates that no authentication is required."
			Test objective "Verify that the IUT correctly sends an AUTHENTICATION REQUEST message containing no security protection and indicates that no authentication is required."
			
			Reference 
				"ETSI TS 124 501 [1], Clause 5.4.1",
@@ -44,7 +44,7 @@ Package TP_AMF {
			Expected behaviour
				ensure that {
					when {
					the IUT entity receives an AUTHENTICATION_REQUEST containing
					the IUT entity indicates an AUTHENTICATION_REQUEST containing
						extended_protocol_discriminator indicating value 01111110, //reference ts_124007v180200p: Table 11.2.3.1.1A.1: EPD values 
						security_header_type indicating value 0000, //not security protected
						spare_half_octet indicating value 0000,
@@ -57,16 +57,16 @@ Package TP_AMF {
							ABBA_contents indicating value 00000000
							;
						;
					from the AMF entity
					to the UE entity
					}
					then {
					the IUT entity sends a AUTHENTICATION_RESPONSE containing
					the IUT entity receives a AUTHENTICATION_RESPONSE containing
						extended_protocol_discriminator indicating value 01010111, //reference ts_124007v180200p: Table 11.2.3.1.1A.1: EPD values 
						security_header_type indicating value 0000,
						spare_half_octet indicating value 0000,
						authentication_response_message_identity indicating value 01010111 //reference ts_124007v180200p: Table 11.2.3.1.1A.1: EPD values 
						;
					to the AMF entity       
					from the UE entity       
					}
				}
			} // end TP_NGNAS_AMF_AUT_REQ_01
@@ -87,7 +87,7 @@ Package TP_AMF {
    	 
    	Test Purpose {
		
        TP Id TP_5GNAS_AMF_REG_REJ_01 
        TP Id TP_NGNAS_AMF_REG_REJ_01 
        
        Test objective "Verify that the IUT rejects initial registration request due to general NAS level mobility management congestion control with 5GMM cause value #22 - congestion."
        
@@ -106,75 +106,39 @@ Package TP_AMF {
            ensure that {
                when {
	               the IUT entity receives an INITIAL_UE_MESSAGE containing
	                   RAN_UE_NGAP_ID,
	                   User_Location_Information containing
	                       nR_CGI containing
	                           pLMNIdentity indicating value PX_PLMN;,
	                       tAI containing
	                           pLMNIdentity indicating value PX_PLMN,
	                           tAC indicating value PX_TAC;;,
	                   RRC_Establishmnet_Cause indicating value "mo-signalling",
	                   NAS_PDU containing
	                       extended_protocol_discriminator indicating value 01111110, //reference ts_124007v180200p: Table 11.2.3.1.1A.1: EPD values 
	                       security_header_type indicating value 0000,
	                       spare_half_octet indicating value 0000,
	                       Registration_request_message_identity indicating value REGISTRATION_REQUEST,
	                       Registration_request_message_identity indicating value Registration_request,
	                       5GS_registration_type containing
	                           5GS_registration_type_value indicating value Initial_registration,
	                           FOR indicating value 1;, //Follow-on request pending
	                       //ngKSI, //can be removed due to no value
	                       5GS_mobile_identity containing
	                           SUPI_format indicating value IMSI,
	                           Type_of_idenity indicating value SUCI,
	                           MCC indicating value PX_MCC ,
	                           MNC indicating value PX_MNC,
	                           MSIN indicating value PX_MSIN;;;
	               from the GNB entity
	            }
	            then {
	               the IUT entity sends a DOWNLINK_NAS_TRANSPORT containing
	                   NAS_PDU containing
	                       extended_protocol_discriminator indicating value 01111110, //reference ts_124007v180200p: Table 11.2.3.1.1A.1: EPD values 
						   security_header_type indicating value var,
						   spare_half_octet indicating value 0000,
	                       Registration_reject_message_identity indicating value REGISTRATION_REJECT,
	                       5GMM_cause indicating value "Congestion (22)";; 
	               to the GNB entity       
	            }
            }
        }// end TP_5GNAS_AMF_REG_REJ_01
    	 
    	Test Purpose {
		
        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."
        
        Reference 
            "ETSI TS 124 501 [1], Clause 5.5.1.2.5" 
        
        Config Id CF_AMF_N2
        
        PICS Selection NONE
        
        Initial conditions with {
            the UE entity isNotRegisteredTo the AMF
        }
        
        Expected behaviour
            ensure that {
                when {
	               the IUT entity receives an INITIAL_UE_MESSAGE /*or a UPLINK_NAS_TRANSPORT!!!*/ containing
	                   NAS_PDU containing
	                       Registration_request_message_identity indicating value REGISTRATION_REQUEST,
	                       5GS_registration_type containing
	                           5GS_registration_type_value indicating value Initial_registration,
	                           FOR indicating value 1;, //Follow-on request pending
	                       Requested_NSSAI indicating value PX_NSSAI_REVOKED
	                       ;
	                           MSIN indicating value PX_MSIN;;
	                   ;
	               from the GNB entity
	            }
	            then {
	               the IUT entity sends a DOWNLINK_NAS_TRANSPORT containing
	                   AMF_UE_NGAP_ID,
	                   RAN_UE_NGAP_ID,
	                   NAS_PDU containing
	                       Registration_reject_message_identity indicating value REGISTRATION_REJECT,
	                       5GMM_cause indicating value "No network slice available (62)";; 
	                       5GMM_cause indicating value "Congestion (22)";; 
	               to the GNB entity       
	            }
            }
        }// end TP_5GNAS_AMF_REG_REJ_02
        }// end TP_NGNAS_AMF_REG_REJ_01
        
    } //end Group "5.5.1.2 Registration Procedure for initial registration"