blob: 27612fdb8e4235448019c3e2ee8e573c3f62a4fc [file] [log] [blame]
Almog Laktivif0f635f2017-11-16 12:58:43 +02001*** Settings ***
2Library Collections
3Library OperatingSystem
4Library RequestsLibrary
5Library json
6
Almog Laktivi9480f8a2017-11-23 14:09:16 +02007# http://localhost:9090/vvp/v1/engmgr/vendors
Almog Laktivif0f635f2017-11-16 12:58:43 +02008# vvp-engagementmgr
9
10*** Test Cases ***
11Get Requests health check ok
12 [Tags] get
Almog Laktivi9480f8a2017-11-23 14:09:16 +020013 CreateSession vvp-engagementmgr http://localhost:9090
Almog Laktivif0f635f2017-11-16 12:58:43 +020014 ${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']}