blob: bb48d3fdcb9f778152e23db3ae604b21d7be4975 [file] [log] [blame]
HuabingZhao749d5fc2017-09-08 10:23:44 +08001*** Settings ***
2Library Collections
3Library requests
4
5*** Test Cases ***
6Messag Broker Test
7 [Documentation] Check if the test service enpoint can be get from MSB
8 ${result} = get http://${MSB_DISCOVERY_IP}:10081/api/microservices/v1/services/test/version/v1
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} test
14 Should Be Equal ${protocol} REST