aboutsummaryrefslogtreecommitdiffstats
path: root/test/csit/tests/clamp/UIs/03__Verify_UI_Models.robot
diff options
context:
space:
mode:
authoreh552t <eh552t@intl.att.com>2018-07-04 14:43:49 +0200
committereh552t <eh552t@intl.att.com>2018-07-04 16:02:11 +0200
commitbc1d800f3ddce555de9c17518ef7e74126fb028f (patch)
tree217152e788f2cf7b5e3f401dc346cbb50355b6d3 /test/csit/tests/clamp/UIs/03__Verify_UI_Models.robot
parentbc76450dfae26da5364b4ef79535314598e04a1c (diff)
Fix https issue + create session globally
Change-Id: I94ef9a15a04f969ae036794f99d44c9d3d57564a Signed-off-by: eh552t <eh552t@intl.att.com> Issue-ID: CLAMP-194
Diffstat (limited to 'test/csit/tests/clamp/UIs/03__Verify_UI_Models.robot')
-rw-r--r--test/csit/tests/clamp/UIs/03__Verify_UI_Models.robot12
1 files changed, 3 insertions, 9 deletions
diff --git a/test/csit/tests/clamp/UIs/03__Verify_UI_Models.robot b/test/csit/tests/clamp/UIs/03__Verify_UI_Models.robot
index 8bbf7c85e..9116964b6 100644
--- a/test/csit/tests/clamp/UIs/03__Verify_UI_Models.robot
+++ b/test/csit/tests/clamp/UIs/03__Verify_UI_Models.robot
@@ -10,9 +10,7 @@ ${passw} password
*** Test Cases ***
Verify HolmesModel1
- ${auth}= Create List ${login} ${passw}
- Create Session clamp http://localhost:8080 auth=${auth}
- ${resp}= Get Request clamp /restservices/clds/v1/clds/model/HolmesModel1
+ ${resp}= Get Request ${clamp_session} /restservices/clds/v1/clds/model/HolmesModel1
Should Contain Match ${resp} *templateHolmes1*
Should Contain Match ${resp} *DC2*
Should Contain Match ${resp} *DC3*
@@ -25,9 +23,7 @@ Verify HolmesModel1
Should Contain Match ${resp} *config Policy Name1*
Verify TCAModel1
- ${auth}= Create List ${login} ${passw}
- Create Session clamp http://localhost:8080 auth=${auth}
- ${resp}= Get Request clamp /restservices/clds/v1/clds/model/TCAModel1
+ ${resp}= Get Request ${clamp_session} /restservices/clds/v1/clds/model/TCAModel1
Should Contain Match ${resp} *templateTCA1*
Should Contain Match ${resp} *c95b0e7c-c1f0-4287-9928-7964c5377a46*
Should Contain Match ${resp} *vnfRecipe*
@@ -39,9 +35,7 @@ Verify TCAModel1
Should Contain Match ${resp} *400*
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} *HolmesModel1*
Should Contain Match ${resp} *TCAModel1*
Should Not Contain Match ${resp} *TCAModel99*