2 Library OperatingSystem
3 Library RequestsLibrary
6 ${MESSAGE} Hello, world!
11 Should Be Equal ${MESSAGE} Hello, world!
14 [Documentation] Check if /tmp exists
19 [Documentation] Check if www.onap.org can be reached
20 Create Session openo http://www.onap.org
23 Mock Hello Server Test
24 [Documentation] Check /hello endpoint
25 Create Session hello http://${AAF_IP}:1080
26 CheckUrl hello /hello 200
29 [Documentation] Check ${DBC_URI}/info endpoint
30 Create Session heartbeat http://${DMAAPBC_IP}:8080
31 CheckUrl heartbeat ${DBC_URI}/info 204
36 Directory Should Exist ${path}
39 [Arguments] ${session} ${path} ${expect}
40 ${resp}= Get Request ${session} ${path}
41 Should Be Equal As Integers ${resp.status_code} ${expect}