149797a19752e43a94cf0e9f2c8a169de2342d97
[integration/csit.git] / tests / so / sanity-check / macroflow.robot
1 *** Settings ***
2 Library     Collections
3 Library     RequestsLibrary
4 Library     OperatingSystem
5 Library     json
6
7 *** Test Cases ***
8 Healthcheck
9     [Documentation]    Runs AAI SIMULATOR Health check
10     Create Session   aai_simulator_session  https://${REPO_IP}:9993
11     &{headers}=  Create Dictionary    Accept=text/plain
12     ${resp}=    Get Request    aai_simulator_session    /aai/v19/healthcheck    headers=${headers}
13     log to console    Received response from AAI SIMULATOR ${resp.text}
14     Should Be Equal As Strings    '${resp.status_code}'    '200'
15     Should Be Equal As Strings    '${resp.text}'    'healthy'