Loading AtsImsIot/AtsImsIot_Functions.ttcn +56 −0 Original line number Diff line number Diff line Loading @@ -1244,6 +1244,48 @@ module AtsImsIot_Functions { return v_status; } /** * @desc Trigger UE given by p_ueRef to starts 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_userTriggerFtStart(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 accept 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_userTriggerFtAccept(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 release File transfer before file is transferred * @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_userTriggerReleaseFtBeforeFileTransfered(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 user is * informed that file transfer has ended Loading Loading @@ -1288,6 +1330,20 @@ module AtsImsIot_Functions { return v_status; } /** * @desc Trigger UE given by p_ueRef to verify that user started 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_userCheckFtStarted(EquipmentUser p_userCompRef) 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 Loading AtsImsIot/AtsImsIot_TestCases_RCS.ttcn +132 −13 Original line number Diff line number Diff line Loading @@ -1665,26 +1665,20 @@ module AtsImsIot_TestCases_RCS { 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_check_TP_IMS_5106_01_gm(v_gmA, 0); // Check 2 f_mtc_check_TP_IMS_5106_01_ic(v_ic, 0); // Check 2 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_check_TP_IMS_5121_02_gm(v_gmA, 0); // Check2 f_mtc_check_TP_IMS_5121_02_ic(v_ic, 0); // Check2 f_mtc_userCheckFtStopped(v_ueA,v_ueB); //Test Sequence Step 6 Loading @@ -1711,7 +1705,7 @@ module AtsImsIot_TestCases_RCS { /** * @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 * @see TS 102 901-2 V0.0.1 clause 4.5.4.3.2 */ testcase TC_IMS_FILE_0012() runs on ImsTestCoordinator system IotSystemInterface { // create components Loading Loading @@ -1772,5 +1766,130 @@ module AtsImsIot_TestCases_RCS { f_cf_adapter_down(); } //end testcase TC_IMS_FILE_0012 /** * @desc An established file transfer session is cancelled by the destination of the file transfer. * @see TS 102 901-2 V0.0.1 clause 4.5.4.4.1 */ testcase TC_IMS_FILE_0013() 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 f_mtc_userCheckFtInfo(v_ueA); //Test Sequence Step 3 //FT invitation f_mtc_userTriggerFtStart(v_ueA); //Test Sequence Step 4 //File transfer started f_mtc_userTriggerFtAccept(v_ueB); //Test Sequence Step 5 //File transfer accepted by peer f_mtc_userCheckFtStarted(v_ueA); //Test Sequence Step 6 f_mtc_userCheckFtStarted(v_ueB); //Test Sequence Step 7 f_mtc_userTriggerReleaseFtBeforeFileTransfered(v_ueB); //Test Sequence Step 8 // check 1 (INVITE) f_mtc_check_TP_IMS_5310_01_gm(v_gmB, 0); // Check1 f_mtc_check_TP_IMS_5310_01_isc(v_iscB); // Check1 // check 2 (200 OK) f_mtc_check_TP_IMS_5312_01_ic(v_ic, 0); // Check 2 f_mtc_check_TP_IMS_5312_01_isc(v_iscB); // Check 2 f_mtc_userCheckFtEnded(v_ueB); //Test Sequence Step 9 f_mtc_userCheckFtEnded(v_ueA); //Test Sequence Step 10 // 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_0013 /** * @desc An established file transfer session is cancelled by the destination of the file transfer. * @see TS 102 901-2 V0.0.1 clause 4.5.4.4.2 */ testcase TC_IMS_FILE_0014() 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_userCheckFtInfo(v_ueB); //Test Sequence Step 3 //FT invitation f_mtc_userTriggerFtStart(v_ueB); //Test Sequence Step 4 //File transfer started f_mtc_userTriggerFtAccept(v_ueA); //Test Sequence Step 5 //File transfer accepted by peer f_mtc_userCheckFtStarted(v_ueB); //Test Sequence Step 6 f_mtc_userCheckFtStarted(v_ueA); //Test Sequence Step 7 f_mtc_userTriggerReleaseFtBeforeFileTransfered(v_ueA); //Test Sequence Step 8 // check 1,2 (INVITE) f_mtc_check_TP_IMS_5048_01_gm(v_gmB, 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_userCheckFtEnded(v_ueB); //Test Sequence Step 9 f_mtc_userCheckFtEnded(v_ueA); //Test Sequence Step 10 // 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_0014 }//end module AtsImsIot_TestCases_RCS No newline at end of file Loading
AtsImsIot/AtsImsIot_Functions.ttcn +56 −0 Original line number Diff line number Diff line Loading @@ -1244,6 +1244,48 @@ module AtsImsIot_Functions { return v_status; } /** * @desc Trigger UE given by p_ueRef to starts 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_userTriggerFtStart(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 accept 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_userTriggerFtAccept(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 release File transfer before file is transferred * @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_userTriggerReleaseFtBeforeFileTransfered(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 user is * informed that file transfer has ended Loading Loading @@ -1288,6 +1330,20 @@ module AtsImsIot_Functions { return v_status; } /** * @desc Trigger UE given by p_ueRef to verify that user started 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_userCheckFtStarted(EquipmentUser p_userCompRef) 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 Loading
AtsImsIot/AtsImsIot_TestCases_RCS.ttcn +132 −13 Original line number Diff line number Diff line Loading @@ -1665,26 +1665,20 @@ module AtsImsIot_TestCases_RCS { 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_check_TP_IMS_5106_01_gm(v_gmA, 0); // Check 2 f_mtc_check_TP_IMS_5106_01_ic(v_ic, 0); // Check 2 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_check_TP_IMS_5121_02_gm(v_gmA, 0); // Check2 f_mtc_check_TP_IMS_5121_02_ic(v_ic, 0); // Check2 f_mtc_userCheckFtStopped(v_ueA,v_ueB); //Test Sequence Step 6 Loading @@ -1711,7 +1705,7 @@ module AtsImsIot_TestCases_RCS { /** * @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 * @see TS 102 901-2 V0.0.1 clause 4.5.4.3.2 */ testcase TC_IMS_FILE_0012() runs on ImsTestCoordinator system IotSystemInterface { // create components Loading Loading @@ -1772,5 +1766,130 @@ module AtsImsIot_TestCases_RCS { f_cf_adapter_down(); } //end testcase TC_IMS_FILE_0012 /** * @desc An established file transfer session is cancelled by the destination of the file transfer. * @see TS 102 901-2 V0.0.1 clause 4.5.4.4.1 */ testcase TC_IMS_FILE_0013() 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 f_mtc_userCheckFtInfo(v_ueA); //Test Sequence Step 3 //FT invitation f_mtc_userTriggerFtStart(v_ueA); //Test Sequence Step 4 //File transfer started f_mtc_userTriggerFtAccept(v_ueB); //Test Sequence Step 5 //File transfer accepted by peer f_mtc_userCheckFtStarted(v_ueA); //Test Sequence Step 6 f_mtc_userCheckFtStarted(v_ueB); //Test Sequence Step 7 f_mtc_userTriggerReleaseFtBeforeFileTransfered(v_ueB); //Test Sequence Step 8 // check 1 (INVITE) f_mtc_check_TP_IMS_5310_01_gm(v_gmB, 0); // Check1 f_mtc_check_TP_IMS_5310_01_isc(v_iscB); // Check1 // check 2 (200 OK) f_mtc_check_TP_IMS_5312_01_ic(v_ic, 0); // Check 2 f_mtc_check_TP_IMS_5312_01_isc(v_iscB); // Check 2 f_mtc_userCheckFtEnded(v_ueB); //Test Sequence Step 9 f_mtc_userCheckFtEnded(v_ueA); //Test Sequence Step 10 // 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_0013 /** * @desc An established file transfer session is cancelled by the destination of the file transfer. * @see TS 102 901-2 V0.0.1 clause 4.5.4.4.2 */ testcase TC_IMS_FILE_0014() 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_userCheckFtInfo(v_ueB); //Test Sequence Step 3 //FT invitation f_mtc_userTriggerFtStart(v_ueB); //Test Sequence Step 4 //File transfer started f_mtc_userTriggerFtAccept(v_ueA); //Test Sequence Step 5 //File transfer accepted by peer f_mtc_userCheckFtStarted(v_ueB); //Test Sequence Step 6 f_mtc_userCheckFtStarted(v_ueA); //Test Sequence Step 7 f_mtc_userTriggerReleaseFtBeforeFileTransfered(v_ueA); //Test Sequence Step 8 // check 1,2 (INVITE) f_mtc_check_TP_IMS_5048_01_gm(v_gmB, 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_userCheckFtEnded(v_ueB); //Test Sequence Step 9 f_mtc_userCheckFtEnded(v_ueA); //Test Sequence Step 10 // 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_0014 }//end module AtsImsIot_TestCases_RCS No newline at end of file