Add integration tests for ALTO project.
[integration/test.git] / csit / suites / alto / basic / 010_resourcepool.robot
diff --git a/csit/suites/alto/basic/010_resourcepool.robot b/csit/suites/alto/basic/010_resourcepool.robot
new file mode 100644 (file)
index 0000000..1072712
--- /dev/null
@@ -0,0 +1,15 @@
+*** Settings ***
+Documentation     Test suite for resourcepool
+Suite Setup       Create Session    session    http://${CONTROLLER}:${RESTCONFPORT}    auth=${AUTH}    headers=${HEADERS}
+Suite Teardown    Delete All Sessions
+Library           RequestsLibrary
+Variables         ../../../variables/Variables.py
+Variables         ../../../variables/alto/Variables.py
+
+*** Variables ***
+
+*** Test Cases ***
+Check the resource pool status
+    [Documentation]    If default resource pool is ready, the resource pool has loaded sucessfully
+    ${resp}    RequestsLibrary.Get Request    session    /${RESOURCE_POOL_BASE}/${DEFAULT_CONTEXT_ID}
+    Should Be Equal As Strings    ${resp.status_code}    200