X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=Automation%2FTests%2FX2-Setup%2FX2_Setup_reuqest_test.robot;fp=Automation%2FTests%2FX2-Setup%2FX2-setup_2_get_nodeb_enb.robot;h=cec8e8418d2abd36527a04b2197d981df06d27ab;hb=refs%2Fchanges%2F28%2F828%2F1;hp=c2592d640498146c97ab04ea537c7d6228430936;hpb=264731981e4a52e876c5b484e35032ada6559ac6;p=ric-plt%2Fe2mgr.git diff --git a/Automation/Tests/X2-Setup/X2-setup_2_get_nodeb_enb.robot b/Automation/Tests/X2-Setup/X2_Setup_reuqest_test.robot old mode 100644 new mode 100755 similarity index 52% rename from Automation/Tests/X2-Setup/X2-setup_2_get_nodeb_enb.robot rename to Automation/Tests/X2-Setup/X2_Setup_reuqest_test.robot index c2592d6..cec8e84 --- a/Automation/Tests/X2-Setup/X2-setup_2_get_nodeb_enb.robot +++ b/Automation/Tests/X2-Setup/X2_Setup_reuqest_test.robot @@ -1,17 +1,35 @@ +############################################################################## +# +# 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 Start dockers + Resource ../Resource/resource.robot +Resource ../Resource/Keywords.robot Library OperatingSystem Library REST ${url} - - - - *** Test Cases *** -Get Request node b enb - Sleep 1s - GET /v1/nodeb/test1 +X2 - Setup Test + Post Request setup node b x-2 + Integer response status 200 + +X2 - Get Nodeb + Get Request node b enb test1 Integer response status 200 String response body ranName test1 String response body ip 10.0.2.15 @@ -30,13 +48,5 @@ Get Request node b enb -*** Keywords *** -#Start dockers - #Run And Return Rc And Output ${run_script} - #${result}= Run And Return Rc And Output ${docker_command} - #Should Be Equal As Integers ${result[1]} 4 - - -