Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 1 | *** Settings *** |
| 2 | Library Collections |
| 3 | Library requests |
| 4 | |
| 5 | *** Test Cases *** |
| 6 | Messag 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 |