X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=Automation%2FTests%2FGetNodeB-GNB%2FGetNodeB-GNB_test.robot;h=68f954143a76001ceaf307067eefd0c3e483826e;hb=8421172ad7f749e00af600b5533ec7ab3d1ff3d1;hp=ac3930541b494533e9ec8fbfb696631bd7194f6b;hpb=0995008bd70d98ea5c374f71f710b920d2939765;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 ac39305..68f9541 100644 --- a/Automation/Tests/GetNodeB-GNB/GetNodeB-GNB_test.robot +++ b/Automation/Tests/GetNodeB-GNB/GetNodeB-GNB_test.robot @@ -22,20 +22,28 @@ *** Settings *** -Suite Setup Prepare Enviorment +Variables ../Scripts/variables.py Resource ../Resource/resource.robot Resource ../Resource/Keywords.robot -Resource ../Resource/scripts_variables.robot Library OperatingSystem Library ../Scripts/find_rmr_message.py -Library ../Scripts/rsmscripts.py +Library ../Scripts/log_scripts.py Library REST ${url} +*** Variables *** +${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 @@ -44,7 +52,7 @@ Get request gnb String response body ranName ${ranname} String response body connectionStatus CONNECTED String response body nodeType GNB - String response body associatedE2tInstanceAddress ${e2tinstanceaddress} + String response body associatedE2tInstanceAddress ${e2t_alpha_address} Integer response body gnb ranFunctions 0 ranFunctionId 1 Integer response body gnb ranFunctions 0 ranFunctionRevision 1 Integer response body gnb ranFunctions 1 ranFunctionId 2 @@ -53,6 +61,9 @@ Get request gnb Integer response body gnb ranFunctions 2 ranFunctionRevision 1 +Prepare Logs For Tests + Remove log files + Save logs - - +[Teardown] + Stop Redis Monitor \ No newline at end of file