aboutsummaryrefslogtreecommitdiffstats
path: root/tests/so/sanity-check/macroflow.robot
blob: 149797a19752e43a94cf0e9f2c8a169de2342d97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
*** Settings ***
Library     Collections
Library     RequestsLibrary
Library     OperatingSystem
Library     json

*** Test Cases ***
Healthcheck
    [Documentation]    Runs AAI SIMULATOR Health check
    Create Session   aai_simulator_session  https://${REPO_IP}:9993
    &{headers}=  Create Dictionary    Accept=text/plain
    ${resp}=    Get Request    aai_simulator_session    /aai/v19/healthcheck    headers=${headers}
    log to console    Received response from AAI SIMULATOR ${resp.text}
    Should Be Equal As Strings    '${resp.status_code}'    '200'
    Should Be Equal As Strings    '${resp.text}'    'healthy'