2 Library OperatingSystem
3 Library RequestsLibrary
13 [Documentation] Check DFC heartbeat
17 [Documentation] Check DFC stop
18 Stop Datafile Service has already been stopped!
21 [Documentation] Check DFC start
22 Start Datafile Service has been started!
24 Heartbeat test - secure
25 [Documentation] Check DFC heartbeat, secure
26 Heartbeat-secure I'm living
29 [Documentation] Check DFC stop, secure
30 Stop-secure Datafile Service has already been stopped!
34 [Documentation] Check DFC start, secure
35 Start-secure Datafile Service has been started!
38 #PRobably move definitions of common Keywords to a common file
41 #Probably simplyfy the test cases by using variables for port numbers/urls etc
43 [Arguments] ${respbody}
44 Create Session session http://localhost:8100/heartbeat
45 ${resp}= Get Request session /
46 Should Be Equal ${resp.text} ${respbody}
49 [Arguments] ${respbody}
50 Create Session session https://localhost:8433/heartbeat
51 ${resp}= Get Request session /
52 Should Be Equal ${resp.text} ${respbody}
55 [Arguments] ${respbody}
56 Create Session session http://localhost:8100/stopDatafile
57 ${resp}= Get Request session /
58 Should Be Equal ${resp.text} ${respbody}
61 [Arguments] ${respbody}
62 Create Session session https://localhost:8433/stopDatafile
63 ${resp}= Get Request session /
64 Should Be Equal ${resp.text} ${respbody}
67 [Arguments] ${respbody}
68 Create Session session http://localhost:8100/start
69 ${resp}= Get Request session /
70 Should Be Equal ${resp.text} ${respbody}
73 [Arguments] ${respbody}
74 Create Session session https://localhost:8433/start
75 ${resp}= Get Request session /
76 Should Be Equal ${resp.text} ${respbody}