Loading AtsImsIot/AtsImsIot_Functions.ttcn +28 −1 Original line number Diff line number Diff line Loading @@ -115,6 +115,33 @@ module AtsImsIot_Functions { return v_status; } /** * @desc Trigger UE given by p_ueRef to add a new media stream * @param p_userCompRef Reference to IMS UE user component * @return * true in case of successfull execution of the trigger command * otherwise false */ function f_mtc_userAddNewMediaStream(EquipmentUser p_ueRef) runs on TestCoordinator return boolean { var boolean v_status := true; // TODO return v_status; } /** * @desc Trigger UE given by p_ueRef to add a new media stream * @param p_userCompRef Reference to IMS UE user component * @return * true in case of successfull execution of the trigger command * otherwise false */ function f_mtc_userCheckNewMediaStream(EquipmentUser p_ueRef) runs on TestCoordinator return boolean { var boolean v_status := true; // TODO return v_status; } /** * @desc Trigger UE given by p_ueRef to enter HOLD state Loading AtsImsIot/AtsImsIot_TestCases_CALL.ttcn +97 −8 Original line number Diff line number Diff line Loading @@ -465,13 +465,14 @@ group Limit { // create components var ImsInterfaceMonitor v_gmA := f_cf_create_monitor(c_gm_A); var ImsInterfaceMonitor v_mw := f_cf_create_monitor(c_mw); var ImsInterfaceMonitor v_gmB := f_cf_create_monitor(c_gm_B); var ImsUserInfo v_userInfoA := f_getAnyValidUser(PX_EUT_A); var ImsUserInfo v_userInfoB := f_getAnyValidUser(PX_EUT_B); // vaiables // variables var IotEquipmentUser v_ueA := f_cf_create_IotEquipmentUser(c_userUE_A); var IotEquipmentUser v_ueB := f_cf_create_IotEquipmentUser(c_userUE_B); var CF_INT_CALL v_config := {v_gmA, v_mw, omit}; var CF_INT_CALL v_config := {v_gmA, v_mw, v_gmB}; // map/connect component ports f_cf_user_up(v_ueA); Loading Loading @@ -509,7 +510,7 @@ group Limit { f_mtc_userCheckUserOnHold(v_ueB); // check 2 f_mtc_check_TP_IMS_5121_02_gm(v_gmA,1); f_mtc_check_TP_IMS_5121_02_gm(v_gmB,1); f_mtc_check_TP_IMS_5121_02_mw(v_mw,1); // Test Sequence 9 ---------------------> Loading @@ -525,7 +526,7 @@ group Limit { f_mtc_userCheckCallResumed(v_ueB); // check 2 f_mtc_check_TP_IMS_5121_02_gm(v_gmA,0); f_mtc_check_TP_IMS_5121_02_gm(v_gmB,0); f_mtc_check_TP_IMS_5121_02_mw(v_mw,0); // Test Sequence 12 --------------------> Loading Loading @@ -557,13 +558,14 @@ group Limit { // create components var ImsInterfaceMonitor v_gmA := f_cf_create_monitor(c_gm_A); var ImsInterfaceMonitor v_mw := f_cf_create_monitor(c_mw); var ImsInterfaceMonitor v_gmB := f_cf_create_monitor(c_gm_B); var ImsUserInfo v_userInfoA := f_getAnyValidUser(PX_EUT_A); var ImsUserInfo v_userInfoB := f_getAnyValidUser(PX_EUT_B); // vaiables // variables var IotEquipmentUser v_ueA := f_cf_create_IotEquipmentUser(c_userUE_A); var IotEquipmentUser v_ueB := f_cf_create_IotEquipmentUser(c_userUE_B); var CF_INT_CALL v_config := {v_gmA, v_mw, omit}; var CF_INT_CALL v_config := {v_gmA, v_mw, v_gmB}; // map/connect component ports f_cf_user_up(v_ueA); Loading Loading @@ -601,7 +603,7 @@ group Limit { f_mtc_userCheckUserOnHold(v_ueB); // check 2 f_mtc_check_TP_IMS_5121_02_gm(v_gmA,1); f_mtc_check_TP_IMS_5121_02_gm(v_gmB,1); f_mtc_check_TP_IMS_5121_02_mw(v_mw,1); // Test Sequence 9 ---------------------> Loading @@ -617,7 +619,7 @@ group Limit { f_mtc_userCheckCallResumed(v_ueB); // check 2 f_mtc_check_TP_IMS_5121_02_gm(v_gmA,0); f_mtc_check_TP_IMS_5121_02_gm(v_gmB,0); f_mtc_check_TP_IMS_5121_02_mw(v_mw,0); // Test Sequence 12 --------------------> Loading @@ -639,4 +641,91 @@ group Limit { f_cf_int_call_down(v_config); } /** * @desc Addition of media streams (reINVITE) * @see TS 186 011-2 V2.3.1 cause 4.5.3.1.3.6 */ testcase TC_IMS_CALL_0019() runs on ImsTestCoordinator system IotSystemInterface { // create components var ImsInterfaceMonitor v_gmA := f_cf_create_monitor(c_gm_A); var ImsInterfaceMonitor v_mw := f_cf_create_monitor(c_mw); var ImsInterfaceMonitor v_gmB := f_cf_create_monitor(c_gm_A); var ImsUserInfo v_userInfoA := f_getAnyValidUser(PX_EUT_A); var ImsUserInfo v_userInfoB := f_getAnyValidUser(PX_EUT_B); // variables var IotEquipmentUser v_ueA := f_cf_create_IotEquipmentUser(c_userUE_A); var IotEquipmentUser v_ueB := f_cf_create_IotEquipmentUser(c_userUE_B); var CF_INT_CALL v_config := {v_gmA, v_mw, v_gmB}; // map/connect component ports f_cf_user_up(v_ueA); f_cf_user_up(v_ueB); // configuration f_cf_int_call_up(v_config); // preamble f_PR_user_home_registration(v_ueA,v_userInfoA); f_PR_user_home_registration(v_ueB,v_userInfoB); // test body // Test Sequence 1 ---------------------> f_mtc_userTriggerInitiateCall (v_ueA, v_userInfoB); // Test Sequence 2 ---------------------> f_mtc_userCheckRinging(v_ueB); // Test Sequence 3 ---------------------> f_mtc_userCheckPeerIsRinging(v_ueA); // Test Sequence 4 ---------------------> f_mtc_userTriggerAnswerCall(v_ueB); // Test Sequence 5 ---------------------> f_mtc_userCheckCallEstablished(v_ueA); // Test Sequence 6 ---------------------> f_mtc_userCheckCallEstablished(v_ueB); // Test Sequence 7 ---------------------> f_mtc_userAddNewMediaStream(v_ueA); // check 1 f_mtc_check_TP_IMS_5106_01_gm(v_gmA,1); f_mtc_check_TP_IMS_5106_01_mw(v_mw,1); // Test Sequence 8 ---------------------> // optional // Test Sequence 9 ---------------------> // optional // Test Sequence 10 --------------------> f_mtc_userCheckNewMediaStream(v_ueB); // Test Sequence 11 --------------------> f_mtc_userCheckNewMediaStream(v_ueA); // check 2 f_mtc_check_TP_IMS_5121_02_gm(v_gmB,1); f_mtc_check_TP_IMS_5121_02_mw(v_mw,1); // Test Sequence 12 --------------------> f_mtc_triggerEndCall(v_ueA); // Test Sequence 13 --------------------> f_mtc_userCheckCallEnded(v_ueB ); // check 2 f_mtc_check_TP_IMS_5121_02_gm(v_gmB,0); f_mtc_check_TP_IMS_5121_02_mw(v_mw,0); // Test Sequence 14 --------------------> f_mtc_userCheckCallEnded(v_ueA ); // 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_int_call_down(v_config); } } No newline at end of file Loading
AtsImsIot/AtsImsIot_Functions.ttcn +28 −1 Original line number Diff line number Diff line Loading @@ -115,6 +115,33 @@ module AtsImsIot_Functions { return v_status; } /** * @desc Trigger UE given by p_ueRef to add a new media stream * @param p_userCompRef Reference to IMS UE user component * @return * true in case of successfull execution of the trigger command * otherwise false */ function f_mtc_userAddNewMediaStream(EquipmentUser p_ueRef) runs on TestCoordinator return boolean { var boolean v_status := true; // TODO return v_status; } /** * @desc Trigger UE given by p_ueRef to add a new media stream * @param p_userCompRef Reference to IMS UE user component * @return * true in case of successfull execution of the trigger command * otherwise false */ function f_mtc_userCheckNewMediaStream(EquipmentUser p_ueRef) runs on TestCoordinator return boolean { var boolean v_status := true; // TODO return v_status; } /** * @desc Trigger UE given by p_ueRef to enter HOLD state Loading
AtsImsIot/AtsImsIot_TestCases_CALL.ttcn +97 −8 Original line number Diff line number Diff line Loading @@ -465,13 +465,14 @@ group Limit { // create components var ImsInterfaceMonitor v_gmA := f_cf_create_monitor(c_gm_A); var ImsInterfaceMonitor v_mw := f_cf_create_monitor(c_mw); var ImsInterfaceMonitor v_gmB := f_cf_create_monitor(c_gm_B); var ImsUserInfo v_userInfoA := f_getAnyValidUser(PX_EUT_A); var ImsUserInfo v_userInfoB := f_getAnyValidUser(PX_EUT_B); // vaiables // variables var IotEquipmentUser v_ueA := f_cf_create_IotEquipmentUser(c_userUE_A); var IotEquipmentUser v_ueB := f_cf_create_IotEquipmentUser(c_userUE_B); var CF_INT_CALL v_config := {v_gmA, v_mw, omit}; var CF_INT_CALL v_config := {v_gmA, v_mw, v_gmB}; // map/connect component ports f_cf_user_up(v_ueA); Loading Loading @@ -509,7 +510,7 @@ group Limit { f_mtc_userCheckUserOnHold(v_ueB); // check 2 f_mtc_check_TP_IMS_5121_02_gm(v_gmA,1); f_mtc_check_TP_IMS_5121_02_gm(v_gmB,1); f_mtc_check_TP_IMS_5121_02_mw(v_mw,1); // Test Sequence 9 ---------------------> Loading @@ -525,7 +526,7 @@ group Limit { f_mtc_userCheckCallResumed(v_ueB); // check 2 f_mtc_check_TP_IMS_5121_02_gm(v_gmA,0); f_mtc_check_TP_IMS_5121_02_gm(v_gmB,0); f_mtc_check_TP_IMS_5121_02_mw(v_mw,0); // Test Sequence 12 --------------------> Loading Loading @@ -557,13 +558,14 @@ group Limit { // create components var ImsInterfaceMonitor v_gmA := f_cf_create_monitor(c_gm_A); var ImsInterfaceMonitor v_mw := f_cf_create_monitor(c_mw); var ImsInterfaceMonitor v_gmB := f_cf_create_monitor(c_gm_B); var ImsUserInfo v_userInfoA := f_getAnyValidUser(PX_EUT_A); var ImsUserInfo v_userInfoB := f_getAnyValidUser(PX_EUT_B); // vaiables // variables var IotEquipmentUser v_ueA := f_cf_create_IotEquipmentUser(c_userUE_A); var IotEquipmentUser v_ueB := f_cf_create_IotEquipmentUser(c_userUE_B); var CF_INT_CALL v_config := {v_gmA, v_mw, omit}; var CF_INT_CALL v_config := {v_gmA, v_mw, v_gmB}; // map/connect component ports f_cf_user_up(v_ueA); Loading Loading @@ -601,7 +603,7 @@ group Limit { f_mtc_userCheckUserOnHold(v_ueB); // check 2 f_mtc_check_TP_IMS_5121_02_gm(v_gmA,1); f_mtc_check_TP_IMS_5121_02_gm(v_gmB,1); f_mtc_check_TP_IMS_5121_02_mw(v_mw,1); // Test Sequence 9 ---------------------> Loading @@ -617,7 +619,7 @@ group Limit { f_mtc_userCheckCallResumed(v_ueB); // check 2 f_mtc_check_TP_IMS_5121_02_gm(v_gmA,0); f_mtc_check_TP_IMS_5121_02_gm(v_gmB,0); f_mtc_check_TP_IMS_5121_02_mw(v_mw,0); // Test Sequence 12 --------------------> Loading @@ -639,4 +641,91 @@ group Limit { f_cf_int_call_down(v_config); } /** * @desc Addition of media streams (reINVITE) * @see TS 186 011-2 V2.3.1 cause 4.5.3.1.3.6 */ testcase TC_IMS_CALL_0019() runs on ImsTestCoordinator system IotSystemInterface { // create components var ImsInterfaceMonitor v_gmA := f_cf_create_monitor(c_gm_A); var ImsInterfaceMonitor v_mw := f_cf_create_monitor(c_mw); var ImsInterfaceMonitor v_gmB := f_cf_create_monitor(c_gm_A); var ImsUserInfo v_userInfoA := f_getAnyValidUser(PX_EUT_A); var ImsUserInfo v_userInfoB := f_getAnyValidUser(PX_EUT_B); // variables var IotEquipmentUser v_ueA := f_cf_create_IotEquipmentUser(c_userUE_A); var IotEquipmentUser v_ueB := f_cf_create_IotEquipmentUser(c_userUE_B); var CF_INT_CALL v_config := {v_gmA, v_mw, v_gmB}; // map/connect component ports f_cf_user_up(v_ueA); f_cf_user_up(v_ueB); // configuration f_cf_int_call_up(v_config); // preamble f_PR_user_home_registration(v_ueA,v_userInfoA); f_PR_user_home_registration(v_ueB,v_userInfoB); // test body // Test Sequence 1 ---------------------> f_mtc_userTriggerInitiateCall (v_ueA, v_userInfoB); // Test Sequence 2 ---------------------> f_mtc_userCheckRinging(v_ueB); // Test Sequence 3 ---------------------> f_mtc_userCheckPeerIsRinging(v_ueA); // Test Sequence 4 ---------------------> f_mtc_userTriggerAnswerCall(v_ueB); // Test Sequence 5 ---------------------> f_mtc_userCheckCallEstablished(v_ueA); // Test Sequence 6 ---------------------> f_mtc_userCheckCallEstablished(v_ueB); // Test Sequence 7 ---------------------> f_mtc_userAddNewMediaStream(v_ueA); // check 1 f_mtc_check_TP_IMS_5106_01_gm(v_gmA,1); f_mtc_check_TP_IMS_5106_01_mw(v_mw,1); // Test Sequence 8 ---------------------> // optional // Test Sequence 9 ---------------------> // optional // Test Sequence 10 --------------------> f_mtc_userCheckNewMediaStream(v_ueB); // Test Sequence 11 --------------------> f_mtc_userCheckNewMediaStream(v_ueA); // check 2 f_mtc_check_TP_IMS_5121_02_gm(v_gmB,1); f_mtc_check_TP_IMS_5121_02_mw(v_mw,1); // Test Sequence 12 --------------------> f_mtc_triggerEndCall(v_ueA); // Test Sequence 13 --------------------> f_mtc_userCheckCallEnded(v_ueB ); // check 2 f_mtc_check_TP_IMS_5121_02_gm(v_gmB,0); f_mtc_check_TP_IMS_5121_02_mw(v_mw,0); // Test Sequence 14 --------------------> f_mtc_userCheckCallEnded(v_ueA ); // 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_int_call_down(v_config); } } No newline at end of file