Ruslan Kashapov | aad2240 | 2021-02-23 10:08:00 +0200 | [diff] [blame] | 1 | *** Settings *** |
Ruslan Kashapov | d44fcee | 2021-02-26 11:42:29 +0200 | [diff] [blame] | 2 | Documentation CPS - Actuator endpoints |
| 3 | |
| 4 | Library Collections |
| 5 | Library RequestsLibrary |
| 6 | |
| 7 | Suite Setup Create Session CPS_HOST ${CPS_HOST} |
Ruslan Kashapov | aad2240 | 2021-02-23 10:08:00 +0200 | [diff] [blame] | 8 | |
| 9 | *** Variables *** |
| 10 | |
Ruslan Kashapov | aad2240 | 2021-02-23 10:08:00 +0200 | [diff] [blame] | 11 | |
| 12 | *** Test Cases *** |
Ruslan Kashapov | d44fcee | 2021-02-26 11:42:29 +0200 | [diff] [blame] | 13 | Test 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 Kashapov | aad2240 | 2021-02-23 10:08:00 +0200 | [diff] [blame] | 16 | |
Ruslan Kashapov | d44fcee | 2021-02-26 11:42:29 +0200 | [diff] [blame] | 17 | Test 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 |