diff options
author | Gary Wu <gary.i.wu@huawei.com> | 2018-09-27 10:38:50 -0700 |
---|---|---|
committer | Gary Wu <gary.i.wu@huawei.com> | 2018-09-27 10:39:43 -0700 |
commit | 9abb61ca2cea1907cab2cec312d6dca6e53a93cd (patch) | |
tree | c8ff0718b6626832efd3ff3acc48590dbd6cb64c /tests/vvp/sanity/test1.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/vvp/sanity/test1.robot')
-rw-r--r-- | tests/vvp/sanity/test1.robot | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/vvp/sanity/test1.robot b/tests/vvp/sanity/test1.robot new file mode 100644 index 00000000..27612fdb --- /dev/null +++ b/tests/vvp/sanity/test1.robot @@ -0,0 +1,19 @@ +*** Settings *** +Library Collections +Library OperatingSystem +Library RequestsLibrary +Library json + +# http://localhost:9090/vvp/v1/engmgr/vendors +# vvp-engagementmgr + +*** Test Cases *** +Get Requests health check ok + [Tags] get + CreateSession vvp-engagementmgr http://localhost:9090 + ${headers}= Create Dictionary Accept=application/json Content-Type=application/json + ${resp}= Get Request vvp-engagementmgr /vvp/v1/engmgr/vendors headers=&{headers} + Should Be Equal As Strings ${resp.status_code} 200 + @{ITEMS}= Copy List ${resp.json()} + : FOR ${ELEMENT} IN @{ITEMS} + \ Log ${ELEMENT['uuid']} ${ELEMENT['name']} |