From: Gary Wu Date: Wed, 18 Oct 2017 19:30:02 +0000 (-0700) Subject: Add API health checks via MSB X-Git-Tag: 1.0.0-Amsterdam~22 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=3a9cc248ea9fc77e805e6afc241f2bb16b9a887b;p=testsuite.git Add API health checks via MSB Change-Id: I4c88e88c616c4fede33f491044ef203bfee06636 Issue-ID: INT-282 Signed-off-by: Gary Wu --- diff --git a/robot/resources/msb_interface.robot b/robot/resources/msb_interface.robot index f6e49816..53b67da6 100644 --- a/robot/resources/msb_interface.robot +++ b/robot/resources/msb_interface.robot @@ -20,5 +20,6 @@ Run MSB Get Request [Arguments] ${data_path} ${session}= Create Session msb ${MSB_ENDPOINT} ${resp}= Get Request msb ${data_path} + Should Be Equal As Integers ${resp.status_code} 200 Log Received response from MSB ${resp.text} [Return] ${resp} diff --git a/robot/testsuites/health-check.robot b/robot/testsuites/health-check.robot index f11d50e9..f6eb60ea 100644 --- a/robot/testsuites/health-check.robot +++ b/robot/testsuites/health-check.robot @@ -60,3 +60,51 @@ Basic VID Health Check Basic Microservice Bus Health Check [Tags] health Run MSB Health Check + +catalog API Health Check + [Tags] health + Run MSB Get Request /api/catalog/v1/swagger.json + +gvnfmdriver API Health Check + [Tags] health + Run MSB Get Request /api/gvnfmdriver/v1/swagger.json + +multicloud API Health Check + [Tags] health + Run MSB Get Request /api/multicloud/v0/swagger.json + +multicloud-ocata API Health Check + [Tags] health + Run MSB Get Request /api/multicloud-ocata/v0/swagger.json + +multicloud-titanium_cloud API Health Check + [Tags] health + Run MSB Get Request /api/multicloud-titanium_cloud/v0/swagger.json + +multicloud-vio API Health Check + [Tags] health + Run MSB Get Request /api/multicloud-vio/v0/swagger.json + +nslcm API Health Check + [Tags] health + Run MSB Get Request /api/nslcm/v1/swagger.json + +vnflcm API Health Check + [Tags] health + Run MSB Get Request /api/vnflcm/v1/swagger.json + +vnfmgr API Health Check + [Tags] health + Run MSB Get Request /api/vnfmgr/v1/swagger.json + +vnfres API Health Check + [Tags] health + Run MSB Get Request /api/vnfres/v1/swagger.json + +ztesdncdriver API Health Check + [Tags] health + Run MSB Get Request /api/ztesdncdriver/v1/swagger.json + +ztevmanagerdriver API Health Check + [Tags] health + Run MSB Get Request /api/ztevmanagerdriver/v1/swagger.json