diff options
Diffstat (limited to 'tests/dcaegen2-collectors-datafile/testsuites/ManagementInterface-suite/MI.robot')
-rwxr-xr-x | tests/dcaegen2-collectors-datafile/testsuites/ManagementInterface-suite/MI.robot | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/tests/dcaegen2-collectors-datafile/testsuites/ManagementInterface-suite/MI.robot b/tests/dcaegen2-collectors-datafile/testsuites/ManagementInterface-suite/MI.robot index 875228bd..9d9f26d6 100755 --- a/tests/dcaegen2-collectors-datafile/testsuites/ManagementInterface-suite/MI.robot +++ b/tests/dcaegen2-collectors-datafile/testsuites/ManagementInterface-suite/MI.robot @@ -1,14 +1,13 @@ *** Settings *** Library OperatingSystem Library RequestsLibrary -Library Process +Library Process *** Variables *** *** Test Cases *** - Heartbeat test [Documentation] Check DFC heartbeat Heartbeat I'm living @@ -29,27 +28,24 @@ Stop test - secure [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} |