Loading etc/AtsMec/AtsMec.cfg +31 −3 Original line number Diff line number Diff line Loading @@ -13,11 +13,12 @@ LibItsHttp_Pics.PICS_HEADER_HOST := "192.168.0.17" LibItsHttp_Pics.PICS_HEADER_CONTENT_TYPE := "application/json" LibMec_Pics.PICS_MEC_PLAT := true LibMec_Pics.PICS_SERVICES := true LibMec_Pics.PICS_RNIS := false LocationAPI_Pics.PICS_LOCATION_API_SUPPORTED := true LocationAPI_Pics.PICS_LOCATION_API_SUPPORTED := false UEidentityAPI_Pics.PICS_UE_IDENTITY_API_SUPPORTED := false UEidentityAPI_Pics.PICS_UE_IDENTITY_API_SUPPORTED := true BwManagementAPI_Pics.PICS_BWMANAGEMENT_API_SUPPORTED := false Loading Loading @@ -62,7 +63,34 @@ system.httpPort.params := "HTTP(codecs=json:json_codec)/TCP(debug=1,server=192.1 [EXECUTE] # In this section you can specify what parts of your test suite you want to execute. AtsMec_TestControl.control #AtsMec_TestControl.control #AtsMec_UEidentityAPI_TestCases.TC_MEC_SRV_UETAG_001_OK #AtsMec_UEidentityAPI_TestCases.TC_MEC_SRV_UETAG_001_BR #AtsMec_UEidentityAPI_TestCases.TC_MEC_SRV_UETAG_001_NF AtsMec_UEidentityAPI_TestCases.TC_MEC_SRV_UETAG_002_OK #AtsMec_UEidentityAPI_TestCases.TC_MEC_SRV_UETAG_002_BR #AtsMec_UEidentityAPI_TestCases.TC_MEC_SRV_UELOC_001_OK #AtsMec_UEidentityAPI_TestCases.TC_MEC_SRV_UELOC_001_BR #AtsMec_UEidentityAPI_TestCases.TC_MEC_SRV_UELOC_001_NF #AtsMec_LocationAPI_TestCases.TC_MEC_SRV_UELOCSUB_001_OK #AtsMec_LocationAPI_TestCases.TC_MEC_SRV_UELOCSUB_001_BR #AtsMec_LocationAPI_TestCases.TC_MEC_SRV_UELOCSUB_002_OK #AtsMec_LocationAPI_TestCases.TC_MEC_SRV_UELOCSUB_002_NF #AtsMec_LocationAPI_TestCases.TC_MEC_SRV_UETRACKSUB_001_OK #AtsMec_LocationAPI_TestCases.TC_MEC_SRV_UETRACKSUB_001_BR #AtsMec_LocationAPI_TestCases.TC_MEC_SRV_UETRACKSUB_002_OK #AtsMec_LocationAPI_TestCases.TC_MEC_SRV_UETRACKSUB_002_NF #AtsMec_LocationAPI_TestCases.TC_MEC_SRV_UEINFLOOK_001_OK #AtsMec_LocationAPI_TestCases.TC_MEC_SRV_UEINFLOOK_001_BR #AtsMec_LocationAPI_TestCases.TC_MEC_SRV_UEINFLOOK_001_NF #AtsMec_LocationAPI_TestCases.TC_MEC_SRV_UEINFSUB_001_OK #AtsMec_LocationAPI_TestCases.TC_MEC_SRV_UEINFSUB_001_BR #AtsMec_LocationAPI_TestCases.TC_MEC_SRV_UEINFSUB_002_OK #AtsMec_LocationAPI_TestCases.TC_MEC_SRV_UEINFSUB_002_NF [GROUPS] # In this section you can specify groups of hosts. These groups can be used inside the Loading ttcn/AtsMec/AtsMec_BwManagementAPI_TestCases.ttcn +2 −0 Original line number Diff line number Diff line Loading @@ -80,6 +80,8 @@ module AtsMec_BwManagementAPI_TestCases { mw_body_json_bw_info( mw_bw_info ))))) -> value v_response { tc_ac.stop; log("*** " & testcasename() & ": PASS: IUT successfully responds with a ZoneId ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); } Loading ttcn/AtsMec/AtsMec_LocationAPI_TestCases.ttcn +36 −0 Original line number Diff line number Diff line Loading @@ -81,6 +81,8 @@ module AtsMec_LocationAPI_TestCases { * } )))))) { tc_ac.stop; log("*** " & testcasename() & ": PASS: IUT successfully responds with a ZoneId ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); } Loading Loading @@ -134,6 +136,8 @@ module AtsMec_LocationAPI_TestCases { mw_http_response( mw_http_response_400_bad_request )) { tc_ac.stop; log("*** " & testcasename() & ": PASS: IUT successfully responds with 400 Bad Request ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); } Loading Loading @@ -187,6 +191,8 @@ module AtsMec_LocationAPI_TestCases { mw_http_response( mw_http_response_404_not_found )) { tc_ac.stop; log("*** " & testcasename() & ": PASS: IUT successfully responds with a 404 Not Found ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); } Loading Loading @@ -258,6 +264,8 @@ module AtsMec_LocationAPI_TestCases { PX_CALLBACK_REF_URL, PX_USER )))))) { tc_ac.stop; log("*** " & testcasename() & ": PASS: IUT successfully responds with a callbackURL ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); } Loading Loading @@ -319,6 +327,8 @@ module AtsMec_LocationAPI_TestCases { mw_http_response( mw_http_response_400_bad_request )) { tc_ac.stop; log("*** " & testcasename() & ": PASS: IUT successfully responds with 400 Bad Request ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); } Loading Loading @@ -371,6 +381,8 @@ module AtsMec_LocationAPI_TestCases { mw_http_response( mw_http_response_204_no_content )) { tc_ac.stop; log("*** " & testcasename() & ": PASS: IUT successfully responds with 204 No Content ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); } Loading Loading @@ -423,6 +435,8 @@ module AtsMec_LocationAPI_TestCases { mw_http_response( mw_http_response_404_not_found )) { tc_ac.stop; log("*** " & testcasename() & ": PASS: IUT successfully responds with 404 Not Found ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); } Loading Loading @@ -485,6 +499,8 @@ module AtsMec_LocationAPI_TestCases { PX_CALLBACK_REF_URL, PX_USER )))))) { tc_ac.stop; log("*** " & testcasename() & ": PASS: IUT successfully responds with a callbackURL ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); } Loading Loading @@ -546,6 +562,8 @@ module AtsMec_LocationAPI_TestCases { mw_http_response( mw_http_response_400_bad_request )) { tc_ac.stop; log("*** " & testcasename() & ": PASS: IUT successfully responds with 400 Bad Request ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); } Loading Loading @@ -598,6 +616,8 @@ module AtsMec_LocationAPI_TestCases { mw_http_response( mw_http_response_204_no_content )) { tc_ac.stop; log("*** " & testcasename() & ": PASS: IUT successfully responds 204 No Content ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); } Loading Loading @@ -650,6 +670,8 @@ module AtsMec_LocationAPI_TestCases { mw_http_response( mw_http_response_400_bad_request )) { tc_ac.stop; log("*** " & testcasename() & ": PASS: IUT successfully responds 400 Bad Request ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); } Loading Loading @@ -709,6 +731,8 @@ module AtsMec_LocationAPI_TestCases { mw_body_json_user_list( mw_user_list(-, ?) ))))) { tc_ac.stop; log("*** " & testcasename() & ": PASS: IUT successfully responds with a UserList ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); } Loading Loading @@ -761,6 +785,8 @@ module AtsMec_LocationAPI_TestCases { mw_http_response( mw_http_response_400_bad_request )) { tc_ac.stop; log("*** " & testcasename() & ": PASS: IUT successfully responds 400 Bad Request ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); } Loading Loading @@ -813,6 +839,8 @@ module AtsMec_LocationAPI_TestCases { mw_http_response( mw_http_response_404_not_found )) { tc_ac.stop; log("*** " & testcasename() & ": PASS: IUT successfully responds 404 Not Found ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); } Loading Loading @@ -884,6 +912,8 @@ module AtsMec_LocationAPI_TestCases { PX_CALLBACK_REF_URL, PX_ZONE_ID )))))) { tc_ac.stop; log("*** " & testcasename() & ": PASS: IUT successfully responds with a callbackURL ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); } Loading Loading @@ -945,6 +975,8 @@ module AtsMec_LocationAPI_TestCases { mw_http_response( mw_http_response_400_bad_request )) { tc_ac.stop; log("*** " & testcasename() & ": PASS: IUT successfully responds 400 Bad Request ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); } Loading Loading @@ -1006,6 +1038,8 @@ module AtsMec_LocationAPI_TestCases { mw_http_response( mw_http_response_204_no_content )) { tc_ac.stop; log("*** " & testcasename() & ": PASS: IUT successfully responds with 204 No Content ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); } Loading Loading @@ -1058,6 +1092,8 @@ module AtsMec_LocationAPI_TestCases { mw_http_response( mw_http_response_404_not_found )) { tc_ac.stop; log("*** " & testcasename() & ": PASS: IUT successfully responds 404 Not Found ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); } Loading ttcn/AtsMec/AtsMec_RadioNodeLocationAPI_TestCases.ttcn +2 −0 Original line number Diff line number Diff line Loading @@ -81,6 +81,8 @@ module AtsMec_RadioNodeLocationAPI_TestCases { mw_access_point_list( PX_ZONE_ID )))))) -> value v_response { tc_ac.stop; log("*** " & testcasename() & ": PASS: IUT successfully responds with an AccessPoint list containing a ZoneId ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); } Loading ttcn/AtsMec/AtsMec_RnisAPI_TestCases.ttcn +2 −0 Original line number Diff line number Diff line Loading @@ -82,6 +82,8 @@ module AtsMec_RnisAPI_TestCases { PX_LINKS_SELF, ? )))))) -> value v_response { tc_ac.stop; log("*** " & testcasename() & ": PASS: IUT successfully responds with a cell subscription ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); } Loading Loading
etc/AtsMec/AtsMec.cfg +31 −3 Original line number Diff line number Diff line Loading @@ -13,11 +13,12 @@ LibItsHttp_Pics.PICS_HEADER_HOST := "192.168.0.17" LibItsHttp_Pics.PICS_HEADER_CONTENT_TYPE := "application/json" LibMec_Pics.PICS_MEC_PLAT := true LibMec_Pics.PICS_SERVICES := true LibMec_Pics.PICS_RNIS := false LocationAPI_Pics.PICS_LOCATION_API_SUPPORTED := true LocationAPI_Pics.PICS_LOCATION_API_SUPPORTED := false UEidentityAPI_Pics.PICS_UE_IDENTITY_API_SUPPORTED := false UEidentityAPI_Pics.PICS_UE_IDENTITY_API_SUPPORTED := true BwManagementAPI_Pics.PICS_BWMANAGEMENT_API_SUPPORTED := false Loading Loading @@ -62,7 +63,34 @@ system.httpPort.params := "HTTP(codecs=json:json_codec)/TCP(debug=1,server=192.1 [EXECUTE] # In this section you can specify what parts of your test suite you want to execute. AtsMec_TestControl.control #AtsMec_TestControl.control #AtsMec_UEidentityAPI_TestCases.TC_MEC_SRV_UETAG_001_OK #AtsMec_UEidentityAPI_TestCases.TC_MEC_SRV_UETAG_001_BR #AtsMec_UEidentityAPI_TestCases.TC_MEC_SRV_UETAG_001_NF AtsMec_UEidentityAPI_TestCases.TC_MEC_SRV_UETAG_002_OK #AtsMec_UEidentityAPI_TestCases.TC_MEC_SRV_UETAG_002_BR #AtsMec_UEidentityAPI_TestCases.TC_MEC_SRV_UELOC_001_OK #AtsMec_UEidentityAPI_TestCases.TC_MEC_SRV_UELOC_001_BR #AtsMec_UEidentityAPI_TestCases.TC_MEC_SRV_UELOC_001_NF #AtsMec_LocationAPI_TestCases.TC_MEC_SRV_UELOCSUB_001_OK #AtsMec_LocationAPI_TestCases.TC_MEC_SRV_UELOCSUB_001_BR #AtsMec_LocationAPI_TestCases.TC_MEC_SRV_UELOCSUB_002_OK #AtsMec_LocationAPI_TestCases.TC_MEC_SRV_UELOCSUB_002_NF #AtsMec_LocationAPI_TestCases.TC_MEC_SRV_UETRACKSUB_001_OK #AtsMec_LocationAPI_TestCases.TC_MEC_SRV_UETRACKSUB_001_BR #AtsMec_LocationAPI_TestCases.TC_MEC_SRV_UETRACKSUB_002_OK #AtsMec_LocationAPI_TestCases.TC_MEC_SRV_UETRACKSUB_002_NF #AtsMec_LocationAPI_TestCases.TC_MEC_SRV_UEINFLOOK_001_OK #AtsMec_LocationAPI_TestCases.TC_MEC_SRV_UEINFLOOK_001_BR #AtsMec_LocationAPI_TestCases.TC_MEC_SRV_UEINFLOOK_001_NF #AtsMec_LocationAPI_TestCases.TC_MEC_SRV_UEINFSUB_001_OK #AtsMec_LocationAPI_TestCases.TC_MEC_SRV_UEINFSUB_001_BR #AtsMec_LocationAPI_TestCases.TC_MEC_SRV_UEINFSUB_002_OK #AtsMec_LocationAPI_TestCases.TC_MEC_SRV_UEINFSUB_002_NF [GROUPS] # In this section you can specify groups of hosts. These groups can be used inside the Loading
ttcn/AtsMec/AtsMec_BwManagementAPI_TestCases.ttcn +2 −0 Original line number Diff line number Diff line Loading @@ -80,6 +80,8 @@ module AtsMec_BwManagementAPI_TestCases { mw_body_json_bw_info( mw_bw_info ))))) -> value v_response { tc_ac.stop; log("*** " & testcasename() & ": PASS: IUT successfully responds with a ZoneId ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); } Loading
ttcn/AtsMec/AtsMec_LocationAPI_TestCases.ttcn +36 −0 Original line number Diff line number Diff line Loading @@ -81,6 +81,8 @@ module AtsMec_LocationAPI_TestCases { * } )))))) { tc_ac.stop; log("*** " & testcasename() & ": PASS: IUT successfully responds with a ZoneId ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); } Loading Loading @@ -134,6 +136,8 @@ module AtsMec_LocationAPI_TestCases { mw_http_response( mw_http_response_400_bad_request )) { tc_ac.stop; log("*** " & testcasename() & ": PASS: IUT successfully responds with 400 Bad Request ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); } Loading Loading @@ -187,6 +191,8 @@ module AtsMec_LocationAPI_TestCases { mw_http_response( mw_http_response_404_not_found )) { tc_ac.stop; log("*** " & testcasename() & ": PASS: IUT successfully responds with a 404 Not Found ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); } Loading Loading @@ -258,6 +264,8 @@ module AtsMec_LocationAPI_TestCases { PX_CALLBACK_REF_URL, PX_USER )))))) { tc_ac.stop; log("*** " & testcasename() & ": PASS: IUT successfully responds with a callbackURL ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); } Loading Loading @@ -319,6 +327,8 @@ module AtsMec_LocationAPI_TestCases { mw_http_response( mw_http_response_400_bad_request )) { tc_ac.stop; log("*** " & testcasename() & ": PASS: IUT successfully responds with 400 Bad Request ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); } Loading Loading @@ -371,6 +381,8 @@ module AtsMec_LocationAPI_TestCases { mw_http_response( mw_http_response_204_no_content )) { tc_ac.stop; log("*** " & testcasename() & ": PASS: IUT successfully responds with 204 No Content ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); } Loading Loading @@ -423,6 +435,8 @@ module AtsMec_LocationAPI_TestCases { mw_http_response( mw_http_response_404_not_found )) { tc_ac.stop; log("*** " & testcasename() & ": PASS: IUT successfully responds with 404 Not Found ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); } Loading Loading @@ -485,6 +499,8 @@ module AtsMec_LocationAPI_TestCases { PX_CALLBACK_REF_URL, PX_USER )))))) { tc_ac.stop; log("*** " & testcasename() & ": PASS: IUT successfully responds with a callbackURL ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); } Loading Loading @@ -546,6 +562,8 @@ module AtsMec_LocationAPI_TestCases { mw_http_response( mw_http_response_400_bad_request )) { tc_ac.stop; log("*** " & testcasename() & ": PASS: IUT successfully responds with 400 Bad Request ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); } Loading Loading @@ -598,6 +616,8 @@ module AtsMec_LocationAPI_TestCases { mw_http_response( mw_http_response_204_no_content )) { tc_ac.stop; log("*** " & testcasename() & ": PASS: IUT successfully responds 204 No Content ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); } Loading Loading @@ -650,6 +670,8 @@ module AtsMec_LocationAPI_TestCases { mw_http_response( mw_http_response_400_bad_request )) { tc_ac.stop; log("*** " & testcasename() & ": PASS: IUT successfully responds 400 Bad Request ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); } Loading Loading @@ -709,6 +731,8 @@ module AtsMec_LocationAPI_TestCases { mw_body_json_user_list( mw_user_list(-, ?) ))))) { tc_ac.stop; log("*** " & testcasename() & ": PASS: IUT successfully responds with a UserList ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); } Loading Loading @@ -761,6 +785,8 @@ module AtsMec_LocationAPI_TestCases { mw_http_response( mw_http_response_400_bad_request )) { tc_ac.stop; log("*** " & testcasename() & ": PASS: IUT successfully responds 400 Bad Request ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); } Loading Loading @@ -813,6 +839,8 @@ module AtsMec_LocationAPI_TestCases { mw_http_response( mw_http_response_404_not_found )) { tc_ac.stop; log("*** " & testcasename() & ": PASS: IUT successfully responds 404 Not Found ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); } Loading Loading @@ -884,6 +912,8 @@ module AtsMec_LocationAPI_TestCases { PX_CALLBACK_REF_URL, PX_ZONE_ID )))))) { tc_ac.stop; log("*** " & testcasename() & ": PASS: IUT successfully responds with a callbackURL ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); } Loading Loading @@ -945,6 +975,8 @@ module AtsMec_LocationAPI_TestCases { mw_http_response( mw_http_response_400_bad_request )) { tc_ac.stop; log("*** " & testcasename() & ": PASS: IUT successfully responds 400 Bad Request ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); } Loading Loading @@ -1006,6 +1038,8 @@ module AtsMec_LocationAPI_TestCases { mw_http_response( mw_http_response_204_no_content )) { tc_ac.stop; log("*** " & testcasename() & ": PASS: IUT successfully responds with 204 No Content ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); } Loading Loading @@ -1058,6 +1092,8 @@ module AtsMec_LocationAPI_TestCases { mw_http_response( mw_http_response_404_not_found )) { tc_ac.stop; log("*** " & testcasename() & ": PASS: IUT successfully responds 404 Not Found ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); } Loading
ttcn/AtsMec/AtsMec_RadioNodeLocationAPI_TestCases.ttcn +2 −0 Original line number Diff line number Diff line Loading @@ -81,6 +81,8 @@ module AtsMec_RadioNodeLocationAPI_TestCases { mw_access_point_list( PX_ZONE_ID )))))) -> value v_response { tc_ac.stop; log("*** " & testcasename() & ": PASS: IUT successfully responds with an AccessPoint list containing a ZoneId ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); } Loading
ttcn/AtsMec/AtsMec_RnisAPI_TestCases.ttcn +2 −0 Original line number Diff line number Diff line Loading @@ -82,6 +82,8 @@ module AtsMec_RnisAPI_TestCases { PX_LINKS_SELF, ? )))))) -> value v_response { tc_ac.stop; log("*** " & testcasename() & ": PASS: IUT successfully responds with a cell subscription ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); } Loading