Commit f9866023 authored by juvancic's avatar juvancic
Browse files

test configuration + init

parent 384b3592
Loading
Loading
Loading
Loading
+43 −0
Original line number Diff line number Diff line
@@ -124,6 +124,49 @@ module AtsImsIot_TestCases_ATT {
			f_cf_adapter_down ( );
		} // End of TC TC_VxLTE_INT_ATT_01_new
		
		testcase TC_VxLTE_INT_ATT_01_dynamicMonitorComponents ( ) runs on ImsTestCoordinator system IotSystemInterface {
			
			var IotEquipmentUser v_ueA	:= f_cf_create_IotEquipmentUser ( c_userUE_A );
			var IotEquipmentUser v_ueB	:= f_cf_create_IotEquipmentUser ( c_userUE_B );
			var ImsUserInfo v_userInfoA	:= f_getImUser ( PX_EUT_A );
			var ImsUserInfo v_userInfoB	:= f_getImUser ( PX_EUT_B ); 
	
			f_setVxLteMonIterfacesAvailability();
			//TODO: Check if needed interfaces are available per TD or TD-GROUP!!!
			f_cf_createVxLteMonitor();	
			
			// map/connect component ports
			f_cf_adapter_up ( );
			f_cf_user_up ( v_ueA );
			f_cf_user_up ( v_ueB );
			f_cf_VxLteMonitor_Up();

//					// preamble
//					f_mtc_userRadioEnabled ( v_ueA, true, true ); // UA-A trigger an initial network_attachment by enabling radio interface of its mobile
//					f_mtc_userRegistration ( v_ueB, v_userInfoB );
//    
//					// test body
//					// Check that user A can register to IMS A
//					f_mtc_userRegistration ( v_ueA, v_userInfoA ); // Send REGISTER request message
//					f_mtc_check_TP_EPC_6002_01 ( v_config.gmA, false ); // Check
//					f_mtc_check_TP_S6A_MME_ULR_01 ( v_config.s6a, false ); // Check (ULR – Event 2)
//					f_mtc_check_TP_S6A_HSS_ULA_01 ( v_config.s6a, false ); // Check (ULA – Event 3) 
//					f_mtc_check_TP_GX_PCRF_CCA_01 ( vc_vxlte_monitor_components.gx, false ); // Check (CCR, CCA – Events 4, 5)
//					f_mtc_userCheckRegistration ( v_ueA, f_getAnyValidUser ( PX_EUT_A ) ); 
//					f_mtc_check_TP_EPC_6003_01 ( v_ueA, v_config.gmA, v_ueB, v_config.gmB ); // Test sequence #4-5
//    
//					// postamble
//					f_PO_user_home_deregistration ( v_ueB );
//					f_PO_user_home_deregistration ( v_ueA );
//					f_mtc_userRadioEnabled ( v_ueA, false, true );

			//unmap/disconnet component ports
			f_cf_user_down ( v_ueB );
			f_cf_user_down ( v_ueA );
			f_cf_VxLteMonitor_Down();
			f_cf_adapter_down ( );
		} // End of TC TC_VxLTE_INT_ATT_01_dynamicMonitorComponents
        
    } // End of group networkAttachmentAndDefaultBearer