summaryrefslogtreecommitdiffstats
path: root/robot
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2017-10-18 12:30:02 -0700
committerGary Wu <gary.i.wu@huawei.com>2017-10-18 12:30:02 -0700
commit3a9cc248ea9fc77e805e6afc241f2bb16b9a887b (patch)
treea76c9467c8616237c94384d132f38d73b5a5ae3e /robot
parent26dd72a0720f90726856bb1f510c30d62810fd87 (diff)
Add API health checks via MSB
Change-Id: I4c88e88c616c4fede33f491044ef203bfee06636 Issue-ID: INT-282 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Diffstat (limited to 'robot')
-rw-r--r--robot/resources/msb_interface.robot1
-rw-r--r--robot/testsuites/health-check.robot48
2 files changed, 49 insertions, 0 deletions
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