blob: da6cb3efa64a6349e0c207820b73a4ea569a5989 [file] [log] [blame]
Gary Wu9abb61c2018-09-27 10:38:50 -07001*** Settings ***
2Library Collections
3Library requests
4
5*** Test Cases ***
6Messag Broker Test
7 [Documentation] Check if the message broker enpoint can be get from MSB
8 ${result} = get http://${MSB_DISCOVERY_IP}:10081/api/microservices/v1/services/ActiveMQ/version/null
9 Should Be Equal ${result.status_code} ${200}
10 ${json} = Set Variable ${result.json()}
11 ${serviceName} = Get From Dictionary ${json} serviceName
12 ${protocol} = Get From Dictionary ${json} protocol
13 Should Be Equal ${serviceName} ActiveMQ
14 Should Be Equal ${protocol} TCP