2 Suite Setup Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS}
3 Suite Teardown Delete All Sessions
4 Library RequestsLibrary
8 Library OperatingSystem
9 Resource ../../../libraries/KarafKeywords.robot
10 Variables ../../../variables/Variables.py
13 ${SET_STREAMRECORD_JSON} ${CURDIR}/../../../variables/centinel/set_streamRecord.json
17 ${body} OperatingSystem.Get File ${SET_STREAMRECORD_JSON}
18 ${resp} RequestsLibrary.Post Request session ${SET_STREAMRECORD} ${body}
20 Should Be Equal As Strings ${resp.status_code} 200
22 Get StreamRecordConfig
23 ${resp} RequestsLibrary.Get Request session ${STREAMRECORD_CONFIG}
25 Should Be Equal As Strings ${resp.status_code} 200
28 ${delresp} RequestsLibrary.Delete Request session ${STREAMRECORD_CONFIG}
29 Should Be Equal As Strings ${delresp.status_code} 200