X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=Automation%2FTests%2FResource%2FKeywords.robot;h=f252af8712f71c4c5eb265d421417f65c6f14ef7;hb=refs%2Fheads%2Fdawn;hp=192438c863bba02191c63582283a2b2d5023897a;hpb=7bd44bd2bab64defc41bdc5da6571f6bfe913da6;p=ric-plt%2Fe2mgr.git diff --git a/Automation/Tests/Resource/Keywords.robot b/Automation/Tests/Resource/Keywords.robot index 192438c..f252af8 100644 --- a/Automation/Tests/Resource/Keywords.robot +++ b/Automation/Tests/Resource/Keywords.robot @@ -1,6 +1,7 @@ ############################################################################## # # Copyright (c) 2019 AT&T Intellectual Property. +# Copyright (c) 2020 Samsung Electronics Co., Ltd. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -35,6 +36,13 @@ Get Request nodeb Sleep 1s GET ${getNodeb}/${nodeb_name} +Get request nodeb health + [Arguments] ${request_body}=${list_nodeb_body} + Sleep 1s + LOG health check url ${nodeb_health_url} + LOG health check body ${request_body} + PUT ${nodeb_health_url} ${request_body} + Update Gnb request Sleep 1s PUT ${update_gnb_url} ${update_gnb_body} @@ -44,6 +52,11 @@ Add eNb Request Sleep 1s POST ${enb_url} ${request} +Get NodeB state request + [Arguments] ${request}=${nodeb_state_url} + Sleep 1s + GET ${request} + Delete eNb Request Sleep 1s DELETE ${enb_url}/${enb_ran_name} @@ -173,7 +186,7 @@ Start e2adapter Stop e2adapter Log to Console Stopping e2adapter Run And Return Rc And Output ${stop_e2adapter} - Sleep 5s + Sleep 90s Restart e2adapter Log to Console Restarting e2adapter