grabinsk | c68c2ee | 2019-06-19 12:36:42 +0200 | [diff] [blame] | 1 | *** Settings *** |
| 2 | Library RequestsLibrary |
| 3 | Library Collections |
| 4 | |
grabinsk | ad1421e | 2019-06-21 15:08:21 +0200 | [diff] [blame] | 5 | *** 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 | |
grabinsk | c68c2ee | 2019-06-19 12:36:42 +0200 | [diff] [blame] | 11 | *** Keywords *** |
| 12 | Create 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 | |
| 23 | Create headers |
| 24 | ${headers}= Create Dictionary Accept=application/json Content-Type=application/json |
| 25 | Set Suite Variable ${suite_headers} ${headers} |