Library SSHLibrary
Library Collections
Library OperatingSystem
-Library ../../../libraries/RequestsLibrary.py
+Library RequestsLibrary
Library ../../../libraries/Common.py
Variables ../../../variables/Variables.py
Resource ../../../libraries/Utils.robot
[Tags] Push
${body} OperatingSystem.Get File ${GROUP}
Set Suite Variable ${body}
- ${resp} Putxml session ${REST_CONTEXT_CF}/group/1 data=${body}
+ ${resp} RequestsLibrary.Put session ${REST_CONTEXT_CF}/group/1 headers=${HEADERS_XML} data=${body}
Log ${resp.content}
Should Be Equal As Strings ${resp.status_code} 200
[Tags] Push
${body} OperatingSystem.Get File ${FLOW}
Set Suite Variable ${body}
- ${resp} Putxml session ${REST_CONTEXT_CF}/table/0/flow/1 data=${body}
+ ${resp} RequestsLibrary.Put session ${REST_CONTEXT_CF}/table/0/flow/1 headers=${HEADERS_XML} data=${body}
Log ${resp.content}
Should Be Equal As Strings ${resp.status_code} 200