diff --git a/test_purposes/Ngap_Common.tplan2 b/test_purposes/Ngap_Common.tplan2 index 8a9a87dc61e3850ae4a288143d9406847832e8a1..b93c8586df48862c250f5af9cad272f2e3943b51 100644 --- a/test_purposes/Ngap_Common.tplan2 +++ b/test_purposes/Ngap_Common.tplan2 @@ -77,6 +77,8 @@ Package Ngap_Common { - isAttachingToNetwork - hasDoneSubscription - indicate + - isCMIDLE + - isCMCONNECTED ; } // End of Domain section @@ -90,6 +92,7 @@ Package Ngap_Common { Data { type NgapMessage; + type Cause; //Table 8.1-1 NgapMessage AMF_CONFIGURATION_UPDATE; @@ -190,6 +193,9 @@ Package Ngap_Common { NgapMessage HANDOVER_SUCCESS; NgapMessage UPLINK_RAN_EARLY_STATUS_TRANSFER; NgapMessage DOWNLINK_RAN_EARLY_STATUS_TRANSFER; + + //Section 9.3.1.2 + Cause Multiple_Location_Reporting_Reference_ID_instances; } // End of Data section diff --git a/test_purposes/ngap/TP_AMF_NGAP2.tplan2 b/test_purposes/ngap/TP_AMF_NGAP2.tplan2 index 684af8fef8d0240764c0d29e5685c1411f510e32..88919a41f788ab1de9fc1817837aa6a64b79adc3 100644 --- a/test_purposes/ngap/TP_AMF_NGAP2.tplan2 +++ b/test_purposes/ngap/TP_AMF_NGAP2.tplan2 @@ -18,7 +18,1809 @@ Package TP_AMF { -//TO BE DONE + Group "8.2 PDU Session Management Procedures" + { + import all from Ngap_Common; + + Test Purpose { + + TP Id TP_NGAP_AMF_PDU_01 + + Test objective "Verify that the IUT can send a PDU SESSION RESOURCE SETUP REQUEST with at least one PDU session resource list to established PDU session." + + Reference + "ETSI TS 138 413 [1], Clauses 8.2.1.2" + + Config Id CFG_AMF_01 + + PICS Selection PICS_A3/5_1 + + Initial conditions with { + the UE entity isRegisteredTo the AMF + } + + Expected behaviour + ensure that { + when { + the IUT entity indicate a PDU session management procedure + } + then { + the IUT entity sends a PDU_SESSION_RESOURCE_SETUP_REQUEST containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + PDU_Session_Resource_Setup_Request_List containing + PDU_SessionId, + S_NSSAI, + PDU_Session_Resource_Setup_Request_Transfer; + ; + to the GNB entity + } + } + + } // end TP_NGAP_AMF_PDU_01 + + Test Purpose { + + TP Id TP_NGAP_AMF_PDU_02 + + Test objective "Verify that the IUT can send a PDU_SESSION_RESOURCE_RELEASE_COMMAND to release PDU session." + + Reference + "ETSI TS 138 413 [1], Clauses 8.2.1.2" + + Config Id CFG_AMF_01 + + PICS Selection PICS_A3/5_1 + + Initial conditions with { + the UE entity isRegisteredTo the AMF + } + + Expected behaviour + ensure that { + when { + the IUT entity indicate a PDU session resource release procedure + } + then { + the IUT entity sends a PDU_SESSION_RESOURCE_RELEASE_COMMAND containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + PDU_Session_Resource_To_Release_List containing + PDU_Session_Resource_To_Release_Item containing + PDU_SessionId indicating value PX_PDU_ID, + S_NSSAI, + PDU_Session_Resource_Release_Command_Transfer containing + Cause indicating value PX_Cause; //normal_release + ; + ; + ; + to the GNB entity + } + } + + } // end TP_NGAP_AMF_PDU_02 + + Test Purpose { + + TP Id TP_NGAP_AMF_PDU_03 + + Test objective "Verify that the IUT can send a PDU_SESSION_RESOURCE_MODIFY_REQUEST to modify PDU session." + + Reference + "ETSI TS 138 413 [1], Clauses 8.2.3.2" + + Config Id CFG_AMF_01 + + PICS Selection PICS_A3/5_1 + + Initial conditions with { + the UE entity isRegisteredTo the AMF + } + + Expected behaviour + ensure that { + when { + the IUT entity indicate a PDU session resource modify procedure + } + then { + the IUT entity sends a PDU_SESSION_RESOURCE_MODIFY_REQUEST containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + PDU_Session_Resource_Modify_Request_List containing + PDU_Session_Resource_Modify_Request_Item containing + PDU_SessionId indicating value PX_PDU_ID, + PDU_Session_Resource_Modify_Request_Transfer containing +// UL_NG_U_UP_TNL_Modify_List containing +// UL_NG_U_UP_TNL_Modify_Item containing +// UL_NG_U_UP_TNL_Information +// DL_NG_U_UP_TNL_Information +// ; +// ;, + QoSFlowAddorModifyRequestList containing + QoSFlowAddorModifyRequestItem containing + QoSFlowIdentifier; + ; + ; + ; + ; + ; + to the GNB entity + } + } + + } // end TP_NGAP_AMF_PDU_03 + + Test Purpose { + + TP Id TP_NGAP_AMF_PDU_04 + + Test objective "Verify that the AMF node successfully processes a PDU_SESSION_RESOURCE_MODIFY_INDICATION contains mandatory IEs and answers with PDU_SESSION_RESOURCE_MODIFY_CONFIRM for successfully modified PDU session." + + Reference + "ETSI TS 138 413 [1], Clause 8.2.5.2" + + Config Id CFG_AMF_01 + + PICS Selection PICS_A3/5_1 + + Initial conditions with { + the UE entity isRegisteredTo the AMF + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a PDU_SESSION_RESOURCE_MODIFY_INDICATION containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + PDU_Session_Resource_Modify_Indication_List containing + PDU_Session_Resource_Modify_Indication_Item containing + PDU_SessionId indicating value PX_PDU_ID, + PDU_Session_Resource_Modify_Indication_Transfer containing + DLQoSFlowperTNLInformation containing + UPTransportLayerInformation, + AssociatedQoSFlowList containing + AssociatedQoSFlowItem containing + QoSFlowIdentifier indicating value PX_QoS_Flow_ID; + ; + ; + ; + ; + ; + ; + from the GNB entity + } + then { + the IUT entity sends a PDU_SESSION_RESOURCE_MODIFY_CONFIRM containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + PDU_Session_Resource_Modify_Confirm_List containing + PDU_Session_Resource_Modify_Confirm_Item containing + PDU_SessionId indicating value PX_PDU_ID, + PDU_Session_Resource_Modify_Confirm_Transfer containing + QoSFlowModifyConfirmList containing + QoSFlowModifyConfirmItem containing + QoSFlowIdentifier; + ; + ;, + UL_NG_U_UP_TNLInformation + ; + ; + ; + to the GNB entity + } + } + + } // end TP_NGAP_AMF_PDU_04 + + Test Purpose { + + TP Id TP_NGAP_AMF_PDU_05 + + Test objective "Verify that the AMF node processes a PDU_SESSION_RESOURCE_MODIFY_INDICATION contains mandatory IEs and answers with PDU_SESSION_RESOURCE_MODIFY_CONFIRM for not successfully modified PDU session." + + Reference + "ETSI TS 138 413 [1], Clause 8.2.5.2" + + Config Id CFG_AMF_01 + + PICS Selection PICS_A3/5_1 + + Initial conditions with { + the UE entity isRegisteredTo the AMF + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a PDU_SESSION_RESOURCE_MODIFY_INDICATION containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + PDU_Session_Resource_Modify_Indication_List containing + PDU_Session_Resource_Modify_Indication_Item containing + PDU_SessionId indicating value PX_PDU_ID, + PDU_Session_Resource_Modify_Indication_Transfer containing + DLQoSFlowperTNLInformation containing + UPTransportLayerInformation, + AssociatedQoSFlowList containing + AssociatedQoSFlowItem containing + QoSFlowIdentifier indicating value PX_QoS_Wrong_Flow_ID; + ; + ; + ; + ; + ; + ; + from the GNB entity + } + then { + the IUT entity sends a PDU_SESSION_RESOURCE_MODIFY_CONFIRM containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + PDU_Session_Resource_Failed_To_Modify_List containing + PDU_Session_Resource_Failed_To_Modify_Item containing + PDU_SessionId indicating value PX_PDU_ID, + PDU_Session_Resource_Modify_Indication_Unsuccessful_Transfer containing + Cause; + ; + ; + ; + to the GNB entity + } + } + + } // end TP_NGAP_AMF_PDU_05 + + } // end Group 8.2 PDU Session Management Procedures + Group "8.3 UE Context Management Procedures" + { + + Group "Initial Context Setup" + { + import all from Ngap_Common; + + Test Purpose { + + TP Id TP_NGAP_AMF_CMP_01 + + Test objective "Verify that the IUT can send a INITIAL CONTEXT SETUP REQUEST contains mandatory IEs." + + Reference + "ETSI TS 138 413 [1], Clauses 8.3.1.2" + + Config Id CFG_AMF_01 + + PICS Selection PICS_A3/5_1 //TODO: Not sure here. PIC means item 5.1 in table A3 but couldn't find either. + + Initial conditions with { + the UE entity isRegisteredTo the AMF // TODO: check initial conditions + } + + Expected behaviour + ensure that { + when { + the IUT entity indicate a PDU initial context setup procedure + } + then { + the IUT entity sends a INITIAL_CONTEXT_SETUP_REQUEST containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + GUAMI, + PDU_Session_Resource_Setup_Request_List containing + PDU_Session_Resource_Setup_Request_Item containing + PDU_SessionId indicating value PX_PDU_ID, + S_NSSAI, + PDU_Session_Resource_Setup_Request_Transfer + ; + ;, + Allowed_NSSAI, + UE_Security_Capabilities, + Security_Key + ; + to the GNB entity + } + + } + + } // end TP_NGAP_AMF_CMP_01 + + } + + Group "UE Context Release (AMF initiated)" + { + import all from Ngap_Common; + + Test Purpose { + + TP Id TP_NGAP_AMF_CMP_08 + + Test objective "Verify that the IUT can send a UE CONTEXT RELEASE COMMAND that contains both the AMF UE NGAP ID IE and the RAN UE NGAP ID IE." + + Reference + "ETSI TS 138 413 [1], Clauses 8.3.3" + + Config Id CFG_AMF_01 + + PICS Selection PICS_A3/5_1 //TODO: Not sure here. PIC means item 5.1 in table A3 but couldn't find either. + + Initial conditions with { + the UE entity isRegisteredTo the AMF // TODO:check Initial conditions + } + + Expected behaviour + ensure that { + when { + the IUT entity indicate a UE context release command + } + then { + the IUT entity sends a UE_CONTEXT_RELEASE_COMMAND containing + CHOICE_UE_NGAP_IDs containing + UE_NGAP_ID_pair containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID + ; + ; + ; + to the GNB entity + } + } + + + } // end TP_NGAP_AMF_CMP_08 + + Test Purpose { + + TP Id TP_NGAP_AMF_CMP_11 + + Test objective "Verify that the IUT can send a UE CONTEXT RELEASE COMMAND where both the AMF UE NGAP ID IE and the RAN UE NGAP ID IE are not available." + + Reference + "ETSI TS 138 413 [1], Clauses 8.3.3" + + Config Id CFG_AMF_01 + + PICS Selection PICS_A3/5_1 //TODO: Not sure here. PIC means item 5.1 in table A3 but couldn't find either. + + Initial conditions with { + the UE entity isRegisteredTo the AMF // TODO:check Initial conditions + } + + Expected behaviour + ensure that { + when { + the IUT entity indicate a UE context release command + } + then { + the IUT entity sends a UE_CONTEXT_RELEASE_COMMAND containing + CHOICE_UE_NGAP_IDs containing + AMF_UE_NGAP_ID containing + AMF_UE_NGAP_ID + ; + ; + ; + to the GNB entity + } + } + + + } // end TP_NGAP_AMF_CMP_11 + + } // End Group "UE Context Release (AMF initiated)" + + Group "UE Context Modification" + { + + import all from Ngap_Common; + + Test Purpose { + + TP Id TP_NGAP_AMF_CMP_02 + + Test objective "Verify that the IUT can send a UE CONTEXT MODIFICATION REQUEST contains mandatory IEs." + + Reference + "ETSI TS 138 413 [1], Clauses 8.3.4.2" + + Config Id CFG_AMF_01 + + PICS Selection PICS_A3/5_1 //TODO: Not sure here. PIC means item 5.1 in table A3 but couldn't find either. + + Initial conditions with { + the UE entity isRegisteredTo the AMF // TODO: check initial conditions + } + + Expected behaviour + ensure that { + when { + the IUT entity indicate a PDU UE context modification procedure + } + then { + the IUT entity sends a UE_CONTEXT_MODIFICATION_REQUEST containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID + ; + to the GNB entity + } + + } + + + } // end TP TP_NGAP_AMF_CMP_02 + + } // End Group UE Context Modification + + Group "Connection Establishment Indication" + { + import all from Ngap_Common; + + Test Purpose { + + TP Id TP_NGAP_AMF_CMP_09 + + Test objective "Verify that the IUT can send a Connection Establishment Indication that contains mandatory IEs." + + Reference + "ETSI TS 138 413 [1], Clauses 8.3.6.2" + + Config Id CFG_AMF_01 + + PICS Selection PICS_A3/5_1 //TODO: Not sure here. PIC means item 5.1 in table A3 but couldn't find either. + + Initial conditions with { + the UE entity isRegisteredTo the AMF // TODO: check initial conditions + } + + Expected behaviour + ensure that { + when { + the IUT entity indicate a PDU UE context modification procedure + } + then { + the IUT entity sends a CONNECTION_ESTABLISHMENT_INDICATION containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID + ; + to the GNB entity + } + + } + + } // End TP TP_NGAP_AMF_CMP_09 + + } // End Group "Connection Establishment Indication" + + Group "AMF CP Relocation Indication" + { + + import all from Ngap_Common; + + Test Purpose { + + TP Id TP_NGAP_AMF_CMP_10 + + Test objective "Verify that the IUT can send a AMF CP Relocation Indication that contains mandatory IEs." + + Reference + "ETSI TS 138 413 [1], Clauses 8.3.7.2" + + Config Id CFG_AMF_01 + + PICS Selection PICS_A3/5_1 //TODO: Not sure here. PIC means item 5.1 in table A3 but couldn't find either. + + Initial conditions with { + the UE entity isRegisteredTo the AMF // TODO: check initial conditions + } + + Expected behaviour + ensure that { + when { + the IUT entity indicate a AMF CP relocation indication procedure + } + then { + the IUT entity sends a AMF_CP_RELOCATION_INDICATION containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID + ; + to the GNB entity + } + + } + + } // End TP TP_NGAP_AMF_CMP_10 + + } // End Group "AMF CP Relocation Indication" + + Group "Retrieve UE information" + { + + import all from Ngap_Common; + + Test Purpose { + + TP Id TP_NGAP_GNB_CMP_12 + + Test objective "Verify that the IUT can successfully request UE information from the AMF." + + Reference + "ETSI TS 138 413 [1], Clauses 8.3.9.2", + "ETSI TS 138 413 [1], Clauses 8.3.10.2" + + Config Id CFG_AMF_01 + + PICS Selection PICS_A3/5_1 //TODO: Not sure here. PIC means item 5.1 in table A3 but couldn't find either. + + Initial conditions with { + the UE entity isRegisteredTo the AMF // TODO: check initial conditions + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a RETRIEVE_UE_INFORMATION containing + 5G_S_TMSI containing + AMF_Set_ID, + AMF_Pointer, + 5G_TMSI + ; + ; + from the GNB entity + } + then { + the IUT entity sends a UE_INFORMATION_TRANSFER containing + 5G_S_TMSI containing + AMF_Set_ID, + AMF_Pointer, + 5G_TMSI + ; + ; + to the GNB entity + } + + } + + } // End TP TP_NGAP_GNB_CMP_12 + + } // End Group "Retrieve UE information" + + Group "UE Context Suspend" + { + import all from Ngap_Common; + + Test Purpose { + + TP Id TP_NGAP_AMF_CMP_05 + + Test objective "Verify that the AMF node successfully processes a UE CONTEXT SUSPEND REQUEST contains mandatory IEs and answers with UE CONTEXT SUSPEND REQUEST RESPONSE with successfully suspend UE context." + + Reference + "ETSI TS 138 413 [1], Clauses 8.3.11.2" + + Config Id CFG_AMF_01 + + PICS Selection PICS_A3/5_1 //TODO: Not sure here. PIC means item 5.1 in table A3 but couldn't find either. + + Initial conditions with { + the UE entity isRegisteredTo the AMF // TODO: check initial conditions + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a UE_CONTEXT_SUSPEND_REQUEST containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + PDU_Session_Resource_Suspend_List containing + PDU_Session_Resource_Suspend_Item containing + PDU_SessionId, + UE_Context_Suspend_Request_Transfer + ; + ; + ; + from the GNB entity + } + then { + the IUT entity sends a UE_CONTEXT_SUSPEND_RESPONSE containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID + ; + to the GNB entity + } + } + + } // end TP TP_NGAP_AMF_CMP_05 + + Test Purpose { + + TP Id TP_NGAP_AMF_CMP_06 + + Test objective "Verify that the AMF node successfully processes a UE CONTEXT SUSPEND REQUEST contains mandatory IEs and answers with UE CONTEXT SUSPEND FAILURE with failed suspension." + + Reference + "ETSI TS 138 413 [1], Clauses 8.3.11.3" + + Config Id CFG_AMF_01 + + PICS Selection PICS_A3/5_1 //TODO: Not sure here. PIC means item 5.1 in table A3 but couldn't find either. + + Initial conditions with { + the UE entity isRegisteredTo the AMF // TODO: check initial conditions + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a UE_CONTEXT_SUSPEND_REQUEST containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + PDU_Session_Resource_Suspend_List containing + PDU_Session_Resource_Suspend_Item containing + PDU_SessionId indicating value PX_PDU_ID, + UE_Context_Suspend_Request_Transfer + ; + ; + ; + from the GNB entity + } + then { + the IUT entity sends a UE_CONTEXT_SUSPEND_FAILURE containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + Cause + ; + to the GNB entity + } + } + + } // end TP TP_NGAP_AMF_CMP_06 + + }// end Group UE Context Suspend + + Group "UE Context Resume" + { + import all from Ngap_Common; + + Test Purpose { + + TP Id TP_NGAP_AMF_CMP_07 + + Test objective "Verify that the AMF node successfully processes a UE CONTEXT RESUME REQUEST contains mandatory IEs and answers with UE CONTEXT RESUME RESPONSE with successfully resume UE context." + + Reference + "ETSI TS 138 413 [1], Clauses 8.3.12.3" + + Config Id CFG_AMF_01 + + PICS Selection PICS_A3/5_1 //TODO: Not sure here. PIC means item 5.1 in table A3 but couldn't find either. + + Initial conditions with { + the UE entity isRegisteredTo the AMF // TODO: check initial conditions + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a UE_CONTEXT_RESUME_REQUEST containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + RRC_Resume_Cause, + PDU_Session_Resource_Resume_List containing + PDU_Session_Resource_Resume_Item containing + PDU_SessionId indicating value PX_PDU_ID, + UE_Context_Resume_Request_Transfer + ; + ; + ; + from the GNB entity + } + then { + the IUT entity sends a UE_CONTEXT_RESUME_RESPONSE containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + PDU_Session_Resource_Resume_List containing + PDU_Session_Resource_Resume_Item containing + PDU_SessionId indicating value PX_PDU_ID, + UE_Context_Resume_Response_Transfer + ; + ; + ; + to the GNB entity + } + } + + } // end TP TP_NGAP_AMF_CMP_07 + + + } // end Group "UE Context Resume" + + } // End Group 8.3 UE Context Management Procedures + + Group "8.4 UE Mobility Management Procedures" + { + + Group "Handover Preparation" + { + import all from Ngap_Common; + + Test Purpose { + + TP Id TP_NGAP_AMF_MMP_01 + + Test objective "Verify that the AMF node successfully processes a HANDOVER REQUIRED message contains mandatory IEs and answers with HANDOVER COMMAND with successfully handover." + + Reference + "ETSI TS 138 413 [1], Clauses 8.4.1.2" + + Config Id CFG_AMF_01 + + PICS Selection PICS_A3/5_1 //TODO: Not sure here. PIC means item 5.1 in table A3 but couldn't find either. + + Initial conditions with { + the UE entity isRegisteredTo the AMF // TODO: check initial conditions + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a HANDOVER_REQUIRED containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + Handover_Typ, + Cause, + Target_ID, + PDU_Session_Resource_List containing + PDU_Session_Resource_Item containing + PDU_SessionId indicating value PX_PDU_ID, + Handover_Required_Transfer + ; + ;, + Source_to_Target_Transparent_Container + ; + from the GNB entity + } + then { + the IUT entity sends a HANDOVER_COMMAND containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + Handover_Type, + PDU_Session_Resource_Handover_List containing + PDU_Session_Resource_Handover_Item containing + PDU_SessionId indicating value PX_PDU_ID, + Handover_Command_Transfer + ; + ; + ; + to the GNB entity + } + } + + } // end TP TP_NGAP_AMF_MMP_01 + + Test Purpose { + + TP Id TP_NGAP_AMF_MMP_02 + + Test objective "Verify that the AMF node successfully processes a HANDOVER REQUIRED message contains mandatory IEs and answers with IHANDOVER PREPARATION FAILURE with failed handover." + + Reference + "ETSI TS 138 413 [1], Clauses 8.4.1.3" + + Config Id CFG_AMF_01 + + PICS Selection PICS_A3/5_1 //TODO: Not sure here. PIC means item 5.1 in table A3 but couldn't find either. + + Initial conditions with { + the UE entity isRegisteredTo the AMF // TODO: check initial conditions + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a HANDOVER_REQUIRED containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + Handover_Typ, + Cause, + Target_ID, + PDU_Session_Resource_List containing + PDU_Session_Resource_Item containing + PDU_SessionId, + Handover_Required_Transfer + ; + ;, + Source_to_Target_Transparent_Container + ; + from the GNB entity + } + then { + the IUT entity sends a HANDOVER_PREPARATION_FAILURE containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + Cause + ; + to the GNB entity + } + } + + } // end TP TP_NGAP_AMF_MMP_02 + + + + } // End Group "Handover Preparation" + + Group "Handover Resource Allocation" + { + import all from Ngap_Common; + + Test Purpose { + + TP Id TP_NGAP_AMF_MMP_03 + + Test objective "Verify that the AMF node successfully sends a HANDOVER_REQUEST message that contains mandatory IEs to the GNB." + + Reference + "ETSI TS 138 413 [1], Clauses 8.4.2.2" + + Config Id CFG_AMF_01 + + PICS Selection PICS_A3/5_1 //TODO: Not sure here. PIC means item 5.1 in table A3 but couldn't find either. + + Initial conditions with { + the UE entity isRegisteredTo the AMF // TODO: check initial conditions + } + + Expected behaviour + ensure that { + when { + the IUT entity indicate a Handover Request procedure + } + then { + the IUT entity sends a HANDOVER_REQUEST containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + Handover_Typ, + Cause, + UE_Aggregate_Maximum_Bit_Rate, + UE_Security_Capabilitues + PDU_Session_Setup_Resource_List containing + PDU_Session_Setup_Resource_Item containing + PDU_SessionId, + S_NSSAI, + Handover_Request_Transfer + ; + ;, + Allowed_NSSAI, + Source_to_Target_Transparent_Container, + GUAMI + ; + to the GNB entity + } + } + + } // end TP TP_NGAP_AMF_MMP_03 + + } // End Group "Handover Resource Allocation" + + Group "Path Switch Request" + { + import all from Ngap_Common; + + Test Purpose { + + TP Id TP_NGAP_AMF_MMP_04 + + Test objective "Verify that the AMF node successfully processes a PATH SWITCH REQUEST message that contains mandatory IEs and answers with PATH SWITCH REQUEST ACKNOWLEDGE to acknowledge the path switch." + + Reference + "ETSI TS 138 413 [1], Clauses 8.4.4.2" + + Config Id CFG_AMF_01 + + PICS Selection PICS_A3/5_1 //TODO: Not sure here. PIC means item 5.1 in table A3 but couldn't find either. + + Initial conditions with { + the UE entity isRegisteredTo the AMF // TODO: check initial conditions + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a PATH_SWITCH_REQUEST containing + RAN_UE_NGAP_ID, + Source_AMF_UE_NGAP_ID, + User_Location_Information, + UE_Security_Capabilities, + PDU_Session_Resources_to_be_Switched_in_Downlink_List containing + PDU_Session_Resources_to_be_Switched_in_Downlink_Item containing + PDU_SessionId, + Path_Switch_Request_Transfer + ; + ; + ; + from the GNB entity + } + then { + the IUT entity sends a PATH_SWITCH_REQUEST_ACKNOWLEDGE containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + Security_Context + PDU_Session_Resource_Switched_List containing + PDU_Session_Resource_Switched_Item containing + PDU_SessionId, + Path_Switch_Request_Acknowledge_Transfer + ; + ; + ; + to the GNB entity + } + } + + } // End TP_NGAP_AMF_MMP_04 + + Test Purpose { + + TP Id TP_NGAP_AMF_MMP_05 + + Test objective "Verify that the AMF node successfully processes a PATH SWITCH REQUEST message that contains mandatory IEs and two PDU Sessions with same ID and answers with PATH SWITCH REQUEST FAILURE." + + Reference + "ETSI TS 138 413 [1], Clauses 8.4.4.4" + + Config Id CFG_AMF_01 + + PICS Selection PICS_A3/5_1 //TODO: Not sure here. PIC means item 5.1 in table A3 but couldn't find either. + + Initial conditions with { + the UE entity isRegisteredTo the AMF // TODO: check initial conditions + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a PATH_SWITCH_REQUEST containing + RAN_UE_NGAP_ID, + Source_AMF_UE_NGAP_ID, + User_Location_Information, + UE_Security_Capabilities, + PDU_Session_Resources_to_be_Switched_in_Downlink_List containing + PDU_Session_Resources_to_be_Switched_in_Downlink_Item containing + PDU_SessionId, + Path_Switch_Request_Transfer + ;, + PDU_Session_Resources_to_be_Switched_in_Downlink_Item containing + PDU_SessionId, + Path_Switch_Request_Transfer + ; + ; + ; + from the GNB entity + } + then { + the IUT entity sends a PATH_SWITCH_REQUEST_FAILURE containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + PDU_Session_Resource_Released_List containing + PDU_Session_Resource_Released_Item containing + PDU_SessionId, + Path_Switch_Request_Unsuccessful_Transfer + ; + ; + ; + to the GNB entity + } + } + + } // End TP_NGAP_AMF_MMP_05 + + } // End Group "Path Switch Request" + + Group "Handover Cancellation" + { + import all from Ngap_Common; + + Test Purpose { + + TP Id TP_NGAP_AMF_MMP_06 + + Test objective "Verify that the AMF node successfully processes a HANDOVER CANCEL message that contains mandatory IEs and answers with PHANDOVER CANCEL ACKNOWLEDGE to confirm that the ongoing handover was cancelled." + + Reference + "ETSI TS 138 413 [1], Clauses 8.4.5.2" + + Config Id CFG_AMF_01 + + PICS Selection PICS_A3/5_1 //TODO: Not sure here. PIC means item 5.1 in table A3 but couldn't find either. + + Initial conditions with { + the UE entity isRegisteredTo the AMF // TODO: check initial conditions + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a HANDOVER_CANCEL containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + Cause + ; + from the GNB entity + } + then { + the IUT entity sends a HANDOVER_CANCEL_ACKNOWLEDGE containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID + ; + to the GNB entity + } + } + + } // End TP_NGAP_AMF_MMP_05 + + } // End Group "Handover Cancellation" + + Group "Downlink RAN Status Transfer" + { + import all from Ngap_Common; + + Test Purpose { + + TP Id TP_NGAP_AMF_MMP_07 + + Test objective "Verify that the AMF node successfully sends a UPLINK RAN STATUS TRANSFER message that contains mandatory IEs." + + Reference + "ETSI TS 138 413 [1], Clauses 8.4.5.2" + + Config Id CFG_AMF_01 + + PICS Selection PICS_A3/5_1 //TODO: Not sure here. PIC means item 5.1 in table A3 but couldn't find either. + + Initial conditions with { + the UE entity isRegisteredTo the AMF // TODO: check initial conditions + } + + Expected behaviour + ensure that { + when { + the IUT entity indicate a Uplink RAN Status Transfer procedure + } + then { + the IUT entity sends a UPLINK_RAN_STATUS_TRANSFER containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + RAN_Status_Transfer_Transparent_Container + ; + to the GNB entity + } + } + + } // End TP_NGAP_AMF_MMP_07 + + } // End Group "Downlink RAN Status Transfer" + + Group "Downlink RAN Status Transfer" + { + import all from Ngap_Common; + + Test Purpose { + + TP Id TP_NGAP_AMF_MMP_08 + + Test objective "Verify that the AMF node successfully sends a UPLINK RAN EARLY STATUS TRANSFER message that contains mandatory IEs." + + Reference + "ETSI TS 138 413 [1], Clauses 8.4.7.2" + + Config Id CFG_AMF_01 + + PICS Selection PICS_A3/5_1 //TODO: Not sure here. PIC means item 5.1 in table A3 but couldn't find either. + + Initial conditions with { + the UE entity isRegisteredTo the AMF // TODO: check initial conditions + } + + Expected behaviour + ensure that { + when { + the IUT entity indicate a Uplink RAN Early Status Transfer procedure + } + then { + the IUT entity sends a UPLINK_RAN_EARLY_STATUS_TRANSFER containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + Early_Status_Transfer_Transparent_Container + ; + to the GNB entity + } + } + + } // End TP_NGAP_AMF_MMP_08 + + } // End Group "Downlink RAN Status Transfer" + + } // End Group "8.4 UE Mobility Management Procedures" + + Group "8.6 Transport of NAS Messages Procedures" + { + Group "Downlink NAS Transport" + { + import all from Ngap_Common; + + Test Purpose { + + TP Id TP_NGAP_AMF_NAS_01 + + Test objective "Verify that the IUT can send an DOWNLINK NAS TRANSPORT message to carry NAS information over the NG interface." + + Reference + "ETSI TS 138 413 [1], Clauses 8.6.2.2 and 9.2.5.2" + + Config Id CFG_AMF_01 + + PICS Selection PICS_A3/5_1 + + //TODO: Section 8.6.2.1 describes additional triggers for the DOWNLINK NAS TRANSPORT + + Expected behaviour + ensure that { + when { + the IUT entity sends an INITIAL_UE_MESSAGE containing + RAN_UE_NGAP_ID, + NAS_PDU, + User_Location_Information, + RRC_Establishmnet_Cause + ; + from the GNB entity + } + then { + the IUT entity sends an DOWNLINK_NAS_TRANSPORT containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + NAS_PDU + ; + to the GNB entity + } + } + + } // end TP_NGAP_AMF_NAS_01 + + } // end "Downlink NAS Transport" + + Group "Reroute NAS Request" + { + import all from Ngap_Common; + + Test Purpose { + + TP Id TP_NGAP_AMF_NAS_02 + + Test objective "Verify that the IUT can send an REROUTE NAS REQUEST message to reroute the INITIAL UE MESSAGE message to another AMF." + + Reference + "ETSI TS 138 413 [1], Clauses 8.6.5.2 and 9.2.5.5" + + Config Id CFG_AMF_01 + + PICS Selection PICS_A3/5_1 + + Expected behaviour + ensure that { + when { + the IUT entity indicate the initiation "of a Reroute NAS Request procedure" + } + then { + the IUT entity sends an REROUTE_NAS_REQUEST containing + RAN_UE_NGAP_ID, + NAS_PDU, + AMF_Set_ID + ; + to the GNB entity + } + } + + } // end TP_NGAP_AMF_NAS_02 + + } // end "Reroute NAS Request" + + } // end Group "8.6 Transport of NAS Messages Procedures" + + Group "8.7 Interface Management Procedures" + { + Group "NG Setup" + { + import all from Ngap_Common; + + Test Purpose { + + TP Id TP_NGAP_AMF_IMP_01 + + Test objective "Verify that the AMF node successfully processes a NG SETUP REQEST message that contains mandatory IEs and answers with NG SETUP RESPONSE to acknowledge the setup." + + Reference + "ETSI TS 138 413 [1], Clauses 8.7.1.2" + + Config Id CFG_AMF_01 + + PICS Selection PICS_A3/5_1 //TODO: Not sure here. PIC means item 5.1 in table A3 but couldn't find either. + + Initial conditions with { + the UE entity isRegisteredTo the AMF // TODO: check initial conditions + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a NG_SETUP_REQUEST containing + Global_RAN_Node_ID, + Supported_TA_List containing + Supported_TA_Item containing + TAC, + Broadcast_PLMN_List containing + Broadcast_PLMN_Item containing + PLMN_Identity, + TAI_Slice_Support_List + ; + ; + ; + ;, + Default_Paging_DRX + ; + from the GNB entity + } + then { + the IUT entity sends a NG_SETUP_RESPONSE containing + AMF_Name, + Served_GUAMI_List containing + Served_GUAMI_Item containing + GUAMI + ; + ;, + Relative_AMF_Capacity, + PLMN_Support_List containing + PLMN_Support_Item containing + PLMN_Identity, + Slice_Support_List, + Extended_Slice_Support_List + ; + ; + ; + to the GNB entity + } + } + + } // end TP TP_NGAP_AMF_IMP_01 + + Test Purpose { + + TP Id TP_NGAP_AMF_IMP_02 + + Test objective "Verify that the AMF node successfully decline a NG RESET REQEST message and answers with NG SETUP FAILURE when the AMF is not able to handle the request." + + Reference + "ETSI TS 138 413 [1], Clauses 8.7.1.3" + + Config Id CFG_AMF_01 + + PICS Selection PICS_A3/5_1 //TODO: Not sure here. PIC means item 5.1 in table A3 but couldn't find either. + + Initial conditions with { + the UE entity isRegisteredTo the AMF // TODO: check initial conditions + // AMF cannot accept the setup + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a NG_SETUP_REQUEST containing + Global_RAN_Node_ID, + Supported_TA_List containing + Supported_TA_Item containing + TAC, + Broadcast_PLMN_List containing + Broadcast_PLMN_Item containing + PLMN_Identity, + TAI_Slice_Support_List + ; + ; + ; + ;, + Default_Paging_DRX + ; + from the GNB entity + } + then { + the IUT entity sends a NG_SETUP_FAILURE containing + Cause + ; + to the GNB entity + } + } + + } // end TP TP_NGAP_AMF_IMP_02 + + } // End Group "NG Setup" + + Group "RAN Configuration Update" + { + import all from Ngap_Common; + + Test Purpose { + + TP Id TP_NGAP_AMF_IMP_03 + + Test objective "Verify that the AMF node successfully processes a RAN CONFIGURATION UPDATE message with RAN CONFIGURATION UPDATE ACKNOWLEDGE to acknowledge the update." + + Reference + "ETSI TS 138 413 [1], Clauses 8.7.2.2" + + Config Id CFG_AMF_01 + + PICS Selection PICS_A3/5_1 //TODO: Not sure here. PIC means item 5.1 in table A3 but couldn't find either. + + Initial conditions with { + the UE entity isRegisteredTo the AMF // TODO: check initial conditions + // AMF cannot accept the setup + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a RAN_CONFIGURATION_UPDATE containing + Supported_TA_List containing + Supported_TA_Item containing + TAC, + Broadcast_PLMN_List containing + Broadcast_PLMN_Item containing + PLMN_Identity, + TAI_Slice_Support_List + ; + ; + ; + ; + ; + from the GNB entity + } + then { + the IUT entity sends a RAN_CONFIGURATION_UPDATE_ACKNOWLEDGE + to the GNB entity + } + } + + } // end TP TP_NGAP_AMF_IMP_03 + + Test Purpose { + + TP Id TP_NGAP_AMF_IMP_04 + + Test objective "Verify that the AMF node successfully declines a AMF CONFIGURATION UPDATE message with RAN CONFIGURATION UPDATE FAILURE when the AMF is not able to handle the request." + + Reference + "ETSI TS 138 413 [1], Clauses 8.7.3.2" + + Config Id CFG_AMF_01 + + PICS Selection PICS_A3/5_1 //TODO: Not sure here. PIC means item 5.1 in table A3 but couldn't find either. + + Initial conditions with { + the UE entity isRegisteredTo the AMF // TODO: check initial conditions + // AMF cannot accept the setup + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a RAN_CONFIGURATION_UPDATE containing + Supported_TA_List containing + Supported_TA_Item containing + TAC, + Broadcast_PLMN_List containing + Broadcast_PLMN_Item containing + PLMN_Identity, + TAI_Slice_Support_List + ; + ; + ; + ; + ; + from the GNB entity + } + then { + the IUT entity sends a RAN_CONFIGURATION_UPDATE_FAILURE containing + Cause; + to the GNB entity + } + } + + } // end TP TP_NGAP_AMF_IMP_04 + + } // End Group "RAN Configuration Update" + + Group "AMF Configuration Update" + { + import all from Ngap_Common; + + Test Purpose { + + TP Id TP_NGAP_AMF_IMP_05 + + Test objective "Verify that the AMF node successfully processes a AMF CONFIGURATION UPDATE message with RAN CONFIGURATION UPDATE ACKNOWLEDGE to acknowledge the update." + + Reference + "ETSI TS 138 413 [1], Clauses 8.7.2.2" + + Config Id CFG_AMF_01 + + PICS Selection PICS_A3/5_1 //TODO: Not sure here. PIC means item 5.1 in table A3 but couldn't find either. + + Initial conditions with { + the UE entity isRegisteredTo the AMF // TODO: check initial conditions + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a AMF_CONFIGURATION_UPDATE containing + Served_GUAMI_List containing + Served_GUAMI_Item containing + GUAMI + ; + ;, + PLMN_Support_List containing + PLMN_Support_Item containing + PLMN_Identity, + Slice_Support_List + ; + ;, + AMF_TNL_Association_to_Add_List containing + AMF_TNL_Association_to_Add_item containing + AMF_TNL_Association_Address, + TNL_Address_Weight_Factor + ; + ;, + AMF_TNL_Association_to_Update_List containing + AMF_TNL_Association_to_Update_Item containing + AMF_TNL_Association_Address + ; + ; + ; + from the GNB entity + } + then { + the IUT entity sends a AMF_CONFIGURATION_UPDATE_ACKNOWLEDGE containing + AMF_TNL_Association_Setup_List containing + AMF_TNL_Association_Setup_Item containing + AMF_TNL_Association_Address + ; + ; + ; + to the GNB entity + } + } + + } // end TP TP_NGAP_AMF_IMP_05 + + } // End Group "AMF Configuration Update" + + Group "NG Reset" + { + import all from Ngap_Common; + + Test Purpose { + + TP Id TP_NGAP_AMF_IMP_06 + + Test objective "Verify that the AMF node successfully processes a NG RESET message that contains mandatory IEs and answers with NG RESET ACKNOWLEDGE to acknowledge the reset." + + Reference + "ETSI TS 138 413 [1], Clauses 8.7.4.2.2" + + Config Id CFG_AMF_01 + + PICS Selection PICS_A3/5_1 //TODO: Not sure here. PIC means item 5.1 in table A3 but couldn't find either. + + Initial conditions with { + the UE entity isRegisteredTo the AMF // TODO: check initial conditions + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a NG_RESET containing + Cause, + CHOICE_Reset_Type containing + NG_interface containing + Reset_All + ; + ; + ; + from the GNB entity + } + then { + the IUT entity sends a NG_RESET_ACKNOWLEDGE + to the GNB entity + } + } + + } // end TP TP_NGAP_AMF_IMP_06 + + } // End Group "NG Reset" + + Group "Error Indication" + { + import all from Ngap_Common; + + Test Purpose { + + TP Id TP_NGAP_AMF_IMP_07 + + Test objective "Verify that the AMF can send a ERROR INDICATION to the GNB when a error occurs." + + Reference + "ETSI TS 138 413 [1], Clauses 8.7.5.2" + + Config Id CFG_AMF_01 + + PICS Selection PICS_A3/5_1 + + Initial conditions with { + the UE entity isRegisteredTo the AMF + } + + Expected behaviour + ensure that { + when { + the IUT entity indicate a ERROR INDICATION + } + then { + the IUT entity sends a ERROR_INDICATION + to the GNB entity + } + } + + } // end TP_NGAP_AMF_IMP_07 + } + + Group "AMF Status Indication" + { + import all from Ngap_Common; + + Test Purpose { + + TP Id TP_NGAP_AMF_IMP_08 + + Test objective "Verify that the AMF can send a AMF STATUS INDICATION to the GNB when a error occurs." + + Reference + "ETSI TS 138 413 [1], Clauses 8.7.6.2" + + Config Id CFG_AMF_01 + + PICS Selection PICS_A3/5_1 + + Initial conditions with { + the UE entity isRegisteredTo the AMF + } + + Expected behaviour + ensure that { + when { + the IUT entity indicate a AMF STATUS INDICATION + } + then { + the IUT entity sends a AMF_STATUS_INDICATION containing + Unavailable_GUAMI_List containing + Unavailable_GUAMI_Item containing + GUAMI + ; + ; + ; + to the GNB entity + } + } + + } // end TP_NGAP_AMF_IMP_08 + + } // End Group "AMF Status Indication" + + Group "Overload Start" + { + import all from Ngap_Common; + + Test Purpose { + + TP Id TP_NGAP_AMF_IMP_09 + + Test objective "Verify that the AMF can send a OVERLOAD START to the GNB." + + Reference + "ETSI TS 138 413 [1], Clauses 8.7.7.2" + + Config Id CFG_AMF_01 + + PICS Selection PICS_A3/5_1 + + Initial conditions with { + the UE entity isRegisteredTo the AMF + } + + Expected behaviour + ensure that { + when { + the IUT entity indicate a OVERLOAD START + } + then { + the IUT entity sends a OVERLOAD_START containing + Overload_Start_NSSAI_List containing + Overload_Start_NSSAI_Item containing + Slice_Overload_List + ; + ; + ; + to the GNB entity + } + } + + } // end TP_NGAP_AMF_IMP_09 + } // End Group "Overload Start" + + Group "Overload Stop " + { + import all from Ngap_Common; + + Test Purpose { + + TP Id TP_NGAP_AMF_IMP_10 + + Test objective "Verify that the AMF can send a OVERLOAD STOP to the GNB." + + Reference + "ETSI TS 138 413 [1], Clauses 8.7.7.2" + + Config Id CFG_AMF_01 + + PICS Selection PICS_A3/5_1 + + Initial conditions with { + the UE entity isRegisteredTo the AMF + } + + Expected behaviour + ensure that { + when { + the IUT entity indicate a OVERLOAD STOP + } + then { + the IUT entity sends a OVERLOAD_STOP + to the GNB entity + } + } + + } // end TP_NGAP_AMF_IMP_10 + } // End Group "Overload Stop" + + } // End Group "8.7 Interface Management Procedures" + + Group "8.8 Configuration Transfer Procedure" + { + Group "Downlink RAN Configuration Transfer" + { + import all from Ngap_Common; + + Test Purpose { + + TP Id TP_NGAP_AMF_CTP_01 + + Test objective "Verify that the IUT can send an Downlink RAN Configuration Transfer message to transfer RAN configuration information to the NG-RAN." + + Reference + "ETSI TS 138 413 [1], Clauses 8.8.2 and 9.2.7.2" + + Config Id CFG_AMF_01 + + PICS Selection PICS_A3/5_1 + + Expected behaviour + ensure that { + when { + the IUT entity indicate the initiation "of a Downlink RAN Configuration Transfer" + } + then { + the IUT entity sends an NAS_NON_DELIVERY_INDICATION containing + SON_Configuration_Transfer containing + Target_RAN_Node_ID containing + Global_RAN_Node_ID, + Selected_TAI + ;, + Source_RAN_Node_ID containing + Global_RAN_Node_ID, + Selected_TAI + ;, + SON_Information + ; + ; + to the GNB entity + } + } + + } // end TP_NGAP_AMF_CTP_01 + + } // end "Downlink RAN Configuration Transfer" + + } // end Group "8.8 Configuration Transfer Procedure" + + Group "8.9 Warning Message Transmission Procedures" + { + + } // "8.9 Warning Message Transmission Procedures" + + Group "8.10 NRPPa Transport Procedures" + { + + } // "8.10 NRPPa Transport Procedures" + + Group "8.11 Trace Procedures" + { + + } // "8.11 Trace Procedures" + + Group "8.12 Location Reporting Procedures" + { + Group "Location Reporting Control" + { + import all from Ngap_Common; + + Test Purpose { + + TP Id TP_NGAP_AMF_LRP_01 + + Test objective "Verify that the IUT can send a LOCATION REPORTING CONTROL message that contains mandatory IEs to request a report of the UE's current location." + + Reference + "ETSI TS 138 413 [1], Clauses 8.12.1 and 9.2.11.1" + + Config Id CFG_AMF_01 + + PICS Selection PICS_A3/5_1 + + Expected behaviour + ensure that { + when { + the IUT entity indicate the initiation "of a Location Reporting Control procedure" + } + then { + the IUT entity sends an LOCATION_REPORTING_CONTROL containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + Location_Reporting_Request_Type + ; + to the GNB entity + } + } + + } // end TP_NGAP_AMF_LRP_01 + + } // end "Location Reporting Control" + + } // end "8.12 Location Reporting Procedures" + + Group "8.13 UE TNLA Binding Procedures" + { + + } // end Group "8.13 UE TNLA Binding Procedures" + + Group "8.14 UE Radio Capability Management Procedures" + { + + } // end Group "8.14 UE Radio Capability Management Procedures" + + Group "8.15 Data Usage Reporting Procedures" + { + + } // end Group "8.15 Data Usage Reporting Procedures" + + Group "8.16 RIM Information Transfer Procedures" + { + + } // end Group "8.16 RIM Information Transfer Procedures" } // End of Package TP_AMF diff --git a/test_purposes/ngap/TP_GNB_NGAP.tplan2 b/test_purposes/ngap/TP_GNB_NGAP.tplan2 index 7b7700b27dbf9ce2520d7ae636c5599dfb60cd45..848f0b626f9b743917293af8bd5044caee256951 100644 --- a/test_purposes/ngap/TP_GNB_NGAP.tplan2 +++ b/test_purposes/ngap/TP_GNB_NGAP.tplan2 @@ -15,9 +15,7 @@ file and shall not imply any sub-license right. /* interface at GNB */ Package TP_GNB { - - Group "8.2 PDU Session Management Procedures" { import all from Ngap_Common; @@ -26,10 +24,10 @@ Package TP_GNB { TP Id TP_NGAP_GNB_PDU_01 - Test objective "Verify that the NG-RAN node successfully processes a PDU SESSION RESOURCE SETUP REQUEST contains mandatory IEs and answers with PDU SESSION RESOURCE SETUP RESPONSE with successfully established PDU session." + Test objective "Verify that the NG-RAN node successfully processes a PDU SESSION RESOURCE SETUP REQUEST contains mandatory IEs and answers with PDU SESSION RESOURCE SETUP RESPONSE for successfully established PDU session." Reference - "ETSI TS 138 413 [1], Clauses 8.2.1.2" + "ETSI TS 138 413 [1], Clause 8.2.1.2" Config Id CFG_GNB_01 @@ -46,9 +44,20 @@ Package TP_GNB { AMF_UE_NGAP_ID, RAN_UE_NGAP_ID, PDU_Session_Resource_Setup_Request_List containing - PDU_SessionId, + PDU_Session_Resource_Setup_Request_Item containing + PDU_SessionId indicating value PX_PDU_ID, S_NSSAI, - PDU_Session_Resource_Setup_Request_Transfer; + PDU_Session_Resource_Setup_Request_Transfer containing + UL_NG_U_UP_TNL, + PDU_SessionType, + QoSFlowSetupRequestList containing + QoSFlowSetupRequestItem containing + QoSFlowIndicator, + QoSFlowLevelQoSParameters; + ; + ; + ; + ; ; from the AMF entity } @@ -57,23 +66,27 @@ Package TP_GNB { AMF_UE_NGAP_ID, RAN_UE_NGAP_ID, PDU_Session_Resource_Setup_Response_List containing - PDU_SessionId, - PDU_Session_Resource_Setup_Response_Transfer; + PDU_Session_Resource_Setup_Response_Item containing + PDU_SessionId indicating value PX_PDU_ID, + PDU_Session_Resource_Setup_Response_Transfer containing + DL_QoS_Flow_per_TNL_Information; + ; + ; ; to the AMF entity - } - } + } + } - } // end TP_NGAP_GNB_PDU_01 + } // end TP_NGAP_GNB_PDU_01 Test Purpose { TP Id TP_NGAP_GNB_PDU_02 - Test objective "Verify that the NG-RAN node successfully processes a PDU SESSION RESOURCE SETUP REQUEST contains mandatory IEs and answers with PDU SESSION RESOURCE SETUP RESPONSE with failed PDU session." + Test objective "Verify that the NG-RAN node reports the establishment of the corresponding PDU session as failed if a PDU SESSION RESOURCE SETUP REQUEST contains several PDU Session ID IEs set to the same value." Reference - "ETSI TS 138 413 [1], Clauses 8.2.1.2" + "ETSI TS 138 413 [1], Clause 8.2.1.4" Config Id CFG_GNB_01 @@ -90,9 +103,33 @@ Package TP_GNB { AMF_UE_NGAP_ID, RAN_UE_NGAP_ID, PDU_Session_Resource_Setup_Request_List containing - PDU_SessionId, + PDU_Session_Resource_Setup_Request_Item containing + PDU_SessionId indicating value PX_PDU_ID, S_NSSAI, - PDU_Session_Resource_Setup_Request_Transfer; + PDU_Session_Resource_Setup_Request_Transfer containing + UL_NG_U_UP_TNL, + PDU_SessionType, + QoSFlowSetupRequestList containing + QoSFlowSetupRequestItem containing + QoSFlowIndicator, + QoSFlowLevelQoSParameters; + ; + ; + ;, + PDU_Session_Resource_Setup_Request_Item containing + PDU_SessionId indicating value PX_PDU_ID, + S_NSSAI, + PDU_Session_Resource_Setup_Request_Transfer containing + UL_NG_U_UP_TNL, + PDU_SessionType, + QoSFlowSetupRequestList containing + QoSFlowSetupRequestItem containing + QoSFlowIndicator, + QoSFlowLevelQoSParameters; + ; + ; + ; + ; ; from the AMF entity } @@ -101,58 +138,1653 @@ Package TP_GNB { AMF_UE_NGAP_ID, RAN_UE_NGAP_ID, PDU_Session_Resource_Failed_to_Setup_List containing + DU_Session_Resource_Failed_to_Setup_Item containing PDU_SessionId, - PDU_Session_Resource_Setup_Unsuccessful_Transfer; + PDU_Session_Resource_Setup_Unsuccessful_Transfer containing + Cause indicating value MultiplePDUSessionIDInstances; + ; + ; + ; + to the AMF entity + } + } + + } // end TP_NGAP_GNB_PDU_02 + + Test Purpose { + + TP Id TP_NGAP_GNB_PDU_03 + + Test objective "Verify that the NG-RAN node reports the establishment of the new PDU session as failed if a PDU SESSION RESOURCE SETUP REQUEST contains a PDU Session ID IE set to value that identifies an active PDU Session. NOTE: Run TP_NGAP_GNB_PDU_01 before this TP " + + Reference + "ETSI TS 138 413 [1], Clause 8.2.1.4" + + Config Id CFG_GNB_01 + + PICS Selection PICS_A3/5_1 + + Initial conditions with { + the UE entity isRegisteredTo the AMF + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a PDU_SESSION_RESOURCE_SETUP_REQUEST containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + PDU_Session_Resource_Setup_Request_List containing + PDU_Session_Resource_Setup_Request_Item containing + PDU_SessionId indicating value PX_PDU_ID, + S_NSSAI, + PDU_Session_Resource_Setup_Request_Transfer containing + UL_NG_U_UP_TNL, + PDU_SessionType, + QoSFlowSetupRequestList containing + QoSFlowSetupRequestItem containing + QoSFlowIndicator, + QoSFlowLevelQoSParameters; + ; + ; + ; + ; + ; + from the AMF entity + } + then { + the IUT entity sends a PDU_SESSION_RESOURCE_SETUP_RESPONSE containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + PDU_Session_Resource_Failed_to_Setup_List containing + DU_Session_Resource_Failed_to_Setup_Item containing + PDU_SessionId indicating value PX_PDU_ID, + PDU_Session_Resource_Setup_Unsuccessful_Transfer containing + Cause indicating value MultiplePDUSessionIDInstances; + ; + ; + ; + to the AMF entity + } + } + + } // end TP_NGAP_GNB_PDU_03 + + Test Purpose { + + TP Id TP_NGAP_GNB_PDU_04 + + Test objective "Verify that the NG-RAN node reports the establishment of the corresponding PDU session as failed if a PDU SESSION RESOURCE SETUP REQUEST contains a QoS Flow Setup Request List IE in the PDU Session Resource Setup Request Transfer IE including at least one Non-GBR QoS flow but the PDU Session Aggregate Maximum Bit Rate IE is not present. " + + Reference + "ETSI TS 138 413 [1], Clause 8.2.1.4" + + Config Id CFG_GNB_01 + + PICS Selection PICS_A3/5_1 + + Initial conditions with { + the UE entity isRegisteredTo the AMF + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a PDU_SESSION_RESOURCE_SETUP_REQUEST containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + PDU_Session_Resource_Setup_Request_List containing + PDU_Session_Resource_Setup_Request_Item containing + PDU_SessionId indicating value PX_PDU_ID, + S_NSSAI, + PDU_Session_Resource_Setup_Request_Transfer containing + UL_NG_U_UP_TNL, + PDU_SessionType, + QoSFlowSetupRequestList containing + QoSFlowSetupRequestItem containing + QoSFlowIndicator indicating value Non_GBR_QoS, + QoSFlowLevelQoSParameters; + ; + ; + ; + ;, + not UEAggregateMaximumBitRate + ; + from the AMF entity + } + then { + the IUT entity sends a PDU_SESSION_RESOURCE_SETUP_RESPONSE containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + PDU_Session_Resource_Failed_to_Setup_List containing + DU_Session_Resource_Failed_to_Setup_Item containing + PDU_SessionId indicating value PX_PDU_ID, + PDU_Session_Resource_Setup_Unsuccessful_Transfer containing + Cause indicating value InvalidQoSCombination; + ; + ; + ; + to the AMF entity + } + } + + } // end TP_NGAP_GNB_PDU_04 + + //TODO:possible to add 2 tests from 8.2.1.4 paragraph 4 + + Test Purpose { + + TP Id TP_NGAP_GNB_PDU_05 + + Test objective "Verify that the NG-RAN node successfully processes a PDU SESSION RESOURCE RELEASE COMMAND contains mandatory IEs and answers with PDU SESSION RESOURCE RELEASE RESPONSE to release PDU session." + + Reference + "ETSI TS 138 413 [1], Clause 8.2.2.2" + + Config Id CFG_GNB_01 + + PICS Selection PICS_A3/5_1 + + Initial conditions with { + the UE entity isRegisteredTo the AMF + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a PDU_SESSION_RESOURCE_RELEASE_COMMAND containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + PDU_Session_Resource_To_Release_List containing + PDU_Session_Resource_To_Release_Item containing + PDU_SessionId indicating value PX_PDU_ID, + S_NSSAI, + PDU_Session_Resource_Release_Command_Transfer containing + Cause indicating value PX_Cause; //normal_release + ; + ; + ; + from the AMF entity + } + then { + the IUT entity sends a PDU_SESSION_RESOURCE_RELEASE_RESPONSE containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + PDU_Session_Resource_Released_List containing + PDU_Session_Resource_Released_Item containing + PDU_SessionId indicating value PX_PDU_ID, + PDU_Session_Resource_Release_Response_Transfer; + ; + ; + to the AMF entity + } + } + + } // end TP_NGAP_GNB_PDU_05 + + Test Purpose { + + TP Id TP_NGAP_GNB_PDU_06 + + Test objective "Verify that the NG-RAN node successfully processes a PDU SESSION RESOURCE RELEASE COMMAND containing multiple PDU Session ID IEs set to the same value and ignore the duplication." + + Reference + "ETSI TS 138 413 [1], Clause 8.2.2.2" + + Config Id CFG_GNB_01 + + PICS Selection PICS_A3/5_1 + + Initial conditions with { + the UE entity isRegisteredTo the AMF + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a PDU_SESSION_RESOURCE_RELEASE_COMMAND containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + PDU_Session_Resource_To_Release_List containing + PDU_Session_Resource_To_Release_Item containing + PDU_SessionId indicating value PX_PDU_ID, + S_NSSAI, + PDU_Session_Resource_Release_Command_Transfer containing + Cause indicating value PX_Cause; //normal_release + ;, + PDU_Session_Resource_To_Release_Item containing + PDU_SessionId indicating value PX_PDU_ID, + S_NSSAI, + PDU_Session_Resource_Release_Command_Transfer containing + Cause indicating value PX_Cause; //normal_release + ; + ; + ; + from the AMF entity + } + then { + the IUT entity sends a PDU_SESSION_RESOURCE_RELEASE_RESPONSE containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + PDU_Session_Resource_Released_List containing + PDU_Session_Resource_Released_Item containing + PDU_SessionId indicating value PX_PDU_ID, + PDU_Session_Resource_Release_Response_Transfer; + ; + ; + to the AMF entity + } + } + + } // end TP_NGAP_GNB_PDU_06 + + Test Purpose { + + TP Id TP_NGAP_GNB_PDU_07 + + Test objective "Verify that the NG-RAN node successfully processes a PDU SESSION RESOURCE MODIFY REQUEST contains mandatory IEs and answers with PDU SESSION RESOURCE MODIFY RESPONSE for successfully modified PDU session." + + Reference + "ETSI TS 138 413 [1], Clause 8.2.3.2" + + Config Id CFG_GNB_01 + + PICS Selection PICS_A3/5_1 + + Initial conditions with { + the UE entity isRegisteredTo the AMF + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a PDU_SESSION_RESOURCE_MODIFY_REQUEST containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + PDU_Session_Resource_Modify_Request_List containing + PDU_Session_Resource_Modify_Request_Item containing + PDU_SessionId indicating value PX_PDU_ID, + PDU_Session_Resource_Modify_Request_Transfer containing +// UL_NG_U_UP_TNL_Modify_List containing +// UL_NG_U_UP_TNL_Modify_Item containing +// UL_NG_U_UP_TNL_Information +// DL_NG_U_UP_TNL_Information +// ; +// ;, + QoSFlowAddorModifyRequestList containing + QoSFlowAddorModifyRequestItem containing + QoSFlowIdentifier; + ; + ; + ; + ; + ; + from the AMF entity + } + then { + the IUT entity sends a PDU_SESSION_RESOURCE_MODIFY_RESPONSE containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + PDU_Session_Resource_Modify_Response_List containing + PDU_Session_Resource_Modify_Response_Item containing + PDU_SessionId indicating value PX_PDU_ID, + PDU_Session_Resource_Modify_Response_Transfer containing + QoSFlowAddorModifyResponsetList containing + QoSFlowAddorModifyResponsetItem containing + QoSFlowIdentifier; + ; + ; + ; + ; + ; + to the AMF entity + } + } + + } // end TP_NGAP_GNB_PDU_07 + + //TODO:possible to add tests from 8.2.3.4 for failed actions + + Test Purpose { + + TP Id TP_NGAP_GNB_PDU_08 + + Test objective "Verify that the IUT can send a PDU_SESSION_RESOURCE_NOTIFY that already established QoS flow or PDU session for given UE are release." + + Reference + "ETSI TS 138 413 [1], Clauses 8.2.4.2" + + Config Id CFG_GNB_01 + + PICS Selection PICS_A3/5_1 + + Initial conditions with { + the UE entity isRegisteredTo the AMF + } + + Expected behaviour + ensure that { + when { + the IUT entity indicate a PDU session resource notify procedure + } + then { + the IUT entity sends a PDU_SESSION_RESOURCE_NOTIFY containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + PDU_Session_Resource_Released_List containing + PDU_Session_Resource_Released_Item containing + PDU_SessionId indicating value PX_PDU_ID, + S_NSSAI, + PDU_Session_Resource_Notify_Released_Transfer containing + Cause; + ; + ; ; to the AMF entity } } - } // end TP_NGAP_GNB_PDU_02 - - } // end Group 8.2 PDU Session Management Procedures - - - - Group "8.6 Initial UE message" - { - import all from Ngap_Common; + } // end TP_NGAP_GNB_PDU_08 Test Purpose { - TP Id TP_NGAP_GNB_NAS_01 + TP Id TP_NGAP_GNB_PDU_09 - Test objective "Verify that the IUT can send an INITIAL_UE_MESSAGE to indicate the initiation of a NAS Transport procedure" + Test objective "Verify that the IUT can send a PDU_SESSION_RESOURCE_MODIFY_INDICATION to request modification of established PDU session." Reference - "ETSI TS 138 413 [1], Clauses 8.6.1.2 and 9.2.5.1" + "ETSI TS 138 413 [1], Clauses 8.2.5.2" Config Id CFG_GNB_01 PICS Selection PICS_A3/5_1 Initial conditions with { - the IUT entity indicate the initiation "of a NAS Transport procedure" + the UE entity isRegisteredTo the AMF } Expected behaviour ensure that { when { - the IUT entity indicate the initiation "of a NAS Transport procedure" + the IUT entity indicate a PDU session resource modify indicationy procedure } then { - the IUT entity sends an INITIAL_UE_MESSAGE containing + the IUT entity sends a PDU_SESSION_RESOURCE_MODIFY_INDICATION containing + AMF_UE_NGAP_ID, RAN_UE_NGAP_ID, - NAS_PDU, - User_Location, - RRC_Establishmnet_Cause; + PDU_Session_Resource_Modify_Indication_List containing + PDU_Session_Resource_Modify_Indication_Item containing + PDU_SessionId indicating value PX_PDU_ID, + PDU_Session_Resource_Modify_Indication_Transfer containing + DLQoSFlowperTNLInformation; + ; + ; + ; to the AMF entity } } - } // end TP_NGAP_AMF_PDU_01 + } // end TP_NGAP_GNB_PDU_09 - } // end Group 8.6 Initial UE message + } // end Group 8.2 PDU Session Management Procedures -} // End of Package TP_GNB + Group "8.3 UE Context Management Procedures" + { + import all from Ngap_Common; + + Group "Initial Context Setup" + { + import all from Ngap_Common; + + Test Purpose { + + TP Id TP_NGAP_GNB_CMP_01 + + Test objective "Verify that the NG-RAN node successfully processes a INITIAL CONTEXT SETUP REQUEST contains mandatory IEs and answers with INITIAL CONTEXT SETUP RESPONSE with successfully established UE context." + + Reference + "ETSI TS 138 413 [1], Clauses 8.3.1.2" + + Config Id CFG_GNB_01 + + PICS Selection PICS_A3/5_1 //TODO: Not sure here. PIC means item 5.1 in table A3 but couldn't find either. + + Initial conditions with { + the UE entity isRegisteredTo the AMF // TODO + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a INITIAL_CONTEXT_SETUP_REQUEST containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + GUAMI, + PDU_Session_Resource_Setup_Request_List containing + PDU_Session_Resource_Setup_Request_Item containing + PDU_SessionId indicating value PX_PDU_ID, + S_NSSAI, + PDU_Session_Resource_Setup_Request_Transfer + ; + ;, + Allowed_NSSAI, + UE_Security_Capabilities, + Security_Key + ; + from the AMF entity + } + then { + the IUT entity sends a INITIAL_CONTEXT_SETUP_RESPONSE containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + PDU_Session_Resource_Setup_Response_List containing + PDU_SessionId, + PDU_Session_Resource_Setup_Response_Transfer; + ; + to the AMF entity + } + } + + } // end TP_NGAP_GNB_CMP_01 + + Test Purpose { + + TP Id TP_NGAP_GNB_CMP_02 + + Test objective "Verify that the NG-RAN node successfully processes a INITIAL CONTEXT SETUP REQUEST contains mandatory IEs and answers with INITIAL CONTEXT SETUP RESPONSE with failed PDU session." + + Reference + "ETSI TS 138 413 [1], Clauses 8.3.1.2" + + Config Id CFG_GNB_01 + + PICS Selection PICS_A3/5_1 //TODO: Not sure here. PIC means item 5.1 in table A3 but couldn't find either. + + Initial conditions with { + the UE entity isRegisteredTo the AMF // TODO; check initial conditions + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a INITIAL_CONTEXT_SETUP_REQUEST containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + GUAMI, + PDU_Session_Resource_Setup_Request_List containing + PDU_Session_Resource_Setup_Request_Item containing + PDU_SessionId, + S_NSSAI, + PDU_Session_Resource_Setup_Request_Transfer + ; + ;, + Allowed_NSSAI, + UE_Security_Capabilities, + Security_Key + ; + from the AMF entity + } + then { + the IUT entity sends a INITIAL_CONTEXT_SETUP_RESPONSE containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + PDU_Session_Resource_Failed_to_Setup_List containing + PDU_SessionId indicating value PX_PDU_ID, + PDU_Session_Resource_Setup_Unsuccessful_Transfer; + ; + to the AMF entity + } + } + + } // end TP_NGAP_GNB_CMP_02 + } // end Group Initial Context Setup + + Group "UE Context Release (NG-RAN node initiated)" + { + + import all from Ngap_Common; + + Test Purpose { + + TP Id TP_NGAP_GNB_CMP_10 + + Test objective "Verify that the NG-RAN node successfully requests the AMF to release the UE-associated logical NG-connection." + + Reference + "ETSI TS 138 413 [1], Clauses 8.3.2.2" + + Config Id CFG_GNB_01 + + PICS Selection PICS_A3/5_1 //TODO: Not sure here. PIC means item 5.1 in table A3 but couldn't find either. + + Initial conditions with { + the UE entity isRegisteredTo the AMF // TODO: check initial conditions + } + + Expected behaviour + ensure that { + when { + the IUT entity indicate a UE context release request + } + then { + the IUT entity sends a UE_CONTEXT_RELEASE_REQUEST containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID + PDU_Session_Resource_List containing + PDS_Session_Resource_Item containing + PDU_Session_ID indicating value PX_PDU_ID + ; + ;, + Cause + ; + to the AMF entity + } + + } + + } // End TP TP_NGAP_GNB_CMP_10 + + } // End Group "UE Context Release (NG-RAN node initiated)" + + Group "UE Context Release (AMF initiated)" + { + import all from Ngap_Common; + + Test Purpose { + + TP Id TP_NGAP_GNB_CMP_07 + + Test objective "Verify that the NG-RAN node successfully processes a UE CONTEXT RELEASE COMMAND that contains both the AMF UE NGAP ID IE and the RAN UE NGAP ID IE and answers with UE CONTEXT RELEASE COMPLETE with successfully release UE context." + + Reference + "ETSI TS 138 413 [1], Clauses 8.3.3" + + Config Id CFG_GNB_01 + + PICS Selection PICS_A3/5_1 //TODO: Not sure here. PIC means item 5.1 in table A3 but couldn't find either. + + Initial conditions with { + the UE entity isRegisteredTo the AMF // TODO + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a UE_CONTEXT_RELEASE_COMMAND containing + CHOICE_UE_NGAP_IDs containing + UE_NGAP_ID_pair containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID + ; + ; + ; + from the AMF entity + } + then { + the IUT entity sends a UE_CONTEXT_RELEASE_COMPLETE containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + PDU_Session_Resource_List containing + PDU_Session_Resource_Item containing + PDU_SessionId indicating value PX_PDU_ID, + PDU_Session_Resource_Release_Response_Transfer + ; + ; + ; + to the AMF entity + } + } + + } // end TP_NGAP_GNB_CMP_07 + + Test Purpose { + + TP Id TP_NGAP_GNB_CMP_09 + + Test objective "Verify that the NG-RAN node successfully processes a UE CONTEXT RELEASE COMMAND where both the AMF UE NGAP ID IE and the RAN UE NGAP ID IE are not available and answers with UE CONTEXT RELEASE COMPLETE with successfully release UE context." + + Reference + "ETSI TS 138 413 [1], Clauses 8.3.3" + + Config Id CFG_GNB_01 + + PICS Selection PICS_A3/5_1 //TODO: Not sure here. PIC means item 5.1 in table A3 but couldn't find either. + + Initial conditions with { + the UE entity isRegisteredTo the AMF // TODO + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a UE_CONTEXT_RELEASE_COMMAND containing + CHOICE_UE_NGAP_IDs containing + AMF_UE_NGAP_ID containing + AMF_UE_NGAP_ID + ; + ; + ; + from the AMF entity + } + then { + the IUT entity sends a UE_CONTEXT_RELEASE_COMPLETE containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + PDU_Session_Resource_List containing + PDU_Session_Resource_Item containing + PDU_SessionId indicating value PX_PDU_ID, + PDU_Session_Resource_Release_Response_Transfer + ; + ; + ; + to the AMF entity + } + } + + } // end TP_NGAP_GNB_CMP_09 + + } // End Group "UE Context Release (AMF initiated)" + + Group "UE Context Modification" + { + import all from Ngap_Common; + + Test Purpose { + + TP Id TP_NGAP_GNB_CMP_03 + + Test objective "Verify that the NG-RAN node successfully processes a UE CONTEXT MODIFICATION REQUEST contains mandatory IEs and answers with UE CONTEXT MODIFICATION FAILURE with failed PDU session." + Reference + "ETSI TS 138 413 [1], Clauses 8.3.4.3" + + Config Id CFG_GNB_01 + + PICS Selection PICS_A3/5_1 //TODO: Not sure here. PIC means item 5.1 in table A3 but couldn't find either. + + Initial conditions with { + the UE entity isRegisteredTo the AMF // TODO; check initial conditions + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a UE_CONTEXT_MODIFICATION_REQUEST containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID + ; + from the AMF entity + } + then { + the IUT entity sends a UE_CONTEXT_MODIFICATION_FAILURE containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + Cause + ; + to the AMF entity + } + } + + } // end TP TP_NGAP_GNB_CMP_03 + + Test Purpose { + + TP Id TP_NGAP_GNB_CMP_04 + + Test objective "Verify that the NG-RAN node successfully processes a UE CONTEXT MODIFICATION REQUEST contains mandatory IEs and answers with UE CONTEXT MODIFICATION RESPONSE with successfully modify UE context." + + Reference + "ETSI TS 138 413 [1], Clauses 8.3.4.2" + + Config Id CFG_GNB_01 + + PICS Selection PICS_A3/5_1 //TODO: Not sure here. PIC means item 5.1 in table A3 but couldn't find either. + + Initial conditions with { + the UE entity isRegisteredTo the AMF // TODO: check initial conditions + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a UE_CONTEXT_MODIFICATION_REQUEST containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID + ; + from the AMF entity + } + then { + the IUT entity sends a UE_CONTEXT_MODIFICATION_RESPONSE containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID + ; + to the AMF entity + } + } + + } // end TP TP_NGAP_GNB_CMP_04 + + } // end Group UE Context Modification + + Group "RRC Inactive Transition Report" + { + import all from Ngap_Common; + + Test Purpose { + + TP Id TP_NGAP_GNB_CMP_07 + + Test objective "Verify that the IUT can send a RRC INACTIVE TRANSITION REPORT that contains mandatory IEs" + + Reference + "ETSI TS 138 413 [1], Clauses 8.3.5" + + Config Id CFG_GNB_01 + + PICS Selection PICS_A3/5_1 //TODO: Not sure here. PIC means item 5.1 in table A3 but couldn't find either. + + Initial conditions with { + the UE entity isRegisteredTo the AMF // TODO: check initial conditions + } + + Expected behaviour + ensure that { + when { + the IUT entity indicate a RRC inactive transition report + } + then { + the IUT entity sends a RRC_INACTIVE_TRANSITION_REPORT containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + RRC_State, + User_Location_Information + ; + to the AMF entity + } + } + + } // end TP TP_NGAP_GNB_CMP_07 + + } // End Group "RRC Inactive Transition Report" + + Group "RAN CP Relocation Indication" + { + + import all from Ngap_Common; + + Test Purpose { + + TP Id TP_NGAP_GNB_CMP_08 + + Test objective "Verify that the IUT can send a RAN CP Relocation Indication that contains mandatory IEs." + + Reference + "ETSI TS 138 413 [1], Clauses 8.3.8.2" + + Config Id CFG_GNB_01 + + PICS Selection PICS_A3/5_1 //TODO: Not sure here. PIC means item 5.1 in table A3 but couldn't find either. + + Initial conditions with { + the UE entity isRegisteredTo the AMF // TODO: check initial conditions + } + + Expected behaviour + ensure that { + when { + the IUT entity indicate a RAN CP relocation indication procedure + } + then { + the IUT entity sends a RAN_CP_RELOCATION_INDICATION containing + RAN_UE_NGAP_ID, + 5G_S_TMSI, + E_ULTRA_CGI, + TAI, + UL_CP_Security_Information + ; + to the AMF entity + } + + } + + } // End TP TP_NGAP_GNB_CMP_08 + + } // End Group "RAN CP Relocation Indication" + + Group "UE Context Suspend" + { + import all from Ngap_Common; + + Test Purpose { + + TP Id TP_NGAP_GNB_CMP_05 + + Test objective "Verify that the IUT can send a UE CONTEXT SUSPEND REQUEST contains mandatory IEs" + + Reference + "ETSI TS 138 413 [1], Clauses 8.3.11.2" + + Config Id CFG_GNB_01 + + PICS Selection PICS_A3/5_1 //TODO: Not sure here. PIC means item 5.1 in table A3 but couldn't find either. + + Initial conditions with { + the UE entity isRegisteredTo the AMF // TODO: check initial conditions + } + + Expected behaviour + ensure that { + when { + the IUT entity indicate a UE context suspend request + } + then { + the IUT entity sends a UE_CONTEXT_SUSPEND_REQUEST containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + PDU_Session_Resource_Suspend_List containing + PDU_Session_Resource_Suspend_Item containing + PDU_SessionId indicating value PX_PDU_ID, + UE_Context_Suspend_Request_Transfer + ; + ; + ; + to the AMF entity + } + } + + } // end TP TP_NGAP_GNB_CMP_05 + + + }// end Group UE Context Suspend + + Group "UE Context Resume" + { + import all from Ngap_Common; + + Test Purpose { + + TP Id TP_NGAP_GNB_CMP_06 + + Test objective "Verify that the IUT can send a UE CONTEXT RESUME REQUEST contains mandatory IEs" + + Reference + "ETSI TS 138 413 [1], Clauses 8.3.12.2" + + Config Id CFG_GNB_01 + + PICS Selection PICS_A3/5_1 //TODO: Not sure here. PIC means item 5.1 in table A3 but couldn't find either. + + Initial conditions with { + the UE entity isRegisteredTo the AMF // TODO: check initial conditions + } + + Expected behaviour + ensure that { + when { + the IUT entity indicate a UE context resume request + } + then { + the IUT entity sends a UE_CONTEXT_RESUME_REQUEST containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + RRC_Resume_Cause, + PDU_Session_Resource_Resume_List containing + PDU_Session_Resource_Suspend_Item containing + PDU_SessionId indicating value PX_PDU_ID, + UE_Context_Resume_Request_Transfer + ; + ; + ; + to the AMF entity + } + } + + } // end TP TP_NGAP_GNB_CMP_06 + + } // End Group "UE Context Resume" + + } // end Group 8.3 UE Context Management Procedures + + Group "8.4 UE Mobility Management Procedures" + { + + Group "Handover Preparation" + { + import all from Ngap_Common; + + Test Purpose { + + TP Id TP_NGAP_GNB_MMP_01 + + Test objective "Verify that the IUT can send a HANDOVER REQUIRED message containing mandatory IEs." + + Reference + "ETSI TS 138 413 [1], Clauses 8.3.11.2 and 9.2.3.1" + + Config Id CFG_GNB_01 + + PICS Selection PICS_A3/5_1 //TODO: Not sure here. PIC means item 5.1 in table A3 but couldn't find either. + + Initial conditions with { + the UE entity isRegisteredTo the AMF // TODO: check initial conditions + } + + Expected behaviour + ensure that { + when { + the IUT entity indicate the initiation "of a Handover Required procedure" + } + then { + the IUT entity sends a HANDOVER_REQUIRED containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + Handover_Typ, + Cause, + Target_ID, + PDU_Session_Resource_List containing + PDU_Session_Resource_Item containing + PDU_SessionId indicating value PX_PDU_ID, + Handover_Required_Transfer + ; + ;, + Source_to_Target_Transparent_Container + ; + to the AMF entity + } + } + + } // end TP TP_NGAP_GNB_MMP_01 + + + } // End Group "Handover Preparation" + + Group "Handover Resource Allocation" + { + import all from Ngap_Common; + + Test Purpose { + + TP Id TP_NGAP_GNB_MMP_08 + + Test objective "Verify that the GNB node successfully processes a HANDOVER REQUEST message that contains mandatory IEs and answers with HANDOVER REQUEST ACKNOWLEDGE to acknowledge the handover." + + Reference + "ETSI TS 138 413 [1], Clauses 8.4.2.2, 9.2.3.4 and 9.2.3.5" + + Config Id CFG_GNB_01 + + PICS Selection PICS_A3/5_1 //TODO: Not sure here. PIC means item 5.1 in table A3 but couldn't find either. + + Initial conditions with { + the UE entity isRegisteredTo the AMF // TODO: check initial conditions + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a HANDOVER_REQUEST containing + AMF_UE_NGAP_ID, + Handover_Typ, + Cause, + UE_Aggregate_Maximum_Bit_Rate, + UE_Security_Capabilities, + Security_Context, + PDU_Session_Resource_Setup_List containing + PDU_Session_Resource_Setup_Item containing + PDU_SessionId indicating value PX_PDU_ID, + S_NSSAI, + Handover_Request_Transfer + ; + ;, + Allowed_NSSAI, + Source_to_Target_Transparent_Container, + GUAMI + ; + from the AMF entity + } + then { + the IUT entity sends a HANDOVER_REQUEST_ACKNOWLEDGE containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + PDU_Session_Resource_Admitted_List containing + PDU_Session_Resource_Admitted_Item containing + PDU_SessionId indicating value PX_PDU_ID, + Handover_Request_Acknowledge_Transfer + ; + ;, + Target_to_Source_Transparent_Container + ; + to the AMF entity + } + } + + } // end TP TP_NGAP_GNB_MMP_08 + + } // End Group "Handover Resource Allocation" + + Group "Handover Notification" + { + import all from Ngap_Common; + + Test Purpose { + + TP Id TP_NGAP_GNB_MMP_07 + + Test objective "Verify that the AMF node successfully sends a HANDOVER NOTIFICATION message that contains mandatory IEs to the AMF." + + Reference + "ETSI TS 138 413 [1], Clauses 8.4.3.2 and 9.2.3.7" + + Config Id CFG_AMF_01 + + PICS Selection PICS_A3/5_1 //TODO: Not sure here. PIC means item 5.1 in table A3 but couldn't find either. + + Initial conditions with { + the UE entity isRegisteredTo the AMF // TODO: check initial conditions + } + + Expected behaviour + ensure that { + when { + the IUT entity indicate the initiation "of a Handover Notify procedure" + } + then { + the IUT entity sends a HANDOVER_NOTIFY containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + User_Location_Information + ; + to the AMF entity + } + + } + + + } // End TP_NGAP_GNB_MMP_07 + + } // End Group "Handover Notification" + + Group "Path Switch Request" + { + import all from Ngap_Common; + + Test Purpose { + + TP Id TP_NGAP_GNB_MMP_05 + + Test objective "Verify that the AMF node successfully sends a PATH SWITCH REQUEST message that contains mandatory IEs to the AMF." + + Reference + "ETSI TS 138 413 [1], Clauses 8.4.4.2 and 9.2.3.8" + + Config Id CFG_AMF_01 + + PICS Selection PICS_A3/5_1 //TODO: Not sure here. PIC means item 5.1 in table A3 but couldn't find either. + + Initial conditions with { + the UE entity isRegisteredTo the AMF // TODO: check initial conditions + } + + Expected behaviour + ensure that { + when { + the IUT entity indicate the initiation "of a Path Switch Request procedure" + } + then { + the IUT entity sends a PATH_SWITCH_REQUEST containing + RAN_UE_NGAP_ID, + Source_AMF_UE_NGAP_ID, + User_Location_Information, + UE_Security_Capabilities, + PDU_Session_Resources_to_be_Switched_in_Downlink_List containing + PDU_Session_Resources_to_be_Switched_in_Downlink_Item containing + PDU_SessionId indicating value PX_PDU_ID, + Path_Switch_Request_Transfer + ; + ; + ; + to the AMF entity + } + + } + + + } // End TP_NGAP_GNB_MMP_05 + + } // End Group "Path Switch Request" + + Group "Handover Cancellation" + { + import all from Ngap_Common; + + Test Purpose { + + TP Id TP_NGAP_GNB_MMP_06 + + Test objective "Verify that the GNB node successfully sends a HANDOVER CANCEL message that contains mandatory IEs to the AMF." + + Reference + "ETSI TS 138 413 [1], Clauses 8.4.5.2 and 9.2.3.11" + + Config Id CFG_AMF_01 + + PICS Selection PICS_A3/5_1 //TODO: Not sure here. PIC means item 5.1 in table A3 but couldn't find either. + + Initial conditions with { + the UE entity isRegisteredTo the AMF // TODO: check initial conditions + } + + Expected behaviour + ensure that { + when { + the IUT entity indicate the initiation "of a Handover Cancel procedure" + } + then { + the IUT entity sends a HANDOVER_CANCEL containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + Cause + ; + to the AMF entity + } + } + + } // End TP_NGAP_GNB_MMP_06 + } // End Group "Handover Cancellation" + + Group "Uplink RAN Status Transfer" + { + import all from Ngap_Common; + + Test Purpose { + + TP Id TP_NGAP_GNB_MMP_02 + + Test objective "Verify that the NG-RAN node successfully send a Uplink RAN Status Transfer message to the AMF." + + Reference + "ETSI TS 138 413 [1], Clauses 8.4.6.2 and 9.2.3.13" + + Config Id CFG_GNB_01 + + PICS Selection PICS_A3/5_1 //TODO: Not sure here. PIC means item 5.1 in table A3 but couldn't find either. + + Initial conditions with { + the UE entity isRegisteredTo the AMF // TODO: check initial conditions + } + + Expected behaviour + ensure that { + when { + the IUT entity indicate the initiation "of an UE Uplink RAN Status Transfer procedure" + } + then { + the IUT entity sends a UPLINK_RAN_STATUS_TRANSFER containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + RAN_Status_Transfer_Transparent_Container + ; + to the AMF entity + } + + } // End TP_NGAP_GNB_MMP_02 + } + } // End Group "Uplink RAN Status Transfer" + + Group "Handover Success" + { + import all from Ngap_Common; + + Test Purpose { + + TP Id TP_NGAP_GNB_MMP_03 + + Test objective "Verify that the NG-RAN node successfully sends a Handover Success message to the AMF." + + Reference + "ETSI TS 138 413 [1], Clauses 8.4.8.2 and 9.2.3.15" + + Config Id CFG_GNB_01 + + PICS Selection PICS_A3/5_1 //TODO: Not sure here. PIC means item 5.1 in table A3 but couldn't find either. + + Initial conditions with { + the UE entity isRegisteredTo the AMF // TODO: check initial conditions + } + + Expected behaviour + ensure that { + when { + the IUT entity indicate the initiation "of an UE handover success procedure" + } + then { + the IUT entity sends a HANDOVER_SUCCESS containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID + ; + to the AMF entity + } + } + } // End TP_NGAP_GNB_MMP_03 + + } // End Group "Handover Success" + + Group "Uplink RAN Early Status Transfer" + { + import all from Ngap_Common; + + Test Purpose { + + TP Id TP_NGAP_GNB_MMP_04 + + Test objective "Verify that the NG-RAN node successfully sends a Uplink RAN Early Status Transfer message to the AMF." + + Reference + "ETSI TS 138 413 [1], Clauses 8.4.9.2 and 9.2.3.16" + + Config Id CFG_GNB_01 + + PICS Selection PICS_A3/5_1 //TODO: Not sure here. PIC means item 5.1 in table A3 but couldn't find either. + + Initial conditions with { + the UE entity isRegisteredTo the AMF // TODO: check initial conditions + } + + Expected behaviour + ensure that { + when { + the IUT entity indicate the initiation "of an Uplink RAN Early Status Transfer" + } + then { + the IUT entity sends a UPLINK_RAN_EARLY_STATUS_TRANSFER containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + Early_Status_Transfer_Transparent_Container + ; + to the AMF entity + } + } + } // End TP_NGAP_GNB_MMP_04 + + } // End Group "Uplink RAN Early Status Transfer" + + } // End Group "8.4 UE Mobility Management Procedures" + + Group "8.5 Paging Procedures" + { + Group "Paging" + { + import all from Ngap_Common; + + Test Purpose { + + TP Id TP_NGAP_GNB_PAG_01 + + Test objective "Verify that the IUT can send a PAGING message to enable the AMF to page a UE." + + Reference + "ETSI TS 138 413 [1], Clauses 8.5.1.2 and 9.2.4.1" + + Config Id CFG_GNB_01 + + PICS Selection PICS_A3/5_1 + + // TODO: initial condition? + Initial conditions with { + the UE entity isRegisteredTo the AMF + } + + Expected behaviour + ensure that { + when { + the IUT entity indicate the initiation "of a Page procedure" + } + then { + the IUT entity sends an INITIAL_UE_MESSAGE containing + UE_Paging_Identity containing + 5G_S_TMSI containing + 5G_S_TMSI + ; + ; + ; + to the AMF entity + } + } + + } // end TP_NGAP_GNB_PAG_01 + } // end "Paging" + + } // end "8.5 Paging Procedures" + + Group "8.6 Transport of NAS Messages Procedures" + { + Group "Initial UE Message" + { + import all from Ngap_Common; + + Test Purpose { + + TP Id TP_NGAP_GNB_NAS_01 + + Test objective "Verify that the IUT can send an INITIAL_UE_MESSAGE to indicate the initiation of a NAS Transport procedure" + + Reference + "ETSI TS 138 413 [1], Clauses 8.6.1.2 and 9.2.5.1" + + Config Id CFG_GNB_01 + + PICS Selection PICS_A3/5_1 + + Initial conditions with { + the UE entity isCMIDLE in the GNB entity + } + + /* TODO: + * + * Maybe improve trigger (see sequence diagram 4.24.1-1 in ts_123501): + * If the UE is in CM-IDLE, the UE first establishes an RRC connection + * OR + * sends the RRCEarlyDataRequest message and sends a NAS message as part of this + * + */ + Expected behaviour + ensure that { + when { + the IUT entity indicate the initiation "of a NAS Transport procedure" + } + then { + the IUT entity sends an INITIAL_UE_MESSAGE containing + RAN_UE_NGAP_ID, + NAS_PDU, + User_Location_Information, + RRC_Establishmnet_Cause + ; + to the AMF entity + } + } + + } // end TP_NGAP_GNB_NAS_01 + } // end "Initial UE Message" + + Group "Uplink NAS Transport" + { + import all from Ngap_Common; + + Test Purpose { + + TP Id TP_NGAP_GNB_NAS_02 + + Test objective "Verify that the IUT can send an UPLINK NAS TRANSPORT message to the AMF." + + Reference + "ETSI TS 138 413 [1], Clauses 8.6.3.2 and 9.2.5.3" + + Config Id CFG_GNB_01 + + PICS Selection PICS_A3/5_1 + + Initial conditions with { + the UE entity isCMCONNECTED in the GNB entity + } + + //TODO: More information about RRC UL message + Expected behaviour + ensure that { + when { + the IUT entity receives an RRC_UL_MESSAGE + from the UE entity + } + then { + the IUT entity sends an UPLINK_NAS_TRANSPORT containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + NAS_PDU, + User_Location_Information + ; + to the AMF entity + } + } + + } // end TP_NGAP_GNB_NAS_02 + + } // end "Uplink NAS Transport" + + Group "NAS Non Delivery Indication" + { + import all from Ngap_Common; + + Test Purpose { + + TP Id TP_NGAP_GNB_NAS_03 + + Test objective "Verify that the IUT can send a NAS Non Delivery Indication message to the AMF." + + Reference + "ETSI TS 138 413 [1], Clauses 8.6.4.2 and 9.2.5.4" + + Config Id CFG_GNB_01 + + PICS Selection PICS_A3/5_1 + + Initial conditions with { + the UE entity isNoLongerAvailable to the GNB entity + } + + Expected behaviour + ensure that { + when { + the IUT entity indicate the initiation "of a NAS Non Delivery Indication procedure" + } + then { + the IUT entity sends an NAS_NON_DELIVERY_INDICATION containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + NAS_PDU, + Cause + ; + to the AMF entity + } + } + + } // end TP_NGAP_GNB_NAS_03 + + } // end "NAS Non Delivery Indication" + + } // end Group "8.6 Transport of NAS Messages Procedures" + + Group "8.7 Interface Management Procedures" + { + Group "NG Setup" + { + + } // End Group "NG Setup" + } + + Group "8.8 Configuration Transfer Procedure" + { + Group "Uplink RAN Configuration Transfer" + { + import all from Ngap_Common; + + Test Purpose { + + TP Id TP_NGAP_GNB_CTP_01 + + Test objective "Verify that the IUT can send an Uplink RAN Configuration Transfer message to transfer RAN configuration information to the AMF." + + Reference + "ETSI TS 138 413 [1], Clauses 8.8.1 and 9.2.7.1" + + Config Id CFG_GNB_01 + + PICS Selection PICS_A3/5_1 + + Expected behaviour + ensure that { + when { + the IUT entity indicate the initiation "of a Uplink RAN Configuration Transfer" + } + then { + the IUT entity sends an NAS_NON_DELIVERY_INDICATION containing + SON_Configuration_Transfer containing + Target_RAN_Node_ID containing + Global_RAN_Node_ID, + Selected_TAI + ;, + Source_RAN_Node_ID containing + Global_RAN_Node_ID, + Selected_TAI + ;, + SON_Information + ; + ; + to the AMF entity + } + } + + } // end TP_NGAP_GNB_CTP_01 + + } // end "Uplink RAN Configuration Transfer" + + } // end Group "8.8 Configuration Transfer Procedure" + + Group "8.9 Warning Message Transmission Procedures" + { + + } // end "8.9 Warning Message Transmission Procedures" + + Group "8.10 NRPPa Transport Procedures" + { + + } // end "8.10 NRPPa Transport Procedures" + + Group "8.11 Trace Procedures" + { + + } // end "8.11 Trace Procedures" + + Group "8.12 Location Reporting Procedures" + { + Group "Location Reporting Failure Indication" + { + import all from Ngap_Common; + + Test Purpose { + + TP Id TP_NGAP_GNB_LRP_01 + + Test objective "Verify that the IUT can send a LOCATION REPORTING FAILURE INDICATION message after that contains mandatory IEs receiving a LOCATION REPORTING CONTROL message with two identical Location Reporting Reference IDs." + + Reference + "ETSI TS 138 413 [1], Clauses 8.12.2, 9.2.11.1, 9.2.11.2 and 9.3.1.65" + + Config Id CFG_GNB_01 + + PICS Selection PICS_A3/5_1 + + Expected behaviour + ensure that { + when { + the IUT entity sends an LOCATION_REPORTING_CONTROL containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + Location_Reporting_Request_Type containing + Event_Type, + Report_Area, + Area_of_Interest_List containing + Area_of_Interest_Item containing + Area_of_Interest, + Location_Reporting_Reference_ID indicating value PX_REPORTING_REFERENCE_ID + ;, + Area_of_Interest_Item containing + Area_of_Interest, + Location_Reporting_Reference_ID indicating value PX_REPORTING_REFERENCE_ID + ; + ; + ; + ; + from the AMF entity + } + then { + the IUT entity sends an LOCATION_REPORTING_CONTROL containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + Cause containing + CHOICE_Cause_Group containing + Radio_Network_Layer_Cause indicating value Multiple_Location_Reporting_Reference_ID_instances + ; + ; + ; + to the AMF entity + } + } + + } // end TP_NGAP_GNB_LRP_01 + + } // end "Location Reporting Failure Indication" + + Group "Location Report" + { + import all from Ngap_Common; + + Test Purpose { + + TP Id TP_NGAP_GNB_LRP_02 + + Test objective "Verify that the IUT can send a LOCATION REPORT message that contains mandatory IEs to provide the UE's current location." + + Reference + "ETSI TS 138 413 [1], Clauses 8.12.2 and 9.2.11.3" + + Config Id CFG_GNB_01 + + PICS Selection PICS_A3/5_1 + + Expected behaviour + ensure that { + when { + the IUT entity sends an LOCATION_REPORTING_CONTROL containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + Location_Reporting_Request_Type + ; + from the AMF entity + } + then { + the IUT entity sends an LOCATION_REPORT containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + User_Location_Information, + Location_Reporting_Request_Type + ; + to the AMF entity + } + } + + } // end TP_NGAP_GNB_LRP_02 + + } // end "Location Report" + + } // end "8.12 Location Reporting Procedures" + + Group "8.13 UE TNLA Binding Procedures" + { + + } // end Group "8.13 UE TNLA Binding Procedures" + + Group "8.14 UE Radio Capability Management Procedures" + { + + } // end Group "8.14 UE Radio Capability Management Procedures" + + Group "8.15 Data Usage Reporting Procedures" + { + + } // end Group "8.15 Data Usage Reporting Procedures" + + Group "8.16 RIM Information Transfer Procedures" + { + + } // end Group "8.16 RIM Information Transfer Procedures" + +} // End of Package TP_GNB