diff options
author | 2018-09-27 10:38:50 -0700 | |
---|---|---|
committer | 2018-09-27 10:39:43 -0700 | |
commit | 9abb61ca2cea1907cab2cec312d6dca6e53a93cd (patch) | |
tree | c8ff0718b6626832efd3ff3acc48590dbd6cb64c /tests/clamp/APIs/04__Verify_API_Models.robot | |
parent | a328a3e2e531240ea4a9ed2ce4a284af1be5e225 (diff) |
Move CSIT to integration/csit repo
To facilite branching of CSIT tests, all CSIT test
code and scripts are relocated to the integration/csit
repo.
Change-Id: I1e4c0eff44691f73f8098b3c52764107f6b8b8df
Issue-ID: INT-671
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Diffstat (limited to 'tests/clamp/APIs/04__Verify_API_Models.robot')
-rw-r--r-- | tests/clamp/APIs/04__Verify_API_Models.robot | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/tests/clamp/APIs/04__Verify_API_Models.robot b/tests/clamp/APIs/04__Verify_API_Models.robot new file mode 100644 index 00000000..42c5c43d --- /dev/null +++ b/tests/clamp/APIs/04__Verify_API_Models.robot @@ -0,0 +1,67 @@ +*** Settings *** +Library Collections +Library RequestsLibrary +Library OperatingSystem +Library json + +*** Variables *** +${login} admin +${passw} password + +*** Test Cases *** +Verify HolmesModel1 + ${resp}= Get Request ${clamp_session} /restservices/clds/v1/clds/model/ClHolmes1 + Should Contain Match ${resp} *templateHolmes1* + Should Contain Match ${resp} *DC1* + Should Contain Match ${resp} *DC2* + Should Contain Match ${resp} *Policy1* + Should Contain Match ${resp} *vnfRecipe* + Should Contain Match ${resp} *180* + Should Contain Match ${resp} *345* + Should Contain Match ${resp} *Config Policy name1* + +Verify HolmesModel2 + ${resp}= Get Request ${clamp_session} /restservices/clds/v1/clds/model/ClHolmes2 + Should Contain Match ${resp} *templateHolmes2* + Should Contain Match ${resp} *DC2* + Should Contain Match ${resp} *DC3* + Should Contain Match ${resp} *Policy2* + Should Contain Match ${resp} *vnfRecipe* + Should Contain Match ${resp} *migrate* + Should Contain Match ${resp} *360* + Should Contain Match ${resp} *345* + Should Contain Match ${resp} *Config Policy Name2* + +Verify TCAModel1 + ${resp}= Get Request ${clamp_session} /restservices/clds/v1/clds/model/ClTCA1 + Should Contain Match ${resp} *templateTCA1* + Should Contain Match ${resp} *enbRecipe* + Should Contain Match ${resp} *DC1* + Should Contain Match ${resp} *DC2* + Should Contain Match ${resp} *Policy3* + Should Contain Match ${resp} *345* + Should Contain Match ${resp} *200* + Should Contain Match ${resp} *ONSET* + +Verify TCAModel2 + ${resp}= Get Request ${clamp_session} /restservices/clds/v1/clds/model/ClTCA2 + Should Contain Match ${resp} *templateTCA2* + Should Contain Match ${resp} *enbRecipe* + Should Contain Match ${resp} *DC1* + Should Contain Match ${resp} *DC2* + Should Contain Match ${resp} *DC3* + Should Contain Match ${resp} *Policy4* + Should Contain Match ${resp} *tcaPol* + Should Contain Match ${resp} *345* + Should Contain Match ${resp} *300* + Should Contain Match ${resp} *VM* + +Get 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* + Should Contain Match ${resp} *ClTCA2* + Should Not Contain Match ${resp} *ClTCA99* + Should Not Contain Match ${resp} *ClHolmes99* + |