X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=Automation%2FTests%2FGetNodeB-GNB%2FGetNodeB-GNB_test.robot;h=e4367e9e83450427ede256669e262d21acd24b8a;hb=2e2df47c2adf829fc8dfcd57362061b1a09e1125;hp=26a21eded4c650e25f2b0bdf178c65c00debebdf;hpb=ef8e7b290c648ce0655c0fc0e8d0882fe31f2abc;p=ric-plt%2Fe2mgr.git diff --git a/Automation/Tests/GetNodeB-GNB/GetNodeB-GNB_test.robot b/Automation/Tests/GetNodeB-GNB/GetNodeB-GNB_test.robot index 26a21ed..e4367e9 100644 --- a/Automation/Tests/GetNodeB-GNB/GetNodeB-GNB_test.robot +++ b/Automation/Tests/GetNodeB-GNB/GetNodeB-GNB_test.robot @@ -23,12 +23,11 @@ *** Settings *** Variables ../Scripts/variables.py -Suite Setup Prepare Enviorment ${True} Resource ../Resource/resource.robot Resource ../Resource/Keywords.robot Library OperatingSystem Library ../Scripts/find_rmr_message.py -Library ../Scripts/rsmscripts.py +Library ../Scripts/log_scripts.py Library REST ${url} *** Variables *** @@ -39,10 +38,16 @@ ${url} ${e2mgr_address} *** Test Cases *** +[Setup] + Start Redis Monitor + AND Prepare Enviorment ${True} + +Redis Monitor Logs - Verify Publish + Redis Monitor Logs - Verify Publish To Connection Status Channel ${ran_name} CONNECTED Get request gnb Sleep 2s - Get Request node b gnb + Get Request nodeb Integer response status 200 String response body ranName ${ranname} String response body connectionStatus CONNECTED @@ -54,9 +59,11 @@ Get request gnb Integer response body gnb ranFunctions 1 ranFunctionRevision 1 Integer response body gnb ranFunctions 2 ranFunctionId 3 Integer response body gnb ranFunctions 2 ranFunctionRevision 1 - + Boolean response body setupFromNetwork true Prepare Logs For Tests Remove log files Save logs +[Teardown] + Stop Redis Monitor \ No newline at end of file