aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dcaegen2/prh-testcases/resources/prh_sessions.robot
blob: a7955129c928d72b6b3e1f9595fbfecc28d6bcfd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
*** Settings ***
Library           RequestsLibrary
Library           Collections

*** Keywords ***
Create sessions
    Create Session    dmaap_session    ${DMAAP_SIMULATOR_SETUP_URL}
    Set Suite Variable    ${dmaap_session}    dmaap_session
    Create Session    aai_session    ${AAI_SIMULATOR_SETUP_URL}
    Set Suite Variable    ${aai_session}    aai_session
    Create Session    consul_session    ${CONSUL_SETUP_URL}
    Set Suite Variable    ${consul_session}    consul_session
    Create Session    prh_session    ${PRH_SETUP_URL}
    Set Suite Variable    ${prh_session}    prh_session


Create headers
    ${headers}=    Create Dictionary    Accept=application/json    Content-Type=application/json
    Set Suite Variable    ${suite_headers}    ${headers}