aboutsummaryrefslogtreecommitdiffstats
path: root/test/csit/tests/msb/rest-service-api-gateway
diff options
context:
space:
mode:
authorHuabingZhao <zhao.huabing@zte.com.cn>2017-09-08 10:23:44 +0800
committerHuabingZhao <zhao.huabing@zte.com.cn>2017-09-08 10:23:55 +0800
commit749d5fcaa4fbae15e7e7dde922325f755f54397e (patch)
tree3f05d496edd16d10b11a46fc5572544b5abcfa5a /test/csit/tests/msb/rest-service-api-gateway
parente9830799c584a540491f836e16939768b71dc473 (diff)
Add msb integration test script
Add test script for rest service discovery and access Issue-Id: MSB-61 Change-Id: I038769463004a2b4688efd7297b7d45d2b8be627 Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
Diffstat (limited to 'test/csit/tests/msb/rest-service-api-gateway')
-rw-r--r--test/csit/tests/msb/rest-service-api-gateway/__init__.robot2
-rw-r--r--test/csit/tests/msb/rest-service-api-gateway/test1.robot9
2 files changed, 11 insertions, 0 deletions
diff --git a/test/csit/tests/msb/rest-service-api-gateway/__init__.robot b/test/csit/tests/msb/rest-service-api-gateway/__init__.robot
new file mode 100644
index 000000000..efd2221f2
--- /dev/null
+++ b/test/csit/tests/msb/rest-service-api-gateway/__init__.robot
@@ -0,0 +1,2 @@
+*** Settings ***
+Documentation Microservices Service Bus - Messag Broker
diff --git a/test/csit/tests/msb/rest-service-api-gateway/test1.robot b/test/csit/tests/msb/rest-service-api-gateway/test1.robot
new file mode 100644
index 000000000..8a15bf2be
--- /dev/null
+++ b/test/csit/tests/msb/rest-service-api-gateway/test1.robot
@@ -0,0 +1,9 @@
+*** Settings ***
+Library Collections
+Library requests
+
+*** Test Cases ***
+REST service Test1
+ [Documentation] Check if test rest service can be accessed via aip gateway
+ ${result} = get http://${MSB_IAG_IP}/api/test/v1/people
+ Should Be Equal ${result.status_code} ${200}