diff options
author | 2018-02-27 18:11:02 +0000 | |
---|---|---|
committer | 2018-02-27 18:11:02 +0000 | |
commit | c80f81fe744023ae39182e6752620238450db2b3 (patch) | |
tree | 2165a8842ee96e2ec2446ade31d914a1ec8b794f /test/csit/tests/clamp/UIs/03__Verify_UI_Models.robot | |
parent | 04a331618845f3b77308dc2dd47f6a79a52bdc84 (diff) | |
parent | 5b9917d3ad117491b5bd89ee63c4752c4add4a27 (diff) |
Merge "Add more integration tests for clamp APIs UIs"
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.robot | 44 |
1 files changed, 44 insertions, 0 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 new file mode 100644 index 000000000..c866174f1 --- /dev/null +++ b/test/csit/tests/clamp/UIs/03__Verify_UI_Models.robot @@ -0,0 +1,44 @@ +*** Settings *** +Library Collections +Library RequestsLibrary +Library OperatingSystem +Library jsons + +*** Test Cases *** +Verify HolmesModel1 + ${auth}= Create List admin 5f4dcc3b5aa765d61d8327deb882cf99 + Create Session clamp http://localhost:8080 auth=${auth} + ${resp}= Get Request clamp /restservices/clds/v1/clds/model/HolmesModel1 + Should Contain Match ${resp} *templateHolmes1* + Should Contain Match ${resp} *DC2* + Should Contain Match ${resp} *DC3* + Should Contain Match ${resp} *Policy1* + Should Contain Match ${resp} *07e266fc-49ab-4cd7-8378-ca4676f1b9ec* + Should Contain Match ${resp} *migrate* + Should Contain Match ${resp} *240* + Should Contain Match ${resp} *390* + Should Contain Match ${resp} *correlational Logic1* + Should Contain Match ${resp} *config Policy Name1* + +Verify TCAModel1 + ${auth}= Create List admin 5f4dcc3b5aa765d61d8327deb882cf99 + Create Session clamp http://localhost:8080 auth=${auth} + ${resp}= Get Request clamp /restservices/clds/v1/clds/model/TCAModel1 + Should Contain Match ${resp} *templateTCA1* + Should Contain Match ${resp} *c95b0e7c-c1f0-4287-9928-7964c5377a46* + Should Contain Match ${resp} *enbRecipe* + Should Contain Match ${resp} *DC1* + Should Contain Match ${resp} *DC3* + Should Contain Match ${resp} *Policy2* + Should Contain Match ${resp} *reset* + Should Contain Match ${resp} *280* + Should Contain Match ${resp} *400* + +Get model names + ${auth}= Create List admin 5f4dcc3b5aa765d61d8327deb882cf99 + Create Session clamp http://localhost:8080 auth=${auth} + ${resp}= Get Request clamp /restservices/clds/v1/clds/model-names + Should Contain Match ${resp} *HolmesModel1* + Should Contain Match ${resp} *TCAModel1* + Should Not Contain Match ${resp} *TCAModel99* + Should Not Contain Match ${resp} *HolmesModel99* |