blob: 21e1b5e7a6741ee86cbdd0ce0aa77f799dc8186e [file] [log] [blame]
Almog Laktivif0f635f2017-11-16 12:58:43 +02001*** Settings ***
2Library Collections
3Library OperatingSystem
4Library RequestsLibrary
5Library json
6
7# http://localhost:8000/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:8000
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']}