aboutsummaryrefslogtreecommitdiffstats
path: root/csit/tests/actuator/actuator.robot
diff options
context:
space:
mode:
authorToine Siebelink <toine.siebelink@est.tech>2021-07-15 07:40:15 +0000
committerGerrit Code Review <gerrit@onap.org>2021-07-15 07:40:15 +0000
commitb0c2031e8d546336685c84cfccef8d515144dfc6 (patch)
treef17c7fc5e9c35c554c879c2343a29b038ef95061 /csit/tests/actuator/actuator.robot
parentd9fe3582c963209a2841b2ec2ca0e5cfe17ea887 (diff)
parentb46d137c04a78f62d097f680e016558b815bd915 (diff)
Merge "Expose Prometheus metrics for monitoring"
Diffstat (limited to 'csit/tests/actuator/actuator.robot')
-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 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
+