From 9d839ce15604c0be62045304b1a5fd9ecfbaaec1 Mon Sep 17 00:00:00 2001 From: eHanan Date: Thu, 4 Jul 2019 13:16:48 +0000 Subject: Added Robot test for Healthcheck Change-Id: I774b7d7cf4e7c5b4065ef46d905b74f3da08a468 Issue-ID: SO-1640 Signed-off-by: eHanan --- tests/so/vnfm_adapter/vnfm_adapter_test.robot | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 tests/so/vnfm_adapter/vnfm_adapter_test.robot (limited to 'tests/so') diff --git a/tests/so/vnfm_adapter/vnfm_adapter_test.robot b/tests/so/vnfm_adapter/vnfm_adapter_test.robot new file mode 100644 index 00000000..d0c7034f --- /dev/null +++ b/tests/so/vnfm_adapter/vnfm_adapter_test.robot @@ -0,0 +1,16 @@ +*** Settings *** +Library Collections +Library RequestsLibrary +Library OperatingSystem +Library json + +*** Variables *** + + +*** Test Cases *** + +Healthcheck + Create Session refrepo http://${REPO_IP}:9092 + &{headers}= Create Dictionary Authorization=Basic dm5mbTpwYXNzd29yZDEk== Content-Type=application/json + ${resp}= Get Request refrepo /manage/health headers=${headers} + Run Keyword If '${resp.status_code}' == 'UP' log to console \nexecuted with expected result -- cgit 1.2.3-korg