Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame^] | 1 | *** Settings *** |
| 2 | Library Collections |
| 3 | Library OperatingSystem |
| 4 | Library RequestsLibrary |
| 5 | Library json |
| 6 | |
| 7 | # http://localhost:9090/vvp/v1/engmgr/vendors |
| 8 | # vvp-engagementmgr |
| 9 | |
| 10 | *** Test Cases *** |
| 11 | Get Requests health check ok |
| 12 | [Tags] get |
| 13 | CreateSession vvp-engagementmgr http://localhost:9090 |
| 14 | ${headers}= Create Dictionary Accept=application/json Content-Type=application/json |
| 15 | ${resp}= Get Request vvp-engagementmgr /vvp/v1/engmgr/vendors headers=&{headers} |
| 16 | Should Be Equal As Strings ${resp.status_code} 200 |
| 17 | @{ITEMS}= Copy List ${resp.json()} |
| 18 | : FOR ${ELEMENT} IN @{ITEMS} |
| 19 | \ Log ${ELEMENT['uuid']} ${ELEMENT['name']} |