Loading ttcn/AtsNGAP/NGAP_TCFunctions.ttcn +78 −0 Original line number Diff line number Diff line Loading @@ -712,6 +712,84 @@ module NGAP_TCFunctions { } // End of function f_TC_NGAP_gNB_PDU_07 /** * @desc Testcase function for TC_NGAP_gNB_PDU_10 */ function f_TC_NGAP_GNB_PDU_10() runs on aMFNGAPComponent { // Local variables // Preamble f_NGAP_amf_init(); f_NGAP_amf_UE_Register(); f_NGAP_amf_UE_PDU_ResourceSetup(); f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); log("*** " & __SCOPE__ & ": INFO: Preamble done. ***"); // Body f_send_NGAP_PDU( m_ngap_initMsg( m_n2_PDUSessionResourceModify( -, -, { m_pDUSessionResourceModifyItemModReq( PX_PDU_SESSION_ID, '00'O,//bit2oct( // encvalue( // m_pDUSessionResourceModifyRequestTransfer(//FIXME when template with mandatory IEs available // -//in template (omit) PDUSessionResourceModifyRequestTransfer.protocolIEs p_protocolIEs // ) // ) //), -,//in template (omit) NAS_PDU p_nAS_PDU := omit, -//in template (omit) PDUSessionResourceModifyItemModReq.iE_Extensions p_iE_Extensions := omit ), m_pDUSessionResourceModifyItemModReq( PX_PDU_SESSION_ID, '00'O,//bit2oct( // encvalue( // m_pDUSessionResourceModifyRequestTransfer(//FIXME when template with mandatory IEs available // -//in template (omit) PDUSessionResourceModifyRequestTransfer.protocolIEs p_protocolIEs // ) // ) //), -,//in template (omit) NAS_PDU p_nAS_PDU := omit, -//in template (omit) PDUSessionResourceModifyItemModReq.iE_Extensions p_iE_Extensions := omit ) } ))); f_recv_NGAP_PDU( mw_ngap_succMsg( mw_n2_PDUSessionResourceModifyResponseFailedToMod( -,//template (present) AMF_UE_NGAP_ID p_amfUeNgapID := ?, -,//template (present) RAN_UE_NGAP_ID p_ranUeNgapID := ?, { mw_pDUSessionResourceFailedToModifyItemModRes( PX_PDU_SESSION_ID,//template (present) PDUSessionID p_pDUSessionID := ?, ?,//FIXME:Decode&Match//mw_pDUSessionResourceModifyUnsuccessfulTransfer( // ?,//template (present) Cause p_cause := ?, // *,//template CriticalityDiagnostics p_criticalityDiagnostics := *, // *//template PDUSessionResourceModifyUnsuccessfulTransfer.iE_Extensions p_iE_Extensions := * //), * ) } ) ) ); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); log("*** " & __SCOPE__ & ": INFO: Testbody done. ***"); // Postamble f_postamble_NGAP_gNB(); f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict()); log("*** " & __SCOPE__ & ": INFO: Postamble done. ***"); } // End of function f_TC_NGAP_gNB_PDU_10 } // End of group PDU_Session_Resource_Modify //8.2.4 group PDU_Session_Resource_Notify{ Loading Loading
ttcn/AtsNGAP/NGAP_TCFunctions.ttcn +78 −0 Original line number Diff line number Diff line Loading @@ -712,6 +712,84 @@ module NGAP_TCFunctions { } // End of function f_TC_NGAP_gNB_PDU_07 /** * @desc Testcase function for TC_NGAP_gNB_PDU_10 */ function f_TC_NGAP_GNB_PDU_10() runs on aMFNGAPComponent { // Local variables // Preamble f_NGAP_amf_init(); f_NGAP_amf_UE_Register(); f_NGAP_amf_UE_PDU_ResourceSetup(); f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); log("*** " & __SCOPE__ & ": INFO: Preamble done. ***"); // Body f_send_NGAP_PDU( m_ngap_initMsg( m_n2_PDUSessionResourceModify( -, -, { m_pDUSessionResourceModifyItemModReq( PX_PDU_SESSION_ID, '00'O,//bit2oct( // encvalue( // m_pDUSessionResourceModifyRequestTransfer(//FIXME when template with mandatory IEs available // -//in template (omit) PDUSessionResourceModifyRequestTransfer.protocolIEs p_protocolIEs // ) // ) //), -,//in template (omit) NAS_PDU p_nAS_PDU := omit, -//in template (omit) PDUSessionResourceModifyItemModReq.iE_Extensions p_iE_Extensions := omit ), m_pDUSessionResourceModifyItemModReq( PX_PDU_SESSION_ID, '00'O,//bit2oct( // encvalue( // m_pDUSessionResourceModifyRequestTransfer(//FIXME when template with mandatory IEs available // -//in template (omit) PDUSessionResourceModifyRequestTransfer.protocolIEs p_protocolIEs // ) // ) //), -,//in template (omit) NAS_PDU p_nAS_PDU := omit, -//in template (omit) PDUSessionResourceModifyItemModReq.iE_Extensions p_iE_Extensions := omit ) } ))); f_recv_NGAP_PDU( mw_ngap_succMsg( mw_n2_PDUSessionResourceModifyResponseFailedToMod( -,//template (present) AMF_UE_NGAP_ID p_amfUeNgapID := ?, -,//template (present) RAN_UE_NGAP_ID p_ranUeNgapID := ?, { mw_pDUSessionResourceFailedToModifyItemModRes( PX_PDU_SESSION_ID,//template (present) PDUSessionID p_pDUSessionID := ?, ?,//FIXME:Decode&Match//mw_pDUSessionResourceModifyUnsuccessfulTransfer( // ?,//template (present) Cause p_cause := ?, // *,//template CriticalityDiagnostics p_criticalityDiagnostics := *, // *//template PDUSessionResourceModifyUnsuccessfulTransfer.iE_Extensions p_iE_Extensions := * //), * ) } ) ) ); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); log("*** " & __SCOPE__ & ": INFO: Testbody done. ***"); // Postamble f_postamble_NGAP_gNB(); f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict()); log("*** " & __SCOPE__ & ": INFO: Postamble done. ***"); } // End of function f_TC_NGAP_gNB_PDU_10 } // End of group PDU_Session_Resource_Modify //8.2.4 group PDU_Session_Resource_Notify{ Loading