diff --git a/etc/AtsMec/AtsMec.cfg b/etc/AtsMec/AtsMec.cfg index a9b416c453c8b9faa5b25ac0675acdf88eacc9c0..9d55e35c0082a1f92c2350b0fe3a04c871f19a55 100644 --- a/etc/AtsMec/AtsMec.cfg +++ b/etc/AtsMec/AtsMec.cfg @@ -8,7 +8,7 @@ LibCommon_Sync.PX_TSYNC_TIME_LIMIT := 30.0; LibCommon_Sync.PX_TSHUT_DOWN_TIME_LIMIT := 30.0; #LibItsHttp_Pics.PICS_HEADER_HOST := "172.28.4.87" -LibItsHttp_Pics.PICS_HEADER_HOST := "192.168.0.5" +LibItsHttp_Pics.PICS_HEADER_HOST := "192.168.0.17" LibItsHttp_Pics.PICS_HEADER_CONTENT_TYPE := "application/json" @@ -17,9 +17,9 @@ LibMec_Pics.PICS_RNIS := false LocationAPI_Pics.PICS_LOCATION_API_SUPPORTED := true -UEidentityAPI_Pics.PICS_UE_IDENTITY_API_SUPPORTED := true +UEidentityAPI_Pics.PICS_UE_IDENTITY_API_SUPPORTED := false -BwManagementAPI_Pics.PICS_BWMANAGEMENT_API_SUPPORTED := true +BwManagementAPI_Pics.PICS_BWMANAGEMENT_API_SUPPORTED := false [LOGGING] # In this section you can specify the name of the log file and the classes of events @@ -37,7 +37,7 @@ LogEventTypes:= Yes [TESTPORT_PARAMETERS] # In this section you can specify parameters that are passed to Test Ports. -system.httpPort.params := "HTTP(codecs=json:json_codec)/TCP(debug=1,server=192.168.0.5,port=8081,use_ssl=0)" +system.httpPort.params := "HTTP(codecs=json:json_codec)/TCP(debug=1,server=192.168.0.17,port=8081,use_ssl=0)" [DEFINE] # In this section you can create macro definitions, diff --git a/ttcn/AtsMec/AtsMec_UEinformation_TestCases.ttcn b/ttcn/AtsMec/AtsMec_UEinformation_TestCases.ttcn deleted file mode 100644 index b542b197f085552739c1597ba99abbe6f4d3709d..0000000000000000000000000000000000000000 --- a/ttcn/AtsMec/AtsMec_UEinformation_TestCases.ttcn +++ /dev/null @@ -1,97 +0,0 @@ -/** - * @author ETSI / STF569 - * @version $URL:$ - * $ID:$ - * @desc This module provides the MEC test cases. - * @copyright ETSI Copyright Notification - * No part may be reproduced except as authorized by written permission. - * The copyright and the foregoing restriction extend to reproduction in all media. - * All rights reserved. - * @see ETSI GS MEC 003, Draft ETSI GS MEC 013 V2.0.3 (2018-10) - */ -module AtsMec_UEinformation_TestCases { - - // Libcommon - import from LibCommon_Time all; - import from LibCommon_VerdictControl all; - import from LibCommon_Sync all; - - // LibHttp - import from LibItsHttp_TypesAndValues all; - import from LibItsHttp_Functions all; - import from LibItsHttp_Templates all; - import from LibItsHttp_JsonTemplates all; - import from LibItsHttp_TestSystem all; - - // LibMec_LocationAPI - import from LocationAPI_TypesAndValues all; - import from LocationAPI_Templates all; - import from LocationAPI_Pics all; - import from LocationAPI_Pixits all; - - // LibMec - import from LibMec_Functions all; - import from LibMec_Pics all; - import from LibMec_Pixits all; - - group me_app_role { - - /** - * @desc Check that the IUT responds with the information pertaining to one or more UEs in a particular location when queried by a MEC Application - * @see https://forge.etsi.org/gitlab/mec/gs032p2-test-purposes/blob/remove-401s/Test%20Purposes/SRV/UEINFLOOK/PlatUeInformationLookup.tplan2 - */ - testcase TC_MEC_SRV_UEINFLOOK_001_OK() runs on HttpComponent system HttpTestAdapter { - // Local variables - var HeaderLines v_headers; - var HttpMessage v_response; - - // Test control - if (not(PICS_MEC_PLAT) or not(PICS_LOCATION_API_SUPPORTED)) { - log("*** " & testcasename() & ": PICS_MEC_PLAT and PICS_LOCATION_API_SUPPORTED required for executing the TC ***"); - setverdict(inconc); - stop; - } - - // Test component configuration - f_cf_01_http_up(); - - // Test adapter configuration - - // Preamble - f_init_default_headers_list(-, -, v_headers); - httpPort.send( - m_http_request( - m_http_request_get( - PX_ME_APP_Q_USERS_LIST_URI, - v_headers - ) - ) - ); - f_selfOrClientSyncAndVerdict(c_prDone, e_success); - - // Test Body - tc_ac.start; - alt { - [] httpPort.receive( - mw_http_response( - mw_http_response_ok( - mw_http_message_body_json( - mw_body_json_user_list( - mw_user_list(-, ?) - ))))) -> value v_response { - log("*** " & testcasename() & ": PASS: IUT successfully responds with a UserList ***"); - f_selfOrClientSyncAndVerdict(c_tbDone, e_success); - } - [] tc_ac.timeout { - log("*** " & testcasename() & ": INCONC: Expected message not received ***"); - f_selfOrClientSyncAndVerdict(c_tbDone, e_timeout); - } - } // End of 'alt' statement - - // Postamble - f_cf_01_http_down(); - } // End of testcase TC_MEC_SRV_UEINFLOOK_001_OK - - } // End of group me_app_role - -} // End of module AtsMec_UEinformation_TestCases