summaryrefslogtreecommitdiffstats
path: root/test/csit/tests/clamp/APIs/03__VariousApis.robot
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2018-07-09 07:19:48 +0000
committerGerrit Code Review <gerrit@onap.org>2018-07-09 07:19:48 +0000
commit5a49398fdb8b70227540c721581ba68235bcb916 (patch)
tree10ce0045d43352c0ee3387087e4215a58ccef2d5 /test/csit/tests/clamp/APIs/03__VariousApis.robot
parent60be36dd12980b15db0edbb7d14c7a719596d367 (diff)
parentbc1d800f3ddce555de9c17518ef7e74126fb028f (diff)
Merge "Fix https issue + create session globally"
Diffstat (limited to 'test/csit/tests/clamp/APIs/03__VariousApis.robot')
-rw-r--r--test/csit/tests/clamp/APIs/03__VariousApis.robot16
1 files changed, 4 insertions, 12 deletions
diff --git a/test/csit/tests/clamp/APIs/03__VariousApis.robot b/test/csit/tests/clamp/APIs/03__VariousApis.robot
index fb671ca41..50dd78e16 100644
--- a/test/csit/tests/clamp/APIs/03__VariousApis.robot
+++ b/test/csit/tests/clamp/APIs/03__VariousApis.robot
@@ -10,23 +10,17 @@ ${passw} password
*** Test Cases ***
Get Clamp properties
- ${auth}= Create List ${login} ${passw}
- Create Session clamp http://localhost:8080 auth=${auth}
- ${resp}= Get Request clamp /restservices/clds/v1/clds/properties
+ ${resp}= Get Request ${clamp_session} /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 ${login} ${passw}
- Create Session clamp http://localhost:8080 auth=${auth}
- ${resp}= Get Request clamp /restservices/clds/v1/clds/cldsInfo
+ ${resp}= Get Request ${clamp_session} /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 ${login} ${passw}
- Create Session clamp http://localhost:8080 auth=${auth}
- ${resp}= Get Request clamp /restservices/clds/v1/clds/model/bpmn/ClHolmes1
+ ${resp}= Get Request ${clamp_session} /restservices/clds/v1/clds/model/bpmn/ClHolmes1
Should Contain Match ${resp} *StartEvent_*
Should Contain Match ${resp} *VesCollector_*
Should Contain Match ${resp} *Holmes_*
@@ -34,9 +28,7 @@ Get model bpmn by name
Should Contain Match ${resp} *EndEvent_*
Get model names
- ${auth}= Create List ${login} ${passw}
- Create Session clamp http://localhost:8080 auth=${auth}
- ${resp}= Get Request clamp /restservices/clds/v1/clds/model-names
+ ${resp}= Get Request ${clamp_session} /restservices/clds/v1/clds/model-names
Should Contain Match ${resp} *ClHolmes1*
Should Contain Match ${resp} *ClHolmes2*
Should Contain Match ${resp} *ClTCA1*