diff --git a/ttcn3/LibS1AP/LibS1AP_Pixits.ttcn b/ttcn3/LibS1AP/LibS1AP_Pixits.ttcn index 7c1e679..4a0085f 100644 --- a/ttcn3/LibS1AP/LibS1AP_Pixits.ttcn +++ b/ttcn3/LibS1AP/LibS1AP_Pixits.ttcn @@ -202,5 +202,20 @@ module LibS1AP_Pixits { */ modulepar Bit27 PX_CGS_ID := '000000000000000000000000000'B; + /** @desc The UE Identity Index value IE is used by the eNB to calculate the Paging Frame TS 36.304. + * @see ETSI TS 136 413 Clause 9.2.3.10 UE Identity Index value + */ + modulepar UEIdentityIndexValue PX_UE_IDENTITY_INDEX_VALUE := '0000000000'B; + + /** @desc The International Mobile Subscriber Identity, which is commonly used to identify the UE in the CN. + * @see ETSI TS 136 413 Clause 9.2.3.11 IMSI + */ + modulepar IMSI PX_IMSI := '000000'O; + + /** @desc Indicates whether Paging is originated from the CS or PS domain. + * @see ETSI TS 136 413 Clause 9.2.3.22 CN Domain + */ + modulepar CNDomain PX_CNDOMAIN := ps; + } // End of module LibS1AP_Pixits diff --git a/ttcn3/LibS1AP/LibS1AP_Steps.ttcn b/ttcn3/LibS1AP/LibS1AP_Steps.ttcn index 27eeb54..f1721f8 100644 --- a/ttcn3/LibS1AP/LibS1AP_Steps.ttcn +++ b/ttcn3/LibS1AP/LibS1AP_Steps.ttcn @@ -168,7 +168,7 @@ module LibS1AP_Steps { ) runs on S1APComponent { f_recv_S1AP_successfulOutcome(mw_InitialContextSetupResponse(p_value)) } // End of f_recv_InitialContext_SetupResponse - + /** * @desc Receive S1AP Message INITIAL UE MESSAGE * @param p_value Receive template for INITIAL UE MESSAGE IEs @@ -184,7 +184,7 @@ module LibS1AP_Steps { * @param p_value Receive template for S1 SETUP REQUEST IEs */ function f_recv_S1_Setup_Request( - template (present) RecordOf_ProtocolIE p_value := ? + template (present) RecordOf_ProtocolIE p_value := ? ) runs on S1APComponent { f_recv_S1AP_initiatingMessage(mw_s1_Setup_Request(p_value)) } // End of f_recv_S1_Setup_Request @@ -289,6 +289,16 @@ module LibS1AP_Steps { f_recv_S1AP_successfulOutcome(mw_mME_Configuration_Update_Failure(p_value)) } // End of f_recv_MME_Configuration_Update_Failure + /** + * @desc Receive S1AP Message PAGING + * @param p value Receive template for PAGING IEs + */ + function f_recv_Paging( + template (present) RecordOf_ProtocolIE p_value := ? + ) runs on S1APComponent { + f_recv_S1AP_initiatingMessage(mw_paging(p_value)) + } // End of f_recv_Paging + /** * @desc Receive S1AP Message DOWNLINK NAS TRANSPORT * @param p value Receive template for DOWNLINK NAS TRANSPORT IEs @@ -1033,91 +1043,91 @@ module LibS1AP_Steps { */ external function fx_eNB_NAS_transport_procedure() return boolean; - /** - * @desc Trigger an S1 SETUP procedure - * @return true on success, false otherwise - */ - external function fx_eNB_S1_Setup_Request_procedure() return boolean; - - /** - * @desc Trigger an eNB Configuration Update procedure - * @return true on success, false otherwise - */ - external function fx_eNB_Configuration_Update_procedure() return boolean; - - /** - * @desc Trigger an an Overload Start procedure - * @return true on success, false otherwise - */ - external function fx_eNB_Overload_Start_procedure() return boolean; - - /** - * @desc Trigger an an Overload Stop procedure - * @return true on success, false otherwise - */ - external function fx_eNB_Overload_Stop_procedure() return boolean; - - /** - * @desc Trigger an Error Indication procedure - * @return true on success, false otherwise - */ - external function fx_eNB_Error_Indication_procedure() return boolean; - - /** - * @desc Trigger a RESET procedure - * @return true on success, false otherwise - */ - external function fx_eNB_Reset_procedure() return boolean; - - /** - * @desc Trigger a CDMA2000 to be forwarded procedure - * @return true on success, false otherwise - */ - external function fx_eNB_Uplink_S1_CDMA2000_Tunnelling_procedure() return boolean; - - /** - * @desc Trigger a UE CAPABILITY INFO INDICATION procedure - * @return true on success, false otherwise - */ - external function fx_eNB_UE_Capability_Info_Indication_procedure() return boolean; - - /** - * @desc Force the UE to be registered to a new cell - * @return true on success, false otherwise - */ - external function fx_move_UE_to_new_cell() return boolean; - - /** - * @desc Check htat UE stop reporting at change of serving cell - * @return true on success, false otherwise - */ - external function fx_check_UE_stops_reporting() return boolean; - - /** - * @desc Trigger a PWS Restart Indication procedure - * @return true on success, false otherwise - */ - external function fx_eNB_PWS_Restart_Indication_procedure() return boolean; - - /** - * @desc Trigger a PWS Failure Indication procedure - * @return true on success, false otherwise - */ - external function fx_eNB_PWS_Failure_Indication_procedure() return boolean; - - /** - * @desc Trigger an ENB direct information Transfer procedure - * @return true on success, false otherwise - */ - external function fx_eNB_Direct_Information_Transfer_procedure() return boolean; - - /** - * @desc Trigger an ENB Configuration Transfer procedure - * @return true on success, false otherwise - */ - external function fx_eNB_Configuration_Transfer_procedure() return boolean; - - /** + /** + * @desc Trigger an S1 SETUP procedure + * @return true on success, false otherwise + */ + external function fx_eNB_S1_Setup_Request_procedure() return boolean; + + /** + * @desc Trigger an eNB Configuration Update procedure + * @return true on success, false otherwise + */ + external function fx_eNB_Configuration_Update_procedure() return boolean; + + /** + * @desc Trigger an an Overload Start procedure + * @return true on success, false otherwise + */ + external function fx_eNB_Overload_Start_procedure() return boolean; + + /** + * @desc Trigger an an Overload Stop procedure + * @return true on success, false otherwise + */ + external function fx_eNB_Overload_Stop_procedure() return boolean; + + /** + * @desc Trigger an Error Indication procedure + * @return true on success, false otherwise + */ + external function fx_eNB_Error_Indication_procedure() return boolean; + + /** + * @desc Trigger a RESET procedure + * @return true on success, false otherwise + */ + external function fx_eNB_Reset_procedure() return boolean; + + /** + * @desc Trigger a CDMA2000 to be forwarded procedure + * @return true on success, false otherwise + */ + external function fx_eNB_Uplink_S1_CDMA2000_Tunnelling_procedure() return boolean; + + /** + * @desc Trigger a UE CAPABILITY INFO INDICATION procedure + * @return true on success, false otherwise + */ + external function fx_eNB_UE_Capability_Info_Indication_procedure() return boolean; + + /** + * @desc Force the UE to be registered to a new cell + * @return true on success, false otherwise + */ + external function fx_move_UE_to_new_cell() return boolean; + + /** + * @desc Check htat UE stop reporting at change of serving cell + * @return true on success, false otherwise + */ + external function fx_check_UE_stops_reporting() return boolean; + + /** + * @desc Trigger a PWS Restart Indication procedure + * @return true on success, false otherwise + */ + external function fx_eNB_PWS_Restart_Indication_procedure() return boolean; + + /** + * @desc Trigger a PWS Failure Indication procedure + * @return true on success, false otherwise + */ + external function fx_eNB_PWS_Failure_Indication_procedure() return boolean; + + /** + * @desc Trigger an ENB direct information Transfer procedure + * @return true on success, false otherwise + */ + external function fx_eNB_Direct_Information_Transfer_procedure() return boolean; + + /** + * @desc Trigger an ENB Configuration Transfer procedure + * @return true on success, false otherwise + */ + external function fx_eNB_Configuration_Transfer_procedure() return boolean; + + /** * @desc Trigger a LPPa Transport procedure using a UE associated signalling on eNodeB * @param p_associated_signalling_mode Set to true for an associated signalling mode, false otherwise * @return true on success, false otherwise @@ -1130,6 +1140,12 @@ module LibS1AP_Steps { group mmeRole { + /** + * @desc Trigger a PAGING event + * @return true on success, false otherwise + */ + external function fx_MME_Paging_procedure() return boolean; + /** * @desc Trigger a DOWNLINK NAS TRANSPORT event * @return true on success, false otherwise @@ -1143,73 +1159,73 @@ module LibS1AP_Steps { external function fx_MME_Reroute_NAS_Request_procedure() return boolean; /** - * @desc Trigger a RESET event - * @return true on success, false otherwise - */ - external function fx_MME_Reset_procedure() return boolean; - - /** - * @desc Trigger an ERROR INDICATION event - * @return true on success, false otherwise - */ - external function fx_MME_Error_Indication_procedure() return boolean; - - /** - * @desc Trigger a CDMA2000 signalling event - * @return true on success, false otherwise - */ - external function fx_MME_Downlink_S1_CDMA2000_Tunnelling_procedure() return boolean; - - /** - * @desc Trigger a Trace Start procedure - * @return true on success, false otherwise - */ - external function fx_MME_Trace_Start_procedure() return boolean; - - /** - * @desc Trigger a Deactivate Trace procedure - * @return true on success, false otherwise - */ - external function fx_MME_Deactivate_Trace_procedure() return boolean; - - /** - * @desc Trigger a Location Reporting Control procedure - * @return true on success, false otherwise - */ - external function fx_MME_Location_Reporting_Control_procedure() return boolean; - - /** - * @desc Trigger a Write-Replace Warning procedure - * @return true on success, false otherwise - */ - external function fx_MME_Write_Replace_Warning_procedure() return boolean; - - /** - * @desc Trigger a Kill procedure - * @return true on success, false otherwise - */ - external function fx_MME_Kill_procedure() return boolean; - - /** - * @desc Trigger an MME Direct Information Transfer procedure - * @return true on success, false otherwise - */ - external function fx_MME_Direct_Information_Transfer_procedure() return boolean; - - /** - * @desc Trigger an MME Configuration Transfer procedure - * @return true on success, false otherwise - */ - external function fx_MME_Configuration_Transfer_procedure() return boolean; - - /** - * @desc Trigger a LPPa Transport procedure using a UE associated signalling on MME - * @param p_associated_signalling_mode Set to true for an associated signalling mode, false otherwise - * @return true on success, false otherwise - */ + * @desc Trigger a RESET event + * @return true on success, false otherwise + */ + external function fx_MME_Reset_procedure() return boolean; + + /** + * @desc Trigger an ERROR INDICATION event + * @return true on success, false otherwise + */ + external function fx_MME_Error_Indication_procedure() return boolean; + + /** + * @desc Trigger a CDMA2000 signalling event + * @return true on success, false otherwise + */ + external function fx_MME_Downlink_S1_CDMA2000_Tunnelling_procedure() return boolean; + + /** + * @desc Trigger a Trace Start procedure + * @return true on success, false otherwise + */ + external function fx_MME_Trace_Start_procedure() return boolean; + + /** + * @desc Trigger a Deactivate Trace procedure + * @return true on success, false otherwise + */ + external function fx_MME_Deactivate_Trace_procedure() return boolean; + + /** + * @desc Trigger a Location Reporting Control procedure + * @return true on success, false otherwise + */ + external function fx_MME_Location_Reporting_Control_procedure() return boolean; + + /** + * @desc Trigger a Write-Replace Warning procedure + * @return true on success, false otherwise + */ + external function fx_MME_Write_Replace_Warning_procedure() return boolean; + + /** + * @desc Trigger a Kill procedure + * @return true on success, false otherwise + */ + external function fx_MME_Kill_procedure() return boolean; + + /** + * @desc Trigger an MME Direct Information Transfer procedure + * @return true on success, false otherwise + */ + external function fx_MME_Direct_Information_Transfer_procedure() return boolean; + + /** + * @desc Trigger an MME Configuration Transfer procedure + * @return true on success, false otherwise + */ + external function fx_MME_Configuration_Transfer_procedure() return boolean; + + /** + * @desc Trigger a LPPa Transport procedure using a UE associated signalling on MME + * @param p_associated_signalling_mode Set to true for an associated signalling mode, false otherwise + * @return true on success, false otherwise + */ external function fx_MME_LPPa_Transport_procedure_ind( - in boolean p_associated_signalling_mode - ) return boolean; + in boolean p_associated_signalling_mode + ) return boolean; } // End of group mmeRole diff --git a/ttcn3/LibS1AP/LibS1AP_Templates.ttcn b/ttcn3/LibS1AP/LibS1AP_Templates.ttcn index 038b926..40f39aa 100644 --- a/ttcn3/LibS1AP/LibS1AP_Templates.ttcn +++ b/ttcn3/LibS1AP/LibS1AP_Templates.ttcn @@ -96,7 +96,6 @@ module LibS1AP_Templates { m_eNB_UE_S1AP_ID(p_eNB_value), m_E_RABToBeSetupList(p_RecordOf_E_RABToBeSetupItem_value) } // End of template m_E_RABSetupReqIEs - }// End of group ERABSetup @@ -536,7 +535,7 @@ module LibS1AP_Templates { ) := { mw_MME_UE_S1AP_ID(p_MME_value), mw_eNB_UE_S1AP_ID(p_eNB_value), - mw_handoverType_IE(p_HandoverType_value), + mw_handoverType_IE(p_HandoverType_value), mw_cause_IE(p_Cause_value), mw_source_ToTarget_TransparentContainer_IE(p_Source_ToTarget_TransparentContainer_value) @@ -653,12 +652,12 @@ module LibS1AP_Templates { template RecordOf_E_RABSetupItemBearerSURes p_RecordOf_E_RABSetupItem_value := omit, template (present) RecordOf_E_RABItem p_E_RABItem_value := ? ) := { - mw_MME_UE_S1AP_ID(p_MME_value, ignore), - mw_eNB_UE_S1AP_ID(p_eNB_value, ignore), + mw_MME_UE_S1AP_ID(p_MME_value, ignore), + mw_eNB_UE_S1AP_ID(p_eNB_value, ignore), mw_E_RABSetupList(p_RecordOf_E_RABSetupItem_value) ifpresent, mw_E_RABFailedToSetupList(p_E_RABItem_value) } // End of template mw_InitialContextSetupResIEs - + template (present) RecordOf_ProtocolIE mw_InitialContextSetupFailureIEs( template (present) MME_UE_S1AP_ID p_MME_value := ?, template (present) ENB_UE_S1AP_ID p_eNB_value := ?, @@ -1336,7 +1335,45 @@ module LibS1AP_Templates { } // End of group Error_Indication_receive /** - * @desc Receive messages for Management procedures + * @desc Receive messages for Paging + */ + group Paging_group { + + /** + * @desc Receive template for InitiatingMessage message with PAGING payload + * @param p_value Expected protocol information elements. Default: ? + */ + template (present) InitiatingMessage mw_paging( + template (present) RecordOf_ProtocolIE p_value := ? + ) := { + procedureCode := id_Paging, + criticality := reject, + value_ := {RecordOf_ProtocolIE := p_value} + } // End of template mw_paging + + /** + * @desc Receive template for PAGING message + * @param p_uEIdentityIndexValue The expected UE Identity Index value value. Default: ? + * @param p_uEPagingID The expected UEPagingID value. Default: ? + * @param p_cNDomain The expected CNDomain value. Default: ? + * @param p_tAI The expected TAI list value. Default: ? + */ + template (present) RecordOf_ProtocolIE mw_pagingIEs( + template (present) UEIdentityIndexValue p_uEIdentityIndexValue := ?, + template (present) UEPagingID p_uEPagingID := ?, + template (present) CNDomain p_cNDomain := ?, + template (present) TAIList p_tAIs := ? + ) := { + mw_uEIdentityIndexValue_IE(p_uEIdentityIndexValue), + mw_uEPagingID_IE(p_uEPagingID), + mw_cNDomain_IE(p_cNDomain), + mw_tAIs_IE(p_tAIs) + } // End of template mw_pagingIEs + + } // End of group Paging_group + + /** + * @desc Receive messages for NAS transport */ group NAS_transport_group { @@ -2889,6 +2926,42 @@ module LibS1AP_Templates { value_ := { UE_associatedLogicalS1_ConnectionItem := p_value } } // End of template mw_uE_associatedLogicalS1_ConnectionItemResAck_IE + /** + * @desc Receive template for UEIdentityIndexValue protocol IE + * @param p_value The expected UE Identity Index value IE is used by the eNB to calculate the Paging Frame TS 36.304. Default: ? + */ + template (present) ProtocolIE mw_uEIdentityIndexValue_IE( + template (present) UEIdentityIndexValue p_value := ? + ) := { + id := S1AP_Constants.id_UEIdentityIndexValue, + criticality := ignore, + value_ := { UEIdentityIndexValue := p_value } + } // End of template mw_uEIdentityIndexValue_IE + + /** + * @desc Receive template for UEPagingID protocol IE + * @param p_value The expected Identity with which the UE is paged. Default: ? + */ + template (present) ProtocolIE mw_uEPagingID_IE( + template (present) UEPagingID p_value := ? + ) := { + id := S1AP_Constants.id_UEPagingID, + criticality := ignore, + value_ := { UEPagingID := p_value } + } // End of template mw_uEPagingID_IE + + /** + * @desc Receive template for CNDomain protocol IE + * @param p_value The expected CN Domain. Default: ? + */ + template (present) ProtocolIE mw_cNDomain_IE( + template (present) CNDomain p_value := ? + ) := { + id := S1AP_Constants.id_CNDomain, + criticality := ignore, + value_ := { CNDomain := p_value } + } // End of template mw_cNDomain_IE + /** * @desc Receive template for GUMMEIList protocol IE * @param p_gUMMEIList The GUMMEIList value. Default: ? @@ -2901,6 +2974,18 @@ module LibS1AP_Templates { value_ := { GUMMEIList := p_gUMMEIList } } // End of template mw_gUMMEIList_IE + /** + * @desc Receive template for TAI protocol IE + * @param p_tAI The TAI value. Default: ? + */ + template (present) ProtocolIE mw_tAIs_IE( + template (present) TAIList p_tAIs := ? + ) := { + id := S1AP_Constants.id_TAIList, + criticality := ignore, + value_ := { TAIList := p_tAIs } + } // End of template mw_tAs_IE + /** * @desc Receive template for TAI protocol IE * @param p_tAI The TAI value. Default: ? @@ -3287,19 +3372,19 @@ module LibS1AP_Templates { value_ := { EmergencyAreaIDListForRestart := p_emergencyAreaIDListForRestart } } // End of template mw_emergencyAreaIDListForRestart - /** - * @desc - * @param p_handoverType - * @param p_criticality - */ - template (present) ProtocolIE mw_handoverType_IE( - template (present) HandoverType p_handoverType := ?, - template (present) ProtocolIE.criticality p_criticality := reject - ) := { - id := S1AP_Constants.id_HandoverType, - criticality := p_criticality, - value_ := { HandoverType := p_handoverType } - } // End of template mw_handoverType + /** + * @desc + * @param p_handoverType + * @param p_criticality + */ + template (present) ProtocolIE mw_handoverType_IE( + template (present) HandoverType p_handoverType := ?, + template (present) ProtocolIE.criticality p_criticality := reject + ) := { + id := S1AP_Constants.id_HandoverType, + criticality := p_criticality, + value_ := { HandoverType := p_handoverType } + } // End of template mw_handoverType /** * @desc @@ -3711,6 +3796,28 @@ module LibS1AP_Templates { iE_Extensions := * } // End of template mw_uE_associatedLogicalS1_ConnectionItem + /** + * @desc Receive template for UEPagingID protocol IE + * @param p_s_tMSI The Temporary Mobile Subscriber Identity. Default: ? + * @see ETSI TS 136 413 V13.4.0 Clause 9.2.3.6 S-TMSI + */ + template (present) UEPagingID mw_uEPagingID_s_tMSI( + template (present) S_TMSI p_s_tMSI := ? + ) := { + s_TMSI := p_s_tMSI + } // End of template mw_uEPagingID_s_tMSI + + /** + * @desc Receive template for UEPagingID protocol IE + * @param p_s_tMSI The International Mobile Subscriber Identity. Default: ? + * @see ETSI TS 136 413 V13.4.0 Clause 9.2.3.11 IMSI + */ + template (present) UEPagingID mw_uEPagingID_iMSI( + template (present) IMSI p_iMSI := ? + ) := { + iMSI := p_iMSI + } // End of template mw_uEPagingID_iMSI + /** * @desc Send template for GUMMEI protocol IE * @param p_pLMNidentity The expected PLMNidentity value. diff --git a/ttcn3/S1AP_TCFunctions.ttcn b/ttcn3/S1AP_TCFunctions.ttcn index c0b8c44..74d412a 100644 --- a/ttcn3/S1AP_TCFunctions.ttcn +++ b/ttcn3/S1AP_TCFunctions.ttcn @@ -10,7 +10,7 @@ * @see ETSI TS 136 413 / 3GPP TS 36.413 version 13.4.0 Release 13 */ module S1AP_TCFunctions { - + // LibCommon import from LibCommon_Sync all; import from LibCommon_VerdictControl all; @@ -357,63 +357,63 @@ module S1AP_TCFunctions { } // End of function f_TC_S1AP_eNB_RAB_05 - /** - * @desc Testcase function for TC_S1AP_eNB_RAB_06 - */ - function f_TC_S1AP_eNB_RAB_06() runs on S1APComponent { - // Local variables - - // Preamble - f_S1AP_enb_init(); - f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); - log("*** " & __SCOPE__ & ": INFO: Preamble done. ***"); + /** + * @desc Testcase function for TC_S1AP_eNB_RAB_06 + */ + function f_TC_S1AP_eNB_RAB_06() runs on S1APComponent { + // Local variables + + // Preamble + f_S1AP_enb_init(); + f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); + log("*** " & __SCOPE__ & ": INFO: Preamble done. ***"); - // Test body - f_send_E_RABSetupRequest(m_E_RABSetupReqIEs( - vc_MME_UE_ID, - vc_eNB_UE_ID, - {m_E_RABToBeSetupItemBearerSUReq ( - 1, - m_e_RABlevelQoSParameters - (5) - )} - )); - - f_recv_E_RABSetupResponse(mw_E_RABSetupResIEs( - vc_MME_UE_ID, - vc_eNB_UE_ID, - { - mw_E_RABSetupItemBearerSURes - } - )); + // Test body + f_send_E_RABSetupRequest(m_E_RABSetupReqIEs( + vc_MME_UE_ID, + vc_eNB_UE_ID, + {m_E_RABToBeSetupItemBearerSUReq ( + 1, + m_e_RABlevelQoSParameters + (5) + )} + )); + + f_recv_E_RABSetupResponse(mw_E_RABSetupResIEs( + vc_MME_UE_ID, + vc_eNB_UE_ID, + { + mw_E_RABSetupItemBearerSURes + } + )); - f_send_E_RABSetupRequest(m_E_RABSetupReqIEs( - vc_MME_UE_ID, - vc_eNB_UE_ID, - { - m_E_RABToBeSetupItemBearerSUReq(1) - } - )); - - f_recv_E_RABSetupResponse(mw_E_RABSetupResIEs_FailedToSetupList( - vc_MME_UE_ID, - vc_eNB_UE_ID, - -, //omit - { - mw_E_RABItem( - 1, - { - radioNetwork := multiple_E_RAB_ID_instances - } - ) - } - )); - - f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); + f_send_E_RABSetupRequest(m_E_RABSetupReqIEs( + vc_MME_UE_ID, + vc_eNB_UE_ID, + { + m_E_RABToBeSetupItemBearerSUReq(1) + } + )); + + f_recv_E_RABSetupResponse(mw_E_RABSetupResIEs_FailedToSetupList( + vc_MME_UE_ID, + vc_eNB_UE_ID, + -, //omit + { + mw_E_RABItem( + 1, + { + radioNetwork := multiple_E_RAB_ID_instances + } + ) + } + )); + + f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); - f_postamble_S1AP_eNB(); - f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict()); - log("*** " & __SCOPE__ & ": INFO: Postamble done. ***"); + f_postamble_S1AP_eNB(); + f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict()); + log("*** " & __SCOPE__ & ": INFO: Postamble done. ***"); } // End of function f_TC_S1AP_eNB_RAB_06 @@ -660,7 +660,7 @@ module S1AP_TCFunctions { * @see ETSI DTS/INT-00135-2 Clause 5.2.2.1.3 Context management group */ group Context_management_group { - + /** * @desc Testcase function for TC_S1AP_eNB_CMP_01 */ @@ -724,44 +724,44 @@ module S1AP_TCFunctions { // Test body f_send_InitialContext_SetupRequest( m_InitialContextSetupReqIEs( - vc_MME_UE_ID, - vc_eNB_UE_ID, - m_UEAggregateMaximumBitrate(1,1), + vc_MME_UE_ID, + vc_eNB_UE_ID, + m_UEAggregateMaximumBitrate(1,1), { m_E_RABToBeSetupItemBearerSUReq ( - c_E_RAB_ID_A, + c_E_RAB_ID_A, m_e_RABlevelQoSParameters(5), - c_transportLayerAddress, - c_gTP_TEID, - c_nAS_PDU - ), - m_E_RABToBeSetupItemBearerSUReq ( - c_E_RAB_ID_B, + c_transportLayerAddress, + c_gTP_TEID, + c_nAS_PDU + ), + m_E_RABToBeSetupItemBearerSUReq( + c_E_RAB_ID_B, m_e_RABlevelQoSParameters(255), - c_transportLayerAddress, - c_gTP_TEID, - c_nAS_PDU + c_transportLayerAddress, + c_gTP_TEID, + c_nAS_PDU ) }, - m_UESecurityCapabilities('0101010101010101'B,'0101010101010101'B), - m_securityKey + m_UESecurityCapabilities('0101010101010101'B,'0101010101010101'B), + m_securityKey )); f_recv_InitialContext_SetupResponse( mw_InitialContextSetupResIEs( - vc_MME_UE_ID, - vc_eNB_UE_ID, - { - mw_E_RABSetupItemBearerSURes(c_E_RAB_ID_A) - }, - { - mw_E_RABItem( - c_E_RAB_ID_B, - { - radioNetwork :=not_supported_QCI_value - } - ) - } + vc_MME_UE_ID, + vc_eNB_UE_ID, + { + mw_E_RABSetupItemBearerSURes(c_E_RAB_ID_A) + }, + { + mw_E_RABItem( + c_E_RAB_ID_B, + { + radioNetwork :=not_supported_QCI_value + } + ) + } )); @@ -895,7 +895,7 @@ module S1AP_TCFunctions { log("*** " & __SCOPE__ & ": INFO: Postamble done. ***"); } // End of function f_TC_S1AP_eNB_CMP_04 - + /** * @desc Testcase function for TC_S1AP_eNB_CMP_05 */ @@ -1390,6 +1390,8 @@ module S1AP_TCFunctions { */ group Paging_group { + // void + } // End of group Paging_group /** @@ -2637,15 +2639,15 @@ module S1AP_TCFunctions { } // End of function f_TC_S1AP_eNB_LPP_02 } // End of group LPPa_transport_group - + /** - * @desc NAS transport group - * @see ETSI DTS/INT-00135-2 Clause 5.2.2.1.18 Unknown, Unforseen and Errorneous Protocol Data group + * @desc Unknown, Unforseen and Erroneous Protocol Data + * @see ETSI DTS/INT-00135-2 Clause 5.2.2.2.18 Unknown, Unforseen and Erroneous Protocol Data */ group Unknown_unforseen_errorneous_group { - + } // End of group Unknown_unforseen_errorneous_group - + } // End of group eNB_Role group MME_Role { @@ -2698,40 +2700,75 @@ module S1AP_TCFunctions { * @see ETSI DTS/INT-00135-2 Clause 5.2.2.2.4 Handover signalling group */ group Handover_signalling_group { - } // End of group Handover_signalling_group - - - + /** * @desc Paging group - * @see ETSI DTS/INT-00135-2 Clause 5.2.2.2.5 Paging group + * @see ETSI TS 103 497-2 Clause 5.2.2.2.5 Paging group */ - group Paging_group { - + group Pagin_group { - } // End of group Paging_group - - /** - * @desc NAS transport group - * @see ETSI DTS/INT-00135-2 Clause 5.2.2.2.6 NAS transport group - */ - group NAS_transport_group { - /** - * @desc Testcase function for TC_S1AP_MME_NAS_01 + * @desc Testcase function for TC_S1AP_MME_PAG_01 */ - function f_TC_S1AP_MME_NAS_01() runs on S1APComponent { + function f_TC_S1AP_MME_PAG_01() runs on S1APComponent { // Local variables - + // Preamble f_S1AP_mme_init(); // Preamble action: E-RAB Setup is exchanged. f_rABSetupRequest(); f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); log("*** " & __SCOPE__ & ": INFO: Preamble done. ***"); - + + // Test body + // 1. to indicate a Paging procedure + if (fx_MME_Paging_procedure() == false) { + f_selfOrClientSyncAndVerdict(c_tbDone, e_error); + } else { + // 2. sends a PAGING + f_recv_Paging( + mw_pagingIEs( + PX_UE_IDENTITY_INDEX_VALUE, + mw_uEPagingID_iMSI( + PX_IMSI + ), + PX_CNDOMAIN, + - // TODO To be refined + )); + f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); + } + + // Postamble + f_rABSetupRelease(); + f_postamble_S1AP_MME(); + f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict()); + log("*** " & __SCOPE__ & ": INFO: Postamble done. ***"); + + } // End of function f_TC_S1AP_MME_PAG_01 + + } // End of group Pagin_group + + /** + * @desc NAS transport group + * @see ETSI DTS/INT-00135-2 Clause 5.2.2.2.6 NAS transport group + */ + group NAS_transport_group { + + /** + * @desc Testcase function for TC_S1AP_MME_NAS_01 + */ + function f_TC_S1AP_MME_NAS_01() runs on S1APComponent { + // Local variables + + // Preamble + f_S1AP_mme_init(); + // Preamble action: E-RAB Setup is exchanged. + f_rABSetupRequest(); + f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); + log("*** " & __SCOPE__ & ": INFO: Preamble done. ***"); + // Test body // 1. to indicate an ongoing NAS Transport procedure if (fx_MME_Downlink_NAS_Transport_procedure() == false) { @@ -3724,13 +3761,13 @@ module S1AP_TCFunctions { } // End of function f_TC_S1AP_MME_LPP_02 } // End of group LPPa_transport_group - + /** - * @desc NAS transport group - * @see ETSI DTS/INT-00135-2 Clause 5.2.2.2.18 Unknown, Unforseen and Errorneous Protocol Data group + * @desc Unknown, Unforseen and Erroneous Protocol Data + * @see ETSI DTS/INT-00135-2 Clause 5.2.2.2.18 Unknown, Unforseen and Erroneous Protocol Data */ group Unknown_unforseen_errorneous_group { - + } // End of group Unknown_unforseen_errorneous_group diff --git a/ttcn3/S1AP_TestCases.ttcn b/ttcn3/S1AP_TestCases.ttcn index d1fce56..956c1b4 100644 --- a/ttcn3/S1AP_TestCases.ttcn +++ b/ttcn3/S1AP_TestCases.ttcn @@ -33,7 +33,7 @@ module S1AP_TestCases { /** * @desc E-RAB management group - * @see ETSI DTS/INT-00135-2 Clause 5.2.2.1.2 E-RAB management group + * @see ETSI TS 103 497-2 Clause 5.2.2.1.2 E-RAB management group */ group ERAB_management_group { @@ -67,7 +67,7 @@ module S1AP_TestCases { * containing a GTP-TEID. * * - * @see ETSI DTS/INT-00135-2 TP_S1AP_eNB_RAB_01 + * @see ETSI TS 103 497-2 TP_S1AP_eNB_RAB_01 * @reference ETSI TS 136 413 V13.4.0 Clause 8.2.1.2(1st dashed line in 5th dashed list) and 9.1.3.1 and 9.1.3.2 */ testcase TC_S1AP_eNB_RAB_01() runs on S1AP system TestAdapter { @@ -137,7 +137,7 @@ module S1AP_TestCases { * indicating ‘not-supported-QCI-value’. * * - * @see ETSI DTS/INT-00135-2 TP_S1AP_eNB_RAB_02 + * @see ETSI TS 103 497-2 TP_S1AP_eNB_RAB_02 * @reference ETSI TS 136 413 V13.4.0 Clause 8.2.1.2(2nd dashed line in 5th dashed list) and 9.1.3.1 and 9.1.3.2 */ testcase TC_S1AP_eNB_RAB_02() runs on S1AP system TestAdapter { @@ -166,8 +166,8 @@ module S1AP_TestCases { } // End of group E-RAB_management_group /** - * @desc NAS transport group - * @see ETSI DTS/INT-00135-2 Clause 5.2.2.1.6 NAS transport group + * @desc Management group + * @see ETSI TS 103 497-2 Clause 5.2.2.1.6 NAS transport group */ group NAS_transport_group { @@ -190,7 +190,7 @@ module S1AP_TestCases { * containing a RRC_Establishment_Cause. * * - * @see ETSI DTS/INT-00135-2 TP_S1AP_eNB_NAS_01 + * @see ETSI TS 103 497-2 TP_S1AP_eNB_NAS_01 * @reference ETSI TS 136 413 V13.4.0 Clause 8.6.2.1¶1 and 9.1.7.1 */ testcase TC_S1AP_eNB_NAS_01() runs on S1AP system TestAdapter { @@ -236,7 +236,7 @@ module S1AP_TestCases { * containing a RRC_Establishment_Cause. * * - * @see ETSI DTS/INT-00135-2 TP_S1AP_eNB_NAS_02 + * @see ETSI TS 103 497-2 TP_S1AP_eNB_NAS_02 * @reference ETSI TS 136 413 V13.4.0 Clause 8.6.2.3¶1 and 9.1.7.3 */ testcase TC_S1AP_eNB_NAS_02() runs on S1AP system TestAdapter { @@ -277,7 +277,7 @@ module S1AP_TestCases { * indicating an appropriate cause value. * * - * @see ETSI DTS/INT-00135-2 TP_S1AP_eNB_NAS_03 + * @see ETSI TS 103 497-2 TP_S1AP_eNB_NAS_03 * @reference ETSI TS 136 413 V13.4.0 Clause 8.6.2.4 and 9.1.7.4 */ testcase TC_S1AP_eNB_NAS_03() runs on S1AP system TestAdapter { @@ -307,7 +307,7 @@ module S1AP_TestCases { /** * @desc Management group - * @see ETSI DTS/INT-00135-2 Clause 5.2.2.1.7 Management group + * @see ETSI TS 103 497-2 Clause 5.2.2.1.7 Management group */ group Management_group { @@ -327,7 +327,7 @@ module S1AP_TestCases { * containing a UE-associated_logical_S1-connection_list. * * - * @see ETSI DTS/INT-00135-2 TP_S1AP_eNB_MNP_01 + * @see ETSI TS 103 497-2 TP_S1AP_eNB_MNP_01 * @reference ETSI TS 136 413 V13.4.0 Clause 8.7.1.2.1¶2 and 9.1.8.1 and 9.1.8.2 */ testcase TC_S1AP_eNB_MNP_01() runs on S1AP system TestAdapter { @@ -368,7 +368,7 @@ module S1AP_TestCases { * indicating a value ‘Reset_all’. * * - * @see ETSI DTS/INT-00135-2 TP_S1AP_eNB_MNP_02 + * @see ETSI TS 103 497-2 TP_S1AP_eNB_MNP_02 * @reference ETSI TS 136 413 V13.4.0 Clause 8.7.1.2.2¶1 and 9.1.8.1 and 9.1.8.2 */ testcase TC_S1AP_eNB_MNP_02() runs on S1AP system TestAdapter { @@ -410,7 +410,7 @@ module S1AP_TestCases { * containing a UE-associated_logical_S1-connection_list. * * - * @see ETSI DTS/INT-00135-2 TP_S1AP_eNB_MNP_03 + * @see ETSI TS 103 497-2 TP_S1AP_eNB_MNP_03 * @reference ETSI TS 136 413 V13.4.0 Clause 8.7.1.2.2¶1 and 9.1.8.1 and 9.1.8.2 */ testcase TC_S1AP_eNB_MNP_03() runs on S1AP system TestAdapter { @@ -448,7 +448,7 @@ module S1AP_TestCases { * or containing a Criticality_Diagnostics). * * - * @see ETSI DTS/INT-00135-2 TP_S1AP_eNB_MNP_04 + * @see ETSI TS 103 497-2 TP_S1AP_eNB_MNP_04 * @reference ETSI TS 136 413 V13.4.0 Clause 8.7.2.2 and 9.1.8.3 */ testcase TC_S1AP_eNB_MNP_04() runs on S1AP system TestAdapter { @@ -488,7 +488,7 @@ module S1AP_TestCases { * containing a Default_Paging_DRX. * * - * @see ETSI DTS/INT-00135-2 TP_S1AP_eNB_MNP_05 + * @see ETSI TS 103 497-2 TP_S1AP_eNB_MNP_05 * @reference ETSI TS 136 413 V13.4.0 Clause 8.7.3.2¶1 and 9.1.8.4 and 9.1.8.5 */ testcase TC_S1AP_eNB_MNP_05() runs on S1AP system TestAdapter { @@ -527,7 +527,7 @@ module S1AP_TestCases { * containing a TAC. * * - * @see ETSI DTS/INT-00135-2 TP_S1AP_eNB_MNP_06 + * @see ETSI TS 103 497-2 TP_S1AP_eNB_MNP_06 * @reference ETSI TS 136 413 V13.4.0 Clause 8.7.4.2¶1 and 9.1.8.7 and 9.1.8.8 */ testcase TC_S1AP_eNB_MNP_06() runs on S1AP system TestAdapter { @@ -566,7 +566,7 @@ module S1AP_TestCases { * sends an MME_CONFIGURATION_UPDATE_ACKNOWLEDGE. * * - * @see ETSI DTS/INT-00135-2 TP_S1AP_eNB_MNP_07 + * @see ETSI TS 103 497-2 TP_S1AP_eNB_MNP_07 * @reference ETSI TS 136 413 V13.4.0 Clause 8.7.5.2¶1 and 9.1.8.10 and 9.1.8.11 */ testcase TC_S1AP_eNB_MNP_07() runs on S1AP system TestAdapter { @@ -607,7 +607,7 @@ module S1AP_TestCases { * indicating an appropriate cause value. * * - * @see ETSI DTS/INT-00135-2 TP_S1AP_eNB_MNP_08 + * @see ETSI TS 103 497-2 TP_S1AP_eNB_MNP_08 * @reference ETSI TS 136 413 V13.4.0 Clause 8.7.5.3 and 9.1.8.10 and 9.1.8.12 */ testcase TC_S1AP_eNB_MNP_08() runs on S1AP system TestAdapter { @@ -637,7 +637,7 @@ module S1AP_TestCases { /** * @desc S1 CDMA 2000 tunnelling group - * @see ETSI DTS/INT-00135-2 Clause 5.2.2.1.8 S1 CDMA 2000 tunnelling group group + * @see ETSI TS 103 497-2 Clause 5.2.2.1.8 S1 CDMA 2000 tunnelling group group */ group S1_CDMA_2000_tunelling_group { @@ -656,7 +656,7 @@ module S1AP_TestCases { * containing a CDMA2000_PDU. * * - * @see ETSI DTS/INT-00135-2 TP_S1AP_eNB_STP_01 + * @see ETSI TS 103 497-2 TP_S1AP_eNB_STP_01 * @reference ETSI TS 136 413 V13.4.0 Clause 8.8.2.2¶1 and 9.1.9.2 and 9.2.1.23 */ testcase TC_S1AP_eNB_STP_01() runs on S1AP system TestAdapter { @@ -686,7 +686,7 @@ module S1AP_TestCases { /** * @desc UE capability info indication group - * @see ETSI DTS/INT-00135-2 Clause 5.2.2.1.9 UE capability info indication group + * @see ETSI TS 103 497-2 Clause 5.2.2.1.9 UE capability info indication group */ group UE_capability_info_indication_group { @@ -703,7 +703,7 @@ module S1AP_TestCases { * containing a containing a UE_Radio_Capability. * * - * @see ETSI DTS/INT-00135-2 TP_S1AP_eNB_UEC_01 + * @see ETSI TS 103 497-2 TP_S1AP_eNB_UEC_01 * @reference ETSI TS 136 413 V13.4.0 Clause 8.9.2 and 9.1.10 */ testcase TC_S1AP_eNB_UEC_01() runs on S1AP system TestAdapter { @@ -733,7 +733,7 @@ module S1AP_TestCases { /** * @desc Trace Procedures group - * @see ETSI DTS/INT-00135-2 Clause 5.2.2.1.10 Trace group + * @see ETSI TS 103 497-2 Clause 5.2.2.1.10 Trace group */ group Trace_group { @@ -762,7 +762,7 @@ module S1AP_TestCases { * indicating an appropriate cause value. * * - * @see ETSI DTS/INT-00135-2 TP_S1AP_eNB_TRP_01 + * @see ETSI TS 103 497-2 TP_S1AP_eNB_TRP_01 * @reference ETSI TS 136 413 V13.4.0 Clause 8.10.1.2-8 and 8.10.2.2 and 9.1.11.1 and 9.1.11.2 */ testcase TC_S1AP_eNB_TRP_01() runs on S1AP system TestAdapter { @@ -807,7 +807,7 @@ module S1AP_TestCases { * indicating an appropriate cause value. * * - * @see ETSI DTS/INT-00135-2 TP_S1AP_eNB_TRP_02 + * @see ETSI TS 103 497-2 TP_S1AP_eNB_TRP_02 * @reference ETSI TS 136 413 V13.4.0 Clause 8.10.3.2-3 and 8.10.2.2 and 9.1.11.3 and 9.1.11.2 */ testcase TC_S1AP_eNB_TRP_02() runs on S1AP system TestAdapter { @@ -850,7 +850,7 @@ module S1AP_TestCases { * containing a Trace_Collection_Entity_IP_Address. * * - * @see ETSI DTS/INT-00135-2 TP_S1AP_eNB_TRP_03 + * @see ETSI TS 103 497-2 TP_S1AP_eNB_TRP_03 * @reference ETSI TS 136 413 V13.4.0 Clause 8.10.4.2 and 9.1.18 */ testcase TC_S1AP_eNB_TRP_03() runs on S1AP system TestAdapter { @@ -880,7 +880,7 @@ module S1AP_TestCases { /** * @desc Location Reporting Procedures group - * @see ETSI DTS/INT-00135-2 Clause 5.2.2.1.11 Location reporting group + * @see ETSI TS 103 497-2 Clause 5.2.2.1.11 Location reporting group */ group Location_reporting_group { @@ -912,7 +912,7 @@ module S1AP_TestCases { * containing a Report_Area. * * - * @see ETSI DTS/INT-00135-2 TP_S1AP_eNB_LRP_01 + * @see ETSI TS 103 497-2 TP_S1AP_eNB_LRP_01 * @reference ETSI TS 136 413 V13.4.0 Clause 8.11.1.2-2(1st dashed line) and 9.1.12.1 and 9.1.12.3 and 9.2.1.16,34,38 */ testcase TC_S1AP_eNB_LRP_01() runs on S1AP system TestAdapter { @@ -967,7 +967,7 @@ module S1AP_TestCases { * containing a Report_Area. * * - * @see ETSI DTS/INT-00135-2 TP_S1AP_eNB_LRP_02 + * @see ETSI TS 103 497-2 TP_S1AP_eNB_LRP_02 * @reference ETSI TS 136 413 V13.4.0 Clause 8.11.1.2-2(1st dashed line) and 9.1.12.1 and 9.1.12.3 and 9.2.1.16,34,38 */ testcase TC_S1AP_eNB_LRP_02() runs on S1AP system TestAdapter { @@ -1022,7 +1022,7 @@ module S1AP_TestCases { * containing a Report_Area. * * - * @see ETSI DTS/INT-00135-2 TP_S1AP_eNB_LRP_03 + * @see ETSI TS 103 497-2 TP_S1AP_eNB_LRP_03 * @reference ETSI TS 136 413 V13.4.0 Clause 8.11.1.2-2(1st dashed line) and 9.1.12.1 and 9.1.12.3 and 9.2.1.16,34,38 */ testcase TC_S1AP_eNB_LRP_03() runs on S1AP system TestAdapter { @@ -1067,7 +1067,7 @@ module S1AP_TestCases { * indicating an appropriate cause value. * * - * @see ETSI DTS/INT-00135-2 TP_S1AP_eNB_LRP_04 + * @see ETSI TS 103 497-2 TP_S1AP_eNB_LRP_04 * @reference ETSI TS 136 413 V13.4.0 Clause 8.11.2.2-1 and 9.1.12.2 */ testcase TC_S1AP_eNB_LRP_04() runs on S1AP system TestAdapter { @@ -1097,7 +1097,7 @@ module S1AP_TestCases { /** * @desc Warning message transmission group - * @see ETSI DTS/INT-00135-2 Clause 5.2.2.1.12 Warning message transmission group + * @see ETSI TS 103 497-2 Clause 5.2.2.1.12 Warning message transmission group */ group Warning_message_transmission_group { @@ -1116,7 +1116,7 @@ module S1AP_TestCases { * containing a Serial_Number. * * - * @see ETSI DTS/INT-00135-2 TP_S1AP_eNB_WTP_01 + * @see ETSI TS 103 497-2 TP_S1AP_eNB_WTP_01 * @reference ETSI TS 136 413 V13.4.0 Clause 8.12.1.2-1 and 9.1.13.1 and 9.1.13.2 */ testcase TC_S1AP_eNB_WTP_01() runs on S1AP system TestAdapter { @@ -1156,7 +1156,7 @@ module S1AP_TestCases { * containing a Serial_Number. * * - * @see ETSI DTS/INT-00135-2 TP_S1AP_eNB_WTP_02 + * @see ETSI TS 103 497-2 TP_S1AP_eNB_WTP_02 * @reference ETSI TS 136 413 V13.4.0 Clause 8.12.2.2-1,3 and 9.1.13.3 and 9.1.13.4 */ testcase TC_S1AP_eNB_WTP_02() runs on S1AP system TestAdapter { @@ -1199,7 +1199,7 @@ module S1AP_TestCases { * indicating an empty list. * * - * @see ETSI DTS/INT-00135-2 TP_S1AP_eNB_WTP_03 + * @see ETSI TS 103 497-2 TP_S1AP_eNB_WTP_03 * @reference ETSI TS 136 413 V13.4.0 Clause 8.12.3.2 and 9.1.13.5 */ testcase TC_S1AP_eNB_WTP_03() runs on S1AP system TestAdapter { @@ -1238,7 +1238,7 @@ module S1AP_TestCases { * containing a Global_ENB_ID. * * - * @see ETSI DTS/INT-00135-2 TP_S1AP_eNB_WTP_04 + * @see ETSI TS 103 497-2 TP_S1AP_eNB_WTP_04 * @reference ETSI TS 136 413 V13.4.0 Clause 8.12.4.2 and 9.1.13.6 */ testcase TC_S1AP_eNB_WTP_04() runs on S1AP system TestAdapter { @@ -1268,7 +1268,7 @@ module S1AP_TestCases { /** * @desc eNB direct information transfer group - * @see ETSI DTS/INT-00135-2 Clause 5.2.2.1.13 eNB direct information transfer group + * @see ETSI TS 103 497-2 Clause 5.2.2.1.13 eNB direct information transfer group */ group ENB_direct_information_transfer_group { @@ -1287,7 +1287,7 @@ module S1AP_TestCases { * containing a RIM_Routing_Address. * * - * @see ETSI DTS/INT-00135-2 TP_S1AP_eNB_EIT_01 + * @see ETSI TS 103 497-2 TP_S1AP_eNB_EIT_01 * @reference ETSI TS 136 413 V13.4.0 Clause 8.13.2.1 and 9.1.14 and 9.2.3.23 */ testcase TC_S1AP_eNB_EIT_01() runs on S1AP system TestAdapter { @@ -1317,7 +1317,7 @@ module S1AP_TestCases { /** * @desc eNB configuration transfer group - * @see ETSI DTS/INT-00135-2 Clause 5.2.2.1.15 eNB configuration transfer group + * @see ETSI TS 103 497-2 Clause 5.2.2.1.15 eNB configuration transfer group */ group ENB_configuration_transfer_group { @@ -1338,7 +1338,7 @@ module S1AP_TestCases { * containing an X2_TNL_Configuration_Info. * * - * @see ETSI DTS/INT-00135-2 TP_S1AP_eNB_ECT_01 + * @see ETSI TS 103 497-2 TP_S1AP_eNB_ECT_01 * @reference ETSI TS 136 413 V13.4.0 Clause 8.15.2.1 and 9.1.16 */ testcase TC_S1AP_eNB_ECT_01() runs on S1AP system TestAdapter { @@ -1368,7 +1368,7 @@ module S1AP_TestCases { /** * @desc LPPa transport group - * @see ETSI DTS/INT-00135-2 Clause 5.2.2.1.17 LPPa transport group + * @see ETSI TS 103 497-2 Clause 5.2.2.1.17 LPPa transport group */ group LPPa_transport_group { @@ -1388,7 +1388,7 @@ module S1AP_TestCases { * containing an LPPa-PDU. * * - * @see ETSI DTS/INT-00135-2 TP_S1AP_eNB_LPP_01 + * @see ETSI TS 103 497-2 TP_S1AP_eNB_LPP_01 * @reference ETSI TS 136 413 V13.4.0 Clause 8.17.2.2 and 9.1.19.2 */ testcase TC_S1AP_eNB_LPP_01() runs on S1AP system TestAdapter { @@ -1430,7 +1430,7 @@ module S1AP_TestCases { * containing an LPPa-PDU. * * - * @see ETSI DTS/INT-00135-2 TP_S1AP_eNB_LPP_02 + * @see ETSI TS 103 497-2 TP_S1AP_eNB_LPP_02 * @reference ETSI TS 136 413 V13.4.0 Clause 8.17.2.4 and 9.1.19.4 */ testcase TC_S1AP_eNB_LPP_02() runs on S1AP system TestAdapter { @@ -1464,7 +1464,7 @@ module S1AP_TestCases { /** * @desc E-RAB management group - * @see ETSI DTS/INT-00135-2 Clause 5.2.2.2.2 E-RAB management group + * @see ETSI TS 103 497-2 Clause 5.2.2.2.2 E-RAB management group */ group ERAB_management_group { @@ -1487,7 +1487,7 @@ module S1AP_TestCases { * containing a NAS-PDU. * * - * @see ETSI DTS/INT-00135-2 TP_S1AP_eNB_RAB_01 + * @see ETSI TS 103 497-2 TP_S1AP_eNB_RAB_01 * @reference ETSI TS 136 413 V13.4.0 Clause 8.2.1.2 and 9.1.3.1 */ testcase TC_S1AP_MME_RAB_01() runs on S1AP system TestAdapter { @@ -1516,8 +1516,57 @@ module S1AP_TestCases { } // End of group ERAB_management_group /** - * @desc NAS transport group - * @see ETSI DTS/INT-00135-2 Clause 5.2.2.2.6 NAS transport group + * @desc Paging group + * @see ETSI TS 103 497-2 Clause 5.2.2.2.5 Paging group + */ + group Pagin_group { + + /** + * @desc Verify that the IUT can send a PAGING to indicate a Paging procedure. + *
+             * Pics Selection: A.4/4.4
+             * Configuration: CF_S1-MME
+             *     Ensure that the IUT
+             *         to indicate a Paging  procedure
+             *         sends a PAGING
+             *             containing a UE_Identity_Index_value
+             *             containing a UE_Paging_Identity
+             *                 containing a S-TMSI
+             *                 containing an IMSI
+             *             containing a CN_Domain.
+             * 
+ * + * @see ETSI TS 103 497-2 TP_S1AP_MME_PAG_01 + * @reference ETSI TS 136 413 V13.4.0 Clause 8.5.2¶1 and 9.1.6 + */ + testcase TC_S1AP_MME_PAG_01() runs on S1AP system TestAdapter { + // Local variables + var S1AP v_s1ap_mme; + + // Test control + if (not PICS_S1AP_MME_IUT) { + log("*** " & __SCOPE__ & ": ERROR: 'PICS_S1AP_MME_IUT' shall be set to true for executing the TC. ***"); + stop; + } + + // Test component direct information + f_cf_S1AP_MME_Up(v_s1ap_mme); + + // Start + v_s1ap_mme.start(f_TC_S1AP_MME_PAG_01()); + + // synchronize PTC on 1 sychronization points + f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone}); + + f_cf_Down(); + + } // End of testcase TC_S1AP_MME_PAG_01 + + } // End of group Paging group + + /** + * @desc Management group + * @see ETSI TS 103 497-2 Clause 5.2.2.1.6 NAS transport group */ group NAS_transport_group { @@ -1534,7 +1583,7 @@ module S1AP_TestCases { * containing a NAS-PDU. * * - * @see ETSI DTS/INT-00135-2 TP_S1AP_MME_NAS_01 + * @see ETSI TS 103 497-2 TP_S1AP_MME_NAS_01 * @reference ETSI TS 136 413 V13.4.0 Clause 8.6.2.2¶1 and 9.1.7.2 */ testcase TC_S1AP_MME_NAS_01() runs on S1AP system TestAdapter { @@ -1573,7 +1622,7 @@ module S1AP_TestCases { * containing an MME_Group_ID. * * - * @see ETSI DTS/INT-00135-2 TP_S1AP_MME_NAS_02 + * @see ETSI TS 103 497-2 TP_S1AP_MME_NAS_02 * @reference ETSI TS 136 413 V13.4.0 Clause 8.6.2.2¶1 and 9.1.7.2 */ testcase TC_S1AP_MME_NAS_02() runs on S1AP system TestAdapter { @@ -1603,7 +1652,7 @@ module S1AP_TestCases { /** * @desc Management group - * @see ETSI DTS/INT-00135-2 Clause 5.2.2.2.7 Management group + * @see ETSI TS 103 497-2 Clause 5.2.2.2.7 Management group */ group Management_group { @@ -1622,7 +1671,7 @@ module S1AP_TestCases { * indicating a value ‘Reset_all’. * * - * @see ETSI DTS/INT-00135-2 TP_S1AP_MME_MNP_01 + * @see ETSI TS 103 497-2 TP_S1AP_MME_MNP_01 * @reference ETSI TS 136 413 V13.4.0 Clause 8.7.1.2.1¶2 and 9.1.8.1 and 9.1.8.2 */ testcase TC_S1AP_MME_MNP_01() runs on S1AP system TestAdapter { @@ -1665,7 +1714,7 @@ module S1AP_TestCases { * containing a UE-associated_logical_S1-connection_list. * * - * @see ETSI DTS/INT-00135-2 TP_S1AP_MME_MNP_02 + * @see ETSI TS 103 497-2 TP_S1AP_MME_MNP_02 * @reference ETSI TS 136 413 V13.4.0 Clause 8.7.1.2.1¶2 and 9.1.8.1 and 9.1.8.2 */ testcase TC_S1AP_MME_MNP_02() runs on S1AP system TestAdapter { @@ -1709,7 +1758,7 @@ module S1AP_TestCases { * indicating an empty ‘UE-associated_logical_S1-connection’. * * - * @see ETSI DTS/INT-00135-2 TP_S1AP_MME_MNP_03 + * @see ETSI TS 103 497-2 TP_S1AP_MME_MNP_03 * @reference ETSI TS 136 413 V13.4.0 Clause 8.7.1.3.2¶1 and 9.1.8.1 and 9.1.8.2 */ testcase TC_S1AP_MME_MNP_03() runs on S1AP system TestAdapter { @@ -1747,7 +1796,7 @@ module S1AP_TestCases { * or containing a Criticality_Diagnostics). * * - * @see ETSI DTS/INT-00135-2 TP_S1AP_MME_MNP_04 + * @see ETSI TS 103 497-2 TP_S1AP_MME_MNP_04 * @reference ETSI TS 136 413 V13.4.0 Clause 8.7.1.2.1¶2 and 9.1.8.1 and 9.1.8.2 */ testcase TC_S1AP_MME_MNP_04() runs on S1AP system TestAdapter { @@ -1788,7 +1837,7 @@ module S1AP_TestCases { * sends a S1_SETUP_RESPONSE. * * - * @see ETSI DTS/INT-00135-2 TP_S1AP_MME_MNP_05 + * @see ETSI TS 103 497-2 TP_S1AP_MME_MNP_05 * @reference ETSI TS 136 413 V13.4.0 Clause 8.7.3.2¶1 and 9.1.8.4 and 9.1.8.5 */ testcase TC_S1AP_MME_MNP_05() runs on S1AP system TestAdapter { @@ -1832,7 +1881,7 @@ module S1AP_TestCases { * indicating the cause value 'Unknown PLMN'. * * - * @see ETSI DTS/INT-00135-2 TP_S1AP_MME_MNP_06 + * @see ETSI TS 103 497-2 TP_S1AP_MME_MNP_06 * @reference ETSI TS 136 413 V13.4.0 Clause 8.7.3.2¶1 and 9.1.8.4 and 9.1.8.6 */ testcase TC_S1AP_MME_MNP_06() runs on S1AP system TestAdapter { @@ -1872,7 +1921,7 @@ module S1AP_TestCases { * sends an MME_CONFIGURATION_UPDATE_ACKNOWLEDGE. * * - * @see ETSI DTS/INT-00135-2 TP_S1AP_MME_MNP_07 + * @see ETSI TS 103 497-2 TP_S1AP_MME_MNP_07 * @reference ETSI TS 136 413 V13.4.0 Clause 8.7.4.2¶1 and 9.1.8.7 and 9.1.8.8 */ testcase TC_S1AP_MME_MNP_07() runs on S1AP system TestAdapter { @@ -1913,7 +1962,7 @@ module S1AP_TestCases { * indicating an appropriate cause value. * * - * @see ETSI DTS/INT-00135-2 TP_S1AP_MME_MNP_08 + * @see ETSI TS 103 497-2 TP_S1AP_MME_MNP_08 * @reference ETSI TS 136 413 V13.4.0 Clause 8.7.3.2¶1 and 9.1.8.7 and 9.1.8.9 */ testcase TC_S1AP_MME_MNP_08() runs on S1AP system TestAdapter { @@ -1952,7 +2001,7 @@ module S1AP_TestCases { * containing a TAC. * * - * @see ETSI DTS/INT-00135-2 TP_S1AP_MME_MNP_09 + * @see ETSI TS 103 497-2 TP_S1AP_MME_MNP_09 * @reference ETSI TS 136 413 V13.4.0 Clause 8.7.4.2¶1 and 9.1.8.10 */ testcase TC_S1AP_MME_MNP_09() runs on S1AP system TestAdapter { @@ -1989,7 +2038,7 @@ module S1AP_TestCases { * containing an Overload_Response. * * - * @see ETSI DTS/INT-00135-2 TP_S1AP_MME_MNP_10 + * @see ETSI TS 103 497-2 TP_S1AP_MME_MNP_10 * @reference ETSI TS 136 413 V13.4.0 Clause 8.7.6.2¶1 and 9.1.8.13 */ testcase TC_S1AP_MME_MNP_10() runs on S1AP system TestAdapter { @@ -2026,7 +2075,7 @@ module S1AP_TestCases { * containing an Overload_Response. * * - * @see ETSI DTS/INT-00135-2 TP_S1AP_MME_MNP_11 + * @see ETSI TS 103 497-2 TP_S1AP_MME_MNP_11 * @reference ETSI TS 136 413 V13.4.0 Clause 8.7.7.2¶1 and 9.1.8.14 */ testcase TC_S1AP_MME_MNP_11() runs on S1AP system TestAdapter { @@ -2056,7 +2105,7 @@ module S1AP_TestCases { /** * @desc S1 CDMA 2000 tunnelling group group - * @see ETSI DTS/INT-00135-2 Clause 5.2.2.2.8 S1 CDMA 2000 tunnelling group group + * @see ETSI TS 103 497-2 Clause 5.2.2.2.8 S1 CDMA 2000 tunnelling group group */ group S1_CDMA_2000_tunelling_group { @@ -2075,7 +2124,7 @@ module S1AP_TestCases { * containing a CDMA2000_PDU. * * - * @see ETSI DTS/INT-00135-2 TP_S1AP_MME_STP_01 + * @see ETSI TS 103 497-2 TP_S1AP_MME_STP_01 * @reference ETSI TS 136 413 V13.4.0 Clause 8.8.2.1¶1 and 9.1.9.1 */ testcase TC_S1AP_MME_STP_01() runs on S1AP system TestAdapter { @@ -2105,7 +2154,7 @@ module S1AP_TestCases { /** * @desc Warning message transmission group - * @see ETSI DTS/INT-00135-2 Clause 5.2.2.2.10 Trace group + * @see ETSI TS 103 497-2 Clause 5.2.2.2.10 Trace group */ group Trace_group { @@ -2128,7 +2177,7 @@ module S1AP_TestCases { * containing a Trace_Collection_Entity_IP_Address. * * - * @see ETSI DTS/INT-00135-2 TP_S1AP_MME_TRP_01 + * @see ETSI TS 103 497-2 TP_S1AP_MME_TRP_01 * @reference ETSI TS 136 413 V13.4.0 Clause 8.10.1.2¶1 and 9.1.11.1 and 9.2.1.4 */ testcase TC_S1AP_MME_TRP_01() runs on S1AP system TestAdapter { @@ -2167,7 +2216,7 @@ module S1AP_TestCases { * containing an E-UTRAN_Trace_ID. * * - * @see ETSI DTS/INT-00135-2 TP_S1AP_MME_TRP_02 + * @see ETSI TS 103 497-2 TP_S1AP_MME_TRP_02 * @reference ETSI TS 136 413 V13.4.0 Clause 8.10.1.211 and 9.1.11.2 */ testcase TC_S1AP_MME_TRP_02() runs on S1AP system TestAdapter { @@ -2197,7 +2246,7 @@ module S1AP_TestCases { /** * @desc Warning message transmission group - * @see ETSI DTS/INT-00135-2 Clause 5.2.2.2.11 Location reporting group + * @see ETSI TS 103 497-2 Clause 5.2.2.2.11 Location reporting group */ group Location_reporting_group { @@ -2217,7 +2266,7 @@ module S1AP_TestCases { * indicating ECGI. * * - * @see ETSI DTS/INT-00135-2 TP_S1AP_MME_LRP_01 + * @see ETSI TS 103 497-2 TP_S1AP_MME_LRP_01 * @reference ETSI TS 136 413 V13.4.0 Clause 8.11.1.2-1 and 9.1.12.1 and 9.1.12.3 and 9.2.1.16,34,38 */ testcase TC_S1AP_MME_LRP_01() runs on S1AP system TestAdapter { @@ -2264,7 +2313,7 @@ module S1AP_TestCases { * indicating an appropriate cause value. * * - * @see ETSI DTS/INT-00135-2 TP_S1AP_MME_LRP_02 + * @see ETSI TS 103 497-2 TP_S1AP_MME_LRP_02 * @reference ETSI TS 136 413 V13.4.0 Clause 8.11.1.2-1 and 9.1.12.1 and 9.1.12.3 and 9.2.1.16,34,38 */ testcase TC_S1AP_MME_LRP_02() runs on S1AP system TestAdapter { @@ -2294,7 +2343,7 @@ module S1AP_TestCases { /** * @desc Warning message transmission group - * @see ETSI DTS/INT-00135-2 Clause 5.2.2.2.12 Warning message transmission group + * @see ETSI TS 103 497-2 Clause 5.2.2.2.12 Warning message transmission group */ group Warning_message_transmission_group { @@ -2312,7 +2361,7 @@ module S1AP_TestCases { * containing an Number_of_Broadcasts_Requested * * - * @see ETSI DTS/INT-00135-2 TP_S1AP_MME_WTP_01 + * @see ETSI TS 103 497-2 TP_S1AP_MME_WTP_01 * @reference ETSI TS 136 413 V13.4.0 Clause 8.12.1.2-1 and 9.1.13.1 and 9.1.13.2 */ testcase TC_S1AP_MME_WTP_01() runs on S1AP system TestAdapter { @@ -2350,7 +2399,7 @@ module S1AP_TestCases { * containing a Serial_Number * * - * @see ETSI DTS/INT-00135-2 TP_S1AP_MME_WTP_02 + * @see ETSI TS 103 497-2 TP_S1AP_MME_WTP_02 * @reference ETSI TS 136 413 V13.4.0 Clause 8.12.2.2-1 and 9.1.13.3 and 9.1.13.4 */ testcase TC_S1AP_MME_WTP_02() runs on S1AP system TestAdapter { @@ -2380,7 +2429,7 @@ module S1AP_TestCases { /** * @desc MME direct information transfer group - * @see ETSI DTS/INT-00135-2 Clause 5.2.2.2.14 MME direct information transfer group + * @see ETSI TS 103 497-2 Clause 5.2.2.2.14 MME direct information transfer group */ group MME_direct_information_transfer_group { @@ -2398,7 +2447,7 @@ module S1AP_TestCases { * containing a RIM_Information. * * - * @see ETSI DTS/INT-00135-2 TP_S1AP_MME_MIT_01 + * @see ETSI TS 103 497-2 TP_S1AP_MME_MIT_01 * @reference ETSI TS 136 413 V13.4.0 Clause 8.14.2.1 and 9.2.3.23 */ testcase TC_S1AP_MME_MIT_01() runs on S1AP system TestAdapter { @@ -2429,7 +2478,7 @@ module S1AP_TestCases { /** * @desc MME configuration transfer - * @see ETSI DTS/INT-00135-2 Clause 5.2.2.2.16 MME configuration transfer group + * @see ETSI TS 103 497-2 Clause 5.2.2.2.16 MME configuration transfer group */ group MME_configuration_transfer_group { @@ -2447,7 +2496,7 @@ module S1AP_TestCases { * containing a SON_Information. * * - * @see ETSI DTS/INT-00135-2 TP_S1AP_MME_MCT_01 + * @see ETSI TS 103 497-2 TP_S1AP_MME_MCT_01 * @reference ETSI TS 136 413 V13.4.0 Clause 8.16.2.1 and 9.1.17 */ testcase TC_S1AP_MME_MCT_01() runs on S1AP system TestAdapter { @@ -2477,7 +2526,7 @@ module S1AP_TestCases { /** * @desc LPPa transport group - * @see ETSI DTS/INT-00135-2 Clause 5.2.2.2.17 LPPa transport group + * @see ETSI TS 103 497-2 Clause 5.2.2.2.17 LPPa transport group */ group LPPa_transport_group { @@ -2497,7 +2546,7 @@ module S1AP_TestCases { * containing an LPPa-PDU. * * - * @see ETSI DTS/INT-00135-2 TP_S1AP_MME_LPP_01 + * @see ETSI TS 103 497-2 TP_S1AP_MME_LPP_01 * @reference ETSI TS 136 413 V13.4.0 Clause 8.17.2.1 and 9.1.19.1 */ testcase TC_S1AP_MME_LPP_01() runs on S1AP system TestAdapter { @@ -2539,7 +2588,7 @@ module S1AP_TestCases { * containing an LPPa-PDU. * * - * @see ETSI DTS/INT-00135-2 TP_S1AP_MME_LPP_02 + * @see ETSI TS 103 497-2 TP_S1AP_MME_LPP_02 * @reference ETSI TS 136 413 V13.4.0 Clause 8.17.2.3 and 9.1.19.3 */ testcase TC_S1AP_MME_LPP_02() runs on S1AP system TestAdapter { diff --git a/ttcn3/S1AP_TestControl.ttcn b/ttcn3/S1AP_TestControl.ttcn index f832bec..6c086ee 100644 --- a/ttcn3/S1AP_TestControl.ttcn +++ b/ttcn3/S1AP_TestControl.ttcn @@ -63,6 +63,8 @@ module S1AP_TestControl { if (PICS_S1AP_MME_IUT) { // ETSI TS 103 497-2 Clause 5.2.2.2.2 E-RAB management group execute(TC_S1AP_MME_RAB_01()); + // ETSI TS 103 497-2 Clause 5.2.2.2.5 Paging group + execute(TC_S1AP_MME_PAG_01()); // ETSI TS 103 497-2 Clause 5.2.2.2.6 NAS transport group execute(TC_S1AP_MME_NAS_01()); execute(TC_S1AP_MME_NAS_02());