Skip to content
Permalink
Newer
Older
100644 22 lines (19 sloc) 699 Bytes
Oct 12, 2018
1
*** Settings ***
2
Library RequestsLibrary
3
4
*** Keywords ***
Oct 27, 2018
5
Get All Entities
6
[Arguments] ${baseUrl}
7
Create Session alias=md url=${baseUrl}
8
${resp}= Get Request alias=md uri=entities
9
[Return] ${resp}
Oct 12, 2018
10
Oct 27, 2018
11
Get Entity
12
[Arguments] ${baseUrl} ${identifier}
13
Create Session alias=md url=${baseUrl} debug=1
14
${resp}= Get Request alias=md uri=/entities/${identifier}
15
[Return] ${resp}
Oct 12, 2018
16
Oct 27, 2018
17
Get Entity With Gzip
18
[Arguments] ${baseUrl} ${identifier}
19
Create Session alias=md url=${baseUrl}
20
&{headers}= Create Dictionary Accept-Encoding=gzip
21
${resp}= Get Request alias=md uri=entities/${identifier} headers=&{headers}
22
[Return] ${resp}
You can’t perform that action at this time.