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 | ||||
7 | Create Session esr-server http://${ESRSERVER_IP}:9518 | ||||
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 |