aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dcaegen2-collectors-datafile/testsuites/ManagementInterface-suite
diff options
context:
space:
mode:
authorBjornMagnussonXA <bjorn.magnusson@est.tech>2019-04-16 12:10:40 +0000
committerBjornMagnussonXA <bjorn.magnusson@est.tech>2019-04-16 12:10:40 +0000
commit90b09746e5f7692065a2775ada0a3cec529395ed (patch)
tree16f8379409ab56b1a627647fe0739689744fc87e /tests/dcaegen2-collectors-datafile/testsuites/ManagementInterface-suite
parent636b397b71bf1da63f635c6aea28392857b3f74f (diff)
Updates to DFC CSIT test
Adaptation of Functional tests due to updated dfc simulators Adaptation of Management tests due to changes in DFC app Removed test for FTPS due to issue with ftps sim cert Issue-ID: DCAEGEN2-1434 Change-Id: Ic92ac4901586cb55164177a8640ba23b60c02f0d Signed-off-by: BjornMagnussonXA <bjorn.magnusson@est.tech>
Diffstat (limited to 'tests/dcaegen2-collectors-datafile/testsuites/ManagementInterface-suite')
-rwxr-xr-xtests/dcaegen2-collectors-datafile/testsuites/ManagementInterface-suite/MI.robot10
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}