X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=Automation%2FTests%2FUnhappy%2FGet_E2T_Instances_DB_Error.robot;fp=Automation%2FTests%2FUnhappy%2FGet_E2T_Instances_DB_Error.robot;h=9ab940f61d12e84742c82e488eb887156801b987;hb=33591a34358b55fdc429edebe5d0827ccbc7b4e6;hp=0000000000000000000000000000000000000000;hpb=e597612ca39c11bb5b562b9e492e5340a618dba9;p=ric-plt%2Fe2mgr.git diff --git a/Automation/Tests/Unhappy/Get_E2T_Instances_DB_Error.robot b/Automation/Tests/Unhappy/Get_E2T_Instances_DB_Error.robot new file mode 100644 index 0000000..9ab940f --- /dev/null +++ b/Automation/Tests/Unhappy/Get_E2T_Instances_DB_Error.robot @@ -0,0 +1,32 @@ +############################################################################## +# +# Copyright (c) 2019 AT&T Intellectual Property. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +############################################################################## + +*** Settings *** +Suite Setup Prepare Enviorment +Resource ../Resource/Keywords.robot +Resource ../Resource/resource.robot +Library REST ${url} +Suite Teardown Start Dbass + +*** Test Cases *** +Get All E2T Instances DB Error - 500 + Stop Dbass + GET /v1/e2t/list + Integer response status 500 + Integer response body errorCode 500 + String response body errorMessage RNIB error \ No newline at end of file