aboutsummaryrefslogtreecommitdiffstats
path: root/test/csit/tests
diff options
context:
space:
mode:
Diffstat (limited to 'test/csit/tests')
-rw-r--r--test/csit/tests/appc/healthcheck/test1.robot29
1 files changed, 18 insertions, 11 deletions
diff --git a/test/csit/tests/appc/healthcheck/test1.robot b/test/csit/tests/appc/healthcheck/test1.robot
index e43c80761..05eee5b84 100644
--- a/test/csit/tests/appc/healthcheck/test1.robot
+++ b/test/csit/tests/appc/healthcheck/test1.robot
@@ -1,15 +1,22 @@
*** Settings ***
-Library Collections
-Library RequestsLibrary
-Library OperatingSystem
-Library json
-Library HttpLibrary.HTTP
-Library Selenium2Library
-Library XvfbRobot
+Library OperatingSystem
+Library Process
+
+*** Variables ***
+
+${bundle_query} ${SCRIPTS}/bundle_query.sh
+${health_check} ${SCRIPTS}/health_check.sh
*** Test Cases ***
-Get Requests health check ok
- CreateSession appc http://localhost:8282
- ${resp}= Get Request appc /restconf/operations/SLI-API:healthcheck
- Should Be Equal As Strings ${resp.status_code} 200
+Health check test case for APPC
+ [Documentation] Health check
+ ${result_hc}= Run Process bash ${health_check} > log_hc.txt shell=yes
+ Should Be Equal As Integers ${result_hc.rc} 0
+
+Query bundle test case for APPC
+ [Documentation] Query bundles
+ ${result_bq}= Run Process bash ${bundle_query} > log_bq.txt shell=yes
+ Should Be Equal As Integers ${result_bq.rc} 0
+
+