blob: 8f9448d8f7c5214734a46ae93716168c7bead04a [file] [log] [blame]
Gary Wu9abb61c2018-09-27 10:38:50 -07001*** Settings ***
2Library Collections
3Library OperatingSystem
4Library RequestsLibrary
5Library json
6
7*** Test Cases ***
8Get Requests health check ok
9 [Tags] get
10 CreateSession vid http://localhost:8080
11 ${headers}= Create Dictionary Accept=application/json Content-Type=application/json
12 ${resp}= Get Request vid /vid/healthCheck headers=&{headers}
13 Should Be Equal As Strings ${resp.status_code} 200
14 Log to console statusCode: ${resp.json()['statusCode']}
15 Should Be Equal As Strings ${resp.json()['statusCode']} 200