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 Variables ../../../variables/Variables.py
12 ${SET_SUBSCRIBEUSER_JSON} ${CURDIR}/../../../variables/centinel/set_subscribeUser.json
16 ${body} OperatingSystem.Get File ${SET_SUBSCRIBEUSER_JSON}
17 ${resp} RequestsLibrary.Post Request session ${SET_SUBSCRIBEUSER} ${body}
18 Should Be Equal As Strings ${resp.status_code} 200
21 ${resp} RequestsLibrary.Get Request session ${SUBSCRIPTION}
22 Should Be Equal As Strings ${resp.status_code} 200
25 ${delresp} RequestsLibrary.Delete Request session ${SUBSCRIPTION}
26 Should Be Equal As Strings ${delresp.status_code} 200