Venkata Harish K Kajur | d6f0c1e | 2017-09-27 10:42:28 -0400 | [diff] [blame] | 1 | *** Settings *** |
| 2 | Library RequestsLibrary |
| 3 | |
| 4 | *** Test Cases *** |
| 5 | Liveness Test |
| 6 | [Documentation] Check various endpoints for basic liveness check |
Venkata Harish K Kajur | 3918ac5 | 2018-03-14 10:05:27 -0400 | [diff] [blame] | 7 | Create Session esr-server https://${ESRSERVER_IP}:9518 |
Venkata Harish K Kajur | d6f0c1e | 2017-09-27 10:42:28 -0400 | [diff] [blame] | 8 | CheckUrl esr-server /api/aai-esr-server/v1/test |
| 9 | |
| 10 | *** Keywords *** |
| 11 | CheckUrl |
| 12 | [Arguments] ${session} ${path} |
| 13 | ${resp}= Get Request ${session} ${path} |
| 14 | Should Be Equal As Integers ${resp.status_code} 200 |
| 15 | |