diff options
author | yunlong ying <ying.yunlong@zte.com.cn> | 2017-09-06 13:36:20 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-09-06 13:36:20 +0000 |
commit | 728bf0147c4a4bcc059060b068a4f34788f47331 (patch) | |
tree | d8de40ad3a49f9656265140c751d04941d2c9d2e /test/csit/tests/msb/tcp-service-access/test1.robot | |
parent | dcb405e3662231e917d173cc06089d6f215e210a (diff) | |
parent | bde9a07a512e78de6d9928d6ccfcb28a4a6244d4 (diff) |
Merge "Add msb integration test script"
Diffstat (limited to 'test/csit/tests/msb/tcp-service-access/test1.robot')
-rw-r--r-- | test/csit/tests/msb/tcp-service-access/test1.robot | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/csit/tests/msb/tcp-service-access/test1.robot b/test/csit/tests/msb/tcp-service-access/test1.robot new file mode 100644 index 000000000..e84c7e1a3 --- /dev/null +++ b/test/csit/tests/msb/tcp-service-access/test1.robot @@ -0,0 +1,16 @@ +*** Settings *** +Library Collections +Library requests + +*** Test Cases *** +Messag Broker Test1 + [Documentation] Check if ActiveMQ index page can be accessed + ${result} = get http://${MSB_DISCOVERY_IP}:10081/api/microservices/v1/services/ActiveMQ/version/null + Should Be Equal ${result.status_code} ${200} + ${json} = Set Variable ${result.json()} + ${activeMQ_ip} = Set Variable ${json["nodes"][0]["ip"]} + ${activeMQ_port} = Set Variable ${json["nodes"][0]["port"]} + + ${result} = get http://${activeMQ_ip}:8161 + Should Be Equal ${result.status_code} ${200} + |