diff options
author | Eric Debeau <eric.debeau@orange.com> | 2018-04-18 20:53:01 +0000 |
---|---|---|
committer | Gary Wu <gary.i.wu@huawei.com> | 2018-04-19 09:03:51 -0700 |
commit | a09ce2bf4fb2d61a549f57ff7533fcd0d32d1928 (patch) | |
tree | 1b3ef439d1f16ae79c2b7386b282ea3758c3ca20 /test/csit/tests | |
parent | aedcf8ed19f09c8c7e7731864a53121cf565e052 (diff) |
Correct Robot script for ExternalAPI-NBI CSIT
Add Testcases (thanks to Gary Wu)
Change-Id: Ide10a8fabd1b8bce1584ee03ccbc29f11e949141
Issue-ID: EXTAPI-76
Signed-off-by: Eric Debeau <eric.debeau@orange.com>
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Signed-off-by: Quoc Nghia Nguyen <quocnghia.nguyen@orange.com>
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Diffstat (limited to 'test/csit/tests')
-rw-r--r-- | test/csit/tests/externalapi-nbi/healthcheck/healthcheck.robot | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/csit/tests/externalapi-nbi/healthcheck/healthcheck.robot b/test/csit/tests/externalapi-nbi/healthcheck/healthcheck.robot index eb5a5bb4f..21c084894 100644 --- a/test/csit/tests/externalapi-nbi/healthcheck/healthcheck.robot +++ b/test/csit/tests/externalapi-nbi/healthcheck/healthcheck.robot @@ -1,6 +1,7 @@ *** Settings *** Documentation The main interface for interacting with External API/NBI Library RequestsLibrary +Library Collections *** Variables *** ${GLOBAL_NBI_SERVER_PROTOCOL} http @@ -9,6 +10,9 @@ ${GLOBAL_NBI_SERVER_PORT} 8080 ${NBI_HEALTH_CHECK_PATH} /nbi/api/v1/status ${NBI_ENDPOINT} ${GLOBAL_NBI_SERVER_PROTOCOL}://${GLOBAL_INJECTED_NBI_IP_ADDR}:${GLOBAL_NBI_SERVER_PORT} +*** Test Cases *** +NBI Health Check + Run NBI Health Check *** Keywords *** Run NBI Health Check @@ -26,4 +30,4 @@ Run NBI Get Request ${json}= Set Variable ${resp.json()} ${status}= Get From Dictionary ${json} status Should Be Equal ${status} ok - [Return] ${resp}
\ No newline at end of file + [Return] ${resp} |