blob: bb48d3fdcb9f778152e23db3ae604b21d7be4975 [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 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