Automation fixes
[ric-plt/e2mgr.git] / Automation / Tests / Get-All-Nodes-Real / Get_all_nodes_run_setup_and_get_all.robot
index b4ae87e..7048558 100755 (executable)
@@ -17,7 +17,7 @@
 ##############################################################################
 
 *** Settings ***
-Library      Process
+Suite Setup  Prepare Enviorment
 Resource   ../Resource/resource.robot
 Resource   ../Resource/Keywords.robot
 Library     OperatingSystem
@@ -27,7 +27,8 @@ Library     REST      ${url}
 *** Test Cases ***
 Run x2 setup
     Post Request setup node b x-2
-    Integer     response status       200
+    Integer     response status       204
+    Sleep  2s
     GET      /v1/nodeb/test1
     Integer  response status  200
     String   response body ranName    test1
@@ -37,7 +38,8 @@ Run x2 setup
 
 Run endc setup
     Post Request setup node b endc-setup
-    Integer     response status       200
+    Integer     response status       204
+    Sleep  2s
     GET      /v1/nodeb/test2
     Integer  response status  200
     String   response body ranName    test2
@@ -46,8 +48,8 @@ Run endc setup
 
 
 Get all node ids
-    GET     v1/nodeb-ids
-    #Output
+    GET     v1/nodeb/ids
+    Sleep  2s
     Integer  response status   200
     String   response body 0 inventoryName  test1
     String   response body 0 globalNbId plmnId   02f829