summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNagendra90287 <nagendrakumar.pal@amdocs.com>2022-01-24 14:50:15 +0530
committerNagendra Kumar <nagendrakumar.pal@amdocs.com>2022-01-27 10:21:44 +0000
commit055edffcc8928665f96e580234a165d7e4c98d39 (patch)
treef2f79633575a198ddf55537ddd0259015b8095df
parentdb1e983f40be1db7bca5acacf5a3369d74a29c95 (diff)
Added CPS enhanced health check
-Added new test for enhanced health check Issue-ID: CPS-840 Change-Id: I6800620ee2b16c21e99b37b2ce07b179e29f9798 Signed-off-by: Nagendra90287 <nagendrakumar.pal@amdocs.com>
-rw-r--r--csit/tests/actuator/actuator.robot14
1 files changed, 6 insertions, 8 deletions
diff --git a/csit/tests/actuator/actuator.robot b/csit/tests/actuator/actuator.robot
index 2ee575e406..80617a3f8c 100644
--- a/csit/tests/actuator/actuator.robot
+++ b/csit/tests/actuator/actuator.robot
@@ -29,11 +29,9 @@ Suite Setup Create Session MANAGEMENT_URL http://${CPS_CORE_HOST
*** Test Cases ***
-Test Liveness Probe Endpoint
- ${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 MANAGEMENT_URL health/readiness expected_status=200
- Should Be Equal As Strings ${response.json()['status']} UP
-
+Test CPS Enhanced Healthcheck
+ [Documentation] Runs CPS Health Check. It will check for overall status update of CPS component like, Database and diskspace status along with liveliness and readiness check
+ ${response}= GET On Session MANAGEMENT_URL health expected_status=200
+ ${resp_body}= Convert to string ${response.text}
+ Should Contain ${resp_body} UP
+ Should Not Contain ${resp_body} DOWN