blob: f1dea17d1da2e56ddc46a52c1128c67220e9bb09 [file] [log] [blame]
mmisc4d5bda2018-09-12 10:31:43 +01001*** Settings ***
2Library Collections
3Library RequestsLibrary
4Library OperatingSystem
5Library json
6
7*** Test Cases ***
8
9Call Apex Policy
10 Create Session apexSession http://${APEX_IP}:23324 max_retries=3
11 ${data}= Get Binary File ${CURDIR}${/}data${/}event.json
12 &{headers}= Create Dictionary Content-Type=application/json Accept=application/json
13 ${resp}= Put Request apexSession /apex/FirstConsumer/EventIn data=${data} headers=${headers}
14 Should Be Equal As Strings ${resp.status_code} 200