From b46d137c04a78f62d097f680e016558b815bd915 Mon Sep 17 00:00:00 2001 From: "puthuparambil.aditya" Date: Fri, 9 Jul 2021 12:51:10 +0100 Subject: Expose Prometheus metrics for monitoring Issue-ID: CPS-492 Signed-off-by: puthuparambil.aditya Change-Id: I264066bd543daf2a45f2ec9a6b8cdf8012927828 --- csit/tests/actuator/actuator.robot | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'csit/tests/actuator') diff --git a/csit/tests/actuator/actuator.robot b/csit/tests/actuator/actuator.robot index 3a0493d686..55ff40e076 100644 --- a/csit/tests/actuator/actuator.robot +++ b/csit/tests/actuator/actuator.robot @@ -1,5 +1,6 @@ # ============LICENSE_START======================================================= # Copyright (c) 2021 Pantheon.tech. +# Modifications Copyright (c) 2021 Bell Canada. # ================================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -22,16 +23,17 @@ Documentation CPS - Actuator endpoints Library Collections Library RequestsLibrary -Suite Setup Create Session CPS_HOST ${CPS_HOST} +Suite Setup Create Session MANAGEMENT_URL http://${CPS_HOST}:${MANAGEMENT_PORT}/manage *** Variables *** *** Test Cases *** Test Liveness Probe Endpoint - ${response}= GET On Session CPS_HOST /manage/health/liveness expected_status=200 + ${response}= GET On Session MANAGEMENT_URL 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 + ${response}= GET On Session MANAGEMENT_URL health/readiness expected_status=200 Should Be Equal As Strings ${response.json()['status']} UP + -- cgit 1.2.3-korg