Loading AtsImsIot/AtsImsIot_Functions.ttcn +45 −1 Original line number Diff line number Diff line Loading @@ -1246,7 +1246,7 @@ module AtsImsIot_Functions { /** * @desc Trigger UE given by p_ueRef to verify that user is * informed that file transfer session has ended * informed that file transfer has ended * @param p_userCompRef Reference to IMS UE user component * @return * true in case of successfull execution of the trigger command Loading @@ -1259,6 +1259,50 @@ module AtsImsIot_Functions { return v_status; } /** * @desc Trigger UE given by p_ueRef to verify that user is * informed that file transfer has terminated * @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_userCheckFtTerminated(EquipmentUser p_userCompRef) runs on TestCoordinator return boolean { var boolean v_status := true; // TODO return v_status; } /** * @desc Trigger UE given by p_ueRef to verify that users stopped file transfer * @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_userCheckFtStopped(EquipmentUser p_userCompRef1, EquipmentUser p_userCompRef2) runs on TestCoordinator return boolean { var boolean v_status := true; // TODO return v_status; } /** * @desc Trigger UE given by p_ueRef given reports that file transfer has been * cancelled * @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_userCheckFtCancel(EquipmentUser p_userCompRef) runs on TestCoordinator return boolean { var boolean v_status := true; // TODO return v_status; } /** * @desc Trigger IMS Network to deregister UE given by p_ueRef Loading AtsImsIot/AtsImsIot_TestCases_RCS.ttcn +138 −0 Original line number Diff line number Diff line Loading @@ -1634,5 +1634,143 @@ module AtsImsIot_TestCases_RCS { f_cf_adapter_down(); } //end testcase TC_IMS_FILE_0004 /** * @desc An established file transfer session is cancelled by the initiator of the session * @see TS 102 901-2 V0.0.1 clause 4.5.4.3.1 */ testcase TC_IMS_FILE_0011() 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_ic := f_cf_create_monitor(c_ic); var ImsInterfaceMonitor v_iscA := f_cf_create_monitor(c_isc_A); var ImsInterfaceMonitor v_iscB := f_cf_create_monitor(c_isc_B); var ImsUserInfo v_userInfoA := f_getImUser(PX_EUT_A); var ImsUserInfo v_userInfoB := f_getImUser(PX_EUT_B); var CF_INT_AS v_config := {v_gmA, v_ic, v_gmB, v_iscA, v_iscB}; // map/connect component ports f_cf_adapter_up(); f_cf_user_up(v_ueA); f_cf_user_up(v_ueB); f_cf_int_as_up(v_config); // preamble f_mtc_userRegistration(v_ueA, v_userInfoA); f_mtc_userRegistration(v_ueB, v_userInfoB); // test body f_mtc_StartAllTrafficCapture(); f_mtc_userInitiateFt(v_ueA, v_userInfoB); //Test Sequence Step 1 f_mtc_userCheckAutomaticalyAcceptedFt(v_ueB); //Test Sequence Step 2 // checks 3 (2xx) f_mtc_check_TP_IMS_5115_08_isc(v_iscB, false); // Check 3 f_mtc_check_TP_IMS_5115_08_ic(v_ic, false, 0); // Check 3 f_mtc_userCheckFt(v_ueA,v_ueB); //Test Sequence Step 3 f_mtc_userCheckFtCancel(v_ueA); //Test Sequence Step 4 // check 1 (INVITE) f_mtc_check_TP_IMS_5121_02_gm(v_gmA, 0); // Check1 f_mtc_check_TP_IMS_5121_02_ic(v_ic, 0); // Check1 f_mtc_userCheckFtTerminated(v_ueB); //Test Sequence Step 5 // check 2 (200 OK) f_mtc_check_TP_IMS_5108_03_ic(v_ic, false, 0); // Check 2 f_mtc_check_TP_IMS_5108_03_isc(v_ic, false, 0); // Check 2 f_mtc_userCheckFtStopped(v_ueA,v_ueB); //Test Sequence Step 6 f_mtc_EndFt(v_ueA); //Test Sequence Step 7 //File transfer session ends // check 1 (BYE) f_mtc_check_TP_IMS_5107_01_gm(v_gmA, false); // Check3 f_mtc_check_TP_IMS_5107_01_ic(v_ic, false); // Check3 f_mtc_userCheckFtEnded(v_ueB); //Test Sequence Step 8 //information about File transfer session has been released f_mtc_userCheckFtEnded(v_ueA); //Test Sequence Step 9 //information about File transfer session has been released // 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_as_down(v_config); f_cf_adapter_down(); } //end testcase TC_IMS_FILE_0011 /** * @desc An established file transfer session is cancelled by the roaming initiator * of the session. * @see TS 102 901-2 V0.0.1 clause 4.5.4.4.2 */ testcase TC_IMS_FILE_0012() 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_ic := f_cf_create_monitor(c_ic); var ImsInterfaceMonitor v_iscA := f_cf_create_monitor(c_isc_A); var ImsInterfaceMonitor v_iscB := f_cf_create_monitor(c_isc_B); var ImsUserInfo v_userInfoA := f_getImUser(PX_EUT_A); var ImsUserInfo v_userInfoB := f_getImUser(PX_EUT_B); var CF_ROAM_AS v_config := {v_gmA, v_ic, v_gmB, v_iscA, v_iscB}; // map/connect component ports f_cf_adapter_up(); f_cf_user_up(v_ueA); f_cf_user_up(v_ueB); f_cf_roam_as_up(v_config); // preamble f_mtc_userRegistration(v_ueA, v_userInfoA); f_mtc_userRegistration(v_ueB, v_userInfoB); // test body f_mtc_StartAllTrafficCapture(); f_mtc_userInitiateFt(v_ueB, v_userInfoA); //Test Sequence Step 1 f_mtc_userCheckAutomaticalyAcceptedFt(v_ueA); //Test Sequence Step 2 f_mtc_userCheckFt(v_ueA,v_ueB); //Test Sequence Step 3 f_mtc_userCheckFtCancel(v_ueB); //Test Sequence Step 4 // check 1,2 (INVITE) f_mtc_check_TP_IMS_5048_01_gm(v_gmA, false, 0); // Check1 f_mtc_check_TP_IMS_5048_01_ic(v_ic, true, 0); // Check1 f_mtc_check_TP_IMS_5080_01_ic(v_ic, false); // Check2 f_mtc_userCheckFtTerminated(v_ueB); //Test Sequence Step 5 f_mtc_userCheckFtStopped(v_ueA,v_ueB); //Test Sequence Step 6 f_mtc_EndFt(v_ueB); //Test Sequence Step 7 //File transfer session ends f_mtc_userCheckFtEnded(v_ueA); //Test Sequence Step 8 //information about File transfer session has been released f_mtc_userCheckFtEnded(v_ueB); //Test Sequence Step 9 //information about File transfer session has been released // 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_roam_as_down(v_config); f_cf_adapter_down(); } //end testcase TC_IMS_FILE_0012 }//end module AtsImsIot_TestCases_RCS No newline at end of file Loading
AtsImsIot/AtsImsIot_Functions.ttcn +45 −1 Original line number Diff line number Diff line Loading @@ -1246,7 +1246,7 @@ module AtsImsIot_Functions { /** * @desc Trigger UE given by p_ueRef to verify that user is * informed that file transfer session has ended * informed that file transfer has ended * @param p_userCompRef Reference to IMS UE user component * @return * true in case of successfull execution of the trigger command Loading @@ -1259,6 +1259,50 @@ module AtsImsIot_Functions { return v_status; } /** * @desc Trigger UE given by p_ueRef to verify that user is * informed that file transfer has terminated * @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_userCheckFtTerminated(EquipmentUser p_userCompRef) runs on TestCoordinator return boolean { var boolean v_status := true; // TODO return v_status; } /** * @desc Trigger UE given by p_ueRef to verify that users stopped file transfer * @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_userCheckFtStopped(EquipmentUser p_userCompRef1, EquipmentUser p_userCompRef2) runs on TestCoordinator return boolean { var boolean v_status := true; // TODO return v_status; } /** * @desc Trigger UE given by p_ueRef given reports that file transfer has been * cancelled * @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_userCheckFtCancel(EquipmentUser p_userCompRef) runs on TestCoordinator return boolean { var boolean v_status := true; // TODO return v_status; } /** * @desc Trigger IMS Network to deregister UE given by p_ueRef Loading
AtsImsIot/AtsImsIot_TestCases_RCS.ttcn +138 −0 Original line number Diff line number Diff line Loading @@ -1634,5 +1634,143 @@ module AtsImsIot_TestCases_RCS { f_cf_adapter_down(); } //end testcase TC_IMS_FILE_0004 /** * @desc An established file transfer session is cancelled by the initiator of the session * @see TS 102 901-2 V0.0.1 clause 4.5.4.3.1 */ testcase TC_IMS_FILE_0011() 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_ic := f_cf_create_monitor(c_ic); var ImsInterfaceMonitor v_iscA := f_cf_create_monitor(c_isc_A); var ImsInterfaceMonitor v_iscB := f_cf_create_monitor(c_isc_B); var ImsUserInfo v_userInfoA := f_getImUser(PX_EUT_A); var ImsUserInfo v_userInfoB := f_getImUser(PX_EUT_B); var CF_INT_AS v_config := {v_gmA, v_ic, v_gmB, v_iscA, v_iscB}; // map/connect component ports f_cf_adapter_up(); f_cf_user_up(v_ueA); f_cf_user_up(v_ueB); f_cf_int_as_up(v_config); // preamble f_mtc_userRegistration(v_ueA, v_userInfoA); f_mtc_userRegistration(v_ueB, v_userInfoB); // test body f_mtc_StartAllTrafficCapture(); f_mtc_userInitiateFt(v_ueA, v_userInfoB); //Test Sequence Step 1 f_mtc_userCheckAutomaticalyAcceptedFt(v_ueB); //Test Sequence Step 2 // checks 3 (2xx) f_mtc_check_TP_IMS_5115_08_isc(v_iscB, false); // Check 3 f_mtc_check_TP_IMS_5115_08_ic(v_ic, false, 0); // Check 3 f_mtc_userCheckFt(v_ueA,v_ueB); //Test Sequence Step 3 f_mtc_userCheckFtCancel(v_ueA); //Test Sequence Step 4 // check 1 (INVITE) f_mtc_check_TP_IMS_5121_02_gm(v_gmA, 0); // Check1 f_mtc_check_TP_IMS_5121_02_ic(v_ic, 0); // Check1 f_mtc_userCheckFtTerminated(v_ueB); //Test Sequence Step 5 // check 2 (200 OK) f_mtc_check_TP_IMS_5108_03_ic(v_ic, false, 0); // Check 2 f_mtc_check_TP_IMS_5108_03_isc(v_ic, false, 0); // Check 2 f_mtc_userCheckFtStopped(v_ueA,v_ueB); //Test Sequence Step 6 f_mtc_EndFt(v_ueA); //Test Sequence Step 7 //File transfer session ends // check 1 (BYE) f_mtc_check_TP_IMS_5107_01_gm(v_gmA, false); // Check3 f_mtc_check_TP_IMS_5107_01_ic(v_ic, false); // Check3 f_mtc_userCheckFtEnded(v_ueB); //Test Sequence Step 8 //information about File transfer session has been released f_mtc_userCheckFtEnded(v_ueA); //Test Sequence Step 9 //information about File transfer session has been released // 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_as_down(v_config); f_cf_adapter_down(); } //end testcase TC_IMS_FILE_0011 /** * @desc An established file transfer session is cancelled by the roaming initiator * of the session. * @see TS 102 901-2 V0.0.1 clause 4.5.4.4.2 */ testcase TC_IMS_FILE_0012() 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_ic := f_cf_create_monitor(c_ic); var ImsInterfaceMonitor v_iscA := f_cf_create_monitor(c_isc_A); var ImsInterfaceMonitor v_iscB := f_cf_create_monitor(c_isc_B); var ImsUserInfo v_userInfoA := f_getImUser(PX_EUT_A); var ImsUserInfo v_userInfoB := f_getImUser(PX_EUT_B); var CF_ROAM_AS v_config := {v_gmA, v_ic, v_gmB, v_iscA, v_iscB}; // map/connect component ports f_cf_adapter_up(); f_cf_user_up(v_ueA); f_cf_user_up(v_ueB); f_cf_roam_as_up(v_config); // preamble f_mtc_userRegistration(v_ueA, v_userInfoA); f_mtc_userRegistration(v_ueB, v_userInfoB); // test body f_mtc_StartAllTrafficCapture(); f_mtc_userInitiateFt(v_ueB, v_userInfoA); //Test Sequence Step 1 f_mtc_userCheckAutomaticalyAcceptedFt(v_ueA); //Test Sequence Step 2 f_mtc_userCheckFt(v_ueA,v_ueB); //Test Sequence Step 3 f_mtc_userCheckFtCancel(v_ueB); //Test Sequence Step 4 // check 1,2 (INVITE) f_mtc_check_TP_IMS_5048_01_gm(v_gmA, false, 0); // Check1 f_mtc_check_TP_IMS_5048_01_ic(v_ic, true, 0); // Check1 f_mtc_check_TP_IMS_5080_01_ic(v_ic, false); // Check2 f_mtc_userCheckFtTerminated(v_ueB); //Test Sequence Step 5 f_mtc_userCheckFtStopped(v_ueA,v_ueB); //Test Sequence Step 6 f_mtc_EndFt(v_ueB); //Test Sequence Step 7 //File transfer session ends f_mtc_userCheckFtEnded(v_ueA); //Test Sequence Step 8 //information about File transfer session has been released f_mtc_userCheckFtEnded(v_ueB); //Test Sequence Step 9 //information about File transfer session has been released // 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_roam_as_down(v_config); f_cf_adapter_down(); } //end testcase TC_IMS_FILE_0012 }//end module AtsImsIot_TestCases_RCS No newline at end of file