blob: 81224efe19574ff94aab965df33272b30a6de435 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
*** Settings ***
Documentation The main interface for interacting with Microservice Bus.
Library RequestsLibrary
Resource global_properties.robot
*** Variables ***
${MSB_HEALTH_CHECK_PATH} /iui/microservices/default.html
${MSB_ENDPOINT} ${GLOBAL_MSB_SERVER_PROTOCOL}://${GLOBAL_INJECTED_MSB_IP_ADDR}:${GLOBAL_MSB_SERVER_PORT}
*** Keywords ***
Run MSB Health Check
[Documentation] Runs MSB Health check
${resp}= Run MSB Get Request ${MSB_HEALTH_CHECK_PATH}
Should Be Equal As Integers ${resp.status_code} 200
Run MSB Get Request
[Documentation] Runs MSB Get request
[Arguments] ${data_path}
${session}= Create Session msb ${MSB_ENDPOINT}
${resp}= Get Request msb ${data_path}
Should Be Equal As Integers ${resp.status_code} 200
Log Received response from MSB ${resp.text}
[Return] ${resp}
|