From 5a7cb08e39985a77eb230eb5a5d2a431c770e92e Mon Sep 17 00:00:00 2001 From: Aaron Hay Date: Mon, 21 Aug 2017 19:09:35 +0000 Subject: APPC CSIT health check added. Change-Id: I215ab1454e9b1f051db4c070085f2941ce7104ec Issue-Id: APPC-111 Signed-off-by: Aaron Hay --- test/csit/tests/appc/healthcheck/__init__.robot | 2 ++ test/csit/tests/appc/healthcheck/test1.robot | 15 +++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 test/csit/tests/appc/healthcheck/__init__.robot create mode 100644 test/csit/tests/appc/healthcheck/test1.robot (limited to 'test/csit/tests') diff --git a/test/csit/tests/appc/healthcheck/__init__.robot b/test/csit/tests/appc/healthcheck/__init__.robot new file mode 100644 index 000000000..3b8528dff --- /dev/null +++ b/test/csit/tests/appc/healthcheck/__init__.robot @@ -0,0 +1,2 @@ +*** Settings *** +Documentation APPC - healthcheck diff --git a/test/csit/tests/appc/healthcheck/test1.robot b/test/csit/tests/appc/healthcheck/test1.robot new file mode 100644 index 000000000..e43c80761 --- /dev/null +++ b/test/csit/tests/appc/healthcheck/test1.robot @@ -0,0 +1,15 @@ +*** Settings *** +Library Collections +Library RequestsLibrary +Library OperatingSystem +Library json +Library HttpLibrary.HTTP +Library Selenium2Library +Library XvfbRobot + + +*** 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 -- cgit 1.2.3-korg