Move CSIT to integration/csit repo
[integration/csit.git] / tests / msb / tcp-service-discovery / test1.robot
1 *** Settings ***
2 Library  Collections
3 Library  requests
4
5 *** Test Cases ***
6 Messag 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