diff options
author | deswali07 <biswajit.deswali@amdocs.com> | 2020-09-30 14:31:33 +0530 |
---|---|---|
committer | deswali07 <biswajit.deswali@amdocs.com> | 2020-09-30 14:32:10 +0530 |
commit | ec04dbe1831451759b1ce95db6936aa51b50e869 (patch) | |
tree | 44b611e9cb7e41227176a153ecd6a4396cfd90d7 /robot | |
parent | d2b9a73ef26668d6e16f8eb5bcfd1f875cba31a7 (diff) |
Enhanced SDC Healthcheck
Issue-ID: SDC-3287
Change-Id: Ia12013fd56fdb3f4e4612e44add6deb8acaf027f
Signed-off-by: deswali07 <biswajit.deswali@amdocs.com>
Diffstat (limited to 'robot')
-rw-r--r-- | robot/resources/sdc_interface.robot | 12 | ||||
-rw-r--r-- | robot/testsuites/health-check.robot | 5 |
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 |