Migrate Get Requests invocations(libraries)
[integration/test.git] / csit / suites / alto / basic / 010_resourcepool.robot
1 *** Settings ***
2 Documentation       Test suite for resourcepool
3
4 Library             RequestsLibrary
5 Variables           ../../../variables/Variables.py
6 Variables           ../../../variables/alto/Variables.py
7
8 Suite Setup         Create Session    session    http://${ODL_SYSTEM_IP}:${RESTCONFPORT}    auth=${AUTH}    headers=${HEADERS}
9 Suite Teardown      Delete All Sessions
10
11
12 *** Test Cases ***
13 Check the resource pool status
14     [Documentation]    If default resource pool is ready, the resource pool has loaded sucessfully
15     ${resp}    RequestsLibrary.Get Request    session    /${RESOURCE_POOL_BASE}/${DEFAULT_CONTEXT_ID}
16     Should Be Equal As Strings    ${resp.status_code}    200