[5GBULKPM] Make Test compatible with nonTLS setup
Simplify the test to test the DFC an pm-mapper.
This test now requires DFC and pm-mapper to be deployed
Issue-ID: OOM-3100
Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
Change-Id: I2fe3b3b10e5fc68fe13e0d6c9455d48964e0d7e1
diff --git a/robot/testsuites/usecases/5gbulkpm.robot b/robot/testsuites/usecases/5gbulkpm.robot
index a4109d3..befd364 100644
--- a/robot/testsuites/usecases/5gbulkpm.robot
+++ b/robot/testsuites/usecases/5gbulkpm.robot
@@ -31,63 +31,63 @@
Verifying 3GPP Perf VES Content On PERFORMANCE_MEASUREMENTS Topic
Get all logs from Data File Collector
-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
- Get all logs from Data File Collector
-
-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
- Get all logs from Data File Collector
-
-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 ${ONAP_HELM_RELEASE}-pm-https-server-correct-sans
- Sending File Ready Event to VES Collector for HTTPS Server ${ONAP_HELM_RELEASE}-pm-https-server-correct-sans
- Verifying 3GPP Perf VES Content On PERFORMANCE_MEASUREMENTS Topic
- Get all logs from Data File Collector
-
-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 ${ONAP_HELM_RELEASE}-pm-https-server-wrong-sans
- Sending File Ready Event to VES Collector for HTTPS Server ${ONAP_HELM_RELEASE}-pm-https-server-wrong-sans
- Wait Until Keyword Succeeds 120 sec 5 sec Check logs ${DFC_ERROR_GREP_COMMAND_SANS}
- Get all logs from Data File Collector
-
-HTTPS Server based bulk PM test (wrong server certificate - wrong SANs), successful validation on DFC side due to turned off host checking
- [Tags] 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 ${ONAP_HELM_RELEASE}-pm-https-server-wrong-sans
- Sending File Ready Event to VES Collector for HTTPS Server ${ONAP_HELM_RELEASE}-pm-https-server-wrong-sans
- Verifying 3GPP Perf VES Content On PERFORMANCE_MEASUREMENTS Topic
- Get all logs from Data File Collector
+#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
+# Get all logs from Data File Collector
+#
+#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
+# Get all logs from Data File Collector
+#
+#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 ${ONAP_HELM_RELEASE}-pm-https-server-correct-sans
+# Sending File Ready Event to VES Collector for HTTPS Server ${ONAP_HELM_RELEASE}-pm-https-server-correct-sans
+# Verifying 3GPP Perf VES Content On PERFORMANCE_MEASUREMENTS Topic
+# Get all logs from Data File Collector
+#
+#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 ${ONAP_HELM_RELEASE}-pm-https-server-wrong-sans
+# Sending File Ready Event to VES Collector for HTTPS Server ${ONAP_HELM_RELEASE}-pm-https-server-wrong-sans
+# Wait Until Keyword Succeeds 120 sec 5 sec Check logs ${DFC_ERROR_GREP_COMMAND_SANS}
+# Get all logs from Data File Collector
+#
+#HTTPS Server based bulk PM test (wrong server certificate - wrong SANs), successful validation on DFC side due to turned off host checking
+# [Tags] 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 ${ONAP_HELM_RELEASE}-pm-https-server-wrong-sans
+# Sending File Ready Event to VES Collector for HTTPS Server ${ONAP_HELM_RELEASE}-pm-https-server-wrong-sans
+# Verifying 3GPP Perf VES Content On PERFORMANCE_MEASUREMENTS Topic
+# Get all logs from Data File Collector