summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
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