summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2019-02-07 15:07:59 +0000
committerGerrit Code Review <gerrit@onap.org>2019-02-07 15:07:59 +0000
commit9dbe72e59635e35f131cd7b760cd16ad959c0b68 (patch)
treec56b8be7998573c3d8f170bf3ac6f8490437c7da /tests
parente17c08e9b5535465ef9abec0d66e88b7a1355a60 (diff)
parent47b64d74a1383b8fa140283966648cab87322673 (diff)
Merge "CSIT Tests for PM Mapper"
Diffstat (limited to 'tests')
-rw-r--r--tests/dcaegen2-pmmapper/pmmapper/__init__.robot2
-rw-r--r--tests/dcaegen2-pmmapper/pmmapper/pmmapper.robot21
2 files changed, 23 insertions, 0 deletions
diff --git a/tests/dcaegen2-pmmapper/pmmapper/__init__.robot b/tests/dcaegen2-pmmapper/pmmapper/__init__.robot
new file mode 100644
index 00000000..7114fd44
--- /dev/null
+++ b/tests/dcaegen2-pmmapper/pmmapper/__init__.robot
@@ -0,0 +1,2 @@
+*** Settings ***
+Documentation 5G Bulk PM E2E Testcases
diff --git a/tests/dcaegen2-pmmapper/pmmapper/pmmapper.robot b/tests/dcaegen2-pmmapper/pmmapper/pmmapper.robot
new file mode 100644
index 00000000..f65ef2b4
--- /dev/null
+++ b/tests/dcaegen2-pmmapper/pmmapper/pmmapper.robot
@@ -0,0 +1,21 @@
+*** Settings ***
+Documentation Testing PM Mapper functionality
+Library RequestsLibrary
+Library OperatingSystem
+Library Collections
+Library Process
+
+
+*** Variables ***
+${GLOBAL_APPLICATION_ID} robot-ves
+${CLI_EXEC_CLI} curl http://${CBS_IP}:10000/service_component/pmmapper
+
+
+*** Test Cases ***
+
+Verify pmmapper configuration in consul through CBS
+ [Tags] PM_MAPPER_01
+ [Documentation] Verify pmmapper configuraiton in consul through CBS
+ ${cli_cmd_output}= Run Process ${CLI_EXEC_CLI} shell=yes
+ Log ${cli_cmd_output.stdout}
+ Should Contain ${cli_cmd_output.stdout} pm-mapper-filter \ No newline at end of file