X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=Automation%2FTests%2FReset_RIC_TO_RAN%2FReset_unhappy.robot;h=189e2dfb6dbde5816f0e73da083469b3930e8c2c;hb=926296eef49b076a23c4806513f3e719c8a6f685;hp=9f1b33f925adba5013421061c2052171895ee862;hpb=e51ebb1fb4a0bba85577204a28c87365a041f640;p=ric-plt%2Fe2mgr.git diff --git a/Automation/Tests/Reset_RIC_TO_RAN/Reset_unhappy.robot b/Automation/Tests/Reset_RIC_TO_RAN/Reset_unhappy.robot index 9f1b33f..189e2df 100755 --- a/Automation/Tests/Reset_RIC_TO_RAN/Reset_unhappy.robot +++ b/Automation/Tests/Reset_RIC_TO_RAN/Reset_unhappy.robot @@ -16,16 +16,13 @@ # ############################################################################## *** Settings *** +Suite Setup Prepare Enviorment Resource ../Resource/resource.robot Resource ../Resource/Keywords.robot Library OperatingSystem Library Collections Library REST ${url} - -*** Variables *** -${stop_docker_e2} docker stop e2 - - +Suite Teardown Start E2 *** Test Cases *** @@ -38,7 +35,7 @@ Pre Condition for Connecting - no E2 Prepare Ran in Connecting connectionStatus Sleep 1s Post Request setup node b x-2 - Integer response status 200 + Integer response status 204 Sleep 1s GET /v1/nodeb/test1 Integer response status 200 @@ -48,7 +45,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