3 Library RequestsLibrary
4 Library OperatingSystem
13 ${resp}= Get Request ${clamp_session} /restservices/clds/v1/clds/cldsInfo
14 Dictionary Should Contain Key ${resp.json()} userName
15 Dictionary Should Contain Key ${resp.json()} permissionReadCl
18 ${resp}= Get Request ${clamp_session} /restservices/clds/v1/clds/cldsInfo
19 Dictionary Should Contain Key ${resp.json()} userName
20 Dictionary Should Contain Key ${resp.json()} cldsVersion
22 Get model bpmn by name
23 ${resp}= Get Request ${clamp_session} /restservices/clds/v1/clds/model/bpmn/ClHolmes1
24 Should Contain Match ${resp} *StartEvent_*
25 Should Contain Match ${resp} *VesCollector_*
26 Should Contain Match ${resp} *Holmes_*
27 Should Contain Match ${resp} *Policy_*
28 Should Contain Match ${resp} *EndEvent_*
31 ${resp}= Get Request ${clamp_session} /restservices/clds/v1/clds/model-names
32 Should Contain Match ${resp} *ClHolmes1*
33 Should Contain Match ${resp} *ClHolmes2*
34 Should Contain Match ${resp} *ClTCA1*
35 Should Contain Match ${resp} *ClTCA2*
36 Should Not Contain Match ${resp} *ClHolmes99*
37 Should Not Contain Match ${resp} *ClTCA99*