[RICPLT-1852] Supports E2T Initialize + ExecuteSetup + prepare setup request on init
[ric-plt/e2mgr.git] / Automation / Tests / Unhappy / Resource_not_found.robot
1 *** Settings ***
2 Suite Setup     Start dockers
3 Resource   ../Resource/resource.robot
4 Library     OperatingSystem
5 Library     REST      ${url}
6
7
8 *** Test Cases ***
9 Get Request node b gnb - resource not found 404
10     GET      /v1/nodeb/test5
11     Integer   response status   404
12     Integer   response body errorCode   404
13     String   response body errorMessage   "Resource not found"
14
15
16 *** Keywords ***
17 Start dockers
18      Run And Return Rc And Output    ${run_script}
19      ${result}=  Run And Return Rc And Output     ${docker_command}
20      Should Be Equal As Integers    ${result[1]}    4