Loading AtsImsIot/AtsImsIot_TestCases_CALL.ttcn +91 −0 Original line number Diff line number Diff line Loading @@ -51,6 +51,7 @@ module AtsImsIot_TestCases_CALL { f_cf_user_up(v_ueA); f_cf_user_up(v_ueB); f_cf_monitor_up(v_gmA); f_cf_monitor_up(v_gmB); f_cf_monitor_up(v_mw); // preamble Loading Loading @@ -111,6 +112,9 @@ module AtsImsIot_TestCases_CALL { //unmap/disconnet component ports f_cf_user_down(v_ueA); f_cf_user_down(v_ueB); f_cf_monitor_down(v_gmA); f_cf_monitor_down(v_gmB); f_cf_monitor_down(v_mw); } //end testcase TC_IMS_CALL_0001 Loading @@ -134,6 +138,7 @@ module AtsImsIot_TestCases_CALL { f_cf_user_up(v_ueB); f_cf_user_up(v_ueB2); f_cf_monitor_up(v_gmA); f_cf_monitor_up(v_gmB); f_cf_monitor_up(v_mw); // preamble Loading Loading @@ -202,6 +207,92 @@ module AtsImsIot_TestCases_CALL { f_cf_user_down(v_ueA); f_cf_user_down(v_ueB); f_cf_user_down(v_ueB2); f_cf_monitor_down(v_gmA); f_cf_monitor_down(v_gmB); f_cf_monitor_down(v_mw); } //end testcase TC_IMS_CALL_0001F /** * @desc Default Tel URI * @see TS 186 011-2 V2.3.1 cause 4.5.3.1.1.3 */ testcase TC_IMS_CALL_0002() runs on ImsTestCoordinator system IotSystemInterface { // create components var IotEquipmentUser v_ueA := f_cf_create_IotEquipmentUser(c_userUE_A); var IotEquipmentUser v_ueB := f_cf_create_IotEquipmentUser(c_userUE_B); var ImsInterfaceMonitor v_gmA := f_cf_create_monitor(c_gm_A); var ImsInterfaceMonitor v_gmB := f_cf_create_monitor(c_gm_B); var ImsInterfaceMonitor v_mw := f_cf_create_monitor(c_mw); var ImsUserInfo v_userInfoA := f_getTelUserId(PX_EUT_A); var ImsUserInfo v_userInfoB := f_getTelUserId(PX_EUT_B); // map/connect component ports f_cf_user_up(v_ueA); f_cf_user_up(v_ueB); f_cf_monitor_up(v_gmA); f_cf_monitor_up(v_gmB); f_cf_monitor_up(v_mw); // preamble f_mtc_userTriggerRegistration(v_ueA, v_userInfoA); f_mtc_userTriggerRegistration(v_ueB, v_userInfoB); // test body f_mtc_userTriggerInitiateCall (v_ueA, v_userInfoB); //Test Sequence Step 1 // check 1 (INVITE) f_mtc_check_TP_IMS_5097_01_gm(v_gmA, true); // Check1 f_mtc_check_TP_IMS_5097_02_gm(v_gmA, false); // Check2 f_mtc_check_TP_IMS_5097_01_mw(v_mw, true); // Check1 f_mtc_check_TP_IMS_5097_02_mw(v_mw, false); // Check2 // checks 6, 10 (180 Ringing) f_mtc_check_TP_IMS_5115_01_gm(v_gmB, true); // Check 5 f_mtc_check_TP_IMS_5115_03_gm(v_gmB, true); // Check 6 f_mtc_check_TP_IMS_5131_01_gm(v_gmB, false); // Check 9 f_mtc_check_TP_IMS_5115_01_mw(v_mw, true); // Check 5 f_mtc_check_TP_IMS_5115_03_mw(v_mw, true); // Check 6 f_mtc_check_TP_IMS_5131_01_mw(v_mw, false); // Check 9 f_mtc_userCheckRinging(v_ueB); //Test Sequence Step 2 f_mtc_userCheckPeerIsRinging(v_ueA); //Test Sequence Step 3 f_mtc_userTriggerAnswerCall(v_ueB); //Test Sequence Step 4 // checks 8, 11 (2xx) f_mtc_check_TP_IMS_5115_02_gm(v_gmB, true); // Check 7 f_mtc_check_TP_IMS_5115_04_gm(v_gmB, true); // Check 8 f_mtc_check_TP_IMS_5131_02_gm(v_gmB, false); // Check 10 f_mtc_check_TP_IMS_5115_02_mw(v_mw, true); // Check 7 f_mtc_check_TP_IMS_5115_04_mw(v_mw, true); // Check 8 f_mtc_check_TP_IMS_5131_02_mw(v_mw, false); // Check 10 f_mtc_userCheckCallEstablished(v_ueA); //Test Sequence Step 5 f_mtc_userCheckCallEstablished(v_ueB); //Test Sequence Step 6 //check 4 (ACK) f_mtc_check_TP_IMS_5107_02_gm(v_gmA, false); // Check3 f_mtc_check_TP_IMS_5107_02_mw(v_mw, false); // Check3 f_mtc_triggerEndCall(v_ueA); //Test Sequence Step 7 // check 5 (BYE) f_mtc_check_TP_IMS_5107_01_gm(v_gmA, false); // Check4 f_mtc_check_TP_IMS_5107_01_mw(v_mw, false); // Check4 f_mtc_userCheckCallEnded(v_ueB); //Test Sequence Step 8 f_mtc_userCheckCallEnded(v_ueA); //Test Sequence Step 9 // postamble f_PO_user_home_deregistration(v_ueA); f_PO_user_home_deregistration(v_ueB); //unmap/disconnet component ports f_cf_user_down(v_ueA); f_cf_user_down(v_ueB); f_cf_monitor_down(v_gmA); f_cf_monitor_down(v_gmB); f_cf_monitor_down(v_mw); } //end testcase TC_IMS_CALL_0002 } No newline at end of file Loading
AtsImsIot/AtsImsIot_TestCases_CALL.ttcn +91 −0 Original line number Diff line number Diff line Loading @@ -51,6 +51,7 @@ module AtsImsIot_TestCases_CALL { f_cf_user_up(v_ueA); f_cf_user_up(v_ueB); f_cf_monitor_up(v_gmA); f_cf_monitor_up(v_gmB); f_cf_monitor_up(v_mw); // preamble Loading Loading @@ -111,6 +112,9 @@ module AtsImsIot_TestCases_CALL { //unmap/disconnet component ports f_cf_user_down(v_ueA); f_cf_user_down(v_ueB); f_cf_monitor_down(v_gmA); f_cf_monitor_down(v_gmB); f_cf_monitor_down(v_mw); } //end testcase TC_IMS_CALL_0001 Loading @@ -134,6 +138,7 @@ module AtsImsIot_TestCases_CALL { f_cf_user_up(v_ueB); f_cf_user_up(v_ueB2); f_cf_monitor_up(v_gmA); f_cf_monitor_up(v_gmB); f_cf_monitor_up(v_mw); // preamble Loading Loading @@ -202,6 +207,92 @@ module AtsImsIot_TestCases_CALL { f_cf_user_down(v_ueA); f_cf_user_down(v_ueB); f_cf_user_down(v_ueB2); f_cf_monitor_down(v_gmA); f_cf_monitor_down(v_gmB); f_cf_monitor_down(v_mw); } //end testcase TC_IMS_CALL_0001F /** * @desc Default Tel URI * @see TS 186 011-2 V2.3.1 cause 4.5.3.1.1.3 */ testcase TC_IMS_CALL_0002() runs on ImsTestCoordinator system IotSystemInterface { // create components var IotEquipmentUser v_ueA := f_cf_create_IotEquipmentUser(c_userUE_A); var IotEquipmentUser v_ueB := f_cf_create_IotEquipmentUser(c_userUE_B); var ImsInterfaceMonitor v_gmA := f_cf_create_monitor(c_gm_A); var ImsInterfaceMonitor v_gmB := f_cf_create_monitor(c_gm_B); var ImsInterfaceMonitor v_mw := f_cf_create_monitor(c_mw); var ImsUserInfo v_userInfoA := f_getTelUserId(PX_EUT_A); var ImsUserInfo v_userInfoB := f_getTelUserId(PX_EUT_B); // map/connect component ports f_cf_user_up(v_ueA); f_cf_user_up(v_ueB); f_cf_monitor_up(v_gmA); f_cf_monitor_up(v_gmB); f_cf_monitor_up(v_mw); // preamble f_mtc_userTriggerRegistration(v_ueA, v_userInfoA); f_mtc_userTriggerRegistration(v_ueB, v_userInfoB); // test body f_mtc_userTriggerInitiateCall (v_ueA, v_userInfoB); //Test Sequence Step 1 // check 1 (INVITE) f_mtc_check_TP_IMS_5097_01_gm(v_gmA, true); // Check1 f_mtc_check_TP_IMS_5097_02_gm(v_gmA, false); // Check2 f_mtc_check_TP_IMS_5097_01_mw(v_mw, true); // Check1 f_mtc_check_TP_IMS_5097_02_mw(v_mw, false); // Check2 // checks 6, 10 (180 Ringing) f_mtc_check_TP_IMS_5115_01_gm(v_gmB, true); // Check 5 f_mtc_check_TP_IMS_5115_03_gm(v_gmB, true); // Check 6 f_mtc_check_TP_IMS_5131_01_gm(v_gmB, false); // Check 9 f_mtc_check_TP_IMS_5115_01_mw(v_mw, true); // Check 5 f_mtc_check_TP_IMS_5115_03_mw(v_mw, true); // Check 6 f_mtc_check_TP_IMS_5131_01_mw(v_mw, false); // Check 9 f_mtc_userCheckRinging(v_ueB); //Test Sequence Step 2 f_mtc_userCheckPeerIsRinging(v_ueA); //Test Sequence Step 3 f_mtc_userTriggerAnswerCall(v_ueB); //Test Sequence Step 4 // checks 8, 11 (2xx) f_mtc_check_TP_IMS_5115_02_gm(v_gmB, true); // Check 7 f_mtc_check_TP_IMS_5115_04_gm(v_gmB, true); // Check 8 f_mtc_check_TP_IMS_5131_02_gm(v_gmB, false); // Check 10 f_mtc_check_TP_IMS_5115_02_mw(v_mw, true); // Check 7 f_mtc_check_TP_IMS_5115_04_mw(v_mw, true); // Check 8 f_mtc_check_TP_IMS_5131_02_mw(v_mw, false); // Check 10 f_mtc_userCheckCallEstablished(v_ueA); //Test Sequence Step 5 f_mtc_userCheckCallEstablished(v_ueB); //Test Sequence Step 6 //check 4 (ACK) f_mtc_check_TP_IMS_5107_02_gm(v_gmA, false); // Check3 f_mtc_check_TP_IMS_5107_02_mw(v_mw, false); // Check3 f_mtc_triggerEndCall(v_ueA); //Test Sequence Step 7 // check 5 (BYE) f_mtc_check_TP_IMS_5107_01_gm(v_gmA, false); // Check4 f_mtc_check_TP_IMS_5107_01_mw(v_mw, false); // Check4 f_mtc_userCheckCallEnded(v_ueB); //Test Sequence Step 8 f_mtc_userCheckCallEnded(v_ueA); //Test Sequence Step 9 // postamble f_PO_user_home_deregistration(v_ueA); f_PO_user_home_deregistration(v_ueB); //unmap/disconnet component ports f_cf_user_down(v_ueA); f_cf_user_down(v_ueB); f_cf_monitor_down(v_gmA); f_cf_monitor_down(v_gmB); f_cf_monitor_down(v_mw); } //end testcase TC_IMS_CALL_0002 } No newline at end of file