3 Library RequestsLibrary
4 Library OperatingSystem
13 ${auth}= Create List ${login} ${passw}
14 Create Session clamp https://localhost:8443 auth=${auth} disable_warnings=1
15 Set Global Variable ${clamp_session} clamp
18 Get Requests health check ok
20 ${resp}= Get Request ${clamp_session} /restservices/clds/v1/healthcheck
21 Should Be Equal As Strings ${resp.status_code} 200
24 ${resp}= Get Request ${clamp_session} /restservices/clds/v2/loop/LOOP_iYTIP_v1_0_ResourceInstanceName1_tca
25 Should Contain Match ${resp} *LOOP_iYTIP_v1_0_ResourceInstanceName1_tca*
26 Should Contain Match ${resp} *Event1*
27 Should Contain Match ${resp} *1.2.3*
28 Should Contain Match ${resp} *PolicyScope1*