*** Settings ***
Library OperatingSystem
Library RequestsLibrary
+Library Process
*** Variables ***
[Documentation] Check DFC stop, secure
Stop-secure Datafile Service has already been stopped!
-
Start test - secure
[Documentation] Check DFC start, secure
Start-secure Datafile Service has been started!
-#PRobably move definitions of common Keywords to a common file
-
*** Keywords ***
#Probably simplyfy the test cases by using variables for port numbers/urls etc
Heartbeat
[Arguments] ${respbody}
Create Session session http://localhost:8100/heartbeat
${resp}= Get Request session /
- Should Be Equal ${resp.text} ${respbody}
+ Should Match Regexp ${resp.text} ${respbody}*
Heartbeat-secure
[Arguments] ${respbody}
Create Session session https://localhost:8433/heartbeat
${resp}= Get Request session /
- Should Be Equal ${resp.text} ${respbody}
+ Should Match Regexp ${resp.text} ${respbody}*
Stop
[Arguments] ${respbody}