aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dcaegen2-collectors-datafile/testsuites/ManagementInterface-suite
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2019-04-16 15:57:25 +0000
committerGerrit Code Review <gerrit@onap.org>2019-04-16 15:57:25 +0000
commit461cc93ec66130de9ea8d4e5c9818bf0af77e87f (patch)
treeb1c78664e0c92aa28b991939a6705d95b1b2af5b /tests/dcaegen2-collectors-datafile/testsuites/ManagementInterface-suite
parent35e30748bd8c6e388ca3e4a4125a7043d99604f3 (diff)
parent90b09746e5f7692065a2775ada0a3cec529395ed (diff)
Merge "Updates to DFC CSIT test"
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}