blob: 2fadbbaea36c38389959c6fd49a4095d188ba6ea [file] [log] [blame]
grabinskc68c2ee2019-06-19 12:36:42 +02001*** Settings ***
2Library RequestsLibrary
3Library Collections
4
grabinskad1421e2019-06-21 15:08:21 +02005*** Variables ***
6${DMAAP_SIMULATOR_SETUP_URL} http://${DMAAP_SIMULATOR_SETUP}
7${AAI_SIMULATOR_SETUP_URL} http://${AAI_SIMULATOR_SETUP}
8${CONSUL_SETUP_URL} http://${CONSUL_SETUP}
9${PRH_SETUP_URL} http://${PRH_SETUP}
10
grabinskc68c2ee2019-06-19 12:36:42 +020011*** Keywords ***
12Create sessions
13 Create Session dmaap_session ${DMAAP_SIMULATOR_SETUP_URL}
14 Set Suite Variable ${dmaap_session} dmaap_session
15 Create Session aai_session ${AAI_SIMULATOR_SETUP_URL}
16 Set Suite Variable ${aai_session} aai_session
17 Create Session consul_session ${CONSUL_SETUP_URL}
18 Set Suite Variable ${consul_session} consul_session
19 Create Session prh_session ${PRH_SETUP_URL}
20 Set Suite Variable ${prh_session} prh_session
21
22
23Create headers
24 ${headers}= Create Dictionary Accept=application/json Content-Type=application/json
25 Set Suite Variable ${suite_headers} ${headers}