aboutsummaryrefslogtreecommitdiffstats
path: root/robot/testsuites/usecases/5gbulkpm.robot
diff options
context:
space:
mode:
authorKrzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com>2021-10-01 12:22:06 +0200
committerMorgan Richomme <morgan.richomme@orange.com>2021-12-07 13:59:24 +0000
commit5e6967f1c6df40720e748977c7d9514c0463035c (patch)
tree138a1c67cef37d5bbb221aca9a44b0bd2acfd120 /robot/testsuites/usecases/5gbulkpm.robot
parenta93a8881de7253dca565678814920349b061bef7 (diff)
[ROBOT] ADD BULKPM test cases that use helm based component services
Signed-off-by: Krzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com> Issue-ID: INT-1895 Change-Id: I32389f4f0cd0d2e9fb7b73b99554a4722c4687d0
Diffstat (limited to 'robot/testsuites/usecases/5gbulkpm.robot')
-rw-r--r--robot/testsuites/usecases/5gbulkpm.robot88
1 files changed, 0 insertions, 88 deletions
diff --git a/robot/testsuites/usecases/5gbulkpm.robot b/robot/testsuites/usecases/5gbulkpm.robot
deleted file mode 100644
index 21603dc0..00000000
--- a/robot/testsuites/usecases/5gbulkpm.robot
+++ /dev/null
@@ -1,88 +0,0 @@
-*** Settings ***
-Documentation 5G Bulk PM Usecase functionality
-
-Library RequestsLibrary
-Library OperatingSystem
-Library Collections
-Library String
-Library DateTime
-Library SSHLibrary
-Library JSONLibrary
-Library Process
-Library ONAPLibrary.JSON
-Library ONAPLibrary.Utilities
-Resource ../../resources/usecases/5gbulkpm_interface.robot
-Suite Setup Send File Ready Event to VES Collector and Deploy all DCAE Applications test org.3GPP.32.435#measCollec V10
-Suite Teardown Usecase Teardown
-
-*** Variables ***
-${DFC_ERROR_GREP_COMMAND_SANS} kubectl logs $(kubectl get pods -n onap | grep datafile-collector | awk '{print $1}' | grep -v NAME) --all-containers -n onap --since=15s | grep "Certificate for .* subject alternative names: .*wrong-cert"
-
-*** Test Cases ***
-
-SFTP Server based bulk PM test, no SFTP Server know host veryfication on DFC side
- [Tags] 5gbulkpm 5gbulkpm_sftp 5gbulkpm_cust_pm_validate
- [Documentation]
- ... This test case triggers successful bulk pm upload from SFTP server without SFTP server host verification in DFC known host file.
- ... Known host verification is turned off on DFC
- Uploading PM Files to xNF SFTP Server
- Sending File Ready Event to VES Collector
- Verifying 3GPP Perf VES Content On PERFORMANCE_MEASUREMENTS Topic
-
-SFTP Server based bulk PM test, successful SFTP Server known host verification on DFC side
- [Tags] 5gbulkpm 5gbulkpm_sftp
- [Documentation]
- ... This test case triggers successful bulk pm upload from SFTP server with SFTP server host verification in DFC known host file.
- ... Known host verification is turned on DFC and to know host is added SFTP server entry
- Setting KNOWN_HOSTS_FILE_PATH Environment Variable in DFC
- Uploading PM Files to xNF SFTP Server
- Sending File Ready Event to VES Collector
- Verifying 3GPP Perf VES Content On PERFORMANCE_MEASUREMENTS Topic
- Checking DFC Logs After KNOWN_HOSTS_FILE_PATH Env Variable Added
-
-SFTP Server based bulk PM test, not successful SFTP Server know host verification on DFC side
- [Tags] 5gbulkpm 5gbulkpm_sftp
- [Documentation]
- ... This test case triggers unsuccessful bulk pm upload from SFTP server with SFTP server host verification in DFC known host file.
- ... Known host verification is turned on DFC and to know host is added wrong SFTP server entry
- Changing SFTP Server RSA Key in DFC
- Uploading PM Files to xNF SFTP Server
- Sending File Ready Event to VES Collector
- Checking DFC Logs After KNOWN_HOSTS_FILE_PATH Env Variable Added
-
-HTTPS Server based bulk PM test (correct server certificate - correct SANs), successful HTTPS server certificate verification on DFC side
- [Tags] 5gbulkpm 5gbulkpm_https
- [Documentation]
- ... This test case triggers successful bulk pm upload from HTTPS server using CMPv2 Certificate-based authentication
- ... Both HTTPS server and DFC have correct certs with correct SAN-s.
- ... DFC has turned on hostname verification option, verifies HTTPS server host name and downloads pm file from HTTPS server.
- Change DFC httpsHostnameVerify configuration in Consul true
- Uploading PM Files to xNF HTTPS Server https-server
- Sending File Ready Event to VES Collector Over VES Client https-server
- Verifying 3GPP Perf VES Content On PERFORMANCE_MEASUREMENTS Topic
-
-
-HTTPS Server based bulk PM test (wrong server certificate - wrong SANs), unsuccessful validation on DFC side due to turned on host checking
- [Tags] 5gbulkpm 5gbulkpm_https
- [Documentation]
- ... This test case triggers unsuccessful bulk pm upload from HTTPS server using CMPv2 Certificate-based authentication
- ... HTTPS server has incorrect cert with wrong correct SAN-s. DFC has turned on hostname verification option.
- ... DFC verifies HTTPS server host name against SAN-s and closes connection.
- Change DFC httpsHostnameVerify configuration in Consul true
- Uploading PM Files to xNF HTTPS Server https-server-wrong-sans
- Sending File Ready Event to VES Collector Over VES Client https-server-wrong-sans
- Wait Until Keyword Succeeds 60 sec 5 sec Check DFC logs ${DFC_ERROR_GREP_COMMAND_SANS}
-
-
-HTTPS Server based bulk PM test (wrong server certificate - wrong SANs), successful validation on DFC side due to turned off host checking
- [Tags] 5gbulkpm 5gbulkpm_https
- [Documentation]
- ... This test case triggers successful bulk pm upload from HTTPS server using CMPv2 Certificate-based authentication
- ... HTTPS server has incorrect cert with wrong correct SAN-s. DFC has turned off hostname verification option.
- ... DFC does not verify HTTPS server host name against SAN-s and downloads pm file from HTTPS server.
- Change DFC httpsHostnameVerify configuration in Consul false
- Uploading PM Files to xNF HTTPS Server https-server-wrong-sans
- Sending File Ready Event to VES Collector Over VES Client https-server-wrong-sans
- Verifying 3GPP Perf VES Content On PERFORMANCE_MEASUREMENTS Topic
-
-