aboutsummaryrefslogtreecommitdiffstats
path: root/csit/tests/actuator
diff options
context:
space:
mode:
authorputhuparambil.aditya <aditya.puthuparambil@bell.ca>2021-07-09 12:51:10 +0100
committerputhuparambil.aditya <aditya.puthuparambil@bell.ca>2021-07-14 15:54:48 +0100
commitb46d137c04a78f62d097f680e016558b815bd915 (patch)
treed20f0ca020ff6f49ad518ac0539b8143cbf14afd /csit/tests/actuator
parent0190d0246ab18311fe12cdebb808d9f6e4b131c1 (diff)
Expose Prometheus metrics for monitoring
Issue-ID: CPS-492 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: I264066bd543daf2a45f2ec9a6b8cdf8012927828
Diffstat (limited to 'csit/tests/actuator')
-rw-r--r--csit/tests/actuator/actuator.robot8
1 files changed, 5 insertions, 3 deletions
diff --git a/csit/tests/actuator/actuator.robot b/csit/tests/actuator/actuator.robot
index 3a0493d68..55ff40e07 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
+