aboutsummaryrefslogtreecommitdiffstats
path: root/test/csit/tests
diff options
context:
space:
mode:
authorAaron Hay <ah415j@att.com>2017-08-24 15:06:59 +0000
committerAaron Hay <ah415j@att.com>2017-08-24 15:36:59 +0000
commitdb1e9c5ec96b262b3b1e721897b6d83f80aaf1ab (patch)
treec8dd7eae02c5809877ddba975274d7af4822fd0b /test/csit/tests
parent7ba7647a28f1c386c65f372b521b4401a37270e6 (diff)
Added bundle_query.sh and health_check.sh files.
Updated the test1.robot file to include the two tests cases related to the new shell scripts. Change-Id: Idca535d7b557bbb2e02006efab9867f60fd80d98 Issue-Id: APPC-115 Signed-off-by: Aaron Hay <ah415j@att.com>
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
+
+