diff options
author | ehautot <eh552t@intl.att.com> | 2018-04-06 19:07:02 +0200 |
---|---|---|
committer | ehautot <eh552t@intl.att.com> | 2018-04-06 19:39:58 +0200 |
commit | 7e5552d8bd205f76089ca20f4c68c31f9daab0c6 (patch) | |
tree | 2bb3580ecdcbbbc5e087bb9b19320af6172bfda9 /test/csit/tests/clamp/APIs/03__VariousApis.robot | |
parent | 44ef19e5676b0e5ea844f8d84fefd89340419025 (diff) |
Add more tests to CSIT
Change-Id: I6e53e577fe518f4e0df6135643d9c84ded604712
Signed-off-by: ehautot <eh552t@intl.att.com>
Issue-ID: CLAMP-35
Diffstat (limited to 'test/csit/tests/clamp/APIs/03__VariousApis.robot')
-rw-r--r-- | test/csit/tests/clamp/APIs/03__VariousApis.robot | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/test/csit/tests/clamp/APIs/03__VariousApis.robot b/test/csit/tests/clamp/APIs/03__VariousApis.robot index df6e7e41f..fb671ca41 100644 --- a/test/csit/tests/clamp/APIs/03__VariousApis.robot +++ b/test/csit/tests/clamp/APIs/03__VariousApis.robot @@ -4,24 +4,27 @@ Library RequestsLibrary Library OperatingSystem Library json +*** Variables *** +${login} admin +${passw} password *** Test Cases *** Get Clamp properties - ${auth}= Create List admin password + ${auth}= Create List ${login} ${passw} Create Session clamp http://localhost:8080 auth=${auth} ${resp}= Get Request clamp /restservices/clds/v1/clds/properties Dictionary Should Contain Key ${resp.json()} global Dictionary Should Contain Key ${resp.json()['global']} location Get Clamp Info - ${auth}= Create List admin password + ${auth}= Create List ${login} ${passw} Create Session clamp http://localhost:8080 auth=${auth} ${resp}= Get Request clamp /restservices/clds/v1/clds/cldsInfo Dictionary Should Contain Key ${resp.json()} userName Dictionary Should Contain Key ${resp.json()} cldsVersion Get model bpmn by name - ${auth}= Create List admin password + ${auth}= Create List ${login} ${passw} Create Session clamp http://localhost:8080 auth=${auth} ${resp}= Get Request clamp /restservices/clds/v1/clds/model/bpmn/ClHolmes1 Should Contain Match ${resp} *StartEvent_* @@ -31,7 +34,7 @@ Get model bpmn by name Should Contain Match ${resp} *EndEvent_* Get model names - ${auth}= Create List admin password + ${auth}= Create List ${login} ${passw} Create Session clamp http://localhost:8080 auth=${auth} ${resp}= Get Request clamp /restservices/clds/v1/clds/model-names Should Contain Match ${resp} *ClHolmes1* |