[RICPLT-1854] Change SetNodeb to PopulateNodebByPdu
[ric-plt/e2mgr.git] / Automation / Tests / Reset_RIC_TO_RAN / Reset_unhappy.robot
index 9f1b33f..91fd82f 100755 (executable)
 #
 ##############################################################################
 *** Settings ***
+Suite Setup   Prepare Enviorment
 Resource   ../Resource/resource.robot
 Resource   ../Resource/Keywords.robot
 Library     OperatingSystem
 Library    Collections
 Library     REST      ${url}
+Suite Teardown   Start E2
 
 *** Variables ***
 ${stop_docker_e2}      docker stop e2
@@ -48,7 +50,7 @@ Prepare Ran in Connecting connectionStatus
 
 Send Reset reqeust with no cause
     Set Headers     ${header}
-    PUT    /v1/nodeb-reset/test1    ${resetcausejson}
+    PUT    /v1/nodeb/test1/reset    ${resetcausejson}
     Integer  response status  400
     Integer  response body errorCode   403