3 Library RequestsLibrary
4 Library OperatingSystem
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