aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2019-02-14 15:28:00 +0000
committerGerrit Code Review <gerrit@onap.org>2019-02-14 15:28:00 +0000
commitde57b6bcc922d933af34f7b3088c9b7a02129a16 (patch)
tree3a73a807ac3d85d00f6fbf67c089242134410210 /tests
parentb82e804560e4628758915cd4f3e4c166326d9b4f (diff)
parent140bfd2c8572f13a8499066bc8c2eea8ce96f641 (diff)
Merge "New Test Cases for PM Mapper"
Diffstat (limited to 'tests')
-rw-r--r--tests/dcaegen2-pmmapper/pmmapper/pmmapper.robot15
1 files changed, 12 insertions, 3 deletions
diff --git a/tests/dcaegen2-pmmapper/pmmapper/pmmapper.robot b/tests/dcaegen2-pmmapper/pmmapper/pmmapper.robot
index 78d7bf30..51d78d43 100644
--- a/tests/dcaegen2-pmmapper/pmmapper/pmmapper.robot
+++ b/tests/dcaegen2-pmmapper/pmmapper/pmmapper.robot
@@ -7,14 +7,23 @@ Library Process
*** Variables ***
-${CLI_EXEC_CLI} curl -k https://${DR_PROV_IP}:8443/internal/prov
+${CLI_EXEC_CLI_CONFIG} cat /tmp/pmmapper.log
+${CLI_EXEC_CLI_SUBS} curl -k https://${DR_PROV_IP}:8443/internal/prov
*** Test Cases ***
-Verify 3GPP PM Mapper Subscribes to Data Router
+Verify PM Mapper Receive Configuraton From Config Binding Service
[Tags] PM_MAPPER_01
+ [Documentation] Verify 3gpp pm mapper successfully receive config data from CBS
+ ${cli_cmd_output}= Run Process ${CLI_EXEC_CLI_CONFIG} shell=yes
+ Log ${cli_cmd_output.stdout}
+ Should Be Equal As Strings ${cli_cmd_output.rc} 0
+ Should Contain ${cli_cmd_output.stdout} "3gpppmmapper"
+
+Verify 3GPP PM Mapper Subscribes to Data Router
+ [Tags] PM_MAPPER_02
[Documentation] Verify 3gpp pm mapper subscribes to data router
- ${cli_cmd_output}= Run Process ${CLI_EXEC_CLI} shell=yes
+ ${cli_cmd_output}= Run Process ${CLI_EXEC_CLI_SUBS} shell=yes
Log ${cli_cmd_output.stdout}
Should Be Equal As Strings ${cli_cmd_output.rc} 0
Should Contain ${cli_cmd_output.stdout} "3gpppmmapper"