X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=Automation%2FTests%2FResource%2FKeywords.robot;h=f252af8712f71c4c5eb265d421417f65c6f14ef7;hb=28c0585ff0a4779b938d284a9abc64fbe381bee0;hp=19e5b18f09148cc32e4aba3eb3bb9c87d2c8e7f3;hpb=2decf8d474ed5554802eba53e963e1bd3ea87e74;p=ric-plt%2Fe2mgr.git diff --git a/Automation/Tests/Resource/Keywords.robot b/Automation/Tests/Resource/Keywords.robot index 19e5b18..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}