summaryrefslogtreecommitdiffstats
path: root/csit/tests/actuator/actuator.robot
blob: 1253dffbf3fbdf616e3ce278c50825282dd19849 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
*** Settings ***
Documentation         CPS - Actuator endpoints

Library               Collections
Library               RequestsLibrary

Suite Setup           Create Session    CPS_HOST    ${CPS_HOST}

*** Variables ***


*** Test Cases ***
Test Liveness Probe Endpoint
    ${response}=      GET On Session    CPS_HOST     /manage/health/liveness     expected_status=200
    Should Be Equal As Strings          ${response.json()['status']}      UP

Test Readiness Probe Endpoint
    ${response}=      GET On Session    CPS_HOST     /manage/health/readiness    expected_status=200
    Should Be Equal As Strings          ${response.json()['status']}      UP