summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--robot/resources/sdc_interface.robot12
-rw-r--r--robot/testsuites/health-check.robot5
2 files changed, 17 insertions, 0 deletions
diff --git a/robot/resources/sdc_interface.robot b/robot/resources/sdc_interface.robot
index c124be1f..b680faa5 100644
--- a/robot/resources/sdc_interface.robot
+++ b/robot/resources/sdc_interface.robot
@@ -19,6 +19,8 @@ Resource browser_setup.robot
*** Variables ***
${SDC_DESIGNER_USER_ID} cs0008
${SDC_HEALTH_CHECK_PATH} /sdc1/rest/healthCheck
+${SDC_HEALTH_CHECK_PATH_ONBOARD} /onboarding-api/v1.0/healthcheck
+${SDC_HEALTH_CHECK_PATH_BE} /sdc2/rest/healthCheck
${SDC_VENDOR_LICENSE_MODEL_PATH} /onboarding-api/v1.0/vendor-license-models
${SDC_VENDOR_SOFTWARE_PRODUCT_PATH} /onboarding-api/v1.0/vendor-software-products
${SDC_VENDOR_KEY_GROUP_PATH} /license-key-groups
@@ -913,6 +915,16 @@ Run SDC Health Check
\ ${SDC_DE_HEALTH} Set Variable If (('DE' in '${ELEMENT['healthCheckComponent']}') and ('${ELEMENT['healthCheckStatus']}' == 'UP')) or ('${SDC_DE_HEALTH}'=='UP') UP
Log (DMaaP:${SDC_DE_HEALTH}) console=True
+Run SDC BE ONBOARD Healthcheck
+ [Documentation] Runs a SDC BE ONBOARD health check
+ ${resp}= SDC.Run Get Request ${SDC_BE_ONBOARD_ENDPOINT} ${SDC_HEALTH_CHECK_PATH_ONBOARD} user=${None}
+ Should Be Equal As Strings ${resp.status_code} 200
+
+Run SDC BE Healthcheck
+ [Documentation] Runs a SDC BE health check
+ ${resp}= SDC.Run Get Request ${SDC_BE_ENDPOINT} ${SDC_HEALTH_CHECK_PATH_BE} user=${None} auth=${GLOBAL_SDC_AUTHENTICATION}
+ Should Be Equal As Strings ${resp.status_code} 200
+
Open SDC GUI
[Documentation] Logs in to SDC GUI
[Arguments] ${PATH}
diff --git a/robot/testsuites/health-check.robot b/robot/testsuites/health-check.robot
index c80ed715..33984d32 100644
--- a/robot/testsuites/health-check.robot
+++ b/robot/testsuites/health-check.robot
@@ -193,6 +193,11 @@ Basic SDC Health Check
[Tags] health core health-sdc
Run SDC Health Check
+Enhanced SDC Health Check
+ [Tags] health core health-sdc
+ Run SDC BE ONBOARD Healthcheck
+ Run SDC BE Healthcheck
+
Basic SDNC Health Check
[Tags] health core health-sdnc
Run SDNC Health Check