summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorrajendrajaiswal <rajendra.jaiswal@ericsson.com>2019-02-06 16:09:24 +0000
committerroot <rajendra.jaiswal@ericsson.com>2019-02-07 10:06:14 +0000
commit47b64d74a1383b8fa140283966648cab87322673 (patch)
tree3d5e4fc07d5ee3c0f739861882fdfaa393af7854 /tests
parentbeebb966c899819159d6a7bf57a146cc6ad844f5 (diff)
CSIT Tests for PM Mapper
Change-Id: Iaa9274ba40eb8f74eb6a39e8a79a8b0d4e56a166 Issue-ID: INT-863 Signed-off-by: Rajendra Jaiswal <rajendra.jaiswal@ericsson.com>
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