d6e41b323e32dba85caeb78f5f90ee11cd85558b
[ric-plt/e2mgr.git] / Automation / Tests / Health / get_health_check.robot
1 *** Settings ***
2 Suite Setup     Start dockers
3 Resource   ../Resource/resource.robot
4 Library     OperatingSystem
5 Library     REST      ${url}
6
7
8
9 *** Test Cases ***
10 Get Health
11     GET     /v1/health
12     Integer     response status       200
13
14
15 *** Keywords ***
16 Start dockers
17      Run And Return Rc And Output    ${run_script}
18      ${result}=  Run And Return Rc And Output     ${docker_command}
19      Should Be Equal As Integers    ${result[1]}    4
20
21