blob: 1253dffbf3fbdf616e3ce278c50825282dd19849 [file] [log] [blame]
Ruslan Kashapovaad22402021-02-23 10:08:00 +02001*** Settings ***
Ruslan Kashapovd44fcee2021-02-26 11:42:29 +02002Documentation CPS - Actuator endpoints
3
4Library Collections
5Library RequestsLibrary
6
7Suite Setup Create Session CPS_HOST ${CPS_HOST}
Ruslan Kashapovaad22402021-02-23 10:08:00 +02008
9*** Variables ***
10
Ruslan Kashapovaad22402021-02-23 10:08:00 +020011
12*** Test Cases ***
Ruslan Kashapovd44fcee2021-02-26 11:42:29 +020013Test Liveness Probe Endpoint
14 ${response}= GET On Session CPS_HOST /manage/health/liveness expected_status=200
15 Should Be Equal As Strings ${response.json()['status']} UP
Ruslan Kashapovaad22402021-02-23 10:08:00 +020016
Ruslan Kashapovd44fcee2021-02-26 11:42:29 +020017Test Readiness Probe Endpoint
18 ${response}= GET On Session CPS_HOST /manage/health/readiness expected_status=200
19 Should Be Equal As Strings ${response.json()['status']} UP