blob: 27612fdb8e4235448019c3e2ee8e573c3f62a4fc [file] [log] [blame]
Gary Wu9abb61c2018-09-27 10:38:50 -07001*** Settings ***
2Library Collections
3Library OperatingSystem
4Library RequestsLibrary
5Library json
6
7# http://localhost:9090/vvp/v1/engmgr/vendors
8# vvp-engagementmgr
9
10*** Test Cases ***
11Get 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']}