From: Curt Beckmann Date: Thu, 17 Dec 2015 14:23:26 +0000 (+0100) Subject: adding first system test, based on restconf test X-Git-Tag: release/beryllium-sr1~254 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=integration%2Ftest.git;a=commitdiff_plain;h=2d9cd17ea6b89e4fdf5e3b56b8409eb9b5c0c527 adding first system test, based on restconf test Change-Id: Iab056868f6efaaeb57df4ea117852f1a88b44b34 Signed-off-by: Curt Beckmann --- diff --git a/csit/suites/ttp/basic/010_Restconf_OK.robot b/csit/suites/ttp/basic/010_Restconf_OK.robot new file mode 100644 index 0000000000..4d19667e2d --- /dev/null +++ b/csit/suites/ttp/basic/010_Restconf_OK.robot @@ -0,0 +1,18 @@ +*** Settings *** +Documentation Test suite to verify Restconf is OK +Suite Setup Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML} +Suite Teardown Delete All Sessions +Library RequestsLibrary +Variables ../../../variables/Variables.py +Resource ../../../libraries/Utils.robot + +*** Variables *** +${REST_CONTEXT} /restconf/modules + +*** Test Cases *** +Get Controller Modules + [Documentation] Get the controller modules via Restconf + ${resp} RequestsLibrary.Get session ${REST_CONTEXT} + Log ${resp.content} + Should Be Equal As Strings ${resp.status_code} 200 + Should Contain ${resp.content} ietf-restconf diff --git a/csit/testplans/ttp-parser.txt b/csit/testplans/ttp-parser.txt new file mode 100644 index 0000000000..f07e90e035 --- /dev/null +++ b/csit/testplans/ttp-parser.txt @@ -0,0 +1,3 @@ +# Place the suites in run order: +integration/test/csit/suites/ttp/basic +