aboutsummaryrefslogtreecommitdiffstats
path: root/test/csit/tests/vid/healthCheck/test1.robot
blob: 8f9448d8f7c5214734a46ae93716168c7bead04a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
*** Settings ***
Library           Collections
Library           OperatingSystem
Library           RequestsLibrary
Library           json

*** Test Cases ***
Get Requests health check ok
    [Tags]    get
    CreateSession    vid    http://localhost:8080
    ${headers}=    Create Dictionary    Accept=application/json    Content-Type=application/json
    ${resp}=    Get Request    vid    /vid/healthCheck    headers=&{headers}
    Should Be Equal As Strings    ${resp.status_code}    200
    Log to console   statusCode: ${resp.json()['statusCode']}
    Should Be Equal As Strings  ${resp.json()['statusCode']}  200