From 4a81c740244c0a2b4dab8209abea637242a1b7c2 Mon Sep 17 00:00:00 2001 From: jitendracandela Date: Thu, 21 Mar 2024 12:09:10 +0530 Subject: [PATCH 01/16] Added/Modified Allure suite names. Signed-off-by: jitendracandela --- .../master_config_tests/test_master_config.py | 1 + .../ucentral_gateway/test_analyticservice.py | 1 + .../ucentral_gateway/test_fms_service.py | 4 +- .../ucentral_gateway/test_gatewayservice.py | 1 + .../ucentral_gateway/test_securityservice.py | 1 + .../test_bridge_multi_sta_performance.py | 7 +- .../wpa2_personal/test_bridge_mode.py | 10 +- .../roam_test/hard_roam/OTA/test_roam_ota.py | 7 +- .../wpa2_personal/test_bridge_mode.py | 5 +- .../open/test_click_to_continue_bridge.py | 2 +- .../test_local_user_and_pass_bridge.py | 2 +- .../test_radius_user_and_pass_bridge.py | 2 +- ...enterprise_security_modes_configuration.py | 6 + ...st_general_security_modes_configuration.py | 6 + ...enterprise_security_modes_configuration.py | 6 + ...st_general_security_modes_configuration.py | 6 + ...enterprise_security_modes_configuration.py | 6 + ...st_general_security_modes_configuration.py | 6 + .../dfs_20MHz/test_dfs_20_bridge.py | 24 ++-- .../dfs_40MHz/test_dfs_40_bridge.py | 10 +- .../dfs_80MHz/test_dfs_80_bridge.py | 6 +- .../bridge_mode/test_ap_stability.py | 3 + .../bridge_mode/test_multi_ssid.py | 48 +++---- .../wpa_personal/test_bridge_mode.py | 2 +- .../open/test_bridge_mode.py | 2 +- .../open/test_nat_mode.py | 2 +- .../open/test_vlan_mode.py | 2 +- .../wap3_personal/test_bridge_mode.py | 2 +- .../wap3_personal/test_nat_mode.py | 2 +- .../wap3_personal/test_vlan_mode.py | 2 +- .../wpa2_personal/test_bridge_mode.py | 2 +- .../wpa2_personal/test_nat_mode.py | 2 +- .../wpa2_personal/test_vlan_mode.py | 2 +- .../wpa_personal/test_bridge_mode.py | 2 +- .../wpa_personal/test_nat_mode.py | 2 +- .../wpa_personal/test_vlan_mode.py | 2 +- .../bridge_mode/test_multi_sta_thpt_2g.py | 3 + .../bridge_mode/test_mutli_sta_thpt_5g.py | 3 + .../nat_mode/test_multi_sta_thpt_2g.py | 3 + .../nat_mode/test_mutli_sta_thpt_5g.py | 3 + .../vlan_mode/test_multi_sta_thpt_2g.py | 3 + .../vlan_mode/test_mutli_sta_thpt_5g.py | 3 + .../wpa2_personal/test_bridge_mode.py | 4 +- .../ofdma_test/wpa2_personal/test_nat_mode.py | 4 +- .../wpa2_personal/test_vlan_mode.py | 4 +- .../test_peak_throughput_wpa2_eap_20Mhz_2g.py | 39 +++++- .../test_peak_throughput_wpa2_eap_20Mhz_5g.py | 53 +++++++- .../test_peak_throughput_wpa2_eap_40Mhz_2g.py | 41 +++++- .../test_peak_throughput_wpa2_eap_40Mhz_5g.py | 27 ++++ .../test_peak_throughput_wpa2_eap_80Mhz_5g.py | 12 ++ .../test_peak_throughput_wpa2_20Mhz_2g.py | 41 +++++- .../test_peak_throughput_wpa2_20Mhz_5g.py | 54 +++++++- .../test_peak_throughput_wpa2_40Mhz_2g.py | 44 +++++- .../test_peak_throughput_wpa2_40Mhz_5g.py | 27 ++++ .../test_peak_throughput_wpa2_80Mhz_5g.py | 15 ++- .../test_peak_throughput_wpa3_eap_20Mhz_2g.py | 41 +++++- .../test_peak_throughput_wpa3_eap_20Mhz_5g.py | 54 +++++++- .../test_peak_throughput_wpa3_eap_40Mhz_2g.py | 41 +++++- .../test_peak_throughput_wpa3_eap_40Mhz_5g.py | 27 ++++ .../test_peak_throughput_wpa3_eap_80Mhz_5g.py | 12 ++ .../test_peak_throughput_wpa3_160Mhz_6g.py | 7 +- .../test_peak_throughput_wpa3_20Mhz_2g.py | 41 +++++- .../test_peak_throughput_wpa3_20Mhz_5g.py | 52 ++++++++ .../test_peak_throughput_wpa3_40Mhz_2g.py | 41 +++++- .../test_peak_throughput_wpa3_40Mhz_5g.py | 27 ++++ .../test_peak_throughput_wpa3_80Mhz_5g.py | 12 ++ .../test_peak_throughput_wpa3_80Mhz_6g.py | 7 +- .../test_peak_throughput_wpa_20Mhz_2g.py | 41 +++++- .../test_peak_throughput_wpa_20Mhz_5g.py | 54 +++++++- .../test_peak_throughput_wpa_40Mhz_2g.py | 41 +++++- .../test_peak_throughput_wpa_40Mhz_5g.py | 27 ++++ .../test_peak_throughput_wpa_80Mhz_5g.py | 12 ++ .../test_peak_throughput_open_20Mhz_2g.py | 89 +++++++++---- .../test_peak_throughput_open_20Mhz_5g.py | 126 +++++++++++++----- .../test_peak_throughput_open_40Mhz_2g.py | 89 +++++++++---- .../test_peak_throughput_open_40Mhz_5g.py | 67 +++++++--- .../test_peak_throughput_open_80Mhz_5g.py | 32 +++-- .../test_peak_throughput_wpa2_eap_20Mhz_2g.py | 89 +++++++++---- .../test_peak_throughput_wpa2_eap_20Mhz_5g.py | 126 +++++++++++++----- .../test_peak_throughput_wpa2_eap_40Mhz_2g.py | 89 +++++++++---- .../test_peak_throughput_wpa2_eap_40Mhz_5g.py | 67 +++++++--- .../test_peak_throughput_wpa2_eap_80Mhz_5g.py | 32 +++-- .../test_peak_throughput_wpa2_20Mhz_2g.py | 89 +++++++++---- .../test_peak_throughput_wpa2_20Mhz_5g.py | 126 +++++++++++++----- .../test_peak_throughput_wpa2_40Mhz_2g.py | 92 ++++++++----- .../test_peak_throughput_wpa2_40Mhz_5g.py | 67 +++++++--- .../test_peak_throughput_wpa2_80Mhz_5g.py | 35 +++-- .../test_peak_throughput_wpa3_eap_20Mhz_2g.py | 89 +++++++++---- .../test_peak_throughput_wpa3_eap_20Mhz_5g.py | 126 +++++++++++++----- .../test_peak_throughput_wpa3_eap_40Mhz_2g.py | 89 +++++++++---- .../test_peak_throughput_wpa3_eap_40Mhz_5g.py | 67 +++++++--- .../test_peak_throughput_wpa3_eap_80Mhz_5g.py | 32 +++-- .../test_peak_throughput_wpa3_160Mhz_6g.py | 6 +- .../test_peak_throughput_wpa3_20Mhz_2g.py | 89 +++++++++---- .../test_peak_throughput_wpa3_20Mhz_5g.py | 126 +++++++++++++----- .../test_peak_throughput_wpa3_40Mhz_2g.py | 89 +++++++++---- .../test_peak_throughput_wpa3_40Mhz_5g.py | 67 +++++++--- .../test_peak_throughput_wpa3_80Mhz_5g.py | 32 +++-- .../test_peak_throughput_wpa3_80Mhz_6g.py | 6 +- .../test_peak_throughput_wpa_20Mhz_2g.py | 89 +++++++++---- .../test_peak_throughput_wpa_20Mhz_5g.py | 126 +++++++++++++----- .../test_peak_throughput_wpa_40Mhz_2g.py | 89 +++++++++---- .../test_peak_throughput_wpa_40Mhz_5g.py | 67 +++++++--- .../test_peak_throughput_wpa_80Mhz_5g.py | 32 +++-- .../wpa2_personal/test_bridge_mode.py | 12 ++ .../wpa2_personal/test_nat_mode.py | 12 ++ .../wpa2_personal/test_vlan_mode.py | 12 ++ .../test_bridge_mode.py | 16 ++- .../test_nat_mode.py | 16 ++- .../test_vlan_mode.py | 12 ++ .../open_security/test_bridge_mode.py | 6 + .../open_security/test_nat_mode.py | 6 + .../open_security/test_vlan_mode.py | 6 + .../wpa2_security/test_bridge_mode.py | 6 + .../wpa2_security/test_nat_mode.py | 6 + .../wpa2_security/test_vlan_mode.py | 6 + .../wpa3_security/test_bridge_mode.py | 6 + .../wpa3_security/test_nat_mode.py | 6 + .../wpa3_security/test_vlan_mode.py | 6 + .../wpa_security/test_bridge_mode.py | 6 + .../wpa_security/test_nat_mode.py | 6 + .../wpa_security/test_vlan_mode.py | 6 + .../test_strict_forwarding_bridge.py | 12 +- .../wpa2_security/test_multipsk_basic_wpa2.py | 8 +- .../wpa_security/test_multipsk_basic_wpa.py | 8 +- .../rate_limiting/test_rate_limiting.py | 6 +- .../test_rate_limiting_with_radius.py | 8 +- .../max_ssid/test_max_ssid.py | 18 +++ .../wpa2_security/test_multipsk_basic_wpa2.py | 8 +- .../wpa_security/test_multipsk_basic_wpa.py | 8 +- .../rate_limiting/test_rate_limiting.py | 6 +- .../multi_vlan/test_multi_vlan_fiveg.py | 6 +- .../multi_vlan/test_multi_vlan_twog.py | 6 +- .../rate_limiting/test_rate_limiting.py | 6 +- .../test_openroaming_bridge.py | 2 +- .../test_enterprise_ttls.py | 4 +- .../test_general_security_modes.py | 4 +- .../rate_limiting/test_rate_limiting.py | 4 +- .../test_enterprise_ttls.py | 8 +- .../test_general_security_modes.py | 8 +- .../test_enterprise_ttls.py | 3 + .../test_general_security_modes.py | 6 + .../test_enterprise_ttls.py | 4 +- .../test_general_security_modes.py | 4 +- .../rate_limiting/test_rate_limiting.py | 4 +- .../test_enterprise_ttls.py | 8 +- .../test_general_security_modes.py | 8 +- .../test_enterprise_ttls.py | 3 + .../test_general_security_modes.py | 6 + .../test_enterprise_ttls.py | 4 +- .../test_general_security_modes.py | 4 +- .../rate_limiting/test_rate_limiting.py | 4 +- .../test_enterprise_ttls.py | 8 +- .../test_general_security_modes.py | 8 +- .../test_enterprise_ttls.py | 3 + .../test_general_security_modes.py | 6 + tests/e2e/mesh/Mesh/test_mesh_bridge.py | 3 + tests/e2e/mesh/Mesh/test_node_patterns.py | 3 + .../ap_events/test_kafka_ap_events.py | 5 +- tests/test_connectivity.py | 5 +- 160 files changed, 2954 insertions(+), 979 deletions(-) diff --git a/tests/access_point_tests/master_config_tests/test_master_config.py b/tests/access_point_tests/master_config_tests/test_master_config.py index 9210a6450de..080eefdbf1c 100644 --- a/tests/access_point_tests/master_config_tests/test_master_config.py +++ b/tests/access_point_tests/master_config_tests/test_master_config.py @@ -39,6 +39,7 @@ @allure.feature("Master Configurations Test") @allure.parent_suite("Master Configuration") +@allure.suite(suite_name="Master Configurations Test") @allure.sub_suite(sub_suite_name="Test Master Configurations with Various Services") class TestMasterConfig(object): """ diff --git a/tests/controller_tests/ucentral_gateway/test_analyticservice.py b/tests/controller_tests/ucentral_gateway/test_analyticservice.py index 42a02bc2fc2..3f43f803201 100644 --- a/tests/controller_tests/ucentral_gateway/test_analyticservice.py +++ b/tests/controller_tests/ucentral_gateway/test_analyticservice.py @@ -19,6 +19,7 @@ @pytest.mark.ow_analytics_api_tests @allure.parent_suite("OpenWifi SDK Tests") @allure.suite("OpenWifi Analytics Service Tests") +@allure.sub_suite("Ucentral Analytic Service Tests") class TestUcentralAnalyticService(object): boards, clients = [], [] board_id, entity_id = "", "aefb7254-571f-42c3-be51-39a2b1441234" diff --git a/tests/controller_tests/ucentral_gateway/test_fms_service.py b/tests/controller_tests/ucentral_gateway/test_fms_service.py index 29540a0e3dc..9b846cc4a29 100644 --- a/tests/controller_tests/ucentral_gateway/test_fms_service.py +++ b/tests/controller_tests/ucentral_gateway/test_fms_service.py @@ -16,6 +16,7 @@ @pytest.mark.owfms_api_tests @allure.parent_suite("SDK Tests") @allure.suite("FMS Service Tests") +@allure.sub_suite("Ucentral FMS Service Tests") class TestUcentralFMSService(object): @pytest.mark.fms_list_of_firmwares @@ -149,7 +150,8 @@ def test_fms_system_configuration_items(self, get_target_object, get_testbed_det @pytest.mark.firmware_upgrade_downgrade @pytest.mark.ow_regression_lf @allure.parent_suite("Firmware Tests") -@allure.suite("Firmware Upgrade/Downgrade Tests") +@allure.suite("Upgrade/Downgrade Tests") +@allure.sub_suite("Firmware Upgrade/Downgrade Tests") class TestFirmwareUpgradeDowngrade(object): @pytest.mark.upgrade_downgrade_test @allure.title("Firmware Downgrade and Upgrade test") diff --git a/tests/controller_tests/ucentral_gateway/test_gatewayservice.py b/tests/controller_tests/ucentral_gateway/test_gatewayservice.py index 7434cb505ae..a3463fe37ee 100644 --- a/tests/controller_tests/ucentral_gateway/test_gatewayservice.py +++ b/tests/controller_tests/ucentral_gateway/test_gatewayservice.py @@ -23,6 +23,7 @@ @pytest.mark.owgw_api_tests @allure.parent_suite("SDK Tests") @allure.suite("Gateway Service Tests") +@allure.sub_suite("UCentral Gateway Service Tests") class TestUcentralGatewayService(object): """ """ diff --git a/tests/controller_tests/ucentral_gateway/test_securityservice.py b/tests/controller_tests/ucentral_gateway/test_securityservice.py index a3dc9ddb440..9476cf5b1f8 100644 --- a/tests/controller_tests/ucentral_gateway/test_securityservice.py +++ b/tests/controller_tests/ucentral_gateway/test_securityservice.py @@ -16,6 +16,7 @@ @pytest.mark.owsec_api_tests @allure.parent_suite("SDK Tests") @allure.suite("Security Service Tests") +@allure.sub_suite("Ucentral Security Service Tests") class TestUcentralSecService(object): @allure.title("Get System Endpoints") diff --git a/tests/e2e/advanced/multi_station_performance/wpa2_personal/test_bridge_multi_sta_performance.py b/tests/e2e/advanced/multi_station_performance/wpa2_personal/test_bridge_multi_sta_performance.py index 1927f998032..a2b3b9dc22a 100644 --- a/tests/e2e/advanced/multi_station_performance/wpa2_personal/test_bridge_multi_sta_performance.py +++ b/tests/e2e/advanced/multi_station_performance/wpa2_personal/test_bridge_multi_sta_performance.py @@ -34,9 +34,9 @@ @allure.feature("Multi-Station Performance") -@allure.parent_suite("Multi-Station Performance Test") -@allure.suite(suite_name="BRIDGE Mode") -@allure.sub_suite(sub_suite_name="WPA2 Personal") +@allure.parent_suite("Multi Station Performance Test") +@allure.suite(suite_name="WPA2 Personal Security") +@allure.sub_suite(sub_suite_name="Bridge Mode") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], @@ -103,3 +103,4 @@ def test_multistaperf_ax_bridge(self, get_test_library, setup_configuration, che assert True else: assert False, description + diff --git a/tests/e2e/advanced/rate_vs_range/wpa2_personal/test_bridge_mode.py b/tests/e2e/advanced/rate_vs_range/wpa2_personal/test_bridge_mode.py index 541ae51c51a..bfb7065b1d4 100644 --- a/tests/e2e/advanced/rate_vs_range/wpa2_personal/test_bridge_mode.py +++ b/tests/e2e/advanced/rate_vs_range/wpa2_personal/test_bridge_mode.py @@ -12,6 +12,7 @@ pytestmark = [pytest.mark.advance, pytest.mark.rate_vs_range, pytest.mark.bridge] + setup_params_general = { "mode": "BRIDGE", "ssid_modes": { @@ -37,11 +38,10 @@ "radius": False } - -@allure.feature("RATE VS RANGE") -@allure.parent_suite("Rate vs Range Test") -@allure.suite(suite_name="BRIDGE Mode") -@allure.sub_suite(sub_suite_name="WPA2 Personal") +@allure.feature("Rate v/s Range") +@allure.parent_suite("Rate v/s Range Test") +@allure.suite(suite_name="WPA2 Personal Security") +@allure.sub_suite(sub_suite_name="Bridge Mode") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], diff --git a/tests/e2e/advanced/roam_test/hard_roam/OTA/test_roam_ota.py b/tests/e2e/advanced/roam_test/hard_roam/OTA/test_roam_ota.py index 7db32ac1c9d..8355d78ad41 100644 --- a/tests/e2e/advanced/roam_test/hard_roam/OTA/test_roam_ota.py +++ b/tests/e2e/advanced/roam_test/hard_roam/OTA/test_roam_ota.py @@ -20,8 +20,11 @@ "rf": {}, "radius": False } -@allure.suite("Hard Roam over the air") + @allure.feature("Roam Test") +@allure.parent_suite("Roam Test") +@allure.suite("Hard Roam over the air") +@allure.sub_suite("Roam OTA Tests") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], @@ -29,8 +32,6 @@ scope="class" ) @pytest.mark.usefixtures("setup_configuration") - - class TestRoamOTA(object): @pytest.mark.hard_roam_5g_ota diff --git a/tests/e2e/advanced/spatial_consistency/wpa2_personal/test_bridge_mode.py b/tests/e2e/advanced/spatial_consistency/wpa2_personal/test_bridge_mode.py index 655dc104df5..1d15bf4e764 100644 --- a/tests/e2e/advanced/spatial_consistency/wpa2_personal/test_bridge_mode.py +++ b/tests/e2e/advanced/spatial_consistency/wpa2_personal/test_bridge_mode.py @@ -35,10 +35,11 @@ } +@allure.feature("Spatial Consistency") @allure.feature("Spatial Consistency") @allure.parent_suite("Spatial Consistency Test") -@allure.suite(suite_name="BRIDGE Mode") -@allure.sub_suite(sub_suite_name="WPA2 Personal") +@allure.suite(suite_name="WPA2 Personal Security") +@allure.sub_suite(sub_suite_name="Bridge Mode") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], diff --git a/tests/e2e/basic/advanced_captive_portal_tests/open/test_click_to_continue_bridge.py b/tests/e2e/basic/advanced_captive_portal_tests/open/test_click_to_continue_bridge.py index c80e14b3e52..eb467dea23e 100644 --- a/tests/e2e/basic/advanced_captive_portal_tests/open/test_click_to_continue_bridge.py +++ b/tests/e2e/basic/advanced_captive_portal_tests/open/test_click_to_continue_bridge.py @@ -32,7 +32,7 @@ @allure.feature("Advanced Captive Portal Test") @allure.parent_suite("Advanced Captive Portal Tests") -@allure.suite(suite_name="BRIDGE Mode") +@allure.suite(suite_name="Bridge Mode") @allure.sub_suite(sub_suite_name="Click-to-continue mode") @pytest.mark.parametrize( 'setup_configuration', diff --git a/tests/e2e/basic/advanced_captive_portal_tests/wpa2_personal/test_local_user_and_pass_bridge.py b/tests/e2e/basic/advanced_captive_portal_tests/wpa2_personal/test_local_user_and_pass_bridge.py index 27b1d7faa11..eba25fb1799 100644 --- a/tests/e2e/basic/advanced_captive_portal_tests/wpa2_personal/test_local_user_and_pass_bridge.py +++ b/tests/e2e/basic/advanced_captive_portal_tests/wpa2_personal/test_local_user_and_pass_bridge.py @@ -38,7 +38,7 @@ @allure.feature("Advanced Captive Portal Test") @allure.parent_suite("Advanced Captive Portal Tests") -@allure.suite(suite_name="BRIDGE Mode") +@allure.suite(suite_name="Bridge Mode") @allure.sub_suite(sub_suite_name="Local user/pass mode") @pytest.mark.parametrize( 'setup_configuration', diff --git a/tests/e2e/basic/advanced_captive_portal_tests/wpa2_personal/test_radius_user_and_pass_bridge.py b/tests/e2e/basic/advanced_captive_portal_tests/wpa2_personal/test_radius_user_and_pass_bridge.py index 22b00960ec1..273fd01ff18 100644 --- a/tests/e2e/basic/advanced_captive_portal_tests/wpa2_personal/test_radius_user_and_pass_bridge.py +++ b/tests/e2e/basic/advanced_captive_portal_tests/wpa2_personal/test_radius_user_and_pass_bridge.py @@ -35,7 +35,7 @@ @allure.feature("Advanced Captive Portal Test") @allure.parent_suite("Advanced Captive Portal Tests") -@allure.suite(suite_name="BRIDGE Mode") +@allure.suite(suite_name="Bridge Mode") @allure.sub_suite(sub_suite_name="Radius user/pass mode") @pytest.mark.parametrize( 'setup_configuration', diff --git a/tests/e2e/basic/configuration_tests/bridge_mode/test_enterprise_security_modes_configuration.py b/tests/e2e/basic/configuration_tests/bridge_mode/test_enterprise_security_modes_configuration.py index 376f728e2fa..6bc707ebd13 100644 --- a/tests/e2e/basic/configuration_tests/bridge_mode/test_enterprise_security_modes_configuration.py +++ b/tests/e2e/basic/configuration_tests/bridge_mode/test_enterprise_security_modes_configuration.py @@ -31,6 +31,9 @@ @pytest.mark.suiteA @allure.feature("BRIDGE MODE ENTERPRISE SETUP") +@allure.parent_suite("Configuration Tests") +@allure.suite("Bridge Mode") +@allure.sub_suite("Enterprise Security Mode : Suite-A") @pytest.mark.parametrize( 'setup_configuration', [setup_params_enterprise], @@ -119,6 +122,9 @@ def test_verify_vif_state(self, setup_configuration, update_report, @pytest.mark.suiteB @allure.feature("BRIDGE MODE ENTERPRISE SETUP") +@allure.parent_suite("Configuration Tests") +@allure.suite("Bridge Mode") +@allure.sub_suite("Enterprise Security Mode : Suite-B") @pytest.mark.parametrize( 'setup_configuration', [setup_params_enterprise_two], diff --git a/tests/e2e/basic/configuration_tests/bridge_mode/test_general_security_modes_configuration.py b/tests/e2e/basic/configuration_tests/bridge_mode/test_general_security_modes_configuration.py index ba3c8a87b58..c064cb01193 100644 --- a/tests/e2e/basic/configuration_tests/bridge_mode/test_general_security_modes_configuration.py +++ b/tests/e2e/basic/configuration_tests/bridge_mode/test_general_security_modes_configuration.py @@ -31,6 +31,9 @@ @pytest.mark.suiteA @allure.feature("BRIDGE MODE SETUP") +@allure.parent_suite("Configuration Tests") +@allure.suite("Bridge Mode") +@allure.sub_suite("General Security Mode : Suite-A") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], @@ -141,6 +144,9 @@ def test_verify_vif_state(self, setup_configuration, update_report, @pytest.mark.suiteB @allure.feature("BRIDGE MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Configuration Tests") +@allure.suite("Bridge Mode") +@allure.sub_suite("General Security Mode : Suite-B") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_two], diff --git a/tests/e2e/basic/configuration_tests/nat_mode/test_enterprise_security_modes_configuration.py b/tests/e2e/basic/configuration_tests/nat_mode/test_enterprise_security_modes_configuration.py index c6ce0e53cd6..55a132a151b 100644 --- a/tests/e2e/basic/configuration_tests/nat_mode/test_enterprise_security_modes_configuration.py +++ b/tests/e2e/basic/configuration_tests/nat_mode/test_enterprise_security_modes_configuration.py @@ -31,6 +31,9 @@ @pytest.mark.suiteA @allure.feature("NAT MODE ENTERPRISE SETUP") +@allure.parent_suite("Configuration Tests") +@allure.suite("NAT Mode") +@allure.sub_suite("Enterprise Security Mode : Suite-A") @pytest.mark.parametrize( 'setup_configuration', [setup_params_enterprise], @@ -119,6 +122,9 @@ def test_verify_vif_state(self, setup_configuration, update_report, @pytest.mark.suiteB @allure.feature("NAT MODE ENTERPRISE SETUP") +@allure.parent_suite("Configuration Tests") +@allure.suite("NAT Mode") +@allure.sub_suite("Enterprise Security Mode : Suite-B") @pytest.mark.parametrize( 'setup_configuration', [setup_params_enterprise_two], diff --git a/tests/e2e/basic/configuration_tests/nat_mode/test_general_security_modes_configuration.py b/tests/e2e/basic/configuration_tests/nat_mode/test_general_security_modes_configuration.py index f758a55cb9e..7f4283b8319 100644 --- a/tests/e2e/basic/configuration_tests/nat_mode/test_general_security_modes_configuration.py +++ b/tests/e2e/basic/configuration_tests/nat_mode/test_general_security_modes_configuration.py @@ -31,6 +31,9 @@ @pytest.mark.suiteA @allure.feature("NAT MODE SETUP") +@allure.parent_suite("Configuration Tests") +@allure.suite("NAT Mode") +@allure.sub_suite("General Security Mode : Suite-A") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], @@ -154,6 +157,9 @@ def test_verify_vif_state(self, setup_configuration, update_report, @pytest.mark.suiteB @allure.feature("NAT MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Configuration Tests") +@allure.suite("NAT Mode") +@allure.sub_suite("General Security Mode : Suite-B") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_two], diff --git a/tests/e2e/basic/configuration_tests/vlan_mode/test_enterprise_security_modes_configuration.py b/tests/e2e/basic/configuration_tests/vlan_mode/test_enterprise_security_modes_configuration.py index 379bbbb040f..ecd1a93296a 100644 --- a/tests/e2e/basic/configuration_tests/vlan_mode/test_enterprise_security_modes_configuration.py +++ b/tests/e2e/basic/configuration_tests/vlan_mode/test_enterprise_security_modes_configuration.py @@ -31,6 +31,9 @@ @pytest.mark.suiteA @allure.feature("VLAN MODE ENTERPRISE SETUP") +@allure.parent_suite("Configuration Tests") +@allure.suite("VLAN Mode") +@allure.sub_suite("Enterprise Security Mode : Suite-A") @pytest.mark.parametrize( 'setup_configuration', [setup_params_enterprise], @@ -121,6 +124,9 @@ def test_verify_vif_state(self, setup_configuration, update_report, @pytest.mark.suiteB @allure.feature("VLAN MODE ENTERPRISE SETUP") +@allure.parent_suite("Configuration Tests") +@allure.suite("VLAN Mode") +@allure.sub_suite("Enterprise Security Mode : Suite-B") @pytest.mark.parametrize( 'setup_configuration', [setup_params_enterprise_two], diff --git a/tests/e2e/basic/configuration_tests/vlan_mode/test_general_security_modes_configuration.py b/tests/e2e/basic/configuration_tests/vlan_mode/test_general_security_modes_configuration.py index cae2eaab7fb..785cf6dfed5 100644 --- a/tests/e2e/basic/configuration_tests/vlan_mode/test_general_security_modes_configuration.py +++ b/tests/e2e/basic/configuration_tests/vlan_mode/test_general_security_modes_configuration.py @@ -31,6 +31,9 @@ @pytest.mark.suiteA @allure.feature("VLAN MODE SETUP") +@allure.parent_suite("Configuration Tests") +@allure.suite("VLAN Mode") +@allure.sub_suite("General Security Mode : Suite-A") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], @@ -142,6 +145,9 @@ def test_verify_vif_state(self, setup_configuration, update_report, @pytest.mark.suiteB @allure.feature("VLAN MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Configuration Tests") +@allure.suite("VLAN Mode") +@allure.sub_suite("General Security Mode : Suite-B") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_two], diff --git a/tests/e2e/basic/dfs_test/wpa2_personal/dfs_20MHz/test_dfs_20_bridge.py b/tests/e2e/basic/dfs_test/wpa2_personal/dfs_20MHz/test_dfs_20_bridge.py index 4092baf8e22..f81de4282f6 100644 --- a/tests/e2e/basic/dfs_test/wpa2_personal/dfs_20MHz/test_dfs_20_bridge.py +++ b/tests/e2e/basic/dfs_test/wpa2_personal/dfs_20MHz/test_dfs_20_bridge.py @@ -37,7 +37,7 @@ ) @allure.feature("DFS Test") @allure.parent_suite("DFS Test") -@allure.suite("BRIDGE Mode(20 MHz)") +@allure.suite("Bridge Mode(20 MHz)") @allure.sub_suite("Channel-52") @pytest.mark.usefixtures("setup_configuration") class TestDFSChannel52Bw20(object): @@ -93,7 +93,7 @@ def test_dfs_channel_52_bw_20(self, get_test_library, get_dut_logs_per_test_case @pytest.mark.usefixtures("setup_configuration") @allure.feature("DFS Test") @allure.parent_suite("DFS Test") -@allure.suite("BRIDGE Mode(20 MHz)") +@allure.suite("Bridge Mode(20 MHz)") @allure.sub_suite("Channel-100") class TestDFSChannel100Bw20(object): @@ -147,7 +147,7 @@ def test_dfs_channel_100_bw_20(self, get_test_library, get_dut_logs_per_test_cas @pytest.mark.usefixtures("setup_configuration") @allure.feature("DFS Test") @allure.parent_suite("DFS Test") -@allure.suite("BRIDGE Mode(20 MHz)") +@allure.suite("Bridge Mode(20 MHz)") @allure.sub_suite("Channel-104") class TestDFSChannel104Bw20(object): @@ -202,7 +202,7 @@ def test_dfs_channel_104_bw_20(self, get_test_library, get_dut_logs_per_test_cas @pytest.mark.usefixtures("setup_configuration") @allure.feature("DFS Test") @allure.parent_suite("DFS Test") -@allure.suite("BRIDGE Mode(20 MHz)") +@allure.suite("Bridge Mode(20 MHz)") @allure.sub_suite("Channel-56") class TestDFSChannel56Bw20(object): @@ -256,7 +256,7 @@ def test_dfs_channel_56_bw_20(self, get_test_library, get_dut_logs_per_test_case @pytest.mark.usefixtures("setup_configuration") @allure.feature("DFS Test") @allure.parent_suite("DFS Test") -@allure.suite("BRIDGE Mode(20 MHz)") +@allure.suite("Bridge Mode(20 MHz)") @allure.sub_suite("Channel-60") class TestDFSChannel60Bw20(object): @@ -310,7 +310,7 @@ def test_dfs_channel_60_bw_20(self, get_test_library, get_dut_logs_per_test_case @pytest.mark.usefixtures("setup_configuration") @allure.feature("DFS Test") @allure.parent_suite("DFS Test") -@allure.suite("BRIDGE Mode(20 MHz)") +@allure.suite("Bridge Mode(20 MHz)") @allure.sub_suite("Channel-64") class TestDFSChannel64Bw20(object): @@ -364,7 +364,7 @@ def test_dfs_channel_64_bw_20(self, get_test_library, get_dut_logs_per_test_case @pytest.mark.usefixtures("setup_configuration") @allure.feature("DFS Test") @allure.parent_suite("DFS Test") -@allure.suite("BRIDGE Mode(20 MHz)") +@allure.suite("Bridge Mode(20 MHz)") @allure.sub_suite("Channel-108") class TestDFSChannel108Bw20(object): @@ -418,7 +418,7 @@ def test_dfs_channel_108_bw_20(self, get_test_library, get_dut_logs_per_test_cas @pytest.mark.usefixtures("setup_configuration") @allure.feature("DFS Test") @allure.parent_suite("DFS Test") -@allure.suite("BRIDGE Mode(20 MHz)") +@allure.suite("Bridge Mode(20 MHz)") @allure.sub_suite("Channel-112") class TestDFSChannel112Bw20(object): @@ -472,7 +472,7 @@ def test_dfs_channel_112_bw_20(self, get_test_library, get_dut_logs_per_test_cas @pytest.mark.usefixtures("setup_configuration") @allure.feature("DFS Test") @allure.parent_suite("DFS Test") -@allure.suite("BRIDGE Mode(20 MHz)") +@allure.suite("Bridge Mode(20 MHz)") @allure.sub_suite("Channel-132") class TestDFSChannel132Bw20(object): @@ -526,7 +526,7 @@ def test_dfs_channel_132_bw_20(self, get_test_library, get_dut_logs_per_test_cas @pytest.mark.usefixtures("setup_configuration") @allure.feature("DFS Test") @allure.parent_suite("DFS Test") -@allure.suite("BRIDGE Mode(20 MHz)") +@allure.suite("Bridge Mode(20 MHz)") @allure.sub_suite("Channel-136") class TestDFSChannel136Bw20(object): @@ -580,7 +580,7 @@ def test_dfs_channel_136_bw_20(self, get_test_library, get_dut_logs_per_test_cas @pytest.mark.usefixtures("setup_configuration") @allure.feature("DFS Test") @allure.parent_suite("DFS Test") -@allure.suite("BRIDGE Mode(20 MHz)") +@allure.suite("Bridge Mode(20 MHz)") @allure.sub_suite("Channel-140") class TestDFSChannel140Bw20(object): @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6483", name="WIFI-6483") @@ -633,7 +633,7 @@ def test_dfs_channel_140_bw_20(self, get_test_library, get_dut_logs_per_test_cas @pytest.mark.usefixtures("setup_configuration") @allure.feature("DFS Test") @allure.parent_suite("DFS Test") -@allure.suite("BRIDGE Mode(20 MHz)") +@allure.suite("Bridge Mode(20 MHz)") @allure.sub_suite("Channel-144") class TestDFSChannel144Bw20(object): @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6484", name="WIFI-6484") diff --git a/tests/e2e/basic/dfs_test/wpa2_personal/dfs_40MHz/test_dfs_40_bridge.py b/tests/e2e/basic/dfs_test/wpa2_personal/dfs_40MHz/test_dfs_40_bridge.py index 8aad17f056f..c1fc00f4f8c 100644 --- a/tests/e2e/basic/dfs_test/wpa2_personal/dfs_40MHz/test_dfs_40_bridge.py +++ b/tests/e2e/basic/dfs_test/wpa2_personal/dfs_40MHz/test_dfs_40_bridge.py @@ -38,7 +38,7 @@ @pytest.mark.usefixtures("setup_configuration") @allure.feature("DFS Test") @allure.parent_suite("DFS Test") -@allure.suite("BRIDGE Mode(40 MHz)") +@allure.suite("Bridge Mode(40 MHz)") @allure.sub_suite("Channel-52") class TestDFSChannel52Bw40(object): @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6209", name="WIFI-6209") @@ -91,7 +91,7 @@ def test_dfs_channel_52_bw_40(self, get_test_library, get_dut_logs_per_test_case @pytest.mark.usefixtures("setup_configuration") @allure.feature("DFS Test") @allure.parent_suite("DFS Test") -@allure.suite("BRIDGE Mode(40 MHz)") +@allure.suite("Bridge Mode(40 MHz)") @allure.sub_suite("Channel-100") class TestDFSChannel100Bw40(object): @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6310", name="WIFI-6310") @@ -145,7 +145,7 @@ def test_dfs_channel_100_bw_40(self, get_test_library, get_dut_logs_per_test_cas @pytest.mark.usefixtures("setup_configuration") @allure.feature("DFS Test") @allure.parent_suite("DFS Test") -@allure.suite("BRIDGE Mode(40 MHz)") +@allure.suite("Bridge Mode(40 MHz)") @allure.sub_suite("Channel-60") class TestDFSChannel60Bw40(object): @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6315", name="WIFI-6315") @@ -198,7 +198,7 @@ def test_dfs_channel_60_bw_40(self, get_test_library, get_dut_logs_per_test_case @pytest.mark.usefixtures("setup_configuration") @allure.feature("DFS Test") @allure.parent_suite("DFS Test") -@allure.suite("BRIDGE Mode(40 MHz)") +@allure.suite("Bridge Mode(40 MHz)") @allure.sub_suite("Channel-108") class TestDFSChannel108Bw40(object): @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6317", name="WIFI-6317") @@ -252,7 +252,7 @@ def test_dfs_channel_108_bw_40(self, get_test_library, get_dut_logs_per_test_cas @pytest.mark.usefixtures("setup_configuration") @allure.feature("DFS Test") @allure.parent_suite("DFS Test") -@allure.suite("BRIDGE Mode(40 MHz)") +@allure.suite("Bridge Mode(40 MHz)") @allure.sub_suite("Channel-132") class TestDFSChannel132Bw40(object): @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6321", name="WIFI-6321") diff --git a/tests/e2e/basic/dfs_test/wpa2_personal/dfs_80MHz/test_dfs_80_bridge.py b/tests/e2e/basic/dfs_test/wpa2_personal/dfs_80MHz/test_dfs_80_bridge.py index 5ec675e16dc..bc4f9caa2c6 100644 --- a/tests/e2e/basic/dfs_test/wpa2_personal/dfs_80MHz/test_dfs_80_bridge.py +++ b/tests/e2e/basic/dfs_test/wpa2_personal/dfs_80MHz/test_dfs_80_bridge.py @@ -39,7 +39,7 @@ @pytest.mark.usefixtures("setup_configuration") @allure.feature("DFS Test") @allure.parent_suite("DFS Test") -@allure.suite("BRIDGE Mode(80 MHz)") +@allure.suite("Bridge Mode(80 MHz)") @allure.sub_suite("Channel-52") class TestDFSChannel52Bw80(object): @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6376", name="WIFI-6376") @@ -96,7 +96,7 @@ def test_dfs_channel_52_bw_80(self, get_test_library, get_dut_logs_per_test_case @pytest.mark.usefixtures("setup_configuration") @allure.feature("DFS Test") @allure.parent_suite("DFS Test") -@allure.suite("BRIDGE Mode(80 MHz)") +@allure.suite("Bridge Mode(80 MHz)") @allure.sub_suite("Channel-100") class TestDFSChannel100Bw80(object): @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6311", name="WIFI-6311") @@ -153,7 +153,7 @@ def test_dfs_channel_100_bw_80(self, get_test_library, get_dut_logs_per_test_cas @pytest.mark.usefixtures("setup_configuration") @allure.feature("DFS Test") @allure.parent_suite("DFS Test") -@allure.suite("BRIDGE Mode(80 MHz)") +@allure.suite("Bridge Mode(80 MHz)") @allure.sub_suite("Channel-132") class TestDFSChannel132Bw80(object): @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6384", name="WIFI-6384") diff --git a/tests/e2e/basic/endurance_test/bridge_mode/test_ap_stability.py b/tests/e2e/basic/endurance_test/bridge_mode/test_ap_stability.py index 1ad2f5c6634..366149fd5b1 100644 --- a/tests/e2e/basic/endurance_test/bridge_mode/test_ap_stability.py +++ b/tests/e2e/basic/endurance_test/bridge_mode/test_ap_stability.py @@ -23,6 +23,9 @@ } +@allure.parent_suite("Endurance Tests") +@allure.suite("AP Stability Tests") +@allure.sub_suite("Bridge Mode") @pytest.mark.regression @pytest.mark.wifi5 @pytest.mark.wifi6 diff --git a/tests/e2e/basic/multi_ssid_tests/bridge_mode/test_multi_ssid.py b/tests/e2e/basic/multi_ssid_tests/bridge_mode/test_multi_ssid.py index d8478cb7dae..9e2570b3f29 100644 --- a/tests/e2e/basic/multi_ssid_tests/bridge_mode/test_multi_ssid.py +++ b/tests/e2e/basic/multi_ssid_tests/bridge_mode/test_multi_ssid.py @@ -31,9 +31,9 @@ scope="class" ) @pytest.mark.usefixtures("setup_configuration") -@allure.feature("Multi SSID Test") -@allure.parent_suite("MULTI SSID") -@allure.suite(suite_name="BRIDGE MODE") +@allure.feature("Multi SSID") +@allure.parent_suite("Multi SSID Test") +@allure.suite(suite_name="Bridge Mode") @allure.sub_suite(sub_suite_name="Test Data Path for 1 SSID") class TestMultiSsidDataPath1(object): """ @@ -161,9 +161,9 @@ def test_one_ssid(self, get_test_library, get_dut_logs_per_test_case, scope="class" ) @pytest.mark.usefixtures("setup_configuration") -@allure.feature("Multi SSID Test") -@allure.parent_suite("MULTI SSID") -@allure.suite(suite_name="BRIDGE MODE") +@allure.feature("Multi SSID") +@allure.parent_suite("Multi SSID Test") +@allure.suite(suite_name="Bridge Mode") @allure.sub_suite(sub_suite_name="Test Data Path for 2 SSID's") class TestMultiSsidDataPath2(object): """ @@ -288,9 +288,9 @@ def test_two_ssids(self, get_test_library, get_dut_logs_per_test_case, scope="class" ) @pytest.mark.usefixtures("setup_configuration") -@allure.feature("Multi SSID Test") -@allure.parent_suite("MULTI SSID") -@allure.suite(suite_name="BRIDGE MODE") +@allure.feature("Multi SSID") +@allure.parent_suite("Multi SSID Test") +@allure.suite(suite_name="Bridge Mode") @allure.sub_suite(sub_suite_name="Test Data Path for 3 SSID's") class TestMultiSsidDataPath3(object): @@ -412,9 +412,9 @@ def test_three_ssids(self, get_test_library, get_dut_logs_per_test_case, scope="class" ) @pytest.mark.usefixtures("setup_configuration") -@allure.feature("Multi SSID Test") -@allure.parent_suite("MULTI SSID") -@allure.suite(suite_name="BRIDGE MODE") +@allure.feature("Multi SSID") +@allure.parent_suite("Multi SSID Test") +@allure.suite(suite_name="Bridge Mode") @allure.sub_suite(sub_suite_name="Test Data Path for 4 SSID's") class TestMultiSsidDataPath4(object): @@ -537,9 +537,9 @@ def test_four_ssids(self, get_test_library, get_dut_logs_per_test_case, scope="class" ) @pytest.mark.usefixtures("setup_configuration") -@allure.feature("Multi SSID Test") -@allure.parent_suite("MULTI SSID") -@allure.suite(suite_name="BRIDGE MODE") +@allure.feature("Multi SSID") +@allure.parent_suite("Multi SSID Test") +@allure.suite(suite_name="Bridge Mode") @allure.sub_suite(sub_suite_name="Test Data Path for 5 SSID's") class TestMultiSsidDataPath5(object): @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-12227", name="WIFI-12229") @@ -662,9 +662,9 @@ def test_five_ssids(self, get_test_library, get_dut_logs_per_test_case, scope="class" ) @pytest.mark.usefixtures("setup_configuration") -@allure.feature("Multi SSID Test") -@allure.parent_suite("MULTI SSID") -@allure.suite(suite_name="BRIDGE MODE") +@allure.feature("Multi SSID") +@allure.parent_suite("Multi SSID Test") +@allure.suite(suite_name="Bridge Mode") @allure.sub_suite(sub_suite_name="Test Data Path for 6 SSID's") class TestMultiSsidDataPath6(object): @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-12227", name="WIFI-12229") @@ -788,9 +788,9 @@ def test_six_ssids(self, get_test_library, get_dut_logs_per_test_case, scope="class" ) @pytest.mark.usefixtures("setup_configuration") -@allure.feature("Multi SSID Test") -@allure.parent_suite("MULTI SSID") -@allure.suite(suite_name="BRIDGE MODE") +@allure.feature("Multi SSID") +@allure.parent_suite("Multi SSID Test") +@allure.suite(suite_name="Bridge Mode") @allure.sub_suite(sub_suite_name="Test Data Path for 7 SSID's") class TestMultiSsidDataPath7(object): @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-12227", name="WIFI-12229") @@ -915,9 +915,9 @@ def test_seven_ssids(self, get_test_library, get_dut_logs_per_test_case, scope="class" ) @pytest.mark.usefixtures("setup_configuration") -@allure.feature("Multi SSID Test") -@allure.parent_suite("MULTI SSID") -@allure.suite(suite_name="BRIDGE MODE") +@allure.feature("Multi SSID") +@allure.parent_suite("Multi SSID Test") +@allure.suite(suite_name="Bridge Mode") @allure.sub_suite(sub_suite_name="Test Data Path for 8 SSID's") class TestMultiSsidDataPath8(object): @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-12227", name="WIFI-12229") diff --git a/tests/e2e/basic/performance_tests/client_scale_test/wpa_personal/test_bridge_mode.py b/tests/e2e/basic/performance_tests/client_scale_test/wpa_personal/test_bridge_mode.py index 1dbc95e0046..8894115ac86 100644 --- a/tests/e2e/basic/performance_tests/client_scale_test/wpa_personal/test_bridge_mode.py +++ b/tests/e2e/basic/performance_tests/client_scale_test/wpa_personal/test_bridge_mode.py @@ -172,7 +172,7 @@ def test_client_wpa_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_ @allure.feature("Client Scale Tests") @allure.parent_suite("Client Scale Tests") -@allure.suite(suite_name="wpa Personal Security") +@allure.suite(suite_name="WPA Personal Security") @allure.sub_suite(sub_suite_name="BRIDGE Mode") @pytest.mark.parametrize( 'setup_configuration', diff --git a/tests/e2e/basic/performance_tests/dual_band_performance_test/open/test_bridge_mode.py b/tests/e2e/basic/performance_tests/dual_band_performance_test/open/test_bridge_mode.py index 253eb89eeb2..99bb08bec64 100644 --- a/tests/e2e/basic/performance_tests/dual_band_performance_test/open/test_bridge_mode.py +++ b/tests/e2e/basic/performance_tests/dual_band_performance_test/open/test_bridge_mode.py @@ -31,7 +31,7 @@ scope="class" ) @allure.parent_suite("Dual Band Tests") -@allure.suite("Dual Band Tests: Bridge mode") +@allure.suite("Bridge Mode") @allure.sub_suite("Open security") @allure.feature("Dual band performance test") @pytest.mark.usefixtures("setup_configuration") diff --git a/tests/e2e/basic/performance_tests/dual_band_performance_test/open/test_nat_mode.py b/tests/e2e/basic/performance_tests/dual_band_performance_test/open/test_nat_mode.py index 67b39cf8b05..b7052253815 100644 --- a/tests/e2e/basic/performance_tests/dual_band_performance_test/open/test_nat_mode.py +++ b/tests/e2e/basic/performance_tests/dual_band_performance_test/open/test_nat_mode.py @@ -31,7 +31,7 @@ scope="class" ) @allure.parent_suite("Dual Band Tests") -@allure.suite("Dual Band Tests: NAT mode") +@allure.suite("NAT Mode") @allure.sub_suite("Open security") @allure.feature("Dual band performance test") @pytest.mark.usefixtures("setup_configuration") diff --git a/tests/e2e/basic/performance_tests/dual_band_performance_test/open/test_vlan_mode.py b/tests/e2e/basic/performance_tests/dual_band_performance_test/open/test_vlan_mode.py index 44c9e12479e..4f32295e7b9 100644 --- a/tests/e2e/basic/performance_tests/dual_band_performance_test/open/test_vlan_mode.py +++ b/tests/e2e/basic/performance_tests/dual_band_performance_test/open/test_vlan_mode.py @@ -32,7 +32,7 @@ scope="class" ) @allure.parent_suite("Dual Band Tests") -@allure.suite("Dual Band Tests: VLAN mode") +@allure.suite("VLAN Mode") @allure.sub_suite("Open security") @allure.feature("Dual band performance test") @pytest.mark.usefixtures("setup_configuration") diff --git a/tests/e2e/basic/performance_tests/dual_band_performance_test/wap3_personal/test_bridge_mode.py b/tests/e2e/basic/performance_tests/dual_band_performance_test/wap3_personal/test_bridge_mode.py index 60695c8bf64..ff3c9e19b5c 100644 --- a/tests/e2e/basic/performance_tests/dual_band_performance_test/wap3_personal/test_bridge_mode.py +++ b/tests/e2e/basic/performance_tests/dual_band_performance_test/wap3_personal/test_bridge_mode.py @@ -32,7 +32,7 @@ scope="class" ) @allure.parent_suite("Dual Band Tests") -@allure.suite("Dual Band Tests: Bridge mode") +@allure.suite("Bridge Mode") @allure.sub_suite("wpa3_personal security") @allure.feature("Dual band performance test") @pytest.mark.usefixtures("setup_configuration") diff --git a/tests/e2e/basic/performance_tests/dual_band_performance_test/wap3_personal/test_nat_mode.py b/tests/e2e/basic/performance_tests/dual_band_performance_test/wap3_personal/test_nat_mode.py index c573af5cd5d..2a653df1d42 100644 --- a/tests/e2e/basic/performance_tests/dual_band_performance_test/wap3_personal/test_nat_mode.py +++ b/tests/e2e/basic/performance_tests/dual_band_performance_test/wap3_personal/test_nat_mode.py @@ -31,7 +31,7 @@ scope="class" ) @allure.parent_suite("Dual Band Tests") -@allure.suite("Dual Band Tests: NAT mode") +@allure.suite("NAT Mode") @allure.sub_suite("wpa3_personal security") @allure.feature("Dual band performance test") @pytest.mark.usefixtures("setup_configuration") diff --git a/tests/e2e/basic/performance_tests/dual_band_performance_test/wap3_personal/test_vlan_mode.py b/tests/e2e/basic/performance_tests/dual_band_performance_test/wap3_personal/test_vlan_mode.py index 1313b1540e6..668eebcd165 100644 --- a/tests/e2e/basic/performance_tests/dual_band_performance_test/wap3_personal/test_vlan_mode.py +++ b/tests/e2e/basic/performance_tests/dual_band_performance_test/wap3_personal/test_vlan_mode.py @@ -32,7 +32,7 @@ scope="class" ) @allure.parent_suite("Dual Band Tests") -@allure.suite("Dual Band Tests: VLAN mode") +@allure.suite("VLAN Mode") @allure.sub_suite("wpa3_personal security") @allure.feature("Dual band performance test") @pytest.mark.usefixtures("setup_configuration") diff --git a/tests/e2e/basic/performance_tests/dual_band_performance_test/wpa2_personal/test_bridge_mode.py b/tests/e2e/basic/performance_tests/dual_band_performance_test/wpa2_personal/test_bridge_mode.py index c68f0c8876e..7ed2f14e3ea 100644 --- a/tests/e2e/basic/performance_tests/dual_band_performance_test/wpa2_personal/test_bridge_mode.py +++ b/tests/e2e/basic/performance_tests/dual_band_performance_test/wpa2_personal/test_bridge_mode.py @@ -32,7 +32,7 @@ scope="class" ) @allure.parent_suite("Dual Band Tests") -@allure.suite("Dual Band Tests: Bridge mode") +@allure.suite("Bridge Mode") @allure.sub_suite("wpa2_personal security") @allure.feature("Dual band performance test") @pytest.mark.usefixtures("setup_configuration") diff --git a/tests/e2e/basic/performance_tests/dual_band_performance_test/wpa2_personal/test_nat_mode.py b/tests/e2e/basic/performance_tests/dual_band_performance_test/wpa2_personal/test_nat_mode.py index 9080e5c0ff7..153465690cc 100644 --- a/tests/e2e/basic/performance_tests/dual_band_performance_test/wpa2_personal/test_nat_mode.py +++ b/tests/e2e/basic/performance_tests/dual_band_performance_test/wpa2_personal/test_nat_mode.py @@ -32,7 +32,7 @@ scope="class" ) @allure.parent_suite("Dual Band Tests") -@allure.suite("Dual Band Tests: NAT mode") +@allure.suite("NAT Mode") @allure.sub_suite("wpa2_personal security") @allure.feature("Dual band performance test") @pytest.mark.usefixtures("setup_configuration") diff --git a/tests/e2e/basic/performance_tests/dual_band_performance_test/wpa2_personal/test_vlan_mode.py b/tests/e2e/basic/performance_tests/dual_band_performance_test/wpa2_personal/test_vlan_mode.py index 40b1eb8a47d..e768969d85f 100644 --- a/tests/e2e/basic/performance_tests/dual_band_performance_test/wpa2_personal/test_vlan_mode.py +++ b/tests/e2e/basic/performance_tests/dual_band_performance_test/wpa2_personal/test_vlan_mode.py @@ -32,7 +32,7 @@ scope="class" ) @allure.parent_suite("Dual Band Tests") -@allure.suite("Dual Band Tests: VLAN mode") +@allure.suite("VLAN Mode") @allure.sub_suite("wpa2_personal security") @allure.feature("Dual band performance test") @pytest.mark.usefixtures("setup_configuration") diff --git a/tests/e2e/basic/performance_tests/dual_band_performance_test/wpa_personal/test_bridge_mode.py b/tests/e2e/basic/performance_tests/dual_band_performance_test/wpa_personal/test_bridge_mode.py index a19bd6f0247..de2c16fc51c 100644 --- a/tests/e2e/basic/performance_tests/dual_band_performance_test/wpa_personal/test_bridge_mode.py +++ b/tests/e2e/basic/performance_tests/dual_band_performance_test/wpa_personal/test_bridge_mode.py @@ -33,7 +33,7 @@ scope="class" ) @allure.parent_suite("Dual Band Tests") -@allure.suite("Dual Band Tests: Bridge mode") +@allure.suite("Bridge Mode") @allure.sub_suite("wpa security") @allure.feature("Dual band performance test") @pytest.mark.usefixtures("setup_configuration") diff --git a/tests/e2e/basic/performance_tests/dual_band_performance_test/wpa_personal/test_nat_mode.py b/tests/e2e/basic/performance_tests/dual_band_performance_test/wpa_personal/test_nat_mode.py index 7056476a968..7906aae4d48 100644 --- a/tests/e2e/basic/performance_tests/dual_band_performance_test/wpa_personal/test_nat_mode.py +++ b/tests/e2e/basic/performance_tests/dual_band_performance_test/wpa_personal/test_nat_mode.py @@ -32,7 +32,7 @@ scope="class" ) @allure.parent_suite("Dual Band Tests") -@allure.suite("Dual Band Tests: NAT mode") +@allure.suite("NAT Mode") @allure.sub_suite("wpa security") @allure.feature("Dual band performance test") @pytest.mark.usefixtures("setup_configuration") diff --git a/tests/e2e/basic/performance_tests/dual_band_performance_test/wpa_personal/test_vlan_mode.py b/tests/e2e/basic/performance_tests/dual_band_performance_test/wpa_personal/test_vlan_mode.py index db1592ea12c..f52eb914b72 100644 --- a/tests/e2e/basic/performance_tests/dual_band_performance_test/wpa_personal/test_vlan_mode.py +++ b/tests/e2e/basic/performance_tests/dual_band_performance_test/wpa_personal/test_vlan_mode.py @@ -33,7 +33,7 @@ scope="class" ) @allure.parent_suite("Dual Band Tests") -@allure.suite("Dual Band Tests: VLAN mode") +@allure.suite("VLAN Mode") @allure.sub_suite("wpa security") @allure.feature("Dual band performance test") @pytest.mark.usefixtures("setup_configuration") diff --git a/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/bridge_mode/test_multi_sta_thpt_2g.py b/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/bridge_mode/test_multi_sta_thpt_2g.py index 760063118c7..8d84476545e 100644 --- a/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/bridge_mode/test_multi_sta_thpt_2g.py +++ b/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/bridge_mode/test_multi_sta_thpt_2g.py @@ -24,6 +24,9 @@ @allure.suite("performance") @allure.feature("BRIDGE MODE WPA2 PERSONAL Multi_Station_Throughput") +@allure.parent_suite("Multi Station Throughput Test") +@allure.suite("WPA2 Personal Security") +@allure.sub_suite("Bridge Mode") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], diff --git a/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/bridge_mode/test_mutli_sta_thpt_5g.py b/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/bridge_mode/test_mutli_sta_thpt_5g.py index be8611323e2..9738701d7d0 100644 --- a/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/bridge_mode/test_mutli_sta_thpt_5g.py +++ b/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/bridge_mode/test_mutli_sta_thpt_5g.py @@ -24,6 +24,9 @@ @allure.suite("performance") @allure.feature("BRIDGE MODE WPA2 PERSONAL Multi_Station_Throughput") +@allure.parent_suite("Multi Station Throughput Test") +@allure.suite("WPA2 Personal Security") +@allure.sub_suite("Bridge Mode") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], diff --git a/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/nat_mode/test_multi_sta_thpt_2g.py b/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/nat_mode/test_multi_sta_thpt_2g.py index 9391cb27e8d..d635f456144 100644 --- a/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/nat_mode/test_multi_sta_thpt_2g.py +++ b/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/nat_mode/test_multi_sta_thpt_2g.py @@ -24,6 +24,9 @@ @allure.suite("performance") @allure.feature("NAT MODE WPA2 PERSONAL Multi Station Throughput") +@allure.parent_suite("Multi Station Throughput Test") +@allure.suite("WPA2 Personal Security") +@allure.sub_suite("NAT Mode") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], diff --git a/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/nat_mode/test_mutli_sta_thpt_5g.py b/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/nat_mode/test_mutli_sta_thpt_5g.py index 5f371bb63cb..24ac769766f 100644 --- a/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/nat_mode/test_mutli_sta_thpt_5g.py +++ b/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/nat_mode/test_mutli_sta_thpt_5g.py @@ -24,6 +24,9 @@ @allure.suite("performance") @allure.feature("NAT MODE WPA2 PERSONAL Multi Station Throughput") +@allure.parent_suite("Multi Station Throughput Test") +@allure.suite("WPA2 Personal Security") +@allure.sub_suite("NAT Mode") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], diff --git a/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/vlan_mode/test_multi_sta_thpt_2g.py b/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/vlan_mode/test_multi_sta_thpt_2g.py index eb9105e0fbd..64828cd359e 100644 --- a/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/vlan_mode/test_multi_sta_thpt_2g.py +++ b/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/vlan_mode/test_multi_sta_thpt_2g.py @@ -24,6 +24,9 @@ @allure.suite("performance") @allure.feature("VLAN Mode WPA2 PERSONAL Multi Station Throughput") +@allure.parent_suite("Multi Station Throughput Test") +@allure.suite("WPA2 Personal Security") +@allure.sub_suite("VLAN Mode") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], diff --git a/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/vlan_mode/test_mutli_sta_thpt_5g.py b/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/vlan_mode/test_mutli_sta_thpt_5g.py index cb53d0b7245..3421505687e 100644 --- a/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/vlan_mode/test_mutli_sta_thpt_5g.py +++ b/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/vlan_mode/test_mutli_sta_thpt_5g.py @@ -24,6 +24,9 @@ @allure.suite("performance") @allure.feature("VLAN Mode WPA2 PERSONAL Multi Station Throughput") +@allure.parent_suite("Multi Station Throughput Test") +@allure.suite("WPA2 Personal Security") +@allure.sub_suite("VLAN Mode") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], diff --git a/tests/e2e/basic/performance_tests/ofdma_test/wpa2_personal/test_bridge_mode.py b/tests/e2e/basic/performance_tests/ofdma_test/wpa2_personal/test_bridge_mode.py index cdacfcdd5d3..f7e19b4f3af 100644 --- a/tests/e2e/basic/performance_tests/ofdma_test/wpa2_personal/test_bridge_mode.py +++ b/tests/e2e/basic/performance_tests/ofdma_test/wpa2_personal/test_bridge_mode.py @@ -24,7 +24,9 @@ } -@allure.suite("performance") +@allure.parent_suite("OFDMA Tests") +@allure.suite("WPA2 Personal Security") +@allure.sub_suite("Bridge Mode") @allure.feature("bridge MODE CLIENT CONNECTIVITY") @pytest.mark.parametrize( 'setup_configuration', diff --git a/tests/e2e/basic/performance_tests/ofdma_test/wpa2_personal/test_nat_mode.py b/tests/e2e/basic/performance_tests/ofdma_test/wpa2_personal/test_nat_mode.py index 7f47b388ec4..a53714ed06e 100644 --- a/tests/e2e/basic/performance_tests/ofdma_test/wpa2_personal/test_nat_mode.py +++ b/tests/e2e/basic/performance_tests/ofdma_test/wpa2_personal/test_nat_mode.py @@ -23,7 +23,9 @@ } -@allure.suite("performance") +@allure.parent_suite("OFDMA Tests") +@allure.suite("WPA2 Personal Security") +@allure.sub_suite("NAT Mode") @allure.feature("nat MODE CLIENT CONNECTIVITY") @pytest.mark.parametrize( 'setup_configuration', diff --git a/tests/e2e/basic/performance_tests/ofdma_test/wpa2_personal/test_vlan_mode.py b/tests/e2e/basic/performance_tests/ofdma_test/wpa2_personal/test_vlan_mode.py index f2b11c4bb42..8ce875c67b3 100644 --- a/tests/e2e/basic/performance_tests/ofdma_test/wpa2_personal/test_vlan_mode.py +++ b/tests/e2e/basic/performance_tests/ofdma_test/wpa2_personal/test_vlan_mode.py @@ -23,7 +23,9 @@ } -@allure.suite("performance") +@allure.parent_suite("OFDMA Tests") +@allure.suite("WPA2 Personal Security") +@allure.sub_suite("VLAN Mode") @allure.feature("vlan MODE CLIENT CONNECTIVITY") @pytest.mark.parametrize( 'setup_configuration', diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa2_enterprise_encryption/test_peak_throughput_wpa2_eap_20Mhz_2g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa2_enterprise_encryption/test_peak_throughput_wpa2_eap_20Mhz_2g.py index c5ddbae88f9..59a851e072f 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa2_enterprise_encryption/test_peak_throughput_wpa2_eap_20Mhz_2g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa2_enterprise_encryption/test_peak_throughput_wpa2_eap_20Mhz_2g.py @@ -27,6 +27,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-1") @pytest.mark.channel_1 @pytest.mark.parametrize( 'setup_configuration', @@ -159,6 +162,9 @@ def test_client_wpa2_enterprise_bridge_udp_ul(self, get_test_library, get_dut_lo @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-2") @pytest.mark.channel_2 @pytest.mark.parametrize( 'setup_configuration', @@ -291,6 +297,9 @@ def test_client_wpa2_enterprise_bridge_udp_ul(self, get_test_library, get_dut_lo @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-3") @pytest.mark.channel_3 @pytest.mark.parametrize( 'setup_configuration', @@ -423,7 +432,10 @@ def test_client_wpa2_enterprise_bridge_udp_ul(self, get_test_library, get_dut_lo @allure.feature("PEAK THROUGHPUT TESTS") -@pytest.mark.channel_3 +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-4") +@pytest.mark.channel_4 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_4], @@ -547,7 +559,7 @@ def test_client_wpa2_enterprise_bridge_udp_ul(self, get_test_library, get_dut_lo "2G": { 'band': '2G', 'channel-width': 20, - "channel": 4 + "channel": 5 } }, "radius": True @@ -555,6 +567,9 @@ def test_client_wpa2_enterprise_bridge_udp_ul(self, get_test_library, get_dut_lo @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-5") @pytest.mark.channel_3 @pytest.mark.parametrize( 'setup_configuration', @@ -687,10 +702,13 @@ def test_client_wpa2_enterprise_bridge_udp_ul(self, get_test_library, get_dut_lo @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-6") @pytest.mark.channel_6 @pytest.mark.parametrize( 'setup_configuration', - [setup_params_general_5], + [setup_params_general_6], indirect=True, scope="class" ) @@ -819,6 +837,9 @@ def test_client_wpa2_enterprise_bridge_udp_ul(self, get_test_library, get_dut_lo @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-7") @pytest.mark.channel_7 @pytest.mark.parametrize( 'setup_configuration', @@ -951,6 +972,9 @@ def test_client_wpa2_enterprise_bridge_udp_ul(self, get_test_library, get_dut_lo @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-8") @pytest.mark.channel_8 @pytest.mark.parametrize( 'setup_configuration', @@ -1084,6 +1108,9 @@ def test_client_wpa2_enterprise_bridge_udp_ul(self, get_test_library, get_dut_lo @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-9") @pytest.mark.channel_9 @pytest.mark.parametrize( 'setup_configuration', @@ -1216,6 +1243,9 @@ def test_client_wpa2_enterprise_bridge_udp_ul(self, get_test_library, get_dut_lo @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-10") @pytest.mark.channel_10 @pytest.mark.parametrize( 'setup_configuration', @@ -1348,6 +1378,9 @@ def test_client_wpa2_enterprise_bridge_udp_ul(self, get_test_library, get_dut_lo @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-11") @pytest.mark.channel_11 @pytest.mark.parametrize( 'setup_configuration', diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa2_enterprise_encryption/test_peak_throughput_wpa2_eap_20Mhz_5g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa2_enterprise_encryption/test_peak_throughput_wpa2_eap_20Mhz_5g.py index 9b7db9d991d..cd58f4e88d8 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa2_enterprise_encryption/test_peak_throughput_wpa2_eap_20Mhz_5g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa2_enterprise_encryption/test_peak_throughput_wpa2_eap_20Mhz_5g.py @@ -27,6 +27,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-36") @pytest.mark.channel_36 @pytest.mark.parametrize( 'setup_configuration', @@ -159,6 +162,9 @@ def test_client_wpa2_eap_bridge_udp_ul(self, get_test_library, get_dut_logs_per_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-40") @pytest.mark.channel_40 @pytest.mark.parametrize( 'setup_configuration', @@ -290,6 +296,9 @@ def test_client_wpa2_eap_bridge_udp_ul(self, get_test_library, get_dut_logs_per_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-44") @pytest.mark.channel_44 @pytest.mark.parametrize( 'setup_configuration', @@ -422,6 +431,9 @@ def test_client_wpa2_eap_bridge_udp_ul(self, get_test_library, get_dut_logs_per_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-48") @pytest.mark.channel_48 @pytest.mark.parametrize( 'setup_configuration', @@ -554,6 +566,9 @@ def test_client_wpa2_eap_bridge_udp_ul(self, get_test_library, get_dut_logs_per_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-52") @pytest.mark.channel_52 @pytest.mark.parametrize( 'setup_configuration', @@ -686,6 +701,9 @@ def test_client_wpa2_eap_bridge_udp_ul(self, get_test_library, get_dut_logs_per_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-56") @pytest.mark.channel_56 @pytest.mark.parametrize( 'setup_configuration', @@ -818,6 +836,9 @@ def test_client_wpa2_eap_bridge_udp_ul(self, get_test_library, get_dut_logs_per_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-60") @pytest.mark.channel_60 @pytest.mark.parametrize( 'setup_configuration', @@ -952,6 +973,9 @@ def test_client_wpa2_eap_bridge_udp_ul(self, get_test_library, get_dut_logs_per_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-64") @pytest.mark.channel_64 @pytest.mark.parametrize( 'setup_configuration', @@ -1085,6 +1109,9 @@ def test_client_wpa2_eap_bridge_udp_ul(self, get_test_library, get_dut_logs_per_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-100") @pytest.mark.channel_100 @pytest.mark.parametrize( 'setup_configuration', @@ -1217,6 +1244,9 @@ def test_client_wpa2_eap_bridge_udp_ul(self, get_test_library, get_dut_logs_per_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-104") @pytest.mark.channel_104 @pytest.mark.parametrize( 'setup_configuration', @@ -1350,6 +1380,9 @@ def test_client_wpa2_eap_bridge_udp_ul(self, get_test_library, get_dut_logs_per_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-108") @pytest.mark.channel_108 @pytest.mark.parametrize( 'setup_configuration', @@ -1483,6 +1516,9 @@ def test_client_wpa2_eap_bridge_udp_ul(self, get_test_library, get_dut_logs_per_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-112") @pytest.mark.channel_112 @pytest.mark.parametrize( 'setup_configuration', @@ -1616,6 +1652,9 @@ def test_client_wpa2_eap_bridge_udp_ul(self, get_test_library, get_dut_logs_per_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-116") @pytest.mark.channel_116 @pytest.mark.parametrize( 'setup_configuration', @@ -1749,7 +1788,10 @@ def test_client_wpa2_eap_bridge_udp_ul(self, get_test_library, get_dut_logs_per_ @allure.feature("PEAK THROUGHPUT TESTS") -@pytest.mark.channel_114 +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-132") +@pytest.mark.channel_132 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general14], @@ -1880,6 +1922,9 @@ def test_client_wpa2_eap_bridge_udp_ul(self, get_test_library, get_dut_logs_per_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-136") @pytest.mark.channel_136 @pytest.mark.parametrize( 'setup_configuration', @@ -2012,6 +2057,9 @@ def test_client_wpa2_eap_bridge_udp_ul(self, get_test_library, get_dut_logs_per_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-140") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general16], @@ -2142,6 +2190,9 @@ def test_client_wpa2_eap_bridge_udp_ul(self, get_test_library, get_dut_logs_per_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-144") @pytest.mark.channel_144 @pytest.mark.parametrize( 'setup_configuration', diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa2_enterprise_encryption/test_peak_throughput_wpa2_eap_40Mhz_2g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa2_enterprise_encryption/test_peak_throughput_wpa2_eap_40Mhz_2g.py index 23ac2068e4c..cf71567e15c 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa2_enterprise_encryption/test_peak_throughput_wpa2_eap_40Mhz_2g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa2_enterprise_encryption/test_peak_throughput_wpa2_eap_40Mhz_2g.py @@ -27,6 +27,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-1") @pytest.mark.channel_1 @pytest.mark.parametrize( 'setup_configuration', @@ -159,6 +162,9 @@ def test_client_wpa2_enterprise_bridge_udp_ul(self, get_test_library, get_dut_lo @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-2") @pytest.mark.channel_2 @pytest.mark.parametrize( 'setup_configuration', @@ -291,6 +297,9 @@ def test_client_wpa2_enterprise_bridge_udp_ul(self, get_test_library, get_dut_lo @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-3") @pytest.mark.channel_3 @pytest.mark.parametrize( 'setup_configuration', @@ -423,7 +432,10 @@ def test_client_wpa2_enterprise_bridge_udp_ul(self, get_test_library, get_dut_lo @allure.feature("PEAK THROUGHPUT TESTS") -@pytest.mark.channel_3 +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-4") +@pytest.mark.channel_4 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_4], @@ -547,7 +559,7 @@ def test_client_wpa2_enterprise_bridge_udp_ul(self, get_test_library, get_dut_lo "2G": { 'band': '2G', 'channel-width': 40, - "channel": 4 + "channel": 5 } }, "radius": True @@ -555,7 +567,10 @@ def test_client_wpa2_enterprise_bridge_udp_ul(self, get_test_library, get_dut_lo @allure.feature("PEAK THROUGHPUT TESTS") -@pytest.mark.channel_3 +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-5") +@pytest.mark.channel_5 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_5], @@ -687,10 +702,13 @@ def test_client_wpa2_enterprise_bridge_udp_ul(self, get_test_library, get_dut_lo @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-6") @pytest.mark.channel_6 @pytest.mark.parametrize( 'setup_configuration', - [setup_params_general_5], + [setup_params_general_6], indirect=True, scope="class" ) @@ -819,6 +837,9 @@ def test_client_wpa2_enterprise_bridge_udp_ul(self, get_test_library, get_dut_lo @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-7") @pytest.mark.channel_7 @pytest.mark.parametrize( 'setup_configuration', @@ -951,6 +972,9 @@ def test_client_wpa2_enterprise_bridge_udp_ul(self, get_test_library, get_dut_lo @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-8") @pytest.mark.channel_8 @pytest.mark.parametrize( 'setup_configuration', @@ -1084,6 +1108,9 @@ def test_client_wpa2_enterprise_bridge_udp_ul(self, get_test_library, get_dut_lo @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-9") @pytest.mark.channel_9 @pytest.mark.parametrize( 'setup_configuration', @@ -1216,6 +1243,9 @@ def test_client_wpa2_enterprise_bridge_udp_ul(self, get_test_library, get_dut_lo @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-10") @pytest.mark.channel_10 @pytest.mark.parametrize( 'setup_configuration', @@ -1348,6 +1378,9 @@ def test_client_wpa2_enterprise_bridge_udp_ul(self, get_test_library, get_dut_lo @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-11") @pytest.mark.channel_11 @pytest.mark.parametrize( 'setup_configuration', diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa2_enterprise_encryption/test_peak_throughput_wpa2_eap_40Mhz_5g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa2_enterprise_encryption/test_peak_throughput_wpa2_eap_40Mhz_5g.py index 8b904626cfb..1323f5e0c6a 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa2_enterprise_encryption/test_peak_throughput_wpa2_eap_40Mhz_5g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa2_enterprise_encryption/test_peak_throughput_wpa2_eap_40Mhz_5g.py @@ -28,6 +28,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-36") @pytest.mark.channel_36 @pytest.mark.parametrize( 'setup_configuration', @@ -160,6 +163,9 @@ def test_client_wpa2_eap_bridge_udp_ul(self, get_test_library, get_dut_logs_per_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-44") @pytest.mark.channel_44 @pytest.mark.parametrize( 'setup_configuration', @@ -264,6 +270,9 @@ def test_client_wpa2_eap_bridge_udp_ul(self, get_test_library, get_dut_logs_per_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-52") @pytest.mark.channel_52 @pytest.mark.parametrize( 'setup_configuration', @@ -396,6 +405,9 @@ def test_client_wpa2_eap_bridge_udp_ul(self, get_test_library, get_dut_logs_per_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-60") @pytest.mark.channel_60 @pytest.mark.parametrize( 'setup_configuration', @@ -529,6 +541,9 @@ def test_client_wpa2_eap_bridge_udp_ul(self, get_test_library, get_dut_logs_per_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-100") @pytest.mark.channel_100 @pytest.mark.parametrize( 'setup_configuration', @@ -662,6 +677,9 @@ def test_client_wpa2_eap_bridge_udp_ul(self, get_test_library, get_dut_logs_per_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-108") @pytest.mark.channel_108 @pytest.mark.parametrize( 'setup_configuration', @@ -795,6 +813,9 @@ def test_client_wpa2_eap_bridge_udp_ul(self, get_test_library, get_dut_logs_per_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-132") @pytest.mark.channel_132 @pytest.mark.parametrize( 'setup_configuration', @@ -927,6 +948,9 @@ def test_client_wpa2_eap_bridge_udp_ul(self, get_test_library, get_dut_logs_per_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-136") @pytest.mark.channel_136 @pytest.mark.parametrize( 'setup_configuration', @@ -1059,6 +1083,9 @@ def test_client_wpa2_eap_bridge_udp_ul(self, get_test_library, get_dut_logs_per_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-140") @pytest.mark.channel_140 @pytest.mark.parametrize( 'setup_configuration', diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa2_enterprise_encryption/test_peak_throughput_wpa2_eap_80Mhz_5g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa2_enterprise_encryption/test_peak_throughput_wpa2_eap_80Mhz_5g.py index a5326e64d93..25551a12e95 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa2_enterprise_encryption/test_peak_throughput_wpa2_eap_80Mhz_5g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa2_enterprise_encryption/test_peak_throughput_wpa2_eap_80Mhz_5g.py @@ -28,6 +28,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Enterprise Security") +@allure.suite("80Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-36") @pytest.mark.channel_36 @pytest.mark.parametrize( 'setup_configuration', @@ -161,6 +164,9 @@ def test_client_wpa2_eap_bridge_udp_ul(self, get_test_library, get_dut_logs_per_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Enterprise Security") +@allure.suite("80Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-52") @pytest.mark.channel_52 @pytest.mark.parametrize( 'setup_configuration', @@ -294,6 +300,9 @@ def test_client_wpa2_eap_bridge_udp_ul(self, get_test_library, get_dut_logs_per_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Enterprise Security") +@allure.suite("80Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-100") @pytest.mark.channel_100 @pytest.mark.parametrize( 'setup_configuration', @@ -427,6 +436,9 @@ def test_client_wpa2_eap_bridge_udp_ul(self, get_test_library, get_dut_logs_per_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Enterprise Security") +@allure.suite("80Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-132") @pytest.mark.channel_132 @pytest.mark.parametrize( 'setup_configuration', diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_20Mhz_2g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_20Mhz_2g.py index e139aab473c..80a0065f093 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_20Mhz_2g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_20Mhz_2g.py @@ -27,6 +27,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-1") @pytest.mark.channel_1 @pytest.mark.parametrize( 'setup_configuration', @@ -159,6 +162,9 @@ def test_client_wpa2_personal_bridge_udp_ul(self, get_test_library, get_dut_logs @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-2") @pytest.mark.channel_2 @pytest.mark.parametrize( 'setup_configuration', @@ -291,6 +297,9 @@ def test_client_wpa2_personal_bridge_udp_ul(self, get_test_library, get_dut_logs @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-3") @pytest.mark.channel_3 @pytest.mark.parametrize( 'setup_configuration', @@ -423,7 +432,10 @@ def test_client_wpa2_personal_bridge_udp_ul(self, get_test_library, get_dut_logs @allure.feature("PEAK THROUGHPUT TESTS") -@pytest.mark.channel_3 +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-4") +@pytest.mark.channel_4 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_4], @@ -547,7 +559,7 @@ def test_client_wpa2_personal_bridge_udp_ul(self, get_test_library, get_dut_logs "2G": { 'band': '2G', 'channel-width': 20, - "channel": 4 + "channel": 5 } }, "radius": False @@ -555,7 +567,10 @@ def test_client_wpa2_personal_bridge_udp_ul(self, get_test_library, get_dut_logs @allure.feature("PEAK THROUGHPUT TESTS") -@pytest.mark.channel_3 +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-5") +@pytest.mark.channel_5 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_5], @@ -687,10 +702,13 @@ def test_client_wpa2_personal_bridge_udp_ul(self, get_test_library, get_dut_logs @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-6") @pytest.mark.channel_6 @pytest.mark.parametrize( 'setup_configuration', - [setup_params_general_5], + [setup_params_general_6], indirect=True, scope="class" ) @@ -819,6 +837,9 @@ def test_client_wpa2_personal_bridge_udp_ul(self, get_test_library, get_dut_logs @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-7") @pytest.mark.channel_7 @pytest.mark.parametrize( 'setup_configuration', @@ -951,6 +972,9 @@ def test_client_wpa2_personal_bridge_udp_ul(self, get_test_library, get_dut_logs @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-8") @pytest.mark.channel_8 @pytest.mark.parametrize( 'setup_configuration', @@ -1084,6 +1108,9 @@ def test_client_wpa2_personal_bridge_udp_ul(self, get_test_library, get_dut_logs @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-9") @pytest.mark.channel_9 @pytest.mark.parametrize( 'setup_configuration', @@ -1216,6 +1243,9 @@ def test_client_wpa2_personal_bridge_udp_ul(self, get_test_library, get_dut_logs @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-10") @pytest.mark.channel_10 @pytest.mark.parametrize( 'setup_configuration', @@ -1348,6 +1378,9 @@ def test_client_wpa2_personal_bridge_udp_ul(self, get_test_library, get_dut_logs @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-11") @pytest.mark.channel_11 @pytest.mark.parametrize( 'setup_configuration', diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_20Mhz_5g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_20Mhz_5g.py index 5e7ccb845cf..2f8bddca3cc 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_20Mhz_5g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_20Mhz_5g.py @@ -27,6 +27,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-36") @pytest.mark.channel_36 @pytest.mark.parametrize( 'setup_configuration', @@ -159,6 +162,9 @@ def test_client_wpa2_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-40") @pytest.mark.channel_40 @pytest.mark.parametrize( 'setup_configuration', @@ -290,6 +296,9 @@ def test_client_wpa2_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-44") @pytest.mark.channel_44 @pytest.mark.parametrize( 'setup_configuration', @@ -422,6 +431,9 @@ def test_client_wpa2_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-48") @pytest.mark.channel_48 @pytest.mark.parametrize( 'setup_configuration', @@ -554,6 +566,9 @@ def test_client_wpa2_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-52") @pytest.mark.channel_52 @pytest.mark.parametrize( 'setup_configuration', @@ -686,6 +701,9 @@ def test_client_wpa2_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-56") @pytest.mark.channel_56 @pytest.mark.parametrize( 'setup_configuration', @@ -818,6 +836,9 @@ def test_client_wpa2_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-60") @pytest.mark.channel_60 @pytest.mark.parametrize( 'setup_configuration', @@ -951,6 +972,9 @@ def test_client_wpa2_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-64") @pytest.mark.channel_64 @pytest.mark.parametrize( 'setup_configuration', @@ -1084,6 +1108,9 @@ def test_client_wpa2_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-100") @pytest.mark.channel_100 @pytest.mark.parametrize( 'setup_configuration', @@ -1216,6 +1243,9 @@ def test_client_wpa2_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-104") @pytest.mark.channel_104 @pytest.mark.parametrize( 'setup_configuration', @@ -1349,6 +1379,9 @@ def test_client_wpa2_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-108") @pytest.mark.channel_108 @pytest.mark.parametrize( 'setup_configuration', @@ -1482,6 +1515,9 @@ def test_client_wpa2_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-112") @pytest.mark.channel_112 @pytest.mark.parametrize( 'setup_configuration', @@ -1615,6 +1651,9 @@ def test_client_wpa2_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-116") @pytest.mark.channel_116 @pytest.mark.parametrize( 'setup_configuration', @@ -1748,7 +1787,10 @@ def test_client_wpa2_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test @allure.feature("PEAK THROUGHPUT TESTS") -@pytest.mark.channel_114 +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-132") +@pytest.mark.channel_132 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general14], @@ -1879,6 +1921,9 @@ def test_client_wpa2_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-136") @pytest.mark.channel_136 @pytest.mark.parametrize( 'setup_configuration', @@ -2011,6 +2056,10 @@ def test_client_wpa2_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-140") +@pytest.mark.channel_140 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general16], @@ -2141,6 +2190,9 @@ def test_client_wpa2_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-144") @pytest.mark.channel_144 @pytest.mark.parametrize( 'setup_configuration', diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_40Mhz_2g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_40Mhz_2g.py index 3b136cac075..95803f5b0c4 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_40Mhz_2g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_40Mhz_2g.py @@ -28,6 +28,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Personal Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-1") @pytest.mark.channel_1 @pytest.mark.parametrize( 'setup_configuration', @@ -161,6 +164,9 @@ def test_client_wpa2_personal_bridge_udp_ul(self, get_test_library, get_dut_logs @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Personal Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-2") @pytest.mark.channel_2 @pytest.mark.parametrize( 'setup_configuration', @@ -294,6 +300,9 @@ def test_client_wpa2_personal_bridge_udp_ul(self, get_test_library, get_dut_logs @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Personal Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-3") @pytest.mark.channel_3 @pytest.mark.parametrize( 'setup_configuration', @@ -427,7 +436,10 @@ def test_client_wpa2_personal_bridge_udp_ul(self, get_test_library, get_dut_logs @allure.feature("PEAK THROUGHPUT TESTS") -@pytest.mark.channel_3 +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Personal Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-4") +@pytest.mark.channel_4 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_4], @@ -552,7 +564,7 @@ def test_client_wpa2_personal_bridge_udp_ul(self, get_test_library, get_dut_logs "2G": { 'band': '2G', 'channel-width': 40, - "channel": 4 + "channel": 5 } }, "radius": False @@ -560,7 +572,10 @@ def test_client_wpa2_personal_bridge_udp_ul(self, get_test_library, get_dut_logs @allure.feature("PEAK THROUGHPUT TESTS") -@pytest.mark.channel_3 +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Personal Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-5") +@pytest.mark.channel_5 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_5], @@ -693,10 +708,13 @@ def test_client_wpa2_personal_bridge_udp_ul(self, get_test_library, get_dut_logs @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Personal Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-6") @pytest.mark.channel_6 @pytest.mark.parametrize( 'setup_configuration', - [setup_params_general_5], + [setup_params_general_6], indirect=True, scope="class" ) @@ -826,6 +844,9 @@ def test_client_wpa2_personal_bridge_udp_ul(self, get_test_library, get_dut_logs @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Personal Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-7") @pytest.mark.channel_7 @pytest.mark.parametrize( 'setup_configuration', @@ -959,6 +980,9 @@ def test_client_wpa2_personal_bridge_udp_ul(self, get_test_library, get_dut_logs @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Personal Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-8") @pytest.mark.channel_8 @pytest.mark.parametrize( 'setup_configuration', @@ -1093,6 +1117,9 @@ def test_client_wpa2_personal_bridge_udp_ul(self, get_test_library, get_dut_logs @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Personal Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-9") @pytest.mark.channel_9 @pytest.mark.parametrize( 'setup_configuration', @@ -1226,6 +1253,9 @@ def test_client_wpa2_personal_bridge_udp_ul(self, get_test_library, get_dut_logs @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Personal Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-10") @pytest.mark.channel_10 @pytest.mark.parametrize( 'setup_configuration', @@ -1359,9 +1389,9 @@ def test_client_wpa2_personal_bridge_udp_ul(self, get_test_library, get_dut_logs @allure.feature("PEAK THROUGHPUT TESTS") -@allure.parent_suite("Throughput Benchmark Test") -@allure.suite("2.4 GHz Band") -@allure.sub_suite("BRIDGE Mode") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Personal Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-11") @pytest.mark.channel_11 @pytest.mark.parametrize( 'setup_configuration', diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_40Mhz_5g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_40Mhz_5g.py index d566bddfd7e..78c5108593f 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_40Mhz_5g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_40Mhz_5g.py @@ -28,6 +28,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Personal Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-36") @pytest.mark.channel_36 @pytest.mark.parametrize( 'setup_configuration', @@ -160,6 +163,9 @@ def test_client_wpa2_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Personal Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-44") @pytest.mark.channel_44 @pytest.mark.parametrize( 'setup_configuration', @@ -264,6 +270,9 @@ def test_client_wpa2_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Personal Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-52") @pytest.mark.channel_52 @pytest.mark.parametrize( 'setup_configuration', @@ -396,6 +405,9 @@ def test_client_wpa2_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Personal Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-60") @pytest.mark.channel_60 @pytest.mark.parametrize( 'setup_configuration', @@ -529,6 +541,9 @@ def test_client_wpa2_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Personal Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-100") @pytest.mark.channel_100 @pytest.mark.parametrize( 'setup_configuration', @@ -662,6 +677,9 @@ def test_client_wpa2_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Personal Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-108") @pytest.mark.channel_108 @pytest.mark.parametrize( 'setup_configuration', @@ -795,6 +813,9 @@ def test_client_wpa2_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Personal Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-132") @pytest.mark.channel_132 @pytest.mark.parametrize( 'setup_configuration', @@ -927,6 +948,9 @@ def test_client_wpa2_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Personal Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-136") @pytest.mark.channel_136 @pytest.mark.parametrize( 'setup_configuration', @@ -1059,6 +1083,9 @@ def test_client_wpa2_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Personal Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-140") @pytest.mark.channel_140 @pytest.mark.parametrize( 'setup_configuration', diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_80Mhz_5g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_80Mhz_5g.py index fedfcfc5d5b..95fc850ec7b 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_80Mhz_5g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_80Mhz_5g.py @@ -28,9 +28,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") -@allure.parent_suite("Throughput Benchmark Test") -@allure.suite("5 GHz Band") -@allure.sub_suite("BRIDGE Mode") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Personal Security") +@allure.suite("80Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-36") @pytest.mark.channel_36 @pytest.mark.parametrize( 'setup_configuration', @@ -176,6 +176,9 @@ def test_client_wpa2_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Personal Security") +@allure.suite("80Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-52") @pytest.mark.channel_52 @pytest.mark.parametrize( 'setup_configuration', @@ -309,6 +312,9 @@ def test_client_wpa2_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Personal Security") +@allure.suite("80Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-100") @pytest.mark.channel_100 @pytest.mark.parametrize( 'setup_configuration', @@ -442,6 +448,9 @@ def test_client_wpa2_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA2 Personal Security") +@allure.suite("80Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-132") @pytest.mark.channel_132 @pytest.mark.parametrize( 'setup_configuration', diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa3_enterprise_encryption/test_peak_throughput_wpa3_eap_20Mhz_2g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa3_enterprise_encryption/test_peak_throughput_wpa3_eap_20Mhz_2g.py index 4d182d07574..72ed85c6a07 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa3_enterprise_encryption/test_peak_throughput_wpa3_eap_20Mhz_2g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa3_enterprise_encryption/test_peak_throughput_wpa3_eap_20Mhz_2g.py @@ -27,6 +27,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-1") @pytest.mark.channel_1 @pytest.mark.parametrize( 'setup_configuration', @@ -159,6 +162,9 @@ def test_client_wpa3_enterprise_bridge_udp_ul(self, get_test_library, get_dut_lo @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-2") @pytest.mark.channel_2 @pytest.mark.parametrize( 'setup_configuration', @@ -291,6 +297,9 @@ def test_client_wpa3_enterprise_bridge_udp_ul(self, get_test_library, get_dut_lo @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-3") @pytest.mark.channel_3 @pytest.mark.parametrize( 'setup_configuration', @@ -423,7 +432,10 @@ def test_client_wpa3_enterprise_bridge_udp_ul(self, get_test_library, get_dut_lo @allure.feature("PEAK THROUGHPUT TESTS") -@pytest.mark.channel_3 +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-4") +@pytest.mark.channel_4 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_4], @@ -547,7 +559,7 @@ def test_client_wpa3_enterprise_bridge_udp_ul(self, get_test_library, get_dut_lo "2G": { 'band': '2G', 'channel-width': 20, - "channel": 4 + "channel": 5 } }, "radius": True @@ -555,7 +567,10 @@ def test_client_wpa3_enterprise_bridge_udp_ul(self, get_test_library, get_dut_lo @allure.feature("PEAK THROUGHPUT TESTS") -@pytest.mark.channel_3 +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-5") +@pytest.mark.channel_5 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_5], @@ -687,10 +702,13 @@ def test_client_wpa3_enterprise_bridge_udp_ul(self, get_test_library, get_dut_lo @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-6") @pytest.mark.channel_6 @pytest.mark.parametrize( 'setup_configuration', - [setup_params_general_5], + [setup_params_general_6], indirect=True, scope="class" ) @@ -819,6 +837,9 @@ def test_client_wpa3_enterprise_bridge_udp_ul(self, get_test_library, get_dut_lo @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-7") @pytest.mark.channel_7 @pytest.mark.parametrize( 'setup_configuration', @@ -951,6 +972,9 @@ def test_client_wpa3_enterprise_bridge_udp_ul(self, get_test_library, get_dut_lo @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-8") @pytest.mark.channel_8 @pytest.mark.parametrize( 'setup_configuration', @@ -1084,6 +1108,9 @@ def test_client_wpa3_enterprise_bridge_udp_ul(self, get_test_library, get_dut_lo @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-9") @pytest.mark.channel_9 @pytest.mark.parametrize( 'setup_configuration', @@ -1216,6 +1243,9 @@ def test_client_wpa3_enterprise_bridge_udp_ul(self, get_test_library, get_dut_lo @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-10") @pytest.mark.channel_10 @pytest.mark.parametrize( 'setup_configuration', @@ -1348,6 +1378,9 @@ def test_client_wpa3_enterprise_bridge_udp_ul(self, get_test_library, get_dut_lo @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-11") @pytest.mark.channel_11 @pytest.mark.parametrize( 'setup_configuration', diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa3_enterprise_encryption/test_peak_throughput_wpa3_eap_20Mhz_5g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa3_enterprise_encryption/test_peak_throughput_wpa3_eap_20Mhz_5g.py index adc15b1c88e..637be4c2c4b 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa3_enterprise_encryption/test_peak_throughput_wpa3_eap_20Mhz_5g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa3_enterprise_encryption/test_peak_throughput_wpa3_eap_20Mhz_5g.py @@ -27,6 +27,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-36") @pytest.mark.channel_36 @pytest.mark.parametrize( 'setup_configuration', @@ -159,6 +162,9 @@ def test_client_wpa3_eap_eap_bridge_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-40") @pytest.mark.channel_40 @pytest.mark.parametrize( 'setup_configuration', @@ -290,6 +296,9 @@ def test_client_wpa3_eap_eap_bridge_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-44") @pytest.mark.channel_44 @pytest.mark.parametrize( 'setup_configuration', @@ -422,6 +431,9 @@ def test_client_wpa3_eap_eap_bridge_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-48") @pytest.mark.channel_48 @pytest.mark.parametrize( 'setup_configuration', @@ -554,6 +566,9 @@ def test_client_wpa3_eap_eap_bridge_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-52") @pytest.mark.channel_52 @pytest.mark.parametrize( 'setup_configuration', @@ -686,6 +701,9 @@ def test_client_wpa3_eap_eap_bridge_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-56") @pytest.mark.channel_56 @pytest.mark.parametrize( 'setup_configuration', @@ -818,6 +836,9 @@ def test_client_wpa3_eap_eap_bridge_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-60") @pytest.mark.channel_60 @pytest.mark.parametrize( 'setup_configuration', @@ -952,6 +973,9 @@ def test_client_wpa3_eap_eap_bridge_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-64") @pytest.mark.channel_64 @pytest.mark.parametrize( 'setup_configuration', @@ -1085,6 +1109,9 @@ def test_client_wpa3_eap_eap_bridge_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-100") @pytest.mark.channel_100 @pytest.mark.parametrize( 'setup_configuration', @@ -1217,6 +1244,9 @@ def test_client_wpa3_eap_eap_bridge_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-104") @pytest.mark.channel_104 @pytest.mark.parametrize( 'setup_configuration', @@ -1350,6 +1380,9 @@ def test_client_wpa3_eap_eap_bridge_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-108") @pytest.mark.channel_108 @pytest.mark.parametrize( 'setup_configuration', @@ -1483,6 +1516,9 @@ def test_client_wpa3_eap_eap_bridge_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-112") @pytest.mark.channel_112 @pytest.mark.parametrize( 'setup_configuration', @@ -1616,6 +1652,9 @@ def test_client_wpa3_eap_eap_bridge_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-116") @pytest.mark.channel_116 @pytest.mark.parametrize( 'setup_configuration', @@ -1749,7 +1788,10 @@ def test_client_wpa3_eap_eap_bridge_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") -@pytest.mark.channel_114 +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-132") +@pytest.mark.channel_132 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general14], @@ -1880,6 +1922,9 @@ def test_client_wpa3_eap_eap_bridge_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-136") @pytest.mark.channel_136 @pytest.mark.parametrize( 'setup_configuration', @@ -2012,6 +2057,10 @@ def test_client_wpa3_eap_eap_bridge_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-140") +@pytest.mark.channel_140 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general16], @@ -2142,6 +2191,9 @@ def test_client_wpa3_eap_eap_bridge_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-144") @pytest.mark.channel_144 @pytest.mark.parametrize( 'setup_configuration', diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa3_enterprise_encryption/test_peak_throughput_wpa3_eap_40Mhz_2g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa3_enterprise_encryption/test_peak_throughput_wpa3_eap_40Mhz_2g.py index 5b69de5e83f..88e6f36924c 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa3_enterprise_encryption/test_peak_throughput_wpa3_eap_40Mhz_2g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa3_enterprise_encryption/test_peak_throughput_wpa3_eap_40Mhz_2g.py @@ -27,6 +27,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-1") @pytest.mark.channel_1 @pytest.mark.parametrize( 'setup_configuration', @@ -159,6 +162,9 @@ def test_client_wpa3_enterprise_bridge_udp_ul(self, get_test_library, get_dut_lo @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-2") @pytest.mark.channel_2 @pytest.mark.parametrize( 'setup_configuration', @@ -291,6 +297,9 @@ def test_client_wpa3_enterprise_bridge_udp_ul(self, get_test_library, get_dut_lo @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-3") @pytest.mark.channel_3 @pytest.mark.parametrize( 'setup_configuration', @@ -423,7 +432,10 @@ def test_client_wpa3_enterprise_bridge_udp_ul(self, get_test_library, get_dut_lo @allure.feature("PEAK THROUGHPUT TESTS") -@pytest.mark.channel_3 +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-4") +@pytest.mark.channel_4 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_4], @@ -547,7 +559,7 @@ def test_client_wpa3_enterprise_bridge_udp_ul(self, get_test_library, get_dut_lo "2G": { 'band': '2G', 'channel-width': 40, - "channel": 4 + "channel": 5 } }, "radius": True @@ -555,7 +567,10 @@ def test_client_wpa3_enterprise_bridge_udp_ul(self, get_test_library, get_dut_lo @allure.feature("PEAK THROUGHPUT TESTS") -@pytest.mark.channel_3 +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-5") +@pytest.mark.channel_5 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_5], @@ -687,10 +702,13 @@ def test_client_wpa3_enterprise_bridge_udp_ul(self, get_test_library, get_dut_lo @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-6") @pytest.mark.channel_6 @pytest.mark.parametrize( 'setup_configuration', - [setup_params_general_5], + [setup_params_general_6], indirect=True, scope="class" ) @@ -819,6 +837,9 @@ def test_client_wpa3_enterprise_bridge_udp_ul(self, get_test_library, get_dut_lo @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-7") @pytest.mark.channel_7 @pytest.mark.parametrize( 'setup_configuration', @@ -951,6 +972,9 @@ def test_client_wpa3_enterprise_bridge_udp_ul(self, get_test_library, get_dut_lo @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-8") @pytest.mark.channel_8 @pytest.mark.parametrize( 'setup_configuration', @@ -1084,6 +1108,9 @@ def test_client_wpa3_enterprise_bridge_udp_ul(self, get_test_library, get_dut_lo @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-9") @pytest.mark.channel_9 @pytest.mark.parametrize( 'setup_configuration', @@ -1216,6 +1243,9 @@ def test_client_wpa3_enterprise_bridge_udp_ul(self, get_test_library, get_dut_lo @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-10") @pytest.mark.channel_10 @pytest.mark.parametrize( 'setup_configuration', @@ -1348,6 +1378,9 @@ def test_client_wpa3_enterprise_bridge_udp_ul(self, get_test_library, get_dut_lo @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-11") @pytest.mark.channel_11 @pytest.mark.parametrize( 'setup_configuration', diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa3_enterprise_encryption/test_peak_throughput_wpa3_eap_40Mhz_5g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa3_enterprise_encryption/test_peak_throughput_wpa3_eap_40Mhz_5g.py index 77ddb9e2934..8cfbd3b49aa 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa3_enterprise_encryption/test_peak_throughput_wpa3_eap_40Mhz_5g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa3_enterprise_encryption/test_peak_throughput_wpa3_eap_40Mhz_5g.py @@ -28,6 +28,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-36") @pytest.mark.channel_36 @pytest.mark.parametrize( 'setup_configuration', @@ -160,6 +163,9 @@ def test_client_wpa3_eap_bridge_udp_ul(self, get_test_library, get_dut_logs_per_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-44") @pytest.mark.channel_44 @pytest.mark.parametrize( 'setup_configuration', @@ -264,6 +270,9 @@ def test_client_wpa3_eap_bridge_udp_ul(self, get_test_library, get_dut_logs_per_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-52") @pytest.mark.channel_52 @pytest.mark.parametrize( 'setup_configuration', @@ -396,6 +405,9 @@ def test_client_wpa3_eap_bridge_udp_ul(self, get_test_library, get_dut_logs_per_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-60") @pytest.mark.channel_60 @pytest.mark.parametrize( 'setup_configuration', @@ -529,6 +541,9 @@ def test_client_wpa3_eap_bridge_udp_ul(self, get_test_library, get_dut_logs_per_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-100") @pytest.mark.channel_100 @pytest.mark.parametrize( 'setup_configuration', @@ -662,6 +677,9 @@ def test_client_wpa3_eap_bridge_udp_ul(self, get_test_library, get_dut_logs_per_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-108") @pytest.mark.channel_108 @pytest.mark.parametrize( 'setup_configuration', @@ -795,6 +813,9 @@ def test_client_wpa3_eap_bridge_udp_ul(self, get_test_library, get_dut_logs_per_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-132") @pytest.mark.channel_132 @pytest.mark.parametrize( 'setup_configuration', @@ -927,6 +948,9 @@ def test_client_wpa3_eap_bridge_udp_ul(self, get_test_library, get_dut_logs_per_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-136") @pytest.mark.channel_136 @pytest.mark.parametrize( 'setup_configuration', @@ -1059,6 +1083,9 @@ def test_client_wpa3_eap_bridge_udp_ul(self, get_test_library, get_dut_logs_per_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-140") @pytest.mark.channel_140 @pytest.mark.parametrize( 'setup_configuration', diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa3_enterprise_encryption/test_peak_throughput_wpa3_eap_80Mhz_5g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa3_enterprise_encryption/test_peak_throughput_wpa3_eap_80Mhz_5g.py index 75f5d57302e..d35bd35c60f 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa3_enterprise_encryption/test_peak_throughput_wpa3_eap_80Mhz_5g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa3_enterprise_encryption/test_peak_throughput_wpa3_eap_80Mhz_5g.py @@ -28,6 +28,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Enterprise Security") +@allure.suite("80Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-36") @pytest.mark.channel_36 @pytest.mark.parametrize( 'setup_configuration', @@ -161,6 +164,9 @@ def test_client_wpa3_eap_bridge_udp_ul(self, get_test_library, get_dut_logs_per_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Enterprise Security") +@allure.suite("80Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-52") @pytest.mark.channel_52 @pytest.mark.parametrize( 'setup_configuration', @@ -294,6 +300,9 @@ def test_client_wpa3_eap_bridge_udp_ul(self, get_test_library, get_dut_logs_per_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Enterprise Security") +@allure.suite("80Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-100") @pytest.mark.channel_100 @pytest.mark.parametrize( 'setup_configuration', @@ -427,6 +436,9 @@ def test_client_wpa3_eap_bridge_udp_ul(self, get_test_library, get_dut_logs_per_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Enterprise Security") +@allure.suite("80Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-132") @pytest.mark.channel_132 @pytest.mark.parametrize( 'setup_configuration', diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_160Mhz_6g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_160Mhz_6g.py index a2cfa03a496..20222cc6fe9 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_160Mhz_6g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_160Mhz_6g.py @@ -29,10 +29,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") -@allure.parent_suite("Throughput Benchmark Test") -@allure.suite("6 GHz Band") -@allure.sub_suite("BRIDGE Mode") - +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Personal Security") +@allure.suite("160Mhz Bandwidth in 6GHz Band") +@allure.sub_suite("Channel-AUTO") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_20Mhz_2g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_20Mhz_2g.py index 23d015d48e9..3072717e961 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_20Mhz_2g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_20Mhz_2g.py @@ -27,6 +27,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-1") @pytest.mark.channel_1 @pytest.mark.parametrize( 'setup_configuration', @@ -159,6 +162,9 @@ def test_client_wpa3_personal_bridge_udp_ul(self, get_test_library, get_dut_logs @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-2") @pytest.mark.channel_2 @pytest.mark.parametrize( 'setup_configuration', @@ -291,6 +297,9 @@ def test_client_wpa3_personal_bridge_udp_ul(self, get_test_library, get_dut_logs @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-3") @pytest.mark.channel_3 @pytest.mark.parametrize( 'setup_configuration', @@ -423,7 +432,10 @@ def test_client_wpa3_personal_bridge_udp_ul(self, get_test_library, get_dut_logs @allure.feature("PEAK THROUGHPUT TESTS") -@pytest.mark.channel_3 +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-4") +@pytest.mark.channel_4 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_4], @@ -547,7 +559,7 @@ def test_client_wpa3_personal_bridge_udp_ul(self, get_test_library, get_dut_logs "2G": { 'band': '2G', 'channel-width': 20, - "channel": 4 + "channel": 5 } }, "radius": False @@ -555,7 +567,10 @@ def test_client_wpa3_personal_bridge_udp_ul(self, get_test_library, get_dut_logs @allure.feature("PEAK THROUGHPUT TESTS") -@pytest.mark.channel_3 +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-5") +@pytest.mark.channel_5 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_5], @@ -687,10 +702,13 @@ def test_client_wpa3_personal_bridge_udp_ul(self, get_test_library, get_dut_logs @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-6") @pytest.mark.channel_6 @pytest.mark.parametrize( 'setup_configuration', - [setup_params_general_5], + [setup_params_general_6], indirect=True, scope="class" ) @@ -819,6 +837,9 @@ def test_client_wpa3_personal_bridge_udp_ul(self, get_test_library, get_dut_logs @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-7") @pytest.mark.channel_7 @pytest.mark.parametrize( 'setup_configuration', @@ -951,6 +972,9 @@ def test_client_wpa3_personal_bridge_udp_ul(self, get_test_library, get_dut_logs @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-8") @pytest.mark.channel_8 @pytest.mark.parametrize( 'setup_configuration', @@ -1084,6 +1108,9 @@ def test_client_wpa3_personal_bridge_udp_ul(self, get_test_library, get_dut_logs @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-9") @pytest.mark.channel_9 @pytest.mark.parametrize( 'setup_configuration', @@ -1216,6 +1243,9 @@ def test_client_wpa3_personal_bridge_udp_ul(self, get_test_library, get_dut_logs @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-10") @pytest.mark.channel_10 @pytest.mark.parametrize( 'setup_configuration', @@ -1348,6 +1378,9 @@ def test_client_wpa3_personal_bridge_udp_ul(self, get_test_library, get_dut_logs @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-11") @pytest.mark.channel_11 @pytest.mark.parametrize( 'setup_configuration', diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_20Mhz_5g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_20Mhz_5g.py index 91637caef69..17fcd12303d 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_20Mhz_5g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_20Mhz_5g.py @@ -27,6 +27,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-36") @pytest.mark.channel_36 @pytest.mark.parametrize( 'setup_configuration', @@ -159,6 +162,9 @@ def test_client_wpa3_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-40") @pytest.mark.channel_40 @pytest.mark.parametrize( 'setup_configuration', @@ -290,6 +296,9 @@ def test_client_wpa3_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-44") @pytest.mark.channel_44 @pytest.mark.parametrize( 'setup_configuration', @@ -422,6 +431,9 @@ def test_client_wpa3_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-48") @pytest.mark.channel_48 @pytest.mark.parametrize( 'setup_configuration', @@ -554,6 +566,9 @@ def test_client_wpa3_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-52") @pytest.mark.channel_52 @pytest.mark.parametrize( 'setup_configuration', @@ -686,6 +701,9 @@ def test_client_wpa3_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-56") @pytest.mark.channel_56 @pytest.mark.parametrize( 'setup_configuration', @@ -818,6 +836,9 @@ def test_client_wpa3_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-60") @pytest.mark.channel_60 @pytest.mark.parametrize( 'setup_configuration', @@ -952,6 +973,9 @@ def test_client_wpa3_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-64") @pytest.mark.channel_64 @pytest.mark.parametrize( 'setup_configuration', @@ -1085,6 +1109,9 @@ def test_client_wpa3_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-100") @pytest.mark.channel_100 @pytest.mark.parametrize( 'setup_configuration', @@ -1217,6 +1244,9 @@ def test_client_wpa3_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-104") @pytest.mark.channel_104 @pytest.mark.parametrize( 'setup_configuration', @@ -1350,6 +1380,9 @@ def test_client_wpa3_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-108") @pytest.mark.channel_108 @pytest.mark.parametrize( 'setup_configuration', @@ -1483,6 +1516,9 @@ def test_client_wpa3_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-112") @pytest.mark.channel_112 @pytest.mark.parametrize( 'setup_configuration', @@ -1616,6 +1652,9 @@ def test_client_wpa3_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-116") @pytest.mark.channel_116 @pytest.mark.parametrize( 'setup_configuration', @@ -1749,6 +1788,9 @@ def test_client_wpa3_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-132") @pytest.mark.channel_114 @pytest.mark.parametrize( 'setup_configuration', @@ -1880,6 +1922,9 @@ def test_client_wpa3_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-136") @pytest.mark.channel_136 @pytest.mark.parametrize( 'setup_configuration', @@ -2012,6 +2057,10 @@ def test_client_wpa3_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-140") +@pytest.mark.channel_140 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general16], @@ -2142,6 +2191,9 @@ def test_client_wpa3_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-144") @pytest.mark.channel_144 @pytest.mark.parametrize( 'setup_configuration', diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_40Mhz_2g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_40Mhz_2g.py index 65217c628fe..47a8cd62310 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_40Mhz_2g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_40Mhz_2g.py @@ -27,6 +27,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Personal Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-1") @pytest.mark.channel_1 @pytest.mark.parametrize( 'setup_configuration', @@ -159,6 +162,9 @@ def test_client_wpa3_personal_bridge_udp_ul(self, get_test_library, get_dut_logs @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Personal Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-2") @pytest.mark.channel_2 @pytest.mark.parametrize( 'setup_configuration', @@ -291,6 +297,9 @@ def test_client_wpa3_personal_bridge_udp_ul(self, get_test_library, get_dut_logs @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Personal Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-3") @pytest.mark.channel_3 @pytest.mark.parametrize( 'setup_configuration', @@ -423,7 +432,10 @@ def test_client_wpa3_personal_bridge_udp_ul(self, get_test_library, get_dut_logs @allure.feature("PEAK THROUGHPUT TESTS") -@pytest.mark.channel_3 +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Personal Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-4") +@pytest.mark.channel_4 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_4], @@ -547,7 +559,7 @@ def test_client_wpa3_personal_bridge_udp_ul(self, get_test_library, get_dut_logs "2G": { 'band': '2G', 'channel-width': 40, - "channel": 4 + "channel": 5 } }, "radius": False @@ -555,7 +567,10 @@ def test_client_wpa3_personal_bridge_udp_ul(self, get_test_library, get_dut_logs @allure.feature("PEAK THROUGHPUT TESTS") -@pytest.mark.channel_3 +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Personal Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-5") +@pytest.mark.channel_5 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_5], @@ -687,10 +702,13 @@ def test_client_wpa3_personal_bridge_udp_ul(self, get_test_library, get_dut_logs @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Personal Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-6") @pytest.mark.channel_6 @pytest.mark.parametrize( 'setup_configuration', - [setup_params_general_5], + [setup_params_general_6], indirect=True, scope="class" ) @@ -819,6 +837,9 @@ def test_client_wpa3_personal_bridge_udp_ul(self, get_test_library, get_dut_logs @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Personal Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-7") @pytest.mark.channel_7 @pytest.mark.parametrize( 'setup_configuration', @@ -951,6 +972,9 @@ def test_client_wpa3_personal_bridge_udp_ul(self, get_test_library, get_dut_logs @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Personal Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-8") @pytest.mark.channel_8 @pytest.mark.parametrize( 'setup_configuration', @@ -1084,6 +1108,9 @@ def test_client_wpa3_personal_bridge_udp_ul(self, get_test_library, get_dut_logs @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Personal Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-9") @pytest.mark.channel_9 @pytest.mark.parametrize( 'setup_configuration', @@ -1216,6 +1243,9 @@ def test_client_wpa3_personal_bridge_udp_ul(self, get_test_library, get_dut_logs @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Personal Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-10") @pytest.mark.channel_10 @pytest.mark.parametrize( 'setup_configuration', @@ -1348,6 +1378,9 @@ def test_client_wpa3_personal_bridge_udp_ul(self, get_test_library, get_dut_logs @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Personal Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-11") @pytest.mark.channel_11 @pytest.mark.parametrize( 'setup_configuration', diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_40Mhz_5g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_40Mhz_5g.py index 82501c0bdc5..f880d9c7bfa 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_40Mhz_5g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_40Mhz_5g.py @@ -28,6 +28,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Personal Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-36") @pytest.mark.channel_36 @pytest.mark.parametrize( 'setup_configuration', @@ -160,6 +163,9 @@ def test_client_wpa3_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Personal Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-44") @pytest.mark.channel_44 @pytest.mark.parametrize( 'setup_configuration', @@ -264,6 +270,9 @@ def test_client_wpa3_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Personal Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-52") @pytest.mark.channel_52 @pytest.mark.parametrize( 'setup_configuration', @@ -396,6 +405,9 @@ def test_client_wpa3_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Personal Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-60") @pytest.mark.channel_60 @pytest.mark.parametrize( 'setup_configuration', @@ -529,6 +541,9 @@ def test_client_wpa3_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Personal Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-100") @pytest.mark.channel_100 @pytest.mark.parametrize( 'setup_configuration', @@ -662,6 +677,9 @@ def test_client_wpa3_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Personal Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-108") @pytest.mark.channel_108 @pytest.mark.parametrize( 'setup_configuration', @@ -795,6 +813,9 @@ def test_client_wpa3_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Personal Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-132") @pytest.mark.channel_132 @pytest.mark.parametrize( 'setup_configuration', @@ -927,6 +948,9 @@ def test_client_wpa3_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Personal Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-136") @pytest.mark.channel_136 @pytest.mark.parametrize( 'setup_configuration', @@ -1059,6 +1083,9 @@ def test_client_wpa3_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Personal Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-140") @pytest.mark.channel_140 @pytest.mark.parametrize( 'setup_configuration', diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_80Mhz_5g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_80Mhz_5g.py index e470196dee3..9216c5477fa 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_80Mhz_5g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_80Mhz_5g.py @@ -28,6 +28,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Personal Security") +@allure.suite("80Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-36") @pytest.mark.channel_36 @pytest.mark.parametrize( 'setup_configuration', @@ -161,6 +164,9 @@ def test_client_wpa3_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Personal Security") +@allure.suite("80Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-52") @pytest.mark.channel_52 @pytest.mark.parametrize( 'setup_configuration', @@ -294,6 +300,9 @@ def test_client_wpa3_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Personal Security") +@allure.suite("80Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-100") @pytest.mark.channel_100 @pytest.mark.parametrize( 'setup_configuration', @@ -427,6 +436,9 @@ def test_client_wpa3_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Personal Security") +@allure.suite("80Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-132") @pytest.mark.channel_132 @pytest.mark.parametrize( 'setup_configuration', diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_80Mhz_6g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_80Mhz_6g.py index 84b2189af90..585824d858d 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_80Mhz_6g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_80Mhz_6g.py @@ -26,10 +26,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") -@allure.parent_suite("Throughput Benchmark Test") -@allure.suite("6 GHz Band") -@allure.sub_suite("BRIDGE Mode") - +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA3 Personal Security") +@allure.suite("80Mhz Bandwidth in 6GHz Band") +@allure.sub_suite("Channel-AUTO") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa_encryption/test_peak_throughput_wpa_20Mhz_2g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa_encryption/test_peak_throughput_wpa_20Mhz_2g.py index f7774e5a5b4..d3a6789f695 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa_encryption/test_peak_throughput_wpa_20Mhz_2g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa_encryption/test_peak_throughput_wpa_20Mhz_2g.py @@ -27,6 +27,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-1") @pytest.mark.channel_1 @pytest.mark.parametrize( 'setup_configuration', @@ -159,6 +162,9 @@ def test_client_wpa_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-2") @pytest.mark.channel_2 @pytest.mark.parametrize( 'setup_configuration', @@ -291,6 +297,9 @@ def test_client_wpa_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-3") @pytest.mark.channel_3 @pytest.mark.parametrize( 'setup_configuration', @@ -423,7 +432,10 @@ def test_client_wpa_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_ @allure.feature("PEAK THROUGHPUT TESTS") -@pytest.mark.channel_3 +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-4") +@pytest.mark.channel_4 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_4], @@ -547,7 +559,7 @@ def test_client_wpa_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_ "2G": { 'band': '2G', 'channel-width': 20, - "channel": 4 + "channel": 5 } }, "radius": False @@ -555,7 +567,10 @@ def test_client_wpa_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_ @allure.feature("PEAK THROUGHPUT TESTS") -@pytest.mark.channel_3 +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-5") +@pytest.mark.channel_5 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_5], @@ -687,10 +702,13 @@ def test_client_wpa_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-6") @pytest.mark.channel_6 @pytest.mark.parametrize( 'setup_configuration', - [setup_params_general_5], + [setup_params_general_6], indirect=True, scope="class" ) @@ -819,6 +837,9 @@ def test_client_wpa_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-7") @pytest.mark.channel_7 @pytest.mark.parametrize( 'setup_configuration', @@ -951,6 +972,9 @@ def test_client_wpa_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-8") @pytest.mark.channel_8 @pytest.mark.parametrize( 'setup_configuration', @@ -1084,6 +1108,9 @@ def test_client_wpa_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-9") @pytest.mark.channel_9 @pytest.mark.parametrize( 'setup_configuration', @@ -1216,6 +1243,9 @@ def test_client_wpa_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-10") @pytest.mark.channel_10 @pytest.mark.parametrize( 'setup_configuration', @@ -1348,6 +1378,9 @@ def test_client_wpa_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-11") @pytest.mark.channel_11 @pytest.mark.parametrize( 'setup_configuration', diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa_encryption/test_peak_throughput_wpa_20Mhz_5g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa_encryption/test_peak_throughput_wpa_20Mhz_5g.py index 287bc51481a..1aca5b8609b 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa_encryption/test_peak_throughput_wpa_20Mhz_5g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa_encryption/test_peak_throughput_wpa_20Mhz_5g.py @@ -27,6 +27,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-36") @pytest.mark.channel_36 @pytest.mark.parametrize( 'setup_configuration', @@ -159,6 +162,9 @@ def test_client_wpa_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-40") @pytest.mark.channel_40 @pytest.mark.parametrize( 'setup_configuration', @@ -290,6 +296,9 @@ def test_client_wpa_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-44") @pytest.mark.channel_44 @pytest.mark.parametrize( 'setup_configuration', @@ -422,6 +431,9 @@ def test_client_wpa_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-48") @pytest.mark.channel_48 @pytest.mark.parametrize( 'setup_configuration', @@ -554,6 +566,9 @@ def test_client_wpa_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-52") @pytest.mark.channel_52 @pytest.mark.parametrize( 'setup_configuration', @@ -686,6 +701,9 @@ def test_client_wpa_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-56") @pytest.mark.channel_56 @pytest.mark.parametrize( 'setup_configuration', @@ -818,6 +836,9 @@ def test_client_wpa_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-60") @pytest.mark.channel_60 @pytest.mark.parametrize( 'setup_configuration', @@ -952,6 +973,9 @@ def test_client_wpa_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-64") @pytest.mark.channel_64 @pytest.mark.parametrize( 'setup_configuration', @@ -1085,6 +1109,9 @@ def test_client_wpa_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-100") @pytest.mark.channel_100 @pytest.mark.parametrize( 'setup_configuration', @@ -1217,6 +1244,9 @@ def test_client_wpa_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-104") @pytest.mark.channel_104 @pytest.mark.parametrize( 'setup_configuration', @@ -1350,6 +1380,9 @@ def test_client_wpa_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-108") @pytest.mark.channel_108 @pytest.mark.parametrize( 'setup_configuration', @@ -1483,6 +1516,9 @@ def test_client_wpa_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-112") @pytest.mark.channel_112 @pytest.mark.parametrize( 'setup_configuration', @@ -1616,6 +1652,9 @@ def test_client_wpa_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-116") @pytest.mark.channel_116 @pytest.mark.parametrize( 'setup_configuration', @@ -1749,7 +1788,10 @@ def test_client_wpa_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_ @allure.feature("PEAK THROUGHPUT TESTS") -@pytest.mark.channel_114 +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-132") +@pytest.mark.channel_132 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general14], @@ -1880,6 +1922,9 @@ def test_client_wpa_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-136") @pytest.mark.channel_136 @pytest.mark.parametrize( 'setup_configuration', @@ -2012,6 +2057,10 @@ def test_client_wpa_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-140") +@pytest.mark.channel_140 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general16], @@ -2142,6 +2191,9 @@ def test_client_wpa_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-144") @pytest.mark.channel_144 @pytest.mark.parametrize( 'setup_configuration', diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa_encryption/test_peak_throughput_wpa_40Mhz_2g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa_encryption/test_peak_throughput_wpa_40Mhz_2g.py index 4647c9090ca..64ca54626ad 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa_encryption/test_peak_throughput_wpa_40Mhz_2g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa_encryption/test_peak_throughput_wpa_40Mhz_2g.py @@ -27,6 +27,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-1") @pytest.mark.channel_1 @pytest.mark.parametrize( 'setup_configuration', @@ -159,6 +162,9 @@ def test_client_wpa_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-2") @pytest.mark.channel_2 @pytest.mark.parametrize( 'setup_configuration', @@ -291,6 +297,9 @@ def test_client_wpa_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-3") @pytest.mark.channel_3 @pytest.mark.parametrize( 'setup_configuration', @@ -423,7 +432,10 @@ def test_client_wpa_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_ @allure.feature("PEAK THROUGHPUT TESTS") -@pytest.mark.channel_3 +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-4") +@pytest.mark.channel_4 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_4], @@ -547,7 +559,7 @@ def test_client_wpa_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_ "2G": { 'band': '2G', 'channel-width': 40, - "channel": 4 + "channel": 5 } }, "radius": False @@ -555,7 +567,10 @@ def test_client_wpa_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_ @allure.feature("PEAK THROUGHPUT TESTS") -@pytest.mark.channel_3 +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-5") +@pytest.mark.channel_5 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_5], @@ -687,10 +702,13 @@ def test_client_wpa_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-6") @pytest.mark.channel_6 @pytest.mark.parametrize( 'setup_configuration', - [setup_params_general_5], + [setup_params_general_6], indirect=True, scope="class" ) @@ -819,6 +837,9 @@ def test_client_wpa_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-7") @pytest.mark.channel_7 @pytest.mark.parametrize( 'setup_configuration', @@ -951,6 +972,9 @@ def test_client_wpa_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-8") @pytest.mark.channel_8 @pytest.mark.parametrize( 'setup_configuration', @@ -1084,6 +1108,9 @@ def test_client_wpa_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-9") @pytest.mark.channel_9 @pytest.mark.parametrize( 'setup_configuration', @@ -1216,6 +1243,9 @@ def test_client_wpa_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-10") @pytest.mark.channel_10 @pytest.mark.parametrize( 'setup_configuration', @@ -1348,6 +1378,9 @@ def test_client_wpa_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-11") @pytest.mark.channel_11 @pytest.mark.parametrize( 'setup_configuration', diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa_encryption/test_peak_throughput_wpa_40Mhz_5g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa_encryption/test_peak_throughput_wpa_40Mhz_5g.py index c705a0657a9..398b80f3571 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa_encryption/test_peak_throughput_wpa_40Mhz_5g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa_encryption/test_peak_throughput_wpa_40Mhz_5g.py @@ -28,6 +28,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-36") @pytest.mark.channel_36 @pytest.mark.parametrize( 'setup_configuration', @@ -160,6 +163,9 @@ def test_client_wpa_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-44") @pytest.mark.channel_44 @pytest.mark.parametrize( 'setup_configuration', @@ -264,6 +270,9 @@ def test_client_wpa_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-52") @pytest.mark.channel_52 @pytest.mark.parametrize( 'setup_configuration', @@ -396,6 +405,9 @@ def test_client_wpa_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-60") @pytest.mark.channel_60 @pytest.mark.parametrize( 'setup_configuration', @@ -529,6 +541,9 @@ def test_client_wpa_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-100") @pytest.mark.channel_100 @pytest.mark.parametrize( 'setup_configuration', @@ -662,6 +677,9 @@ def test_client_wpa_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-108") @pytest.mark.channel_108 @pytest.mark.parametrize( 'setup_configuration', @@ -795,6 +813,9 @@ def test_client_wpa_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-132") @pytest.mark.channel_132 @pytest.mark.parametrize( 'setup_configuration', @@ -927,6 +948,9 @@ def test_client_wpa_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-136") @pytest.mark.channel_136 @pytest.mark.parametrize( 'setup_configuration', @@ -1059,6 +1083,9 @@ def test_client_wpa_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-140") @pytest.mark.channel_140 @pytest.mark.parametrize( 'setup_configuration', diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa_encryption/test_peak_throughput_wpa_80Mhz_5g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa_encryption/test_peak_throughput_wpa_80Mhz_5g.py index 2db01e5313b..d83258e5de3 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa_encryption/test_peak_throughput_wpa_80Mhz_5g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/bridge_mode/wpa_encryption/test_peak_throughput_wpa_80Mhz_5g.py @@ -28,6 +28,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA Security") +@allure.suite("80Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-36") @pytest.mark.channel_36 @pytest.mark.parametrize( 'setup_configuration', @@ -161,6 +164,9 @@ def test_client_wpa_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA Security") +@allure.suite("80Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-52") @pytest.mark.channel_52 @pytest.mark.parametrize( 'setup_configuration', @@ -294,6 +300,9 @@ def test_client_wpa_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA Security") +@allure.suite("80Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-100") @pytest.mark.channel_100 @pytest.mark.parametrize( 'setup_configuration', @@ -427,6 +436,9 @@ def test_client_wpa_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: Bridge Mode w/ WPA Security") +@allure.suite("80Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-132") @pytest.mark.channel_132 @pytest.mark.parametrize( 'setup_configuration', diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/open_encryption/test_peak_throughput_open_20Mhz_2g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/open_encryption/test_peak_throughput_open_20Mhz_2g.py index 830e00f8298..42280a438cb 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/open_encryption/test_peak_throughput_open_20Mhz_2g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/open_encryption/test_peak_throughput_open_20Mhz_2g.py @@ -1,7 +1,7 @@ """ - Performance Test: Country code along with Channel and Channel-width Test: Bridge Mode - pytest -m "country_code and Bridge" + Performance Test: Country code along with Channel and Channel-width Test: NAT Mode + pytest -m "country_code and NAT" """ @@ -27,6 +27,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ Open Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-1") @pytest.mark.channel_1 @pytest.mark.parametrize( 'setup_configuration', @@ -36,8 +39,8 @@ ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel1PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -159,6 +162,9 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ Open Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-2") @pytest.mark.channel_2 @pytest.mark.parametrize( 'setup_configuration', @@ -168,8 +174,8 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel2PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -291,6 +297,9 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ Open Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-3") @pytest.mark.channel_3 @pytest.mark.parametrize( 'setup_configuration', @@ -300,8 +309,8 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel3PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -423,7 +432,10 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") -@pytest.mark.channel_3 +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ Open Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-4") +@pytest.mark.channel_4 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_4], @@ -432,8 +444,8 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel4PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -547,7 +559,7 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca "2G": { 'band': '2G', 'channel-width': 20, - "channel": 4 + "channel": 5 } }, "radius": False @@ -555,7 +567,10 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") -@pytest.mark.channel_3 +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ Open Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-5") +@pytest.mark.channel_5 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_5], @@ -564,8 +579,8 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel5PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -687,17 +702,20 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ Open Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-6") @pytest.mark.channel_6 @pytest.mark.parametrize( 'setup_configuration', - [setup_params_general_5], + [setup_params_general_6], indirect=True, scope="class" ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel6PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -819,6 +837,9 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ Open Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-7") @pytest.mark.channel_7 @pytest.mark.parametrize( 'setup_configuration', @@ -828,8 +849,8 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel7PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -951,6 +972,9 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ Open Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-8") @pytest.mark.channel_8 @pytest.mark.parametrize( 'setup_configuration', @@ -960,8 +984,8 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel8PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1084,6 +1108,9 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ Open Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-9") @pytest.mark.channel_9 @pytest.mark.parametrize( 'setup_configuration', @@ -1093,8 +1120,8 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel9PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1216,6 +1243,9 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ Open Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-10") @pytest.mark.channel_10 @pytest.mark.parametrize( 'setup_configuration', @@ -1225,8 +1255,8 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel10PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1348,6 +1378,9 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ Open Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-11") @pytest.mark.channel_11 @pytest.mark.parametrize( 'setup_configuration', @@ -1357,8 +1390,8 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel11PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/open_encryption/test_peak_throughput_open_20Mhz_5g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/open_encryption/test_peak_throughput_open_20Mhz_5g.py index 507be02e105..2beaf2f3b7b 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/open_encryption/test_peak_throughput_open_20Mhz_5g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/open_encryption/test_peak_throughput_open_20Mhz_5g.py @@ -1,7 +1,7 @@ """ - Performance Test: Country code along with Channel and Channel-width Test: Bridge Mode - pytest -m "country_code and Bridge" + Performance Test: Country code along with Channel and Channel-width Test: NAT Mode + pytest -m "country_code and NAT" """ @@ -27,6 +27,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ Open Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-36") @pytest.mark.channel_36 @pytest.mark.parametrize( 'setup_configuration', @@ -36,8 +39,8 @@ ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz5GChannel36PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -159,6 +162,9 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ Open Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-40") @pytest.mark.channel_40 @pytest.mark.parametrize( 'setup_configuration', @@ -168,8 +174,8 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz5GChannel40PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -290,6 +296,9 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ Open Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-44") @pytest.mark.channel_44 @pytest.mark.parametrize( 'setup_configuration', @@ -299,8 +308,8 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz5GChannel44PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -422,6 +431,9 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ Open Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-48") @pytest.mark.channel_48 @pytest.mark.parametrize( 'setup_configuration', @@ -431,8 +443,8 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel48PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -554,6 +566,9 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ Open Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-52") @pytest.mark.channel_52 @pytest.mark.parametrize( 'setup_configuration', @@ -563,8 +578,8 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel52PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -686,6 +701,9 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ Open Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-56") @pytest.mark.channel_56 @pytest.mark.parametrize( 'setup_configuration', @@ -695,8 +713,8 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel56PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -818,6 +836,9 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ Open Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-60") @pytest.mark.channel_60 @pytest.mark.parametrize( 'setup_configuration', @@ -827,8 +848,8 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel60PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -952,6 +973,9 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ Open Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-64") @pytest.mark.channel_64 @pytest.mark.parametrize( 'setup_configuration', @@ -961,8 +985,8 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel64PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1085,6 +1109,9 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ Open Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-100") @pytest.mark.channel_100 @pytest.mark.parametrize( 'setup_configuration', @@ -1094,8 +1121,8 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel100PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1217,6 +1244,9 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ Open Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-104") @pytest.mark.channel_104 @pytest.mark.parametrize( 'setup_configuration', @@ -1226,8 +1256,8 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel104PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1350,6 +1380,9 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ Open Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-108") @pytest.mark.channel_108 @pytest.mark.parametrize( 'setup_configuration', @@ -1359,8 +1392,8 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel108PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1483,6 +1516,9 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ Open Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-112") @pytest.mark.channel_112 @pytest.mark.parametrize( 'setup_configuration', @@ -1492,8 +1528,8 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel112PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1616,6 +1652,9 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ Open Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-116") @pytest.mark.channel_116 @pytest.mark.parametrize( 'setup_configuration', @@ -1625,8 +1664,8 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel116PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1749,7 +1788,10 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") -@pytest.mark.channel_114 +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ Open Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-132") +@pytest.mark.channel_132 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general14], @@ -1758,8 +1800,8 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel132PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1880,6 +1922,9 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ Open Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-136") @pytest.mark.channel_136 @pytest.mark.parametrize( 'setup_configuration', @@ -1889,8 +1934,8 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel136PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -2012,6 +2057,10 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ Open Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-140") +@pytest.mark.channel_140 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general16], @@ -2020,8 +2069,8 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel140PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -2142,6 +2191,9 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ Open Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-144") @pytest.mark.channel_144 @pytest.mark.parametrize( 'setup_configuration', @@ -2151,8 +2203,8 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel144PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/open_encryption/test_peak_throughput_open_40Mhz_2g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/open_encryption/test_peak_throughput_open_40Mhz_2g.py index 9e285be132b..6dc8afbf9ff 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/open_encryption/test_peak_throughput_open_40Mhz_2g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/open_encryption/test_peak_throughput_open_40Mhz_2g.py @@ -1,7 +1,7 @@ """ - Performance Test: Country code along with Channel and Channel-width Test: Bridge Mode - pytest -m "country_code and Bridge" + Performance Test: Country code along with Channel and Channel-width Test: NAT Mode + pytest -m "country_code and NAT" """ @@ -27,6 +27,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ Open Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-1") @pytest.mark.channel_1 @pytest.mark.parametrize( 'setup_configuration', @@ -36,8 +39,8 @@ ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel1PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -159,6 +162,9 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ Open Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-2") @pytest.mark.channel_2 @pytest.mark.parametrize( 'setup_configuration', @@ -168,8 +174,8 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel2PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -291,6 +297,9 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ Open Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-3") @pytest.mark.channel_3 @pytest.mark.parametrize( 'setup_configuration', @@ -300,8 +309,8 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel3PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -423,7 +432,10 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") -@pytest.mark.channel_3 +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ Open Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-4") +@pytest.mark.channel_4 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_4], @@ -432,8 +444,8 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel4PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -547,7 +559,7 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca "2G": { 'band': '2G', 'channel-width': 40, - "channel": 4 + "channel": 5 } }, "radius": False @@ -555,7 +567,10 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") -@pytest.mark.channel_3 +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ Open Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-5") +@pytest.mark.channel_5 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_5], @@ -564,8 +579,8 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel5PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -687,17 +702,20 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ Open Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-6") @pytest.mark.channel_6 @pytest.mark.parametrize( 'setup_configuration', - [setup_params_general_5], + [setup_params_general_6], indirect=True, scope="class" ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel6PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -819,6 +837,9 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ Open Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-7") @pytest.mark.channel_7 @pytest.mark.parametrize( 'setup_configuration', @@ -828,8 +849,8 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel7PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -951,6 +972,9 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ Open Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-8") @pytest.mark.channel_8 @pytest.mark.parametrize( 'setup_configuration', @@ -960,8 +984,8 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel8PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1084,6 +1108,9 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ Open Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-9") @pytest.mark.channel_9 @pytest.mark.parametrize( 'setup_configuration', @@ -1093,8 +1120,8 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel9PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1216,6 +1243,9 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ Open Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-10") @pytest.mark.channel_10 @pytest.mark.parametrize( 'setup_configuration', @@ -1225,8 +1255,8 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel10PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1348,6 +1378,9 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ Open Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-11") @pytest.mark.channel_11 @pytest.mark.parametrize( 'setup_configuration', @@ -1357,8 +1390,8 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel11PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/open_encryption/test_peak_throughput_open_40Mhz_5g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/open_encryption/test_peak_throughput_open_40Mhz_5g.py index 95c3a3c846c..def16b61c35 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/open_encryption/test_peak_throughput_open_40Mhz_5g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/open_encryption/test_peak_throughput_open_40Mhz_5g.py @@ -1,7 +1,7 @@ """ - Performance Test: Country code along with Channel and Channel-width Test: Bridge Mode - pytest -m "country_code and Bridge" + Performance Test: Country code along with Channel and Channel-width Test: NAT Mode + pytest -m "country_code and NAT" """ @@ -28,6 +28,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ Open Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-36") @pytest.mark.channel_36 @pytest.mark.parametrize( 'setup_configuration', @@ -37,8 +40,8 @@ ) @pytest.mark.usefixtures("setup_configuration") class Test40Mhz5GChannel36PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -160,6 +163,9 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ Open Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-44") @pytest.mark.channel_44 @pytest.mark.parametrize( 'setup_configuration', @@ -169,8 +175,8 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test40Mhz5GChannel44PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -292,6 +298,9 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ Open Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-52") @pytest.mark.channel_52 @pytest.mark.parametrize( 'setup_configuration', @@ -301,8 +310,8 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test40Mhz5GChannel52PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -424,6 +433,9 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ Open Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-60") @pytest.mark.channel_60 @pytest.mark.parametrize( 'setup_configuration', @@ -433,8 +445,8 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test40Mhz5GChannel60PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -557,6 +569,9 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ Open Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-100") @pytest.mark.channel_100 @pytest.mark.parametrize( 'setup_configuration', @@ -566,8 +581,8 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test40Mhz5GChannel100PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -690,6 +705,9 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ Open Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-108") @pytest.mark.channel_108 @pytest.mark.parametrize( 'setup_configuration', @@ -699,8 +717,8 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test40Mhz5GChannel108PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -823,6 +841,9 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ Open Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-132") @pytest.mark.channel_132 @pytest.mark.parametrize( 'setup_configuration', @@ -832,8 +853,8 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test40Mhz5GChannel132PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -955,6 +976,9 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ Open Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-136") @pytest.mark.channel_136 @pytest.mark.parametrize( 'setup_configuration', @@ -964,8 +988,8 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test40Mhz5GChannel136PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1087,6 +1111,9 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ Open Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-140") @pytest.mark.channel_140 @pytest.mark.parametrize( 'setup_configuration', @@ -1096,8 +1123,8 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test40Mhz5GChannel140PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/open_encryption/test_peak_throughput_open_80Mhz_5g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/open_encryption/test_peak_throughput_open_80Mhz_5g.py index cde8ca43ed3..b5a8efd693d 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/open_encryption/test_peak_throughput_open_80Mhz_5g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/open_encryption/test_peak_throughput_open_80Mhz_5g.py @@ -1,7 +1,7 @@ """ - Performance Test: Country code along with Channel and Channel-width Test: Bridge Mode - pytest -m "country_code and Bridge" + Performance Test: Country code along with Channel and Channel-width Test: NAT Mode + pytest -m "country_code and NAT" """ @@ -28,6 +28,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ Open Security") +@allure.suite("80Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-36") @pytest.mark.channel_36 @pytest.mark.parametrize( 'setup_configuration', @@ -37,8 +40,8 @@ ) @pytest.mark.usefixtures("setup_configuration") class Test80Mhz5GChannel36PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -160,6 +163,9 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ Open Security") +@allure.suite("80Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-52") @pytest.mark.channel_52 @pytest.mark.parametrize( 'setup_configuration', @@ -169,8 +175,8 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test80Mhz5GChannel52PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -293,6 +299,9 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ Open Security") +@allure.suite("80Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-100") @pytest.mark.channel_100 @pytest.mark.parametrize( 'setup_configuration', @@ -302,8 +311,8 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test80Mhz5GChannel100PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -426,6 +435,9 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ Open Security") +@allure.suite("80Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-132") @pytest.mark.channel_132 @pytest.mark.parametrize( 'setup_configuration', @@ -435,8 +447,8 @@ def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test80Mhz5GChannel132PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_enterprise_encryption/test_peak_throughput_wpa2_eap_20Mhz_2g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_enterprise_encryption/test_peak_throughput_wpa2_eap_20Mhz_2g.py index b0700f47ced..26f9c37af09 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_enterprise_encryption/test_peak_throughput_wpa2_eap_20Mhz_2g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_enterprise_encryption/test_peak_throughput_wpa2_eap_20Mhz_2g.py @@ -1,7 +1,7 @@ """ - Performance Test: Country code along with Channel and Channel-width Test: Bridge Mode - pytest -m "country_code and Bridge" + Performance Test: Country code along with Channel and Channel-width Test: NAT Mode + pytest -m "country_code and NAT" """ @@ -27,6 +27,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-1") @pytest.mark.channel_1 @pytest.mark.parametrize( 'setup_configuration', @@ -36,8 +39,8 @@ ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel1PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -159,6 +162,9 @@ def test_client_wpa2_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-2") @pytest.mark.channel_2 @pytest.mark.parametrize( 'setup_configuration', @@ -168,8 +174,8 @@ def test_client_wpa2_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel2PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -291,6 +297,9 @@ def test_client_wpa2_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-3") @pytest.mark.channel_3 @pytest.mark.parametrize( 'setup_configuration', @@ -300,8 +309,8 @@ def test_client_wpa2_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel3PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -423,7 +432,10 @@ def test_client_wpa2_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") -@pytest.mark.channel_3 +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-4") +@pytest.mark.channel_4 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_4], @@ -432,8 +444,8 @@ def test_client_wpa2_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel4PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -547,7 +559,7 @@ def test_client_wpa2_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ "2G": { 'band': '2G', 'channel-width': 20, - "channel": 4 + "channel": 5 } }, "radius": True @@ -555,7 +567,10 @@ def test_client_wpa2_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") -@pytest.mark.channel_3 +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-5") +@pytest.mark.channel_5 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_5], @@ -564,8 +579,8 @@ def test_client_wpa2_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel5PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -687,17 +702,20 @@ def test_client_wpa2_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-6") @pytest.mark.channel_6 @pytest.mark.parametrize( 'setup_configuration', - [setup_params_general_5], + [setup_params_general_6], indirect=True, scope="class" ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel6PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -819,6 +837,9 @@ def test_client_wpa2_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-7") @pytest.mark.channel_7 @pytest.mark.parametrize( 'setup_configuration', @@ -828,8 +849,8 @@ def test_client_wpa2_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel7PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -951,6 +972,9 @@ def test_client_wpa2_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-8") @pytest.mark.channel_8 @pytest.mark.parametrize( 'setup_configuration', @@ -960,8 +984,8 @@ def test_client_wpa2_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel8PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1084,6 +1108,9 @@ def test_client_wpa2_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-9") @pytest.mark.channel_9 @pytest.mark.parametrize( 'setup_configuration', @@ -1093,8 +1120,8 @@ def test_client_wpa2_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel9PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1216,6 +1243,9 @@ def test_client_wpa2_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-10") @pytest.mark.channel_10 @pytest.mark.parametrize( 'setup_configuration', @@ -1225,8 +1255,8 @@ def test_client_wpa2_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel10PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1348,6 +1378,9 @@ def test_client_wpa2_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-11") @pytest.mark.channel_11 @pytest.mark.parametrize( 'setup_configuration', @@ -1357,8 +1390,8 @@ def test_client_wpa2_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel11PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_enterprise_encryption/test_peak_throughput_wpa2_eap_20Mhz_5g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_enterprise_encryption/test_peak_throughput_wpa2_eap_20Mhz_5g.py index f10bc9e2c15..02bb4e1432b 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_enterprise_encryption/test_peak_throughput_wpa2_eap_20Mhz_5g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_enterprise_encryption/test_peak_throughput_wpa2_eap_20Mhz_5g.py @@ -1,7 +1,7 @@ """ - Performance Test: Country code along with Channel and Channel-width Test: Bridge Mode - pytest -m "country_code and Bridge" + Performance Test: Country code along with Channel and Channel-width Test: NAT Mode + pytest -m "country_code and NAT" """ @@ -27,6 +27,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-36") @pytest.mark.channel_36 @pytest.mark.parametrize( 'setup_configuration', @@ -36,8 +39,8 @@ ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz5GChannel36PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -159,6 +162,9 @@ def test_client_wpa2_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-40") @pytest.mark.channel_40 @pytest.mark.parametrize( 'setup_configuration', @@ -168,8 +174,8 @@ def test_client_wpa2_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz5GChannel40PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -290,6 +296,9 @@ def test_client_wpa2_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-44") @pytest.mark.channel_44 @pytest.mark.parametrize( 'setup_configuration', @@ -299,8 +308,8 @@ def test_client_wpa2_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz5GChannel44PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -422,6 +431,9 @@ def test_client_wpa2_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-48") @pytest.mark.channel_48 @pytest.mark.parametrize( 'setup_configuration', @@ -431,8 +443,8 @@ def test_client_wpa2_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel48PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -554,6 +566,9 @@ def test_client_wpa2_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-52") @pytest.mark.channel_52 @pytest.mark.parametrize( 'setup_configuration', @@ -563,8 +578,8 @@ def test_client_wpa2_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel52PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -686,6 +701,9 @@ def test_client_wpa2_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-56") @pytest.mark.channel_56 @pytest.mark.parametrize( 'setup_configuration', @@ -695,8 +713,8 @@ def test_client_wpa2_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel56PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -818,6 +836,9 @@ def test_client_wpa2_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-60") @pytest.mark.channel_60 @pytest.mark.parametrize( 'setup_configuration', @@ -827,8 +848,8 @@ def test_client_wpa2_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel60PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -952,6 +973,9 @@ def test_client_wpa2_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-64") @pytest.mark.channel_64 @pytest.mark.parametrize( 'setup_configuration', @@ -961,8 +985,8 @@ def test_client_wpa2_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel64PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1085,6 +1109,9 @@ def test_client_wpa2_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-100") @pytest.mark.channel_100 @pytest.mark.parametrize( 'setup_configuration', @@ -1094,8 +1121,8 @@ def test_client_wpa2_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel100PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1217,6 +1244,9 @@ def test_client_wpa2_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-104") @pytest.mark.channel_104 @pytest.mark.parametrize( 'setup_configuration', @@ -1226,8 +1256,8 @@ def test_client_wpa2_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel104PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1350,6 +1380,9 @@ def test_client_wpa2_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-108") @pytest.mark.channel_108 @pytest.mark.parametrize( 'setup_configuration', @@ -1359,8 +1392,8 @@ def test_client_wpa2_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel108PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1483,6 +1516,9 @@ def test_client_wpa2_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-112") @pytest.mark.channel_112 @pytest.mark.parametrize( 'setup_configuration', @@ -1492,8 +1528,8 @@ def test_client_wpa2_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel112PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1616,6 +1652,9 @@ def test_client_wpa2_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-116") @pytest.mark.channel_116 @pytest.mark.parametrize( 'setup_configuration', @@ -1625,8 +1664,8 @@ def test_client_wpa2_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel116PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1749,7 +1788,10 @@ def test_client_wpa2_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes @allure.feature("PEAK THROUGHPUT TESTS") -@pytest.mark.channel_114 +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-132") +@pytest.mark.channel_132 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general14], @@ -1758,8 +1800,8 @@ def test_client_wpa2_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel132PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1880,6 +1922,9 @@ def test_client_wpa2_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-136") @pytest.mark.channel_136 @pytest.mark.parametrize( 'setup_configuration', @@ -1889,8 +1934,8 @@ def test_client_wpa2_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel136PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -2012,6 +2057,10 @@ def test_client_wpa2_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-140") +@pytest.mark.channel_140 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general16], @@ -2020,8 +2069,8 @@ def test_client_wpa2_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel140PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -2142,6 +2191,9 @@ def test_client_wpa2_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-144") @pytest.mark.channel_144 @pytest.mark.parametrize( 'setup_configuration', @@ -2151,8 +2203,8 @@ def test_client_wpa2_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel144PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_enterprise_encryption/test_peak_throughput_wpa2_eap_40Mhz_2g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_enterprise_encryption/test_peak_throughput_wpa2_eap_40Mhz_2g.py index 0280c889505..67b03910751 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_enterprise_encryption/test_peak_throughput_wpa2_eap_40Mhz_2g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_enterprise_encryption/test_peak_throughput_wpa2_eap_40Mhz_2g.py @@ -1,7 +1,7 @@ """ - Performance Test: Country code along with Channel and Channel-width Test: Bridge Mode - pytest -m "country_code and Bridge" + Performance Test: Country code along with Channel and Channel-width Test: NAT Mode + pytest -m "country_code and NAT" """ @@ -27,6 +27,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-1") @pytest.mark.channel_1 @pytest.mark.parametrize( 'setup_configuration', @@ -36,8 +39,8 @@ ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel1PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -159,6 +162,9 @@ def test_client_wpa2_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-2") @pytest.mark.channel_2 @pytest.mark.parametrize( 'setup_configuration', @@ -168,8 +174,8 @@ def test_client_wpa2_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel2PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -291,6 +297,9 @@ def test_client_wpa2_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-3") @pytest.mark.channel_3 @pytest.mark.parametrize( 'setup_configuration', @@ -300,8 +309,8 @@ def test_client_wpa2_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel3PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -423,7 +432,10 @@ def test_client_wpa2_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") -@pytest.mark.channel_3 +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-4") +@pytest.mark.channel_4 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_4], @@ -432,8 +444,8 @@ def test_client_wpa2_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel4PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -547,7 +559,7 @@ def test_client_wpa2_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ "2G": { 'band': '2G', 'channel-width': 40, - "channel": 4 + "channel": 5 } }, "radius": True @@ -555,7 +567,10 @@ def test_client_wpa2_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") -@pytest.mark.channel_3 +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-5") +@pytest.mark.channel_5 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_5], @@ -564,8 +579,8 @@ def test_client_wpa2_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel5PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -687,17 +702,20 @@ def test_client_wpa2_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-6") @pytest.mark.channel_6 @pytest.mark.parametrize( 'setup_configuration', - [setup_params_general_5], + [setup_params_general_6], indirect=True, scope="class" ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel6PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -819,6 +837,9 @@ def test_client_wpa2_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-7") @pytest.mark.channel_7 @pytest.mark.parametrize( 'setup_configuration', @@ -828,8 +849,8 @@ def test_client_wpa2_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel7PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -951,6 +972,9 @@ def test_client_wpa2_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-8") @pytest.mark.channel_8 @pytest.mark.parametrize( 'setup_configuration', @@ -960,8 +984,8 @@ def test_client_wpa2_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel8PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1084,6 +1108,9 @@ def test_client_wpa2_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-9") @pytest.mark.channel_9 @pytest.mark.parametrize( 'setup_configuration', @@ -1093,8 +1120,8 @@ def test_client_wpa2_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel9PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1216,6 +1243,9 @@ def test_client_wpa2_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-10") @pytest.mark.channel_10 @pytest.mark.parametrize( 'setup_configuration', @@ -1225,8 +1255,8 @@ def test_client_wpa2_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel10PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1348,6 +1378,9 @@ def test_client_wpa2_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-11") @pytest.mark.channel_11 @pytest.mark.parametrize( 'setup_configuration', @@ -1357,8 +1390,8 @@ def test_client_wpa2_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel11PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_enterprise_encryption/test_peak_throughput_wpa2_eap_40Mhz_5g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_enterprise_encryption/test_peak_throughput_wpa2_eap_40Mhz_5g.py index 962614b48e3..855c694c847 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_enterprise_encryption/test_peak_throughput_wpa2_eap_40Mhz_5g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_enterprise_encryption/test_peak_throughput_wpa2_eap_40Mhz_5g.py @@ -1,7 +1,7 @@ """ - Performance Test: Country code along with Channel and Channel-width Test: Bridge Mode - pytest -m "country_code and Bridge" + Performance Test: Country code along with Channel and Channel-width Test: NAT Mode + pytest -m "country_code and NAT" """ @@ -28,6 +28,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-36") @pytest.mark.channel_36 @pytest.mark.parametrize( 'setup_configuration', @@ -37,8 +40,8 @@ ) @pytest.mark.usefixtures("setup_configuration") class Test40Mhz5GChannel36PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -160,6 +163,9 @@ def test_client_wpa2_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-44") @pytest.mark.channel_44 @pytest.mark.parametrize( 'setup_configuration', @@ -169,8 +175,8 @@ def test_client_wpa2_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes ) @pytest.mark.usefixtures("setup_configuration") class Test40Mhz5GChannel44PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -264,6 +270,9 @@ def test_client_wpa2_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-52") @pytest.mark.channel_52 @pytest.mark.parametrize( 'setup_configuration', @@ -273,8 +282,8 @@ def test_client_wpa2_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes ) @pytest.mark.usefixtures("setup_configuration") class Test40Mhz5GChannel52PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -396,6 +405,9 @@ def test_client_wpa2_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-60") @pytest.mark.channel_60 @pytest.mark.parametrize( 'setup_configuration', @@ -405,8 +417,8 @@ def test_client_wpa2_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes ) @pytest.mark.usefixtures("setup_configuration") class Test40Mhz5GChannel60PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -529,6 +541,9 @@ def test_client_wpa2_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-100") @pytest.mark.channel_100 @pytest.mark.parametrize( 'setup_configuration', @@ -538,8 +553,8 @@ def test_client_wpa2_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes ) @pytest.mark.usefixtures("setup_configuration") class Test40Mhz5GChannel100PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -662,6 +677,9 @@ def test_client_wpa2_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-108") @pytest.mark.channel_108 @pytest.mark.parametrize( 'setup_configuration', @@ -671,8 +689,8 @@ def test_client_wpa2_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes ) @pytest.mark.usefixtures("setup_configuration") class Test40Mhz5GChannel108PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -795,6 +813,9 @@ def test_client_wpa2_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-132") @pytest.mark.channel_132 @pytest.mark.parametrize( 'setup_configuration', @@ -804,8 +825,8 @@ def test_client_wpa2_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes ) @pytest.mark.usefixtures("setup_configuration") class Test40Mhz5GChannel132PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -927,6 +948,9 @@ def test_client_wpa2_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-136") @pytest.mark.channel_136 @pytest.mark.parametrize( 'setup_configuration', @@ -936,8 +960,8 @@ def test_client_wpa2_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes ) @pytest.mark.usefixtures("setup_configuration") class Test40Mhz5GChannel136PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1059,6 +1083,9 @@ def test_client_wpa2_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-140") @pytest.mark.channel_140 @pytest.mark.parametrize( 'setup_configuration', @@ -1068,8 +1095,8 @@ def test_client_wpa2_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes ) @pytest.mark.usefixtures("setup_configuration") class Test40Mhz5GChannel140PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_enterprise_encryption/test_peak_throughput_wpa2_eap_80Mhz_5g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_enterprise_encryption/test_peak_throughput_wpa2_eap_80Mhz_5g.py index 0852635749a..06ff49576ac 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_enterprise_encryption/test_peak_throughput_wpa2_eap_80Mhz_5g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_enterprise_encryption/test_peak_throughput_wpa2_eap_80Mhz_5g.py @@ -1,7 +1,7 @@ """ - Performance Test: Country code along with Channel and Channel-width Test: Bridge Mode - pytest -m "country_code and Bridge" + Performance Test: Country code along with Channel and Channel-width Test: NAT Mode + pytest -m "country_code and NAT" """ @@ -28,6 +28,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Enterprise Security") +@allure.suite("80Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-36") @pytest.mark.channel_36 @pytest.mark.parametrize( 'setup_configuration', @@ -37,8 +40,8 @@ ) @pytest.mark.usefixtures("setup_configuration") class Test80Mhz5GChannel36PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -161,6 +164,9 @@ def test_client_wpa2_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Enterprise Security") +@allure.suite("80Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-52") @pytest.mark.channel_52 @pytest.mark.parametrize( 'setup_configuration', @@ -170,8 +176,8 @@ def test_client_wpa2_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes ) @pytest.mark.usefixtures("setup_configuration") class Test80Mhz5GChannel52PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -294,6 +300,9 @@ def test_client_wpa2_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Enterprise Security") +@allure.suite("80Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-100") @pytest.mark.channel_100 @pytest.mark.parametrize( 'setup_configuration', @@ -303,8 +312,8 @@ def test_client_wpa2_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes ) @pytest.mark.usefixtures("setup_configuration") class Test80Mhz5GChannel100PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -427,6 +436,9 @@ def test_client_wpa2_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Enterprise Security") +@allure.suite("80Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-132") @pytest.mark.channel_132 @pytest.mark.parametrize( 'setup_configuration', @@ -436,8 +448,8 @@ def test_client_wpa2_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes ) @pytest.mark.usefixtures("setup_configuration") class Test80Mhz5GChannel132PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_20Mhz_2g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_20Mhz_2g.py index 8849bd2cff8..fbcebb67570 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_20Mhz_2g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_20Mhz_2g.py @@ -1,7 +1,7 @@ """ - Performance Test: Country code along with Channel and Channel-width Test: Bridge Mode - pytest -m "country_code and Bridge" + Performance Test: Country code along with Channel and Channel-width Test: NAT Mode + pytest -m "country_code and NAT" """ @@ -27,6 +27,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-1") @pytest.mark.channel_1 @pytest.mark.parametrize( 'setup_configuration', @@ -36,8 +39,8 @@ ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel1PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -159,6 +162,9 @@ def test_client_wpa2_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-2") @pytest.mark.channel_2 @pytest.mark.parametrize( 'setup_configuration', @@ -168,8 +174,8 @@ def test_client_wpa2_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel2PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -291,6 +297,9 @@ def test_client_wpa2_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-3") @pytest.mark.channel_3 @pytest.mark.parametrize( 'setup_configuration', @@ -300,8 +309,8 @@ def test_client_wpa2_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel3PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -423,7 +432,10 @@ def test_client_wpa2_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe @allure.feature("PEAK THROUGHPUT TESTS") -@pytest.mark.channel_3 +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-4") +@pytest.mark.channel_4 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_4], @@ -432,8 +444,8 @@ def test_client_wpa2_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel4PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -547,7 +559,7 @@ def test_client_wpa2_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe "2G": { 'band': '2G', 'channel-width': 20, - "channel": 4 + "channel": 5 } }, "radius": False @@ -555,7 +567,10 @@ def test_client_wpa2_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe @allure.feature("PEAK THROUGHPUT TESTS") -@pytest.mark.channel_3 +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-5") +@pytest.mark.channel_5 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_5], @@ -564,8 +579,8 @@ def test_client_wpa2_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel5PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -687,17 +702,20 @@ def test_client_wpa2_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-6") @pytest.mark.channel_6 @pytest.mark.parametrize( 'setup_configuration', - [setup_params_general_5], + [setup_params_general_6], indirect=True, scope="class" ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel6PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -819,6 +837,9 @@ def test_client_wpa2_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-7") @pytest.mark.channel_7 @pytest.mark.parametrize( 'setup_configuration', @@ -828,8 +849,8 @@ def test_client_wpa2_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel7PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -951,6 +972,9 @@ def test_client_wpa2_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-8") @pytest.mark.channel_8 @pytest.mark.parametrize( 'setup_configuration', @@ -960,8 +984,8 @@ def test_client_wpa2_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel8PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1084,6 +1108,9 @@ def test_client_wpa2_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-9") @pytest.mark.channel_9 @pytest.mark.parametrize( 'setup_configuration', @@ -1093,8 +1120,8 @@ def test_client_wpa2_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel9PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1216,6 +1243,9 @@ def test_client_wpa2_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-10") @pytest.mark.channel_10 @pytest.mark.parametrize( 'setup_configuration', @@ -1225,8 +1255,8 @@ def test_client_wpa2_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel10PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1348,6 +1378,9 @@ def test_client_wpa2_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-11") @pytest.mark.channel_11 @pytest.mark.parametrize( 'setup_configuration', @@ -1357,8 +1390,8 @@ def test_client_wpa2_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel11PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_20Mhz_5g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_20Mhz_5g.py index 67c4434bdcd..9c41aa446ea 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_20Mhz_5g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_20Mhz_5g.py @@ -1,7 +1,7 @@ """ - Performance Test: Country code along with Channel and Channel-width Test: Bridge Mode - pytest -m "country_code and Bridge" + Performance Test: Country code along with Channel and Channel-width Test: NAT Mode + pytest -m "country_code and NAT" """ @@ -27,6 +27,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-36") @pytest.mark.channel_36 @pytest.mark.parametrize( 'setup_configuration', @@ -36,8 +39,8 @@ ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz5GChannel36PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -159,6 +162,9 @@ def test_client_wpa2_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-40") @pytest.mark.channel_40 @pytest.mark.parametrize( 'setup_configuration', @@ -168,8 +174,8 @@ def test_client_wpa2_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz5GChannel40PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -290,6 +296,9 @@ def test_client_wpa2_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-44") @pytest.mark.channel_44 @pytest.mark.parametrize( 'setup_configuration', @@ -299,8 +308,8 @@ def test_client_wpa2_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz5GChannel44PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -422,6 +431,9 @@ def test_client_wpa2_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-48") @pytest.mark.channel_48 @pytest.mark.parametrize( 'setup_configuration', @@ -431,8 +443,8 @@ def test_client_wpa2_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel48PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -554,6 +566,9 @@ def test_client_wpa2_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-52") @pytest.mark.channel_52 @pytest.mark.parametrize( 'setup_configuration', @@ -563,8 +578,8 @@ def test_client_wpa2_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel52PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -686,6 +701,9 @@ def test_client_wpa2_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-56") @pytest.mark.channel_56 @pytest.mark.parametrize( 'setup_configuration', @@ -695,8 +713,8 @@ def test_client_wpa2_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel56PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -818,6 +836,9 @@ def test_client_wpa2_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-60") @pytest.mark.channel_60 @pytest.mark.parametrize( 'setup_configuration', @@ -827,8 +848,8 @@ def test_client_wpa2_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel60PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -952,6 +973,9 @@ def test_client_wpa2_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-64") @pytest.mark.channel_64 @pytest.mark.parametrize( 'setup_configuration', @@ -961,8 +985,8 @@ def test_client_wpa2_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel64PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1085,6 +1109,9 @@ def test_client_wpa2_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-100") @pytest.mark.channel_100 @pytest.mark.parametrize( 'setup_configuration', @@ -1094,8 +1121,8 @@ def test_client_wpa2_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel100PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1217,6 +1244,9 @@ def test_client_wpa2_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-104") @pytest.mark.channel_104 @pytest.mark.parametrize( 'setup_configuration', @@ -1226,8 +1256,8 @@ def test_client_wpa2_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel104PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1350,6 +1380,9 @@ def test_client_wpa2_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-108") @pytest.mark.channel_108 @pytest.mark.parametrize( 'setup_configuration', @@ -1359,8 +1392,8 @@ def test_client_wpa2_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel108PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1483,6 +1516,9 @@ def test_client_wpa2_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-112") @pytest.mark.channel_112 @pytest.mark.parametrize( 'setup_configuration', @@ -1492,8 +1528,8 @@ def test_client_wpa2_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel112PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1616,6 +1652,9 @@ def test_client_wpa2_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-116") @pytest.mark.channel_116 @pytest.mark.parametrize( 'setup_configuration', @@ -1625,8 +1664,8 @@ def test_client_wpa2_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel116PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1749,7 +1788,10 @@ def test_client_wpa2_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") -@pytest.mark.channel_114 +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-132") +@pytest.mark.channel_132 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general14], @@ -1758,8 +1800,8 @@ def test_client_wpa2_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel132PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1880,6 +1922,9 @@ def test_client_wpa2_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-136") @pytest.mark.channel_136 @pytest.mark.parametrize( 'setup_configuration', @@ -1889,8 +1934,8 @@ def test_client_wpa2_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel136PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -2012,6 +2057,10 @@ def test_client_wpa2_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-140") +@pytest.mark.channel_140 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general16], @@ -2020,8 +2069,8 @@ def test_client_wpa2_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel140PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -2142,6 +2191,9 @@ def test_client_wpa2_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-144") @pytest.mark.channel_144 @pytest.mark.parametrize( 'setup_configuration', @@ -2151,8 +2203,8 @@ def test_client_wpa2_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel144PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_40Mhz_2g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_40Mhz_2g.py index 19715b28789..edaefc4010a 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_40Mhz_2g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_40Mhz_2g.py @@ -1,7 +1,7 @@ """ - Performance Test: Country code along with Channel and Channel-width Test: Bridge Mode - pytest -m "country_code and Bridge" + Performance Test: Country code along with Channel and Channel-width Test: NAT Mode + pytest -m "country_code and NAT" """ @@ -27,6 +27,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Personal Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-1") @pytest.mark.channel_1 @pytest.mark.parametrize( 'setup_configuration', @@ -36,8 +39,8 @@ ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel1PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -159,6 +162,9 @@ def test_client_wpa2_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Personal Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-2") @pytest.mark.channel_2 @pytest.mark.parametrize( 'setup_configuration', @@ -168,8 +174,8 @@ def test_client_wpa2_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel2PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -291,6 +297,9 @@ def test_client_wpa2_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Personal Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-3") @pytest.mark.channel_3 @pytest.mark.parametrize( 'setup_configuration', @@ -300,8 +309,8 @@ def test_client_wpa2_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel3PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -423,7 +432,10 @@ def test_client_wpa2_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe @allure.feature("PEAK THROUGHPUT TESTS") -@pytest.mark.channel_3 +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Personal Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-4") +@pytest.mark.channel_4 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_4], @@ -432,8 +444,8 @@ def test_client_wpa2_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel4PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -547,7 +559,7 @@ def test_client_wpa2_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe "2G": { 'band': '2G', 'channel-width': 40, - "channel": 4 + "channel": 5 } }, "radius": False @@ -555,7 +567,10 @@ def test_client_wpa2_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe @allure.feature("PEAK THROUGHPUT TESTS") -@pytest.mark.channel_3 +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Personal Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-5") +@pytest.mark.channel_5 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_5], @@ -564,8 +579,8 @@ def test_client_wpa2_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel5PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -687,17 +702,20 @@ def test_client_wpa2_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Personal Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-6") @pytest.mark.channel_6 @pytest.mark.parametrize( 'setup_configuration', - [setup_params_general_5], + [setup_params_general_6], indirect=True, scope="class" ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel6PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -819,6 +837,9 @@ def test_client_wpa2_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Personal Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-7") @pytest.mark.channel_7 @pytest.mark.parametrize( 'setup_configuration', @@ -828,8 +849,8 @@ def test_client_wpa2_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel7PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -951,6 +972,9 @@ def test_client_wpa2_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Personal Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-8") @pytest.mark.channel_8 @pytest.mark.parametrize( 'setup_configuration', @@ -960,8 +984,8 @@ def test_client_wpa2_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel8PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1084,6 +1108,9 @@ def test_client_wpa2_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Personal Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-9") @pytest.mark.channel_9 @pytest.mark.parametrize( 'setup_configuration', @@ -1093,8 +1120,8 @@ def test_client_wpa2_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel9PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1216,6 +1243,9 @@ def test_client_wpa2_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Personal Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-10") @pytest.mark.channel_10 @pytest.mark.parametrize( 'setup_configuration', @@ -1225,8 +1255,8 @@ def test_client_wpa2_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel10PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1348,9 +1378,9 @@ def test_client_wpa2_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe @allure.feature("PEAK THROUGHPUT TESTS") -@allure.parent_suite("Throughput Benchmark Test") -@allure.suite("2.4 GHz Band") -@allure.sub_suite("NAT Mode") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Personal Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-11") @pytest.mark.channel_11 @pytest.mark.parametrize( 'setup_configuration', @@ -1360,8 +1390,8 @@ def test_client_wpa2_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel11PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_40Mhz_5g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_40Mhz_5g.py index 23d88a82c45..28e11739ba3 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_40Mhz_5g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_40Mhz_5g.py @@ -1,7 +1,7 @@ """ - Performance Test: Country code along with Channel and Channel-width Test: Bridge Mode - pytest -m "country_code and Bridge" + Performance Test: Country code along with Channel and Channel-width Test: NAT Mode + pytest -m "country_code and NAT" """ @@ -28,6 +28,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Personal Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-36") @pytest.mark.channel_36 @pytest.mark.parametrize( 'setup_configuration', @@ -37,8 +40,8 @@ ) @pytest.mark.usefixtures("setup_configuration") class Test40Mhz5GChannel36PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -160,6 +163,9 @@ def test_client_wpa2_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Personal Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-44") @pytest.mark.channel_44 @pytest.mark.parametrize( 'setup_configuration', @@ -169,8 +175,8 @@ def test_client_wpa2_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test40Mhz5GChannel44PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -292,6 +298,9 @@ def test_client_wpa2_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Personal Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-52") @pytest.mark.channel_52 @pytest.mark.parametrize( 'setup_configuration', @@ -301,8 +310,8 @@ def test_client_wpa2_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test40Mhz5GChannel52PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -424,6 +433,9 @@ def test_client_wpa2_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Personal Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-60") @pytest.mark.channel_60 @pytest.mark.parametrize( 'setup_configuration', @@ -433,8 +445,8 @@ def test_client_wpa2_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test40Mhz5GChannel60PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -557,6 +569,9 @@ def test_client_wpa2_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Personal Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-100") @pytest.mark.channel_100 @pytest.mark.parametrize( 'setup_configuration', @@ -566,8 +581,8 @@ def test_client_wpa2_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test40Mhz5GChannel100PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -690,6 +705,9 @@ def test_client_wpa2_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Personal Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-108") @pytest.mark.channel_108 @pytest.mark.parametrize( 'setup_configuration', @@ -699,8 +717,8 @@ def test_client_wpa2_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test40Mhz5GChannel108PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -823,6 +841,9 @@ def test_client_wpa2_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Personal Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-132") @pytest.mark.channel_132 @pytest.mark.parametrize( 'setup_configuration', @@ -832,8 +853,8 @@ def test_client_wpa2_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test40Mhz5GChannel132PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -955,6 +976,9 @@ def test_client_wpa2_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Personal Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-136") @pytest.mark.channel_136 @pytest.mark.parametrize( 'setup_configuration', @@ -964,8 +988,8 @@ def test_client_wpa2_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test40Mhz5GChannel136PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1087,6 +1111,9 @@ def test_client_wpa2_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Personal Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-140") @pytest.mark.channel_140 @pytest.mark.parametrize( 'setup_configuration', @@ -1096,8 +1123,8 @@ def test_client_wpa2_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test40Mhz5GChannel140PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_80Mhz_5g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_80Mhz_5g.py index ab3bc07deca..98ebd1bc490 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_80Mhz_5g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_80Mhz_5g.py @@ -1,7 +1,7 @@ """ - Performance Test: Country code along with Channel and Channel-width Test: Bridge Mode - pytest -m "country_code and Bridge" + Performance Test: Country code along with Channel and Channel-width Test: NAT Mode + pytest -m "country_code and NAT" """ @@ -28,9 +28,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") -@allure.parent_suite("Throughput Benchmark Test") -@allure.suite("5 GHz Band") -@allure.sub_suite("NAT Mode") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Personal Security") +@allure.suite("80Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-36") @pytest.mark.channel_36 @pytest.mark.parametrize( 'setup_configuration', @@ -40,8 +40,8 @@ ) @pytest.mark.usefixtures("setup_configuration") class Test80Mhz5GChannel36PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -175,6 +175,9 @@ def test_client_wpa2_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Personal Security") +@allure.suite("80Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-52") @pytest.mark.channel_52 @pytest.mark.parametrize( 'setup_configuration', @@ -184,8 +187,8 @@ def test_client_wpa2_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test80Mhz5GChannel52PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -308,6 +311,9 @@ def test_client_wpa2_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Personal Security") +@allure.suite("80Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-100") @pytest.mark.channel_100 @pytest.mark.parametrize( 'setup_configuration', @@ -317,8 +323,8 @@ def test_client_wpa2_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test80Mhz5GChannel100PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -441,6 +447,9 @@ def test_client_wpa2_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA2 Personal Security") +@allure.suite("80Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-132") @pytest.mark.channel_132 @pytest.mark.parametrize( 'setup_configuration', @@ -450,8 +459,8 @@ def test_client_wpa2_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test80Mhz5GChannel132PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa3_enterprise_encryption/test_peak_throughput_wpa3_eap_20Mhz_2g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa3_enterprise_encryption/test_peak_throughput_wpa3_eap_20Mhz_2g.py index 7464679810a..4e94f911599 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa3_enterprise_encryption/test_peak_throughput_wpa3_eap_20Mhz_2g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa3_enterprise_encryption/test_peak_throughput_wpa3_eap_20Mhz_2g.py @@ -1,7 +1,7 @@ """ - Performance Test: Country code along with Channel and Channel-width Test: Bridge Mode - pytest -m "country_code and Bridge" + Performance Test: Country code along with Channel and Channel-width Test: NAT Mode + pytest -m "country_code and NAT" """ @@ -27,6 +27,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-1") @pytest.mark.channel_1 @pytest.mark.parametrize( 'setup_configuration', @@ -36,8 +39,8 @@ ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel1PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -159,6 +162,9 @@ def test_client_wpa3_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-2") @pytest.mark.channel_2 @pytest.mark.parametrize( 'setup_configuration', @@ -168,8 +174,8 @@ def test_client_wpa3_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel2PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -291,6 +297,9 @@ def test_client_wpa3_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-3") @pytest.mark.channel_3 @pytest.mark.parametrize( 'setup_configuration', @@ -300,8 +309,8 @@ def test_client_wpa3_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel3PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -423,7 +432,10 @@ def test_client_wpa3_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") -@pytest.mark.channel_3 +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-4") +@pytest.mark.channel_4 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_4], @@ -432,8 +444,8 @@ def test_client_wpa3_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel4PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -547,7 +559,7 @@ def test_client_wpa3_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ "2G": { 'band': '2G', 'channel-width': 20, - "channel": 4 + "channel": 5 } }, "radius": True @@ -555,7 +567,10 @@ def test_client_wpa3_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") -@pytest.mark.channel_3 +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-5") +@pytest.mark.channel_5 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_5], @@ -564,8 +579,8 @@ def test_client_wpa3_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel5PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -687,17 +702,20 @@ def test_client_wpa3_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-6") @pytest.mark.channel_6 @pytest.mark.parametrize( 'setup_configuration', - [setup_params_general_5], + [setup_params_general_6], indirect=True, scope="class" ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel6PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -819,6 +837,9 @@ def test_client_wpa3_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-7") @pytest.mark.channel_7 @pytest.mark.parametrize( 'setup_configuration', @@ -828,8 +849,8 @@ def test_client_wpa3_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel7PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -951,6 +972,9 @@ def test_client_wpa3_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-8") @pytest.mark.channel_8 @pytest.mark.parametrize( 'setup_configuration', @@ -960,8 +984,8 @@ def test_client_wpa3_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel8PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1084,6 +1108,9 @@ def test_client_wpa3_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-9") @pytest.mark.channel_9 @pytest.mark.parametrize( 'setup_configuration', @@ -1093,8 +1120,8 @@ def test_client_wpa3_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel9PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1216,6 +1243,9 @@ def test_client_wpa3_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-10") @pytest.mark.channel_10 @pytest.mark.parametrize( 'setup_configuration', @@ -1225,8 +1255,8 @@ def test_client_wpa3_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel10PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1348,6 +1378,9 @@ def test_client_wpa3_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-11") @pytest.mark.channel_11 @pytest.mark.parametrize( 'setup_configuration', @@ -1357,8 +1390,8 @@ def test_client_wpa3_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel11PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa3_enterprise_encryption/test_peak_throughput_wpa3_eap_20Mhz_5g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa3_enterprise_encryption/test_peak_throughput_wpa3_eap_20Mhz_5g.py index 0d20b8997f0..bbaa5d0465d 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa3_enterprise_encryption/test_peak_throughput_wpa3_eap_20Mhz_5g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa3_enterprise_encryption/test_peak_throughput_wpa3_eap_20Mhz_5g.py @@ -1,7 +1,7 @@ """ - Performance Test: Country code along with Channel and Channel-width Test: Bridge Mode - pytest -m "country_code and Bridge" + Performance Test: Country code along with Channel and Channel-width Test: NAT Mode + pytest -m "country_code and NAT" """ @@ -27,6 +27,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-36") @pytest.mark.channel_36 @pytest.mark.parametrize( 'setup_configuration', @@ -36,8 +39,8 @@ ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz5GChannel36PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -159,6 +162,9 @@ def test_client_wpa3_eap_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-40") @pytest.mark.channel_40 @pytest.mark.parametrize( 'setup_configuration', @@ -168,8 +174,8 @@ def test_client_wpa3_eap_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz5GChannel40PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -290,6 +296,9 @@ def test_client_wpa3_eap_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-44") @pytest.mark.channel_44 @pytest.mark.parametrize( 'setup_configuration', @@ -299,8 +308,8 @@ def test_client_wpa3_eap_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz5GChannel44PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -422,6 +431,9 @@ def test_client_wpa3_eap_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-48") @pytest.mark.channel_48 @pytest.mark.parametrize( 'setup_configuration', @@ -431,8 +443,8 @@ def test_client_wpa3_eap_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel48PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -554,6 +566,9 @@ def test_client_wpa3_eap_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-52") @pytest.mark.channel_52 @pytest.mark.parametrize( 'setup_configuration', @@ -563,8 +578,8 @@ def test_client_wpa3_eap_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel52PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -686,6 +701,9 @@ def test_client_wpa3_eap_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-56") @pytest.mark.channel_56 @pytest.mark.parametrize( 'setup_configuration', @@ -695,8 +713,8 @@ def test_client_wpa3_eap_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel56PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -818,6 +836,9 @@ def test_client_wpa3_eap_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-60") @pytest.mark.channel_60 @pytest.mark.parametrize( 'setup_configuration', @@ -827,8 +848,8 @@ def test_client_wpa3_eap_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel60PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -952,6 +973,9 @@ def test_client_wpa3_eap_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-64") @pytest.mark.channel_64 @pytest.mark.parametrize( 'setup_configuration', @@ -961,8 +985,8 @@ def test_client_wpa3_eap_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel64PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1085,6 +1109,9 @@ def test_client_wpa3_eap_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-100") @pytest.mark.channel_100 @pytest.mark.parametrize( 'setup_configuration', @@ -1094,8 +1121,8 @@ def test_client_wpa3_eap_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel100PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1217,6 +1244,9 @@ def test_client_wpa3_eap_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-104") @pytest.mark.channel_104 @pytest.mark.parametrize( 'setup_configuration', @@ -1226,8 +1256,8 @@ def test_client_wpa3_eap_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel104PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1350,6 +1380,9 @@ def test_client_wpa3_eap_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-108") @pytest.mark.channel_108 @pytest.mark.parametrize( 'setup_configuration', @@ -1359,8 +1392,8 @@ def test_client_wpa3_eap_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel108PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1483,6 +1516,9 @@ def test_client_wpa3_eap_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-112") @pytest.mark.channel_112 @pytest.mark.parametrize( 'setup_configuration', @@ -1492,8 +1528,8 @@ def test_client_wpa3_eap_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel112PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1616,6 +1652,9 @@ def test_client_wpa3_eap_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-116") @pytest.mark.channel_116 @pytest.mark.parametrize( 'setup_configuration', @@ -1625,8 +1664,8 @@ def test_client_wpa3_eap_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel116PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1749,7 +1788,10 @@ def test_client_wpa3_eap_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per @allure.feature("PEAK THROUGHPUT TESTS") -@pytest.mark.channel_114 +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-132") +@pytest.mark.channel_132 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general14], @@ -1758,8 +1800,8 @@ def test_client_wpa3_eap_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel132PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1880,6 +1922,9 @@ def test_client_wpa3_eap_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-136") @pytest.mark.channel_136 @pytest.mark.parametrize( 'setup_configuration', @@ -1889,8 +1934,8 @@ def test_client_wpa3_eap_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel136PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -2012,6 +2057,10 @@ def test_client_wpa3_eap_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-140") +@pytest.mark.channel_140 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general16], @@ -2020,8 +2069,8 @@ def test_client_wpa3_eap_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel140PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -2142,6 +2191,9 @@ def test_client_wpa3_eap_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Enterprise Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-144") @pytest.mark.channel_144 @pytest.mark.parametrize( 'setup_configuration', @@ -2151,8 +2203,8 @@ def test_client_wpa3_eap_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel144PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa3_enterprise_encryption/test_peak_throughput_wpa3_eap_40Mhz_2g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa3_enterprise_encryption/test_peak_throughput_wpa3_eap_40Mhz_2g.py index c4f87ce4d05..4e3e58b2418 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa3_enterprise_encryption/test_peak_throughput_wpa3_eap_40Mhz_2g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa3_enterprise_encryption/test_peak_throughput_wpa3_eap_40Mhz_2g.py @@ -1,7 +1,7 @@ """ - Performance Test: Country code along with Channel and Channel-width Test: Bridge Mode - pytest -m "country_code and Bridge" + Performance Test: Country code along with Channel and Channel-width Test: NAT Mode + pytest -m "country_code and NAT" """ @@ -27,6 +27,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-1") @pytest.mark.channel_1 @pytest.mark.parametrize( 'setup_configuration', @@ -36,8 +39,8 @@ ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel1PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -159,6 +162,9 @@ def test_client_wpa3_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-2") @pytest.mark.channel_2 @pytest.mark.parametrize( 'setup_configuration', @@ -168,8 +174,8 @@ def test_client_wpa3_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel2PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -291,6 +297,9 @@ def test_client_wpa3_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-3") @pytest.mark.channel_3 @pytest.mark.parametrize( 'setup_configuration', @@ -300,8 +309,8 @@ def test_client_wpa3_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel3PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -423,7 +432,10 @@ def test_client_wpa3_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") -@pytest.mark.channel_3 +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-4") +@pytest.mark.channel_4 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_4], @@ -432,8 +444,8 @@ def test_client_wpa3_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel4PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -547,7 +559,7 @@ def test_client_wpa3_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ "2G": { 'band': '2G', 'channel-width': 40, - "channel": 4 + "channel": 5 } }, "radius": True @@ -555,7 +567,10 @@ def test_client_wpa3_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") -@pytest.mark.channel_3 +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-5") +@pytest.mark.channel_5 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_5], @@ -564,8 +579,8 @@ def test_client_wpa3_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel5PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -687,17 +702,20 @@ def test_client_wpa3_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-6") @pytest.mark.channel_6 @pytest.mark.parametrize( 'setup_configuration', - [setup_params_general_5], + [setup_params_general_6], indirect=True, scope="class" ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel6PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -819,6 +837,9 @@ def test_client_wpa3_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-7") @pytest.mark.channel_7 @pytest.mark.parametrize( 'setup_configuration', @@ -828,8 +849,8 @@ def test_client_wpa3_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel7PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -951,6 +972,9 @@ def test_client_wpa3_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-8") @pytest.mark.channel_8 @pytest.mark.parametrize( 'setup_configuration', @@ -960,8 +984,8 @@ def test_client_wpa3_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel8PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1084,6 +1108,9 @@ def test_client_wpa3_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-9") @pytest.mark.channel_9 @pytest.mark.parametrize( 'setup_configuration', @@ -1093,8 +1120,8 @@ def test_client_wpa3_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel9PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1216,6 +1243,9 @@ def test_client_wpa3_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-10") @pytest.mark.channel_10 @pytest.mark.parametrize( 'setup_configuration', @@ -1225,8 +1255,8 @@ def test_client_wpa3_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel10PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1348,6 +1378,9 @@ def test_client_wpa3_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-11") @pytest.mark.channel_11 @pytest.mark.parametrize( 'setup_configuration', @@ -1357,8 +1390,8 @@ def test_client_wpa3_enterprise_nat_udp_ul(self, get_test_library, get_dut_logs_ ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel11PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa3_enterprise_encryption/test_peak_throughput_wpa3_eap_40Mhz_5g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa3_enterprise_encryption/test_peak_throughput_wpa3_eap_40Mhz_5g.py index 70478b5b0c5..01a59fb6156 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa3_enterprise_encryption/test_peak_throughput_wpa3_eap_40Mhz_5g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa3_enterprise_encryption/test_peak_throughput_wpa3_eap_40Mhz_5g.py @@ -1,7 +1,7 @@ """ - Performance Test: Country code along with Channel and Channel-width Test: Bridge Mode - pytest -m "country_code and Bridge" + Performance Test: Country code along with Channel and Channel-width Test: NAT Mode + pytest -m "country_code and NAT" """ @@ -28,6 +28,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-36") @pytest.mark.channel_36 @pytest.mark.parametrize( 'setup_configuration', @@ -37,8 +40,8 @@ ) @pytest.mark.usefixtures("setup_configuration") class Test40Mhz5GChannel36PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -160,6 +163,9 @@ def test_client_wpa3_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-44") @pytest.mark.channel_44 @pytest.mark.parametrize( 'setup_configuration', @@ -169,8 +175,8 @@ def test_client_wpa3_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes ) @pytest.mark.usefixtures("setup_configuration") class Test40Mhz5GChannel44PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -264,6 +270,9 @@ def test_client_wpa3_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-52") @pytest.mark.channel_52 @pytest.mark.parametrize( 'setup_configuration', @@ -273,8 +282,8 @@ def test_client_wpa3_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes ) @pytest.mark.usefixtures("setup_configuration") class Test40Mhz5GChannel52PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -396,6 +405,9 @@ def test_client_wpa3_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-60") @pytest.mark.channel_60 @pytest.mark.parametrize( 'setup_configuration', @@ -405,8 +417,8 @@ def test_client_wpa3_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes ) @pytest.mark.usefixtures("setup_configuration") class Test40Mhz5GChannel60PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -529,6 +541,9 @@ def test_client_wpa3_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-100") @pytest.mark.channel_100 @pytest.mark.parametrize( 'setup_configuration', @@ -538,8 +553,8 @@ def test_client_wpa3_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes ) @pytest.mark.usefixtures("setup_configuration") class Test40Mhz5GChannel100PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -662,6 +677,9 @@ def test_client_wpa3_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-108") @pytest.mark.channel_108 @pytest.mark.parametrize( 'setup_configuration', @@ -671,8 +689,8 @@ def test_client_wpa3_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes ) @pytest.mark.usefixtures("setup_configuration") class Test40Mhz5GChannel108PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -795,6 +813,9 @@ def test_client_wpa3_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-132") @pytest.mark.channel_132 @pytest.mark.parametrize( 'setup_configuration', @@ -804,8 +825,8 @@ def test_client_wpa3_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes ) @pytest.mark.usefixtures("setup_configuration") class Test40Mhz5GChannel132PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -927,6 +948,9 @@ def test_client_wpa3_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-136") @pytest.mark.channel_136 @pytest.mark.parametrize( 'setup_configuration', @@ -936,8 +960,8 @@ def test_client_wpa3_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes ) @pytest.mark.usefixtures("setup_configuration") class Test40Mhz5GChannel136PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1059,6 +1083,9 @@ def test_client_wpa3_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Enterprise Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-140") @pytest.mark.channel_140 @pytest.mark.parametrize( 'setup_configuration', @@ -1068,8 +1095,8 @@ def test_client_wpa3_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes ) @pytest.mark.usefixtures("setup_configuration") class Test40Mhz5GChannel140PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa3_enterprise_encryption/test_peak_throughput_wpa3_eap_80Mhz_5g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa3_enterprise_encryption/test_peak_throughput_wpa3_eap_80Mhz_5g.py index e8ce43cb907..3d0a83b01cf 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa3_enterprise_encryption/test_peak_throughput_wpa3_eap_80Mhz_5g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa3_enterprise_encryption/test_peak_throughput_wpa3_eap_80Mhz_5g.py @@ -1,7 +1,7 @@ """ - Performance Test: Country code along with Channel and Channel-width Test: Bridge Mode - pytest -m "country_code and Bridge" + Performance Test: Country code along with Channel and Channel-width Test: NAT Mode + pytest -m "country_code and NAT" """ @@ -28,6 +28,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Enterprise Security") +@allure.suite("80Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-36") @pytest.mark.channel_36 @pytest.mark.parametrize( 'setup_configuration', @@ -37,8 +40,8 @@ ) @pytest.mark.usefixtures("setup_configuration") class Test80Mhz5GChannel36PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -161,6 +164,9 @@ def test_client_wpa3_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Enterprise Security") +@allure.suite("80Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-52") @pytest.mark.channel_52 @pytest.mark.parametrize( 'setup_configuration', @@ -170,8 +176,8 @@ def test_client_wpa3_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes ) @pytest.mark.usefixtures("setup_configuration") class Test80Mhz5GChannel52PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -294,6 +300,9 @@ def test_client_wpa3_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Enterprise Security") +@allure.suite("80Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-100") @pytest.mark.channel_100 @pytest.mark.parametrize( 'setup_configuration', @@ -303,8 +312,8 @@ def test_client_wpa3_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes ) @pytest.mark.usefixtures("setup_configuration") class Test80Mhz5GChannel100PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -427,6 +436,9 @@ def test_client_wpa3_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Enterprise Security") +@allure.suite("80Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-132") @pytest.mark.channel_132 @pytest.mark.parametrize( 'setup_configuration', @@ -436,8 +448,8 @@ def test_client_wpa3_eap_nat_udp_ul(self, get_test_library, get_dut_logs_per_tes ) @pytest.mark.usefixtures("setup_configuration") class Test80Mhz5GChannel132PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_160Mhz_6g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_160Mhz_6g.py index c6d8dcc3795..837df6caea7 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_160Mhz_6g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_160Mhz_6g.py @@ -28,9 +28,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") -@allure.parent_suite("Throughput Benchmark Test") -@allure.suite("6 GHz Band") -@allure.sub_suite("NAT Mode") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Personal Security") +@allure.suite("160Mhz Bandwidth in 6GHz Band") +@allure.sub_suite("Channel-AUTO") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_20Mhz_2g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_20Mhz_2g.py index 7ef732c1edf..ed7b29ccf12 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_20Mhz_2g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_20Mhz_2g.py @@ -1,7 +1,7 @@ """ - Performance Test: Country code along with Channel and Channel-width Test: Bridge Mode - pytest -m "country_code and Bridge" + Performance Test: Country code along with Channel and Channel-width Test: NAT Mode + pytest -m "country_code and NAT" """ @@ -27,6 +27,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-1") @pytest.mark.channel_1 @pytest.mark.parametrize( 'setup_configuration', @@ -36,8 +39,8 @@ ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel1PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -159,6 +162,9 @@ def test_client_wpa3_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-2") @pytest.mark.channel_2 @pytest.mark.parametrize( 'setup_configuration', @@ -168,8 +174,8 @@ def test_client_wpa3_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel2PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -291,6 +297,9 @@ def test_client_wpa3_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-3") @pytest.mark.channel_3 @pytest.mark.parametrize( 'setup_configuration', @@ -300,8 +309,8 @@ def test_client_wpa3_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel3PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -423,7 +432,10 @@ def test_client_wpa3_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe @allure.feature("PEAK THROUGHPUT TESTS") -@pytest.mark.channel_3 +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-4") +@pytest.mark.channel_4 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_4], @@ -432,8 +444,8 @@ def test_client_wpa3_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel4PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -547,7 +559,7 @@ def test_client_wpa3_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe "2G": { 'band': '2G', 'channel-width': 20, - "channel": 4 + "channel": 5 } }, "radius": False @@ -555,7 +567,10 @@ def test_client_wpa3_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe @allure.feature("PEAK THROUGHPUT TESTS") -@pytest.mark.channel_3 +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-5") +@pytest.mark.channel_5 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_5], @@ -564,8 +579,8 @@ def test_client_wpa3_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel5PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -687,17 +702,20 @@ def test_client_wpa3_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-6") @pytest.mark.channel_6 @pytest.mark.parametrize( 'setup_configuration', - [setup_params_general_5], + [setup_params_general_6], indirect=True, scope="class" ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel6PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -819,6 +837,9 @@ def test_client_wpa3_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-7") @pytest.mark.channel_7 @pytest.mark.parametrize( 'setup_configuration', @@ -828,8 +849,8 @@ def test_client_wpa3_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel7PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -951,6 +972,9 @@ def test_client_wpa3_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-8") @pytest.mark.channel_8 @pytest.mark.parametrize( 'setup_configuration', @@ -960,8 +984,8 @@ def test_client_wpa3_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel8PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1084,6 +1108,9 @@ def test_client_wpa3_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-9") @pytest.mark.channel_9 @pytest.mark.parametrize( 'setup_configuration', @@ -1093,8 +1120,8 @@ def test_client_wpa3_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel9PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1216,6 +1243,9 @@ def test_client_wpa3_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-10") @pytest.mark.channel_10 @pytest.mark.parametrize( 'setup_configuration', @@ -1225,8 +1255,8 @@ def test_client_wpa3_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel10PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1348,6 +1378,9 @@ def test_client_wpa3_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-11") @pytest.mark.channel_11 @pytest.mark.parametrize( 'setup_configuration', @@ -1357,8 +1390,8 @@ def test_client_wpa3_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel11PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_20Mhz_5g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_20Mhz_5g.py index 55f12f09bfa..bfbe968e824 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_20Mhz_5g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_20Mhz_5g.py @@ -1,7 +1,7 @@ """ - Performance Test: Country code along with Channel and Channel-width Test: Bridge Mode - pytest -m "country_code and Bridge" + Performance Test: Country code along with Channel and Channel-width Test: NAT Mode + pytest -m "country_code and NAT" """ @@ -27,6 +27,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-36") @pytest.mark.channel_36 @pytest.mark.parametrize( 'setup_configuration', @@ -36,8 +39,8 @@ ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz5GChannel36PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -159,6 +162,9 @@ def test_client_wpa3_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-40") @pytest.mark.channel_40 @pytest.mark.parametrize( 'setup_configuration', @@ -168,8 +174,8 @@ def test_client_wpa3_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz5GChannel40PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -290,6 +296,9 @@ def test_client_wpa3_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-44") @pytest.mark.channel_44 @pytest.mark.parametrize( 'setup_configuration', @@ -299,8 +308,8 @@ def test_client_wpa3_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz5GChannel44PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -422,6 +431,9 @@ def test_client_wpa3_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-48") @pytest.mark.channel_48 @pytest.mark.parametrize( 'setup_configuration', @@ -431,8 +443,8 @@ def test_client_wpa3_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel48PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -554,6 +566,9 @@ def test_client_wpa3_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-52") @pytest.mark.channel_52 @pytest.mark.parametrize( 'setup_configuration', @@ -563,8 +578,8 @@ def test_client_wpa3_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel52PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -686,6 +701,9 @@ def test_client_wpa3_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-56") @pytest.mark.channel_56 @pytest.mark.parametrize( 'setup_configuration', @@ -695,8 +713,8 @@ def test_client_wpa3_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel56PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -818,6 +836,9 @@ def test_client_wpa3_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-60") @pytest.mark.channel_60 @pytest.mark.parametrize( 'setup_configuration', @@ -827,8 +848,8 @@ def test_client_wpa3_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel60PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -952,6 +973,9 @@ def test_client_wpa3_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-64") @pytest.mark.channel_64 @pytest.mark.parametrize( 'setup_configuration', @@ -961,8 +985,8 @@ def test_client_wpa3_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel64PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1085,6 +1109,9 @@ def test_client_wpa3_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-100") @pytest.mark.channel_100 @pytest.mark.parametrize( 'setup_configuration', @@ -1094,8 +1121,8 @@ def test_client_wpa3_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel100PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1217,6 +1244,9 @@ def test_client_wpa3_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-104") @pytest.mark.channel_104 @pytest.mark.parametrize( 'setup_configuration', @@ -1226,8 +1256,8 @@ def test_client_wpa3_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel104PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1350,6 +1380,9 @@ def test_client_wpa3_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-108") @pytest.mark.channel_108 @pytest.mark.parametrize( 'setup_configuration', @@ -1359,8 +1392,8 @@ def test_client_wpa3_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel108PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1483,6 +1516,9 @@ def test_client_wpa3_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-112") @pytest.mark.channel_112 @pytest.mark.parametrize( 'setup_configuration', @@ -1492,8 +1528,8 @@ def test_client_wpa3_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel112PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1616,6 +1652,9 @@ def test_client_wpa3_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-116") @pytest.mark.channel_116 @pytest.mark.parametrize( 'setup_configuration', @@ -1625,8 +1664,8 @@ def test_client_wpa3_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel116PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1749,7 +1788,10 @@ def test_client_wpa3_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") -@pytest.mark.channel_114 +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-132") +@pytest.mark.channel_132 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general14], @@ -1758,8 +1800,8 @@ def test_client_wpa3_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel132PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1880,6 +1922,9 @@ def test_client_wpa3_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-136") @pytest.mark.channel_136 @pytest.mark.parametrize( 'setup_configuration', @@ -1889,8 +1934,8 @@ def test_client_wpa3_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel136PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -2012,6 +2057,10 @@ def test_client_wpa3_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-140") +@pytest.mark.channel_140 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general16], @@ -2020,8 +2069,8 @@ def test_client_wpa3_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel140PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -2142,6 +2191,9 @@ def test_client_wpa3_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Personal Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-144") @pytest.mark.channel_144 @pytest.mark.parametrize( 'setup_configuration', @@ -2151,8 +2203,8 @@ def test_client_wpa3_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel144PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_40Mhz_2g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_40Mhz_2g.py index bf9ea31035b..3c298a4b480 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_40Mhz_2g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_40Mhz_2g.py @@ -1,7 +1,7 @@ """ - Performance Test: Country code along with Channel and Channel-width Test: Bridge Mode - pytest -m "country_code and Bridge" + Performance Test: Country code along with Channel and Channel-width Test: NAT Mode + pytest -m "country_code and NAT" """ @@ -27,6 +27,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Personal Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-1") @pytest.mark.channel_1 @pytest.mark.parametrize( 'setup_configuration', @@ -36,8 +39,8 @@ ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel1PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -159,6 +162,9 @@ def test_client_wpa3_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Personal Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-2") @pytest.mark.channel_2 @pytest.mark.parametrize( 'setup_configuration', @@ -168,8 +174,8 @@ def test_client_wpa3_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel2PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -291,6 +297,9 @@ def test_client_wpa3_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Personal Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-3") @pytest.mark.channel_3 @pytest.mark.parametrize( 'setup_configuration', @@ -300,8 +309,8 @@ def test_client_wpa3_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel3PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -423,7 +432,10 @@ def test_client_wpa3_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe @allure.feature("PEAK THROUGHPUT TESTS") -@pytest.mark.channel_3 +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Personal Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-4") +@pytest.mark.channel_4 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_4], @@ -432,8 +444,8 @@ def test_client_wpa3_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel4PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -547,7 +559,7 @@ def test_client_wpa3_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe "2G": { 'band': '2G', 'channel-width': 40, - "channel": 4 + "channel": 5 } }, "radius": False @@ -555,7 +567,10 @@ def test_client_wpa3_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe @allure.feature("PEAK THROUGHPUT TESTS") -@pytest.mark.channel_3 +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Personal Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-5") +@pytest.mark.channel_5 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_5], @@ -564,8 +579,8 @@ def test_client_wpa3_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel5PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -687,17 +702,20 @@ def test_client_wpa3_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Personal Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-6") @pytest.mark.channel_6 @pytest.mark.parametrize( 'setup_configuration', - [setup_params_general_5], + [setup_params_general_6], indirect=True, scope="class" ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel6PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -819,6 +837,9 @@ def test_client_wpa3_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Personal Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-7") @pytest.mark.channel_7 @pytest.mark.parametrize( 'setup_configuration', @@ -828,8 +849,8 @@ def test_client_wpa3_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel7PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -951,6 +972,9 @@ def test_client_wpa3_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Personal Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-8") @pytest.mark.channel_8 @pytest.mark.parametrize( 'setup_configuration', @@ -960,8 +984,8 @@ def test_client_wpa3_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel8PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1084,6 +1108,9 @@ def test_client_wpa3_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Personal Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-9") @pytest.mark.channel_9 @pytest.mark.parametrize( 'setup_configuration', @@ -1093,8 +1120,8 @@ def test_client_wpa3_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel9PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1216,6 +1243,9 @@ def test_client_wpa3_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Personal Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-10") @pytest.mark.channel_10 @pytest.mark.parametrize( 'setup_configuration', @@ -1225,8 +1255,8 @@ def test_client_wpa3_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel10PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1348,6 +1378,9 @@ def test_client_wpa3_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Personal Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-11") @pytest.mark.channel_11 @pytest.mark.parametrize( 'setup_configuration', @@ -1357,8 +1390,8 @@ def test_client_wpa3_personal_nat_udp_ul(self, get_test_library, get_dut_logs_pe ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel11PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_40Mhz_5g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_40Mhz_5g.py index 29bbdb25164..a7557e0a07d 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_40Mhz_5g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_40Mhz_5g.py @@ -1,7 +1,7 @@ """ - Performance Test: Country code along with Channel and Channel-width Test: Bridge Mode - pytest -m "country_code and Bridge" + Performance Test: Country code along with Channel and Channel-width Test: NAT Mode + pytest -m "country_code and NAT" """ @@ -28,6 +28,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Personal Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-36") @pytest.mark.channel_36 @pytest.mark.parametrize( 'setup_configuration', @@ -37,8 +40,8 @@ ) @pytest.mark.usefixtures("setup_configuration") class Test40Mhz5GChannel36PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -160,6 +163,9 @@ def test_client_wpa3_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Personal Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-44") @pytest.mark.channel_44 @pytest.mark.parametrize( 'setup_configuration', @@ -169,8 +175,8 @@ def test_client_wpa3_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test40Mhz5GChannel44PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -264,6 +270,9 @@ def test_client_wpa3_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Personal Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-52") @pytest.mark.channel_52 @pytest.mark.parametrize( 'setup_configuration', @@ -273,8 +282,8 @@ def test_client_wpa3_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test40Mhz5GChannel52PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -396,6 +405,9 @@ def test_client_wpa3_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Personal Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-60") @pytest.mark.channel_60 @pytest.mark.parametrize( 'setup_configuration', @@ -405,8 +417,8 @@ def test_client_wpa3_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test40Mhz5GChannel60PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -529,6 +541,9 @@ def test_client_wpa3_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Personal Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-100") @pytest.mark.channel_100 @pytest.mark.parametrize( 'setup_configuration', @@ -538,8 +553,8 @@ def test_client_wpa3_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test40Mhz5GChannel100PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -662,6 +677,9 @@ def test_client_wpa3_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Personal Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-108") @pytest.mark.channel_108 @pytest.mark.parametrize( 'setup_configuration', @@ -671,8 +689,8 @@ def test_client_wpa3_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test40Mhz5GChannel108PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -795,6 +813,9 @@ def test_client_wpa3_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Personal Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-132") @pytest.mark.channel_132 @pytest.mark.parametrize( 'setup_configuration', @@ -804,8 +825,8 @@ def test_client_wpa3_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test40Mhz5GChannel132PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -927,6 +948,9 @@ def test_client_wpa3_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Personal Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-136") @pytest.mark.channel_136 @pytest.mark.parametrize( 'setup_configuration', @@ -936,8 +960,8 @@ def test_client_wpa3_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test40Mhz5GChannel136PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1059,6 +1083,9 @@ def test_client_wpa3_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Personal Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-140") @pytest.mark.channel_140 @pytest.mark.parametrize( 'setup_configuration', @@ -1068,8 +1095,8 @@ def test_client_wpa3_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test40Mhz5GChannel140PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_80Mhz_5g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_80Mhz_5g.py index f9ab2a6083a..0986ee69da4 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_80Mhz_5g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_80Mhz_5g.py @@ -1,7 +1,7 @@ """ - Performance Test: Country code along with Channel and Channel-width Test: Bridge Mode - pytest -m "country_code and Bridge" + Performance Test: Country code along with Channel and Channel-width Test: NAT Mode + pytest -m "country_code and NAT" """ @@ -28,6 +28,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Personal Security") +@allure.suite("80Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-36") @pytest.mark.channel_36 @pytest.mark.parametrize( 'setup_configuration', @@ -37,8 +40,8 @@ ) @pytest.mark.usefixtures("setup_configuration") class Test80Mhz5GChannel36PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -161,6 +164,9 @@ def test_client_wpa3_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Personal Security") +@allure.suite("80Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-52") @pytest.mark.channel_52 @pytest.mark.parametrize( 'setup_configuration', @@ -170,8 +176,8 @@ def test_client_wpa3_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test80Mhz5GChannel52PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -294,6 +300,9 @@ def test_client_wpa3_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Personal Security") +@allure.suite("80Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-100") @pytest.mark.channel_100 @pytest.mark.parametrize( 'setup_configuration', @@ -303,8 +312,8 @@ def test_client_wpa3_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test80Mhz5GChannel100PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -427,6 +436,9 @@ def test_client_wpa3_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Personal Security") +@allure.suite("80Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-132") @pytest.mark.channel_132 @pytest.mark.parametrize( 'setup_configuration', @@ -436,8 +448,8 @@ def test_client_wpa3_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_ca ) @pytest.mark.usefixtures("setup_configuration") class Test80Mhz5GChannel132PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_80Mhz_6g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_80Mhz_6g.py index d78c3925fd8..6fbd4131086 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_80Mhz_6g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa3_personal_encryption/test_peak_throughput_wpa3_80Mhz_6g.py @@ -27,9 +27,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") -@allure.parent_suite("Throughput Benchmark Test") -@allure.suite("6 GHz Band") -@allure.sub_suite("NAT Mode") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA3 Personal Security") +@allure.suite("80Mhz Bandwidth in 6GHz Band") +@allure.sub_suite("Channel-AUTO") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa_encryption/test_peak_throughput_wpa_20Mhz_2g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa_encryption/test_peak_throughput_wpa_20Mhz_2g.py index dd27b131955..932fe1e9bb2 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa_encryption/test_peak_throughput_wpa_20Mhz_2g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa_encryption/test_peak_throughput_wpa_20Mhz_2g.py @@ -1,7 +1,7 @@ """ - Performance Test: Country code along with Channel and Channel-width Test: Bridge Mode - pytest -m "country_code and Bridge" + Performance Test: Country code along with Channel and Channel-width Test: NAT Mode + pytest -m "country_code and NAT" """ @@ -27,6 +27,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-1") @pytest.mark.channel_1 @pytest.mark.parametrize( 'setup_configuration', @@ -36,8 +39,8 @@ ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel1PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -159,6 +162,9 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-2") @pytest.mark.channel_2 @pytest.mark.parametrize( 'setup_configuration', @@ -168,8 +174,8 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel2PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -291,6 +297,9 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-3") @pytest.mark.channel_3 @pytest.mark.parametrize( 'setup_configuration', @@ -300,8 +309,8 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel3PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -423,7 +432,10 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas @allure.feature("PEAK THROUGHPUT TESTS") -@pytest.mark.channel_3 +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-4") +@pytest.mark.channel_4 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_4], @@ -432,8 +444,8 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel4PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -547,7 +559,7 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas "2G": { 'band': '2G', 'channel-width': 20, - "channel": 4 + "channel": 5 } }, "radius": False @@ -555,7 +567,10 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas @allure.feature("PEAK THROUGHPUT TESTS") -@pytest.mark.channel_3 +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-5") +@pytest.mark.channel_5 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_5], @@ -564,8 +579,8 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel5PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -687,17 +702,20 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-6") @pytest.mark.channel_6 @pytest.mark.parametrize( 'setup_configuration', - [setup_params_general_5], + [setup_params_general_6], indirect=True, scope="class" ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel6PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -819,6 +837,9 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-7") @pytest.mark.channel_7 @pytest.mark.parametrize( 'setup_configuration', @@ -828,8 +849,8 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel7PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -951,6 +972,9 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-8") @pytest.mark.channel_8 @pytest.mark.parametrize( 'setup_configuration', @@ -960,8 +984,8 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel8PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1084,6 +1108,9 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-9") @pytest.mark.channel_9 @pytest.mark.parametrize( 'setup_configuration', @@ -1093,8 +1120,8 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel9PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1216,6 +1243,9 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-10") @pytest.mark.channel_10 @pytest.mark.parametrize( 'setup_configuration', @@ -1225,8 +1255,8 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel10PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1348,6 +1378,9 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-11") @pytest.mark.channel_11 @pytest.mark.parametrize( 'setup_configuration', @@ -1357,8 +1390,8 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel11PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa_encryption/test_peak_throughput_wpa_20Mhz_5g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa_encryption/test_peak_throughput_wpa_20Mhz_5g.py index 2449fe6566b..7ff3a8cc7cc 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa_encryption/test_peak_throughput_wpa_20Mhz_5g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa_encryption/test_peak_throughput_wpa_20Mhz_5g.py @@ -1,7 +1,7 @@ """ - Performance Test: Country code along with Channel and Channel-width Test: Bridge Mode - pytest -m "country_code and Bridge" + Performance Test: Country code along with Channel and Channel-width Test: NAT Mode + pytest -m "country_code and NAT" """ @@ -27,6 +27,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-36") @pytest.mark.channel_36 @pytest.mark.parametrize( 'setup_configuration', @@ -36,8 +39,8 @@ ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz5GChannel36PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -159,6 +162,9 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-40") @pytest.mark.channel_40 @pytest.mark.parametrize( 'setup_configuration', @@ -168,8 +174,8 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz5GChannel40PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -290,6 +296,9 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-44") @pytest.mark.channel_44 @pytest.mark.parametrize( 'setup_configuration', @@ -299,8 +308,8 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz5GChannel44PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -422,6 +431,9 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-48") @pytest.mark.channel_48 @pytest.mark.parametrize( 'setup_configuration', @@ -431,8 +443,8 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel48PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -554,6 +566,9 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-52") @pytest.mark.channel_52 @pytest.mark.parametrize( 'setup_configuration', @@ -563,8 +578,8 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel52PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -686,6 +701,9 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-56") @pytest.mark.channel_56 @pytest.mark.parametrize( 'setup_configuration', @@ -695,8 +713,8 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel56PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -818,6 +836,9 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-60") @pytest.mark.channel_60 @pytest.mark.parametrize( 'setup_configuration', @@ -827,8 +848,8 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel60PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -952,6 +973,9 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-64") @pytest.mark.channel_64 @pytest.mark.parametrize( 'setup_configuration', @@ -961,8 +985,8 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel64PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1085,6 +1109,9 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-100") @pytest.mark.channel_100 @pytest.mark.parametrize( 'setup_configuration', @@ -1094,8 +1121,8 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel100PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1217,6 +1244,9 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-104") @pytest.mark.channel_104 @pytest.mark.parametrize( 'setup_configuration', @@ -1226,8 +1256,8 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel104PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1350,6 +1380,9 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-108") @pytest.mark.channel_108 @pytest.mark.parametrize( 'setup_configuration', @@ -1359,8 +1392,8 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel108PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1483,6 +1516,9 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-112") @pytest.mark.channel_112 @pytest.mark.parametrize( 'setup_configuration', @@ -1492,8 +1528,8 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel112PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1616,6 +1652,9 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-116") @pytest.mark.channel_116 @pytest.mark.parametrize( 'setup_configuration', @@ -1625,8 +1664,8 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel116PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1749,7 +1788,10 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas @allure.feature("PEAK THROUGHPUT TESTS") -@pytest.mark.channel_114 +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-132") +@pytest.mark.channel_132 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general14], @@ -1758,8 +1800,8 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel132PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1880,6 +1922,9 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-136") @pytest.mark.channel_136 @pytest.mark.parametrize( 'setup_configuration', @@ -1889,8 +1934,8 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel136PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -2012,6 +2057,10 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-140") +@pytest.mark.channel_140 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general16], @@ -2020,8 +2069,8 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel140PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -2142,6 +2191,9 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA Security") +@allure.suite("20Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-144") @pytest.mark.channel_144 @pytest.mark.parametrize( 'setup_configuration', @@ -2151,8 +2203,8 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas ) @pytest.mark.usefixtures("setup_configuration") class TestCountryCA20Mhz5GChannel144PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa_encryption/test_peak_throughput_wpa_40Mhz_2g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa_encryption/test_peak_throughput_wpa_40Mhz_2g.py index 52d067a2993..51cbad0677a 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa_encryption/test_peak_throughput_wpa_40Mhz_2g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa_encryption/test_peak_throughput_wpa_40Mhz_2g.py @@ -1,7 +1,7 @@ """ - Performance Test: Country code along with Channel and Channel-width Test: Bridge Mode - pytest -m "country_code and Bridge" + Performance Test: Country code along with Channel and Channel-width Test: NAT Mode + pytest -m "country_code and NAT" """ @@ -27,6 +27,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-1") @pytest.mark.channel_1 @pytest.mark.parametrize( 'setup_configuration', @@ -36,8 +39,8 @@ ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel1PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -159,6 +162,9 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-2") @pytest.mark.channel_2 @pytest.mark.parametrize( 'setup_configuration', @@ -168,8 +174,8 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel2PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -291,6 +297,9 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-3") @pytest.mark.channel_3 @pytest.mark.parametrize( 'setup_configuration', @@ -300,8 +309,8 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel3PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -423,7 +432,10 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas @allure.feature("PEAK THROUGHPUT TESTS") -@pytest.mark.channel_3 +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-4") +@pytest.mark.channel_4 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_4], @@ -432,8 +444,8 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel4PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -547,7 +559,7 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas "2G": { 'band': '2G', 'channel-width': 40, - "channel": 4 + "channel": 5 } }, "radius": False @@ -555,7 +567,10 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas @allure.feature("PEAK THROUGHPUT TESTS") -@pytest.mark.channel_3 +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-5") +@pytest.mark.channel_5 @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_5], @@ -564,8 +579,8 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel5PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -687,17 +702,20 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-6") @pytest.mark.channel_6 @pytest.mark.parametrize( 'setup_configuration', - [setup_params_general_5], + [setup_params_general_6], indirect=True, scope="class" ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel6PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -819,6 +837,9 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-7") @pytest.mark.channel_7 @pytest.mark.parametrize( 'setup_configuration', @@ -828,8 +849,8 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel7PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -951,6 +972,9 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-8") @pytest.mark.channel_8 @pytest.mark.parametrize( 'setup_configuration', @@ -960,8 +984,8 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel8PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1084,6 +1108,9 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-9") @pytest.mark.channel_9 @pytest.mark.parametrize( 'setup_configuration', @@ -1093,8 +1120,8 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel9PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1216,6 +1243,9 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-10") @pytest.mark.channel_10 @pytest.mark.parametrize( 'setup_configuration', @@ -1225,8 +1255,8 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel10PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1348,6 +1378,9 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA Security") +@allure.suite("40Mhz Bandwidth in 2.4GHz Band") +@allure.sub_suite("Channel-11") @pytest.mark.channel_11 @pytest.mark.parametrize( 'setup_configuration', @@ -1357,8 +1390,8 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas ) @pytest.mark.usefixtures("setup_configuration") class Test20Mhz2GChannel11PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa_encryption/test_peak_throughput_wpa_40Mhz_5g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa_encryption/test_peak_throughput_wpa_40Mhz_5g.py index 9f26817116f..454becda948 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa_encryption/test_peak_throughput_wpa_40Mhz_5g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa_encryption/test_peak_throughput_wpa_40Mhz_5g.py @@ -1,7 +1,7 @@ """ - Performance Test: Country code along with Channel and Channel-width Test: Bridge Mode - pytest -m "country_code and Bridge" + Performance Test: Country code along with Channel and Channel-width Test: NAT Mode + pytest -m "country_code and NAT" """ @@ -28,6 +28,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-36") @pytest.mark.channel_36 @pytest.mark.parametrize( 'setup_configuration', @@ -37,8 +40,8 @@ ) @pytest.mark.usefixtures("setup_configuration") class Test40Mhz5GChannel36PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -160,6 +163,9 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-44") @pytest.mark.channel_44 @pytest.mark.parametrize( 'setup_configuration', @@ -169,8 +175,8 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas ) @pytest.mark.usefixtures("setup_configuration") class Test40Mhz5GChannel44PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -264,6 +270,9 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-52") @pytest.mark.channel_52 @pytest.mark.parametrize( 'setup_configuration', @@ -273,8 +282,8 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas ) @pytest.mark.usefixtures("setup_configuration") class Test40Mhz5GChannel52PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -396,6 +405,9 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-60") @pytest.mark.channel_60 @pytest.mark.parametrize( 'setup_configuration', @@ -405,8 +417,8 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas ) @pytest.mark.usefixtures("setup_configuration") class Test40Mhz5GChannel60PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -529,6 +541,9 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-100") @pytest.mark.channel_100 @pytest.mark.parametrize( 'setup_configuration', @@ -538,8 +553,8 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas ) @pytest.mark.usefixtures("setup_configuration") class Test40Mhz5GChannel100PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -662,6 +677,9 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-108") @pytest.mark.channel_108 @pytest.mark.parametrize( 'setup_configuration', @@ -671,8 +689,8 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas ) @pytest.mark.usefixtures("setup_configuration") class Test40Mhz5GChannel108PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -795,6 +813,9 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-132") @pytest.mark.channel_132 @pytest.mark.parametrize( 'setup_configuration', @@ -804,8 +825,8 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas ) @pytest.mark.usefixtures("setup_configuration") class Test40Mhz5GChannel132PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -927,6 +948,9 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-136") @pytest.mark.channel_136 @pytest.mark.parametrize( 'setup_configuration', @@ -936,8 +960,8 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas ) @pytest.mark.usefixtures("setup_configuration") class Test40Mhz5GChannel136PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -1059,6 +1083,9 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA Security") +@allure.suite("40Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-140") @pytest.mark.channel_140 @pytest.mark.parametrize( 'setup_configuration', @@ -1068,8 +1095,8 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas ) @pytest.mark.usefixtures("setup_configuration") class Test40Mhz5GChannel140PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa_encryption/test_peak_throughput_wpa_80Mhz_5g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa_encryption/test_peak_throughput_wpa_80Mhz_5g.py index 1413168ea16..aab29c44107 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa_encryption/test_peak_throughput_wpa_80Mhz_5g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa_encryption/test_peak_throughput_wpa_80Mhz_5g.py @@ -1,7 +1,7 @@ """ - Performance Test: Country code along with Channel and Channel-width Test: Bridge Mode - pytest -m "country_code and Bridge" + Performance Test: Country code along with Channel and Channel-width Test: NAT Mode + pytest -m "country_code and NAT" """ @@ -28,6 +28,9 @@ @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA Security") +@allure.suite("80Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-36") @pytest.mark.channel_36 @pytest.mark.parametrize( 'setup_configuration', @@ -37,8 +40,8 @@ ) @pytest.mark.usefixtures("setup_configuration") class Test80Mhz5GChannel36PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -161,6 +164,9 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA Security") +@allure.suite("80Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-52") @pytest.mark.channel_52 @pytest.mark.parametrize( 'setup_configuration', @@ -170,8 +176,8 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas ) @pytest.mark.usefixtures("setup_configuration") class Test80Mhz5GChannel52PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -294,6 +300,9 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA Security") +@allure.suite("80Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-100") @pytest.mark.channel_100 @pytest.mark.parametrize( 'setup_configuration', @@ -303,8 +312,8 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas ) @pytest.mark.usefixtures("setup_configuration") class Test80Mhz5GChannel100PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @@ -427,6 +436,9 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas @allure.feature("PEAK THROUGHPUT TESTS") +@allure.parent_suite("Peak Throughput Tests: NAT Mode w/ WPA Security") +@allure.suite("80Mhz Bandwidth in 5GHz Band") +@allure.sub_suite("Channel-132") @pytest.mark.channel_132 @pytest.mark.parametrize( 'setup_configuration', @@ -436,8 +448,8 @@ def test_client_wpa_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_cas ) @pytest.mark.usefixtures("setup_configuration") class Test80Mhz5GChannel132PeakThroughput(object): - """Country code along with Channel and Channel-width Test Bridge mode - pytest -m "country_code and Bridge" + """Country code along with Channel and Channel-width Test NAT mode + pytest -m "country_code and NAT" """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/tcp_udp_upstream_downstream_bidirection_throughput_test/wpa2_personal/test_bridge_mode.py b/tests/e2e/basic/performance_tests/throughput_benchmark/tcp_udp_upstream_downstream_bidirection_throughput_test/wpa2_personal/test_bridge_mode.py index f2e2ea46b62..55b3cccec1d 100644 --- a/tests/e2e/basic/performance_tests/throughput_benchmark/tcp_udp_upstream_downstream_bidirection_throughput_test/wpa2_personal/test_bridge_mode.py +++ b/tests/e2e/basic/performance_tests/throughput_benchmark/tcp_udp_upstream_downstream_bidirection_throughput_test/wpa2_personal/test_bridge_mode.py @@ -34,6 +34,10 @@ @allure.feature("BRIDGE MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: TCP/UDP Upstream/Downstream/Bidirectional Traffic Tests : " + "WPA2 Personal Security") +@allure.suite("Bridge Mode") +@allure.sub_suite("20Mhz Channel Bandwidth") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], @@ -594,6 +598,10 @@ def test_client_wpa2_personal_5g_bi_nss2_tcp(self, @allure.feature("BRIDGE MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: TCP/UDP Upstream/Downstream/Bidirectional Traffic Tests : " + "WPA2 Personal Security") +@allure.suite("Bridge Mode") +@allure.sub_suite("80Mhz Channel Bandwidth") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], @@ -1172,6 +1180,10 @@ def test_client_wpa2_personal_5g_bi_nss3_tcp(self, @allure.feature("BRIDGE MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: TCP/UDP Upstream/Downstream/Bidirectional Traffic Tests : " + "WPA2 Personal Security") +@allure.suite("Bridge Mode") +@allure.sub_suite("160Mhz Channel Bandwidth") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/tcp_udp_upstream_downstream_bidirection_throughput_test/wpa2_personal/test_nat_mode.py b/tests/e2e/basic/performance_tests/throughput_benchmark/tcp_udp_upstream_downstream_bidirection_throughput_test/wpa2_personal/test_nat_mode.py index 62a2ce3324b..71bd4897033 100644 --- a/tests/e2e/basic/performance_tests/throughput_benchmark/tcp_udp_upstream_downstream_bidirection_throughput_test/wpa2_personal/test_nat_mode.py +++ b/tests/e2e/basic/performance_tests/throughput_benchmark/tcp_udp_upstream_downstream_bidirection_throughput_test/wpa2_personal/test_nat_mode.py @@ -30,6 +30,10 @@ @allure.feature("NAT MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: TCP/UDP Upstream/Downstream/Bidirectional Traffic Tests : " + "WPA2 Personal Security") +@allure.suite("NAT Mode") +@allure.sub_suite("20Mhz Channel Bandwidth") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], @@ -587,6 +591,10 @@ def test_client_wpa2_personal_5g_bi_nss2_tcp(self, @allure.feature("NAT MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: TCP/UDP Upstream/Downstream/Bidirectional Traffic Tests : " + "WPA2 Personal Security") +@allure.suite("NAT Mode") +@allure.sub_suite("80Mhz Channel Bandwidth") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], @@ -1165,6 +1173,10 @@ def test_client_wpa2_personal_5g_bi_nss3_tcp(self, @allure.feature("NAT MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: TCP/UDP Upstream/Downstream/Bidirectional Traffic Tests : " + "WPA2 Personal Security") +@allure.suite("NAT Mode") +@allure.sub_suite("160Mhz Channel Bandwidth") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/tcp_udp_upstream_downstream_bidirection_throughput_test/wpa2_personal/test_vlan_mode.py b/tests/e2e/basic/performance_tests/throughput_benchmark/tcp_udp_upstream_downstream_bidirection_throughput_test/wpa2_personal/test_vlan_mode.py index 2444b08bdec..94fa350a1fb 100644 --- a/tests/e2e/basic/performance_tests/throughput_benchmark/tcp_udp_upstream_downstream_bidirection_throughput_test/wpa2_personal/test_vlan_mode.py +++ b/tests/e2e/basic/performance_tests/throughput_benchmark/tcp_udp_upstream_downstream_bidirection_throughput_test/wpa2_personal/test_vlan_mode.py @@ -35,6 +35,10 @@ @allure.feature("VLAN MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: TCP/UDP Upstream/Downstream/Bidirectional Traffic Tests : " + "WPA2 Personal Security") +@allure.suite("VLAN Mode") +@allure.sub_suite("20Mhz Channel Bandwidth") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], @@ -597,6 +601,10 @@ def test_client_wpa2_personal_5g_bi_nss2_tcp(self, @allure.feature("VLAN MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: TCP/UDP Upstream/Downstream/Bidirectional Traffic Tests : " + "WPA2 Personal Security") +@allure.suite("VLAN Mode") +@allure.sub_suite("80Mhz Channel Bandwidth") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], @@ -1176,6 +1184,10 @@ def test_client_wpa2_personal_5g_bi_nss3_tcp(self, @allure.feature("VLAN MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: TCP/UDP Upstream/Downstream/Bidirectional Traffic Tests : " + "WPA2 Personal Security") +@allure.suite("VLAN Mode") +@allure.sub_suite("160Mhz Channel Bandwidth") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_across_channel_bw/test_bridge_mode.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_across_channel_bw/test_bridge_mode.py index 0ecd351f73a..b0180e083de 100644 --- a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_across_channel_bw/test_bridge_mode.py +++ b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_across_channel_bw/test_bridge_mode.py @@ -35,6 +35,9 @@ @allure.feature("BRIDGE MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput across channel-width Tests : WPA2 Personal Security") +@allure.suite("Bridge Mode") +@allure.sub_suite("20Mhz Channel Bandwidth") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_20Mhz], @@ -147,6 +150,9 @@ def test_client_wpa2_personal_5g(self, @allure.feature("BRIDGE MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput across channel-width Tests : WPA2 Personal Security") +@allure.suite("Bridge Mode") +@allure.sub_suite("40Mhz Channel Bandwidth") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_40Mhz], @@ -254,6 +260,9 @@ def test_client_wpa2_personal_5g(self, @allure.feature("BRIDGE MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput across channel-width Tests : WPA2 Personal Security") +@allure.suite("Bridge Mode") +@allure.sub_suite("80Mhz Channel Bandwidth") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_80Mhz], @@ -306,10 +315,6 @@ def test_client_wpa2_personal_5g(self, assert False @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-9742", name="WIFI-9742") - @allure.parent_suite("Throughput Test") - @allure.suite("OpenWifi Throughput across channel bandwidth") - @allure.title("Single client wifi capacity 80Mhz Bw") - @allure.sub_suite("BRIDGE Mode") @pytest.mark.bw80Mhz @pytest.mark.wpa2_personal @pytest.mark.mmm @@ -360,6 +365,9 @@ def test_client_wpa2_BRIDGE_tcp_dl_80Mhz(self, lf_tools, get_apnos_max_clients, @allure.feature("BRIDGE MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput across channel-width Tests : WPA2 Personal Security") +@allure.suite("Bridge Mode") +@allure.sub_suite("160Mhz Channel Bandwidth") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_160Mhz], diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_across_channel_bw/test_nat_mode.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_across_channel_bw/test_nat_mode.py index 492f0ae6836..47e8a323b21 100644 --- a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_across_channel_bw/test_nat_mode.py +++ b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_across_channel_bw/test_nat_mode.py @@ -35,6 +35,9 @@ @allure.feature("NAT MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput across channel-width Tests : WPA2 Personal Security") +@allure.suite("NAT Mode") +@allure.sub_suite("20Mhz Channel Bandwidth") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_20Mhz], @@ -148,6 +151,9 @@ def test_client_wpa2_personal_5g(self, @allure.feature("NAT MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput across channel-width Tests : WPA2 Personal Security") +@allure.suite("NAT Mode") +@allure.sub_suite("40Mhz Channel Bandwidth") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_40Mhz], @@ -255,6 +261,9 @@ def test_client_wpa2_personal_5g(self, @allure.feature("NAT MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput across channel-width Tests : WPA2 Personal Security") +@allure.suite("NAT Mode") +@allure.sub_suite("80Mhz Channel Bandwidth") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_80Mhz], @@ -307,10 +316,6 @@ def test_client_wpa2_personal_5g(self, assert False @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-9743", name="WIFI-9743") - @allure.parent_suite("Throughput Test") - @allure.suite("OpenWifi Throughput across channel bandwidth") - @allure.title("Single client wifi capacity 80Mhz Bw") - @allure.sub_suite("NAT Mode") @pytest.mark.bw80Mhz @pytest.mark.wpa2_personal @pytest.mark.mmm @@ -362,6 +367,9 @@ def test_client_wpa2_NAT_tcp_dl_80Mhz(self, lf_tools, get_apnos_max_clients, @allure.feature("NAT MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput across channel-width Tests : WPA2 Personal Security") +@allure.suite("NAT Mode") +@allure.sub_suite("160Mhz Channel Bandwidth") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_160Mhz], diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_across_channel_bw/test_vlan_mode.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_across_channel_bw/test_vlan_mode.py index aa284b6ff62..448b872cd47 100644 --- a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_across_channel_bw/test_vlan_mode.py +++ b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_across_channel_bw/test_vlan_mode.py @@ -31,6 +31,9 @@ @allure.feature("VLAN MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput across channel-width Tests : WPA2 Personal Security") +@allure.suite("VLAN Mode") +@allure.sub_suite("20Mhz Channel Bandwidth") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_20Mhz], @@ -140,6 +143,9 @@ def test_client_wpa2_personal_5g(self, @allure.feature("VLAN MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput across channel-width Tests : WPA2 Personal Security") +@allure.suite("VLAN Mode") +@allure.sub_suite("40Mhz Channel Bandwidth") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_40Mhz], @@ -248,6 +254,9 @@ def test_client_wpa2_personal_5g(self, @allure.feature("VLAN MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput across channel-width Tests : WPA2 Personal Security") +@allure.suite("VLAN Mode") +@allure.sub_suite("80Mhz Channel Bandwidth") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_80Mhz], @@ -357,6 +366,9 @@ def test_client_wpa2_personal_5g(self, @allure.feature("VLAN MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput across channel-width Tests : WPA2 Personal Security") +@allure.suite("VLAN Mode") +@allure.sub_suite("160Mhz Channel Bandwidth") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_160Mhz], diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/open_security/test_bridge_mode.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/open_security/test_bridge_mode.py index d10a9fe3e91..4e6c8a2a432 100644 --- a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/open_security/test_bridge_mode.py +++ b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/open_security/test_bridge_mode.py @@ -22,6 +22,9 @@ @allure.feature("BRIDGE MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : Open Security") +@allure.suite("Bridge Mode") +@allure.sub_suite("2.4GHz Band") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], @@ -339,6 +342,9 @@ def test_client_open_pkt_MTU_2g(self, lf_tools, lf_test, station_names_twog, cre @allure.feature("BRIDGE MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : Open Security") +@allure.suite("Bridge Mode") +@allure.sub_suite("5GHz Band") @pytest.mark.parametrize( 'setup_configuration', [setup_params_5g], diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/open_security/test_nat_mode.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/open_security/test_nat_mode.py index 34249f45f58..8ff8b1a6195 100644 --- a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/open_security/test_nat_mode.py +++ b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/open_security/test_nat_mode.py @@ -22,6 +22,9 @@ @allure.feature("NAT MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : Open Security") +@allure.suite("NAT Mode") +@allure.sub_suite("2.4GHz Band") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], @@ -333,6 +336,9 @@ def test_client_open_pkt_MTU_2g(self, lf_tools, lf_test, station_names_twog, cre @allure.feature("NAT MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : Open Security") +@allure.suite("NAT Mode") +@allure.sub_suite("5GHz Band") @pytest.mark.parametrize( 'setup_configuration', [setup_params_5g], diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/open_security/test_vlan_mode.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/open_security/test_vlan_mode.py index 41c91405236..5e8bf5d42bf 100644 --- a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/open_security/test_vlan_mode.py +++ b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/open_security/test_vlan_mode.py @@ -22,6 +22,9 @@ @allure.feature("VLAN MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : Open Security") +@allure.suite("VLAN Mode") +@allure.sub_suite("2.4GHz Band") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], @@ -332,6 +335,9 @@ def test_client_open_pkt_MTU_2g(self, lf_tools, lf_test, station_names_twog, cre @allure.feature("VLAN MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : Open Security") +@allure.suite("VLAN Mode") +@allure.sub_suite("5GHz Band") @pytest.mark.parametrize( 'setup_configuration', [setup_params_5g], diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa2_security/test_bridge_mode.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa2_security/test_bridge_mode.py index 47ca183a7a1..efc8bb65d12 100644 --- a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa2_security/test_bridge_mode.py +++ b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa2_security/test_bridge_mode.py @@ -24,6 +24,9 @@ @allure.feature("BRIDGE MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : WPA2 Personal Security") +@allure.suite("Bridge Mode") +@allure.sub_suite("2.4GHz Band") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], @@ -337,6 +340,9 @@ def test_client_wpa2_personal_bridge_pkt_MTU_2g(self, lf_tools, lf_test, station @allure.feature("BRIDGE MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : WPA2 Personal Security") +@allure.suite("Bridge Mode") +@allure.sub_suite("5GHz Band") @pytest.mark.parametrize( 'setup_configuration', [setup_params_5g], diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa2_security/test_nat_mode.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa2_security/test_nat_mode.py index d9c10abd36c..0ef78eb6d2e 100644 --- a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa2_security/test_nat_mode.py +++ b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa2_security/test_nat_mode.py @@ -24,6 +24,9 @@ @allure.feature("NAT MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : WPA2 Personal Security") +@allure.suite("NAT Mode") +@allure.sub_suite("2.4GHz Band") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], @@ -341,6 +344,9 @@ def test_client_wpa2_personal_nat_pkt_MTU_2g(self, lf_tools, lf_test, station_na @allure.feature("NAT MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : WPA2 Personal Security") +@allure.suite("NAT Mode") +@allure.sub_suite("5GHz Band") @pytest.mark.parametrize( 'setup_configuration', [setup_params_5g], diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa2_security/test_vlan_mode.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa2_security/test_vlan_mode.py index cf0aa6b3308..51146492b4d 100644 --- a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa2_security/test_vlan_mode.py +++ b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa2_security/test_vlan_mode.py @@ -22,6 +22,9 @@ @allure.feature("VLAN MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : WPA2 Personal Security") +@allure.suite("VLAN Mode") +@allure.sub_suite("2.4GHz Band") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], @@ -339,6 +342,9 @@ def test_client_wpa2_personal_vlan_pkt_MTU_2g(self, lf_tools, lf_test, station_n @allure.feature("VLAN MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : WPA2 Personal Security") +@allure.suite("VLAN Mode") +@allure.sub_suite("5Hz Band") @pytest.mark.parametrize( 'setup_configuration', [setup_params_5g], diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa3_security/test_bridge_mode.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa3_security/test_bridge_mode.py index 664fa3684af..040ee9a62fd 100644 --- a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa3_security/test_bridge_mode.py +++ b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa3_security/test_bridge_mode.py @@ -25,6 +25,9 @@ @allure.feature("BRIDGE MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : WPA3 Personal Security") +@allure.suite("Bridge Mode") +@allure.sub_suite("2.4GHz Band") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], @@ -338,6 +341,9 @@ def test_client_wpa3_personal_pkt_bridge_MTU_2g(self, lf_tools, lf_test, station @allure.feature("BRIDGE MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : WPA3 Personal Security") +@allure.suite("Bridge Mode") +@allure.sub_suite("5GHz Band") @pytest.mark.parametrize( 'setup_configuration', [setup_params_5g], diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa3_security/test_nat_mode.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa3_security/test_nat_mode.py index 085af30a653..7d07fbbc2d3 100644 --- a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa3_security/test_nat_mode.py +++ b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa3_security/test_nat_mode.py @@ -25,6 +25,9 @@ @allure.feature("NAT MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : WPA3 Personal Security") +@allure.suite("NAT Mode") +@allure.sub_suite("2.4GHz Band") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], @@ -343,6 +346,9 @@ def test_client_wpa3_personal_nat_pkt_MTU_2g(self, lf_tools, @allure.feature("NAT MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : WPA3 Personal Security") +@allure.suite("NAT Mode") +@allure.sub_suite("5GHz Band") @pytest.mark.parametrize( 'setup_configuration', [setup_params_5g], diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa3_security/test_vlan_mode.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa3_security/test_vlan_mode.py index f1e666ca853..20332b5fa6a 100644 --- a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa3_security/test_vlan_mode.py +++ b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa3_security/test_vlan_mode.py @@ -24,6 +24,9 @@ @allure.feature("VLAN MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : WPA3 Personal Security") +@allure.suite("VLAN Mode") +@allure.sub_suite("2.4GHz Band") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], @@ -342,6 +345,9 @@ def test_client_wpa3_personal_pkt_vlan_MTU_2g(self, lf_tools, @allure.feature("VLAN MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : WPA3 Personal Security") +@allure.suite("VLAN Mode") +@allure.sub_suite("5GHz Band") @pytest.mark.parametrize( 'setup_configuration', [setup_params_5g], diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa_security/test_bridge_mode.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa_security/test_bridge_mode.py index 5807637137f..df3980dea46 100644 --- a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa_security/test_bridge_mode.py +++ b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa_security/test_bridge_mode.py @@ -23,6 +23,9 @@ @allure.feature("BRIDGE MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : WPA Security") +@allure.suite("Bridge Mode") +@allure.sub_suite("2.4GHz Band") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], @@ -339,6 +342,9 @@ def test_client_wpa_personal_bridge_pkt_MTU_2g(self, lf_tools, @allure.feature("BRIDGE MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : WPA Security") +@allure.suite("Bridge Mode") +@allure.sub_suite("5GHz Band") @pytest.mark.parametrize( 'setup_configuration', [setup_params_5g], diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa_security/test_nat_mode.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa_security/test_nat_mode.py index a88ab631f1f..f9502eee072 100644 --- a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa_security/test_nat_mode.py +++ b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa_security/test_nat_mode.py @@ -24,6 +24,9 @@ @allure.feature("NAT MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : WPA Security") +@allure.suite("NAT Mode") +@allure.sub_suite("2.4GHz Band") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], @@ -332,6 +335,9 @@ def test_client_wpa_personal_pkt_MTU_2g(self, lf_tools, @allure.feature("NAT MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : WPA Security") +@allure.suite("NAT Mode") +@allure.sub_suite("5GHz Band") @pytest.mark.parametrize( 'setup_configuration', [setup_params_5g], diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa_security/test_vlan_mode.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa_security/test_vlan_mode.py index ed3da9481ad..4215f3375fe 100644 --- a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa_security/test_vlan_mode.py +++ b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa_security/test_vlan_mode.py @@ -23,6 +23,9 @@ @allure.feature("VLAN MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : WPA Security") +@allure.suite("VLAN Mode") +@allure.sub_suite("2.4GHz Band") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], @@ -340,6 +343,9 @@ def test_client_wpa_personal_pkt_MTU_2g(self, lf_tools, @allure.feature("VLAN MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : WPA Security") +@allure.suite("VLAN Mode") +@allure.sub_suite("5GHz Band") @pytest.mark.parametrize( 'setup_configuration', [setup_params_5g], diff --git a/tests/e2e/basic/strict_forwarding/wpa2_personal/test_strict_forwarding_bridge.py b/tests/e2e/basic/strict_forwarding/wpa2_personal/test_strict_forwarding_bridge.py index a438c9cd623..64ee04a682a 100644 --- a/tests/e2e/basic/strict_forwarding/wpa2_personal/test_strict_forwarding_bridge.py +++ b/tests/e2e/basic/strict_forwarding/wpa2_personal/test_strict_forwarding_bridge.py @@ -33,8 +33,8 @@ scope="class" ) @allure.feature("Strict Forwarding") -@allure.parent_suite("Strict Forwarding") -@allure.suite(suite_name="BRIDGE Mode") +@allure.parent_suite("Strict Forwarding Tests") +@allure.suite(suite_name="Bridge Mode") @allure.sub_suite(sub_suite_name="Clients connected to same SSID") @pytest.mark.usefixtures("setup_configuration") class TestStrictForwardingSameSSID(object): @@ -108,8 +108,8 @@ def test_sf_enabled_ssid_5g(self, setup_configuration, get_test_library, num_sta scope="class" ) @allure.feature("Strict Forwarding") -@allure.parent_suite("Strict Forwarding") -@allure.suite(suite_name="BRIDGE Mode") +@allure.parent_suite("Strict Forwarding Tests") +@allure.suite(suite_name="Bridge Mode") @allure.sub_suite(sub_suite_name="Clients connected to two different SSID (sf is enabled on both SSIDs)") @pytest.mark.usefixtures("setup_configuration") class TestStrictForwardingEnabledTwoSSID(object): @@ -193,8 +193,8 @@ def test_sf_enabled_two_ssid_5g(self, setup_configuration, get_test_library, num scope="class" ) @allure.feature("Strict Forwarding") -@allure.parent_suite("Strict Forwarding") -@allure.suite(suite_name="BRIDGE Mode") +@allure.parent_suite("Strict Forwarding Tests") +@allure.suite(suite_name="Bridge Mode") @allure.sub_suite(sub_suite_name="Clients connected to two different SSID (SSID with sf enabled and another " "SSID where sf is disabled") @pytest.mark.usefixtures("setup_configuration") diff --git a/tests/e2e/basic/validation_of_operating_modes/bridge_mode/multi_psk/wpa2_security/test_multipsk_basic_wpa2.py b/tests/e2e/basic/validation_of_operating_modes/bridge_mode/multi_psk/wpa2_security/test_multipsk_basic_wpa2.py index 7d6ec0772e3..42efd5b8971 100644 --- a/tests/e2e/basic/validation_of_operating_modes/bridge_mode/multi_psk/wpa2_security/test_multipsk_basic_wpa2.py +++ b/tests/e2e/basic/validation_of_operating_modes/bridge_mode/multi_psk/wpa2_security/test_multipsk_basic_wpa2.py @@ -38,16 +38,16 @@ } -@allure.feature("MultiPsk Test") +@allure.feature("Multi-PSK Test") +@allure.parent_suite("Multi-PSK Tests") +@allure.suite("WPA2 Personal Security") +@allure.sub_suite("Bridge Mode") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], indirect=True, scope="class" ) -@allure.parent_suite("MultiPsk Test") -@allure.suite("BRIDGE Mode") -@allure.sub_suite("WPA2 Security") @pytest.mark.usefixtures("setup_configuration") class TestMultipskBridgeWPA2(object): diff --git a/tests/e2e/basic/validation_of_operating_modes/bridge_mode/multi_psk/wpa_security/test_multipsk_basic_wpa.py b/tests/e2e/basic/validation_of_operating_modes/bridge_mode/multi_psk/wpa_security/test_multipsk_basic_wpa.py index 73187a3ae4e..537e57643c2 100644 --- a/tests/e2e/basic/validation_of_operating_modes/bridge_mode/multi_psk/wpa_security/test_multipsk_basic_wpa.py +++ b/tests/e2e/basic/validation_of_operating_modes/bridge_mode/multi_psk/wpa_security/test_multipsk_basic_wpa.py @@ -38,16 +38,16 @@ } -@allure.feature("MultiPsk Test") +@allure.feature("Multi-PSK Test") +@allure.parent_suite("Multi-PSK Tests") +@allure.suite("WPA Security") +@allure.sub_suite("Bridge Mode") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], indirect=True, scope="class" ) -@allure.parent_suite("MultiPsk Test") -@allure.suite("BRIDGE Mode") -@allure.sub_suite("WPA Security") @pytest.mark.usefixtures("setup_configuration") class TestMultipskBridgeWPA(object): diff --git a/tests/e2e/basic/validation_of_operating_modes/bridge_mode/rate_limiting/test_rate_limiting.py b/tests/e2e/basic/validation_of_operating_modes/bridge_mode/rate_limiting/test_rate_limiting.py index 354455cf382..8c1670bbe45 100644 --- a/tests/e2e/basic/validation_of_operating_modes/bridge_mode/rate_limiting/test_rate_limiting.py +++ b/tests/e2e/basic/validation_of_operating_modes/bridge_mode/rate_limiting/test_rate_limiting.py @@ -32,10 +32,10 @@ } -@allure.feature("Rate Limiting Test") +@allure.feature("Rate Limiting") @allure.parent_suite("Rate Limiting Tests") -@allure.suite("BRIDGE Mode") -@allure.sub_suite("WPA2 Personal Security") +@allure.suite("WPA2 Personal Security") +@allure.sub_suite("Bridge Mode") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], diff --git a/tests/e2e/basic/validation_of_operating_modes/bridge_mode/rate_limiting_with_radius/test_rate_limiting_with_radius.py b/tests/e2e/basic/validation_of_operating_modes/bridge_mode/rate_limiting_with_radius/test_rate_limiting_with_radius.py index 2fd9431f707..703a91e51c8 100644 --- a/tests/e2e/basic/validation_of_operating_modes/bridge_mode/rate_limiting_with_radius/test_rate_limiting_with_radius.py +++ b/tests/e2e/basic/validation_of_operating_modes/bridge_mode/rate_limiting_with_radius/test_rate_limiting_with_radius.py @@ -60,10 +60,10 @@ } -@allure.feature("Rate Limiting With Radius Test") -@allure.parent_suite("Rate Limiting With Radius Test") -@allure.suite("BRIDGE Mode") -@allure.sub_suite("WPA2 Enterprise Security") +@allure.feature("Rate Limiting With Radius") +@allure.parent_suite("Rate Limiting With Radius Tests") +@allure.suite("WPA2 Enterprise Security") +@allure.sub_suite("Bridge Mode") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], diff --git a/tests/e2e/basic/validation_of_operating_modes/max_ssid/test_max_ssid.py b/tests/e2e/basic/validation_of_operating_modes/max_ssid/test_max_ssid.py index 24c68e656b3..ad82ce70f83 100644 --- a/tests/e2e/basic/validation_of_operating_modes/max_ssid/test_max_ssid.py +++ b/tests/e2e/basic/validation_of_operating_modes/max_ssid/test_max_ssid.py @@ -35,6 +35,9 @@ } +@allure.parent_suite("Max-SSID Tests") +@allure.suite("Bridge Mode") +@allure.sub_suite("Only 2.4GHz Band") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], @@ -111,6 +114,9 @@ def test_max_eight_ssid_2g(self, lf_test, station_names_twog, get_configuration) } +@allure.parent_suite("Max-SSID Tests") +@allure.suite("Bridge Mode") +@allure.sub_suite("Only 5GHz Band") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general1], @@ -188,6 +194,9 @@ def test_max_eight_ssid_5g(self, lf_test, station_names_fiveg, get_configuration } +@allure.parent_suite("Max-SSID Tests") +@allure.suite("Bridge Mode") +@allure.sub_suite("Only 2.4GHz Band") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general2], @@ -274,6 +283,9 @@ def test_more_than_eight_ssid_2g(self, lf_test, station_names_twog, get_configur } +@allure.parent_suite("Max-SSID Tests") +@allure.suite("Bridge Mode") +@allure.sub_suite("Only 5GHz Band") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general3], @@ -365,6 +377,9 @@ def test_more_than_eight_ssid_5g(self, lf_test, station_names_fiveg, get_configu } +@allure.parent_suite("Max-SSID Tests") +@allure.suite("Bridge Mode") +@allure.sub_suite("Both 2.4GHz and 5GHz Band") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general4], @@ -457,6 +472,9 @@ def test_max_sixteen_2g_5g(self, lf_test, station_names_twog, station_names_five } +@allure.parent_suite("Max-SSID Tests") +@allure.suite("Bridge Mode") +@allure.sub_suite("Both 2.4GHz and 5GHz Band") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general5], diff --git a/tests/e2e/basic/validation_of_operating_modes/nat_mode/multi_psk/wpa2_security/test_multipsk_basic_wpa2.py b/tests/e2e/basic/validation_of_operating_modes/nat_mode/multi_psk/wpa2_security/test_multipsk_basic_wpa2.py index 3209ff32b06..d90950d8ec4 100644 --- a/tests/e2e/basic/validation_of_operating_modes/nat_mode/multi_psk/wpa2_security/test_multipsk_basic_wpa2.py +++ b/tests/e2e/basic/validation_of_operating_modes/nat_mode/multi_psk/wpa2_security/test_multipsk_basic_wpa2.py @@ -37,16 +37,16 @@ } -@allure.feature("MultiPsk Test") +@allure.feature("Multi-PSK Test") +@allure.parent_suite("Multi-PSK Tests") +@allure.suite("WPA2 Personal Security") +@allure.sub_suite("NAT Mode") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], indirect=True, scope="class" ) -@allure.parent_suite("MultiPsk Test") -@allure.suite("NAT Mode") -@allure.sub_suite("WPA2 Security") @pytest.mark.usefixtures("setup_configuration") class TestMultipskNAT(object): diff --git a/tests/e2e/basic/validation_of_operating_modes/nat_mode/multi_psk/wpa_security/test_multipsk_basic_wpa.py b/tests/e2e/basic/validation_of_operating_modes/nat_mode/multi_psk/wpa_security/test_multipsk_basic_wpa.py index ab8294623c8..c354facf624 100644 --- a/tests/e2e/basic/validation_of_operating_modes/nat_mode/multi_psk/wpa_security/test_multipsk_basic_wpa.py +++ b/tests/e2e/basic/validation_of_operating_modes/nat_mode/multi_psk/wpa_security/test_multipsk_basic_wpa.py @@ -37,16 +37,16 @@ } -@allure.feature("MultiPsk Test") +@allure.feature("Multi-PSK Test") +@allure.parent_suite("Multi-PSK Tests") +@allure.suite("WPA Security") +@allure.sub_suite("NAT Mode") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], indirect=True, scope="class" ) -@allure.parent_suite("MultiPsk Test") -@allure.suite("NAT Mode") -@allure.sub_suite("WPA Security") @pytest.mark.usefixtures("setup_configuration") class TestMultipskNAT(object): diff --git a/tests/e2e/basic/validation_of_operating_modes/nat_mode/rate_limiting/test_rate_limiting.py b/tests/e2e/basic/validation_of_operating_modes/nat_mode/rate_limiting/test_rate_limiting.py index 80bf84ae46e..87a3f308caf 100644 --- a/tests/e2e/basic/validation_of_operating_modes/nat_mode/rate_limiting/test_rate_limiting.py +++ b/tests/e2e/basic/validation_of_operating_modes/nat_mode/rate_limiting/test_rate_limiting.py @@ -32,10 +32,10 @@ } -@allure.feature("Rate Limiting Test") +@allure.feature("Rate Limiting") @allure.parent_suite("Rate Limiting Tests") -@allure.suite("NAT Mode") -@allure.sub_suite("WPA2 Personal Security") +@allure.suite("WPA2 Personal Security") +@allure.sub_suite("NAT Mode") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], diff --git a/tests/e2e/basic/validation_of_operating_modes/vlan_mode/multi_vlan/test_multi_vlan_fiveg.py b/tests/e2e/basic/validation_of_operating_modes/vlan_mode/multi_vlan/test_multi_vlan_fiveg.py index 9b492781d34..ed07e6e98f5 100644 --- a/tests/e2e/basic/validation_of_operating_modes/vlan_mode/multi_vlan/test_multi_vlan_fiveg.py +++ b/tests/e2e/basic/validation_of_operating_modes/vlan_mode/multi_vlan/test_multi_vlan_fiveg.py @@ -35,10 +35,10 @@ indirect=True, scope="class" ) -@allure.feature("Multi VLAN Test") -@allure.parent_suite("Multi VLAN Test") +@allure.feature("Multi-VLAN") +@allure.parent_suite("Multi-VLAN Tests") @allure.suite("VLAN Mode") -@allure.sub_suite("5Ghz") +@allure.sub_suite("5Ghz Band") @pytest.mark.usefixtures("setup_configuration") class TestMultiVlan(object): diff --git a/tests/e2e/basic/validation_of_operating_modes/vlan_mode/multi_vlan/test_multi_vlan_twog.py b/tests/e2e/basic/validation_of_operating_modes/vlan_mode/multi_vlan/test_multi_vlan_twog.py index 981c072a5e5..8ad3c38006f 100644 --- a/tests/e2e/basic/validation_of_operating_modes/vlan_mode/multi_vlan/test_multi_vlan_twog.py +++ b/tests/e2e/basic/validation_of_operating_modes/vlan_mode/multi_vlan/test_multi_vlan_twog.py @@ -35,10 +35,10 @@ indirect=True, scope="class" ) -@allure.feature("Multi VLAN Test") -@allure.parent_suite("Multi VLAN Test") +@allure.feature("Multi-VLAN") +@allure.parent_suite("Multi-VLAN Tests") @allure.suite("VLAN Mode") -@allure.sub_suite("2.4 Ghz") +@allure.sub_suite("2.4Ghz Band") @pytest.mark.usefixtures("setup_configuration") class TestMultiVlan(object): diff --git a/tests/e2e/basic/validation_of_operating_modes/vlan_mode/rate_limiting/test_rate_limiting.py b/tests/e2e/basic/validation_of_operating_modes/vlan_mode/rate_limiting/test_rate_limiting.py index 47d2432d7f8..ee873a1c63c 100644 --- a/tests/e2e/basic/validation_of_operating_modes/vlan_mode/rate_limiting/test_rate_limiting.py +++ b/tests/e2e/basic/validation_of_operating_modes/vlan_mode/rate_limiting/test_rate_limiting.py @@ -34,10 +34,10 @@ } -@allure.feature("Rate Limiting Tests") +@allure.feature("Rate Limiting") @allure.parent_suite("Rate Limiting Tests") -@allure.suite("VLAN Mode") -@allure.sub_suite("WPA2 Personal Security") +@allure.suite("WPA2 Personal Security") +@allure.sub_suite("VLAN Mode") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], diff --git a/tests/e2e/interOp/openroaming_test/test_openroaming_bridge.py b/tests/e2e/interOp/openroaming_test/test_openroaming_bridge.py index cef89a97460..05a72c31c40 100644 --- a/tests/e2e/interOp/openroaming_test/test_openroaming_bridge.py +++ b/tests/e2e/interOp/openroaming_test/test_openroaming_bridge.py @@ -29,7 +29,7 @@ "radius": True } @allure.feature("BRIDGE MODE CLIENT CONNECT") -@allure.parent_suite("Client Connect Tests") +@allure.parent_suite("Client Connect Tests : InterOp") @allure.suite(suite_name="BRIDGE Mode") @allure.sub_suite(sub_suite_name="Enterprise security mode Client Connect") @pytest.mark.parametrize( diff --git a/tests/e2e/interOp/validation_of_operating_modes/bridge_mode/client_connect_test/test_enterprise_ttls.py b/tests/e2e/interOp/validation_of_operating_modes/bridge_mode/client_connect_test/test_enterprise_ttls.py index 99d08602c83..1026accf199 100644 --- a/tests/e2e/interOp/validation_of_operating_modes/bridge_mode/client_connect_test/test_enterprise_ttls.py +++ b/tests/e2e/interOp/validation_of_operating_modes/bridge_mode/client_connect_test/test_enterprise_ttls.py @@ -39,7 +39,7 @@ setup_params_enterprise['ssid_modes'][sec_modes][i]['ssid_name'] + "_" + rand_string @allure.feature("BRIDGE MODE CLIENT CONNECT") -@allure.parent_suite("Client Connect Tests") +@allure.parent_suite("Client Connect Tests : InterOp") @allure.suite(suite_name="BRIDGE Mode") @allure.sub_suite(sub_suite_name="Enterprise security mode Client Connect") @pytest.mark.parametrize( @@ -214,7 +214,7 @@ def test_bridge_wpa3_eap_5g_client_connect(self, get_test_device_logs, get_dut_l setup_params_enterprise_two_br['ssid_modes'][sec_modes][i]['ssid_name'] + "_" + rand_string @allure.feature("BRIDGE MODE CLIENT CONNECT") -@allure.parent_suite("Client Connect Tests") +@allure.parent_suite("Client Connect Tests : InterOp") @allure.suite(suite_name="BRIDGE Mode") @allure.sub_suite(sub_suite_name="Enterprise security mode Client Connect") @pytest.mark.parametrize( diff --git a/tests/e2e/interOp/validation_of_operating_modes/bridge_mode/client_connect_test/test_general_security_modes.py b/tests/e2e/interOp/validation_of_operating_modes/bridge_mode/client_connect_test/test_general_security_modes.py index 245ec65c923..d055d1bdde8 100644 --- a/tests/e2e/interOp/validation_of_operating_modes/bridge_mode/client_connect_test/test_general_security_modes.py +++ b/tests/e2e/interOp/validation_of_operating_modes/bridge_mode/client_connect_test/test_general_security_modes.py @@ -35,7 +35,7 @@ setup_params_general['ssid_modes'][sec_modes][i]['ssid_name'] + "_" + rand_string @allure.feature("BRIDGE MODE CLIENT CONNECT") -@allure.parent_suite("Client Connect Tests") +@allure.parent_suite("Client Connect Tests : InterOp") @allure.suite(suite_name="BRIDGE Mode") @allure.sub_suite(sub_suite_name="General security mode Client Connect") @pytest.mark.parametrize( @@ -218,7 +218,7 @@ def test_bridge_wpa2_personal_5g_client_connect(self, get_test_device_logs, get_ setup_params_general_two_br['ssid_modes'][sec_modes][i]['ssid_name'] + "_" + rand_string @allure.feature("BRIDGE MODE CLIENT CONNECT") -@allure.parent_suite("Client Connect Tests") +@allure.parent_suite("Client Connect Tests : InterOp") @allure.suite(suite_name="BRIDGE Mode") @allure.sub_suite(sub_suite_name="General security mode Client Connect") @pytest.mark.parametrize( diff --git a/tests/e2e/interOp/validation_of_operating_modes/bridge_mode/rate_limiting/test_rate_limiting.py b/tests/e2e/interOp/validation_of_operating_modes/bridge_mode/rate_limiting/test_rate_limiting.py index 0ed4096f09b..8d7282ce1c7 100644 --- a/tests/e2e/interOp/validation_of_operating_modes/bridge_mode/rate_limiting/test_rate_limiting.py +++ b/tests/e2e/interOp/validation_of_operating_modes/bridge_mode/rate_limiting/test_rate_limiting.py @@ -82,8 +82,8 @@ setup_params_general['ssid_modes'][sec_modes][i]['ssid_name'] = setup_params_general['ssid_modes'][sec_modes][i]['ssid_name'] + "_"+ rand_string @allure.feature("BRIDGE MODE RATE LIMITING") @allure.parent_suite("Rate Limiting Tests") -@allure.suite(suite_name="BRIDGE Mode") -@allure.sub_suite(sub_suite_name="General security mode Rate Limiting") +@allure.suite(suite_name="General Security Mode") +@allure.sub_suite(sub_suite_name="Bridge Mode") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], diff --git a/tests/e2e/interOp/validation_of_operating_modes/bridge_mode/toggle_airplane_mode_test/test_enterprise_ttls.py b/tests/e2e/interOp/validation_of_operating_modes/bridge_mode/toggle_airplane_mode_test/test_enterprise_ttls.py index 7304c44f2ec..4a7975c9786 100644 --- a/tests/e2e/interOp/validation_of_operating_modes/bridge_mode/toggle_airplane_mode_test/test_enterprise_ttls.py +++ b/tests/e2e/interOp/validation_of_operating_modes/bridge_mode/toggle_airplane_mode_test/test_enterprise_ttls.py @@ -41,8 +41,8 @@ @allure.feature("BRIDGE MODE TOGGLE AIRPLANE") @allure.parent_suite("Toggle Airplane Tests") -@allure.suite(suite_name="BRIDGE Mode") -@allure.sub_suite(sub_suite_name="Enterprise ttls Toggle Airplane") +@allure.suite("Enterprise TTLS") +@allure.sub_suite("Bridge Mode: Suite-One") @pytest.mark.parametrize( 'setup_configuration', [setup_params_enterprise], @@ -210,8 +210,8 @@ def test_bridge_wpa3_enterprise_5g_toggle_airplane(self, get_test_library, get_d @allure.feature("BRIDGE MODE TOGGLE AIRPLANE") @allure.parent_suite("Toggle Airplane Tests") -@allure.suite(suite_name="BRIDGE Mode") -@allure.sub_suite(sub_suite_name="Enterprise ttls Toggle Airplane") +@allure.suite("Enterprise TTLS") +@allure.sub_suite("Bridge Mode: Suite-Two") @pytest.mark.parametrize( 'setup_configuration', [setup_params_enterprise_two_br], diff --git a/tests/e2e/interOp/validation_of_operating_modes/bridge_mode/toggle_airplane_mode_test/test_general_security_modes.py b/tests/e2e/interOp/validation_of_operating_modes/bridge_mode/toggle_airplane_mode_test/test_general_security_modes.py index db6469ec87c..1ce273bd3c3 100644 --- a/tests/e2e/interOp/validation_of_operating_modes/bridge_mode/toggle_airplane_mode_test/test_general_security_modes.py +++ b/tests/e2e/interOp/validation_of_operating_modes/bridge_mode/toggle_airplane_mode_test/test_general_security_modes.py @@ -39,8 +39,8 @@ @allure.feature("BRIDGE MODE TOGGLE AIRPLANE") @allure.parent_suite("Toggle Airplane Tests") -@allure.suite(suite_name="BRIDGE Mode") -@allure.sub_suite(sub_suite_name="General security mode Toggle Airplane") +@allure.suite("General Security Modes") +@allure.sub_suite("Bridge Mode: Suite-One") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], @@ -197,8 +197,8 @@ def test_bridge_wpa2_personal_5g_toggle_airplane(self, get_dut_logs_per_test_cas @allure.feature("BRIDGE MODE TOGGLE AIRPLANE") @allure.parent_suite("Toggle Airplane Tests") -@allure.suite(suite_name="BRIDGE Mode") -@allure.sub_suite(sub_suite_name="General security mode Toggle Airplane") +@allure.suite("General Security Modes") +@allure.sub_suite("Bridge Mode: Suite-Two") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_two_br], diff --git a/tests/e2e/interOp/validation_of_operating_modes/bridge_mode/toggle_wifi_mode_test/test_enterprise_ttls.py b/tests/e2e/interOp/validation_of_operating_modes/bridge_mode/toggle_wifi_mode_test/test_enterprise_ttls.py index e4e8dfe7c8a..4883fa46fcf 100644 --- a/tests/e2e/interOp/validation_of_operating_modes/bridge_mode/toggle_wifi_mode_test/test_enterprise_ttls.py +++ b/tests/e2e/interOp/validation_of_operating_modes/bridge_mode/toggle_wifi_mode_test/test_enterprise_ttls.py @@ -36,6 +36,9 @@ @pytest.mark.InteropsuiteA @allure.feature("BRIDGE MODE TOGGLE WIFI MODE") +@allure.parent_suite("Toggle Wifi Mode Tests") +@allure.suite("Enterprise TTLS") +@allure.sub_suite("Bridge Mode: Suite-One") @pytest.mark.parametrize( 'setup_configuration', [setup_params_enterprise], diff --git a/tests/e2e/interOp/validation_of_operating_modes/bridge_mode/toggle_wifi_mode_test/test_general_security_modes.py b/tests/e2e/interOp/validation_of_operating_modes/bridge_mode/toggle_wifi_mode_test/test_general_security_modes.py index a115bfe1f5b..f1902d4e74a 100644 --- a/tests/e2e/interOp/validation_of_operating_modes/bridge_mode/toggle_wifi_mode_test/test_general_security_modes.py +++ b/tests/e2e/interOp/validation_of_operating_modes/bridge_mode/toggle_wifi_mode_test/test_general_security_modes.py @@ -34,6 +34,9 @@ @pytest.mark.InteropsuiteA @allure.feature("BRIDGE MODE TOGGLE WIFI MODE") +@allure.parent_suite("Toggle Wifi Mode Tests") +@allure.suite("General Security Modes") +@allure.sub_suite("Bridge Mode: Suite-One") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], @@ -156,6 +159,9 @@ def test_ToggleWifiMode_open_5g_Bridge(self, get_dut_logs_per_test_case, get_tes @pytest.mark.InteropsuiteB @allure.feature("BRIDGE MODE TOGGLE WIFI MODE") +@allure.parent_suite("Toggle Wifi Mode Tests") +@allure.suite("General Security Modes") +@allure.sub_suite("Bridge Mode: Suite-Two") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_two], diff --git a/tests/e2e/interOp/validation_of_operating_modes/nat_mode/client_connect_test/test_enterprise_ttls.py b/tests/e2e/interOp/validation_of_operating_modes/nat_mode/client_connect_test/test_enterprise_ttls.py index 5f7d6df3c4b..49b1743296e 100644 --- a/tests/e2e/interOp/validation_of_operating_modes/nat_mode/client_connect_test/test_enterprise_ttls.py +++ b/tests/e2e/interOp/validation_of_operating_modes/nat_mode/client_connect_test/test_enterprise_ttls.py @@ -40,7 +40,7 @@ @allure.feature("NAT MODE CLIENT CONNECT") -@allure.parent_suite("Client Connect Tests") +@allure.parent_suite("Client Connect Tests : InterOp") @allure.suite(suite_name="NAT Mode") @allure.sub_suite(sub_suite_name="Enterprise security mode Client Connect") @pytest.mark.parametrize( @@ -215,7 +215,7 @@ def test_nat_wpa3_eap_5g_client_connect(self, get_test_device_logs, get_dut_logs setup_params_enterprise_two_nat['ssid_modes'][sec_modes][i]['ssid_name'] + "_" + rand_string @allure.feature("NAT MODE CLIENT CONNECT") -@allure.parent_suite("Client Connect Tests") +@allure.parent_suite("Client Connect Tests : InterOp") @allure.suite(suite_name="NAT Mode") @allure.sub_suite(sub_suite_name="Enterprise security mode Client Connect") @pytest.mark.parametrize( diff --git a/tests/e2e/interOp/validation_of_operating_modes/nat_mode/client_connect_test/test_general_security_modes.py b/tests/e2e/interOp/validation_of_operating_modes/nat_mode/client_connect_test/test_general_security_modes.py index 623808f48ac..f3ddb7c3589 100644 --- a/tests/e2e/interOp/validation_of_operating_modes/nat_mode/client_connect_test/test_general_security_modes.py +++ b/tests/e2e/interOp/validation_of_operating_modes/nat_mode/client_connect_test/test_general_security_modes.py @@ -35,7 +35,7 @@ setup_params_general['ssid_modes'][sec_modes][i]['ssid_name'] + "_" + rand_string @allure.feature("NAT MODE CLIENT CONNECT") -@allure.parent_suite("Client Connect Tests") +@allure.parent_suite("Client Connect Tests : InterOp") @allure.suite(suite_name="NAT Mode") @allure.sub_suite(sub_suite_name="General security mode Client Connect") @pytest.mark.parametrize( @@ -212,7 +212,7 @@ def test_bridge_wpa2_personal_5g_client_connect(self, get_test_device_logs, get_ setup_params_general_two_nat['ssid_modes'][sec_modes][i]['ssid_name'] + "_" + rand_string @allure.feature("NAT MODE CLIENT CONNECT") -@allure.parent_suite("Client Connect Tests") +@allure.parent_suite("Client Connect Tests : InterOp") @allure.suite(suite_name="NAT Mode") @allure.sub_suite(sub_suite_name="General security mode Client Connect") @pytest.mark.parametrize( diff --git a/tests/e2e/interOp/validation_of_operating_modes/nat_mode/rate_limiting/test_rate_limiting.py b/tests/e2e/interOp/validation_of_operating_modes/nat_mode/rate_limiting/test_rate_limiting.py index bebdc4ea2da..4b6b41da11f 100644 --- a/tests/e2e/interOp/validation_of_operating_modes/nat_mode/rate_limiting/test_rate_limiting.py +++ b/tests/e2e/interOp/validation_of_operating_modes/nat_mode/rate_limiting/test_rate_limiting.py @@ -82,8 +82,8 @@ setup_params_general['ssid_modes'][sec_modes][i]['ssid_name'] = setup_params_general['ssid_modes'][sec_modes][i]['ssid_name'] + "_"+ rand_string @allure.feature("NAT MODE RATE LIMITING") @allure.parent_suite("Rate Limiting Tests") -@allure.suite(suite_name="NAT Mode") -@allure.sub_suite(sub_suite_name="General security mode Rate Limiting") +@allure.suite(suite_name="General Security Mode") +@allure.sub_suite(sub_suite_name="NAT Mode") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], diff --git a/tests/e2e/interOp/validation_of_operating_modes/nat_mode/toggle_airplane_mode_test/test_enterprise_ttls.py b/tests/e2e/interOp/validation_of_operating_modes/nat_mode/toggle_airplane_mode_test/test_enterprise_ttls.py index 78d28b52a06..e5cf60f10c8 100644 --- a/tests/e2e/interOp/validation_of_operating_modes/nat_mode/toggle_airplane_mode_test/test_enterprise_ttls.py +++ b/tests/e2e/interOp/validation_of_operating_modes/nat_mode/toggle_airplane_mode_test/test_enterprise_ttls.py @@ -41,8 +41,8 @@ @allure.feature("NAT MODE TOGGLE AIRPLANE") @allure.parent_suite("Toggle Airplane Tests") -@allure.suite(suite_name="NAT Mode") -@allure.sub_suite(sub_suite_name="Enterprise ttls Toggle Airplane") +@allure.suite("Enterprise TTLS") +@allure.sub_suite("NAT Mode: Suite-One") @pytest.mark.parametrize( 'setup_configuration', [setup_params_enterprise], @@ -208,8 +208,8 @@ def test_nat_wpa3_enterprise_5g_toggle_airplane(self, get_test_library, get_dut_ @allure.feature("NAT MODE TOGGLE AIRPLANE") @allure.parent_suite("Toggle Airplane Tests") -@allure.suite(suite_name="NAT Mode") -@allure.sub_suite(sub_suite_name="Enterprise ttls Toggle Airplane") +@allure.suite("Enterprise TTLS") +@allure.sub_suite("NAT Mode: Suite-Two") @pytest.mark.parametrize( 'setup_configuration', [setup_params_enterprise_two_nat], diff --git a/tests/e2e/interOp/validation_of_operating_modes/nat_mode/toggle_airplane_mode_test/test_general_security_modes.py b/tests/e2e/interOp/validation_of_operating_modes/nat_mode/toggle_airplane_mode_test/test_general_security_modes.py index 2e93584e83a..1fb2c717c42 100644 --- a/tests/e2e/interOp/validation_of_operating_modes/nat_mode/toggle_airplane_mode_test/test_general_security_modes.py +++ b/tests/e2e/interOp/validation_of_operating_modes/nat_mode/toggle_airplane_mode_test/test_general_security_modes.py @@ -37,8 +37,8 @@ @allure.feature("NAT MODE TOGGLE AIRPLANE") @allure.parent_suite("Toggle Airplane Tests") -@allure.suite(suite_name="NAT Mode") -@allure.sub_suite(sub_suite_name="General security mode Toggle Airplane") +@allure.suite("General Security Modes") +@allure.sub_suite("NAT Mode: Suite-One") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], @@ -192,8 +192,8 @@ def test_nat_wpa2_personal_5g_toggle_airplane(self, get_dut_logs_per_test_case, @allure.feature("NAT MODE TOGGLE AIRPLANE") @allure.parent_suite("Toggle Airplane Tests") -@allure.suite(suite_name="NAT Mode") -@allure.sub_suite(sub_suite_name="General security mode Toggle Airplane") +@allure.suite("General Security Modes") +@allure.sub_suite("NAT Mode: Suite-Two") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_two_nat], diff --git a/tests/e2e/interOp/validation_of_operating_modes/nat_mode/toggle_wifi_mode_test/test_enterprise_ttls.py b/tests/e2e/interOp/validation_of_operating_modes/nat_mode/toggle_wifi_mode_test/test_enterprise_ttls.py index 4667ba72cef..387fa34f77a 100644 --- a/tests/e2e/interOp/validation_of_operating_modes/nat_mode/toggle_wifi_mode_test/test_enterprise_ttls.py +++ b/tests/e2e/interOp/validation_of_operating_modes/nat_mode/toggle_wifi_mode_test/test_enterprise_ttls.py @@ -37,6 +37,9 @@ @pytest.mark.InteropsuiteA @allure.feature("NAT MODE TOGGLE WIFI MODE") +@allure.parent_suite("Toggle Wifi Mode Tests") +@allure.suite("Enterprise TTLS") +@allure.sub_suite("NAT Mode: Suite-One") @pytest.mark.parametrize( 'setup_configuration', [setup_params_enterprise], diff --git a/tests/e2e/interOp/validation_of_operating_modes/nat_mode/toggle_wifi_mode_test/test_general_security_modes.py b/tests/e2e/interOp/validation_of_operating_modes/nat_mode/toggle_wifi_mode_test/test_general_security_modes.py index af72a884063..5a5b8bb7672 100644 --- a/tests/e2e/interOp/validation_of_operating_modes/nat_mode/toggle_wifi_mode_test/test_general_security_modes.py +++ b/tests/e2e/interOp/validation_of_operating_modes/nat_mode/toggle_wifi_mode_test/test_general_security_modes.py @@ -34,6 +34,9 @@ @pytest.mark.InteropsuiteA @allure.feature("NAT MODE TOGGLE WIFI MODE") +@allure.parent_suite("Toggle Wifi Mode Tests") +@allure.suite("General Security Modes") +@allure.sub_suite("NAT Mode: Suite-One") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], @@ -153,6 +156,9 @@ def test_ToggleWifiMode_open_5g_Nat(self, get_dut_logs_per_test_case, get_test_d @pytest.mark.InteropsuiteB @allure.feature("NAT MODE TOGGLE WIFI MODE") +@allure.parent_suite("Toggle Wifi Mode Tests") +@allure.suite("General Security Modes") +@allure.sub_suite("NAT Mode: Suite-Two") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_two], diff --git a/tests/e2e/interOp/validation_of_operating_modes/vlan_mode/client_connect_test/test_enterprise_ttls.py b/tests/e2e/interOp/validation_of_operating_modes/vlan_mode/client_connect_test/test_enterprise_ttls.py index 6bed4acf98d..f72e580d85a 100644 --- a/tests/e2e/interOp/validation_of_operating_modes/vlan_mode/client_connect_test/test_enterprise_ttls.py +++ b/tests/e2e/interOp/validation_of_operating_modes/vlan_mode/client_connect_test/test_enterprise_ttls.py @@ -39,7 +39,7 @@ setup_params_enterprise['ssid_modes'][sec_modes][i]['ssid_name'] + "_" + rand_string @allure.feature("VLAN MODE CLIENT CONNECT") -@allure.parent_suite("Client Connect Tests") +@allure.parent_suite("Client Connect Tests : InterOp") @allure.suite(suite_name="VLAN Mode") @allure.sub_suite(sub_suite_name="Enterprise security mode Client Connect") @pytest.mark.parametrize( @@ -215,7 +215,7 @@ def test_vlan_wpa3_eap_5g_client_connect(self, get_test_device_logs, get_dut_log @allure.feature("VLAN MODE CLIENT CONNECT") -@allure.parent_suite("Client Connect Tests") +@allure.parent_suite("Client Connect Tests : InterOp") @allure.suite(suite_name="VLAN Mode") @allure.sub_suite(sub_suite_name="Enterprise security mode Client Connect") @pytest.mark.parametrize( diff --git a/tests/e2e/interOp/validation_of_operating_modes/vlan_mode/client_connect_test/test_general_security_modes.py b/tests/e2e/interOp/validation_of_operating_modes/vlan_mode/client_connect_test/test_general_security_modes.py index 123264a481c..ad03e603be3 100644 --- a/tests/e2e/interOp/validation_of_operating_modes/vlan_mode/client_connect_test/test_general_security_modes.py +++ b/tests/e2e/interOp/validation_of_operating_modes/vlan_mode/client_connect_test/test_general_security_modes.py @@ -37,7 +37,7 @@ @allure.feature("VLAN MODE CLIENT CONNECTIVITY") -@allure.parent_suite("Client Connect Tests") +@allure.parent_suite("Client Connect Tests : InterOp") @allure.suite(suite_name="VLAN Mode") @allure.sub_suite(sub_suite_name="General security mode Client Connect") @pytest.mark.parametrize( @@ -239,7 +239,7 @@ def test_vlan_wpa2_personal_5g_client_connect(self, get_test_library, num_statio setup_params_general_two_vlan['ssid_modes'][sec_modes][i]['ssid_name'] + "_" + rand_string @allure.feature("VLAN MODE CLIENT CONNECT") -@allure.parent_suite("Client Connect Tests") +@allure.parent_suite("Client Connect Tests : InterOp") @allure.suite(suite_name="VLAN Mode") @allure.sub_suite(sub_suite_name="General security mode Client Connect") @pytest.mark.parametrize( diff --git a/tests/e2e/interOp/validation_of_operating_modes/vlan_mode/rate_limiting/test_rate_limiting.py b/tests/e2e/interOp/validation_of_operating_modes/vlan_mode/rate_limiting/test_rate_limiting.py index e7492e55799..dff8ddc34f3 100644 --- a/tests/e2e/interOp/validation_of_operating_modes/vlan_mode/rate_limiting/test_rate_limiting.py +++ b/tests/e2e/interOp/validation_of_operating_modes/vlan_mode/rate_limiting/test_rate_limiting.py @@ -88,8 +88,8 @@ setup_params_general['ssid_modes'][sec_modes][i]['ssid_name'] = setup_params_general['ssid_modes'][sec_modes][i]['ssid_name'] + "_"+ rand_string @allure.feature("VLAN MODE RATE LIMITING") @allure.parent_suite("Rate Limiting Tests") -@allure.suite(suite_name="VLAN Mode") -@allure.sub_suite(sub_suite_name="General security mode Rate Limiting") +@allure.suite(suite_name="General Security Mode") +@allure.sub_suite(sub_suite_name="VLAN Mode") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], diff --git a/tests/e2e/interOp/validation_of_operating_modes/vlan_mode/toggle_airplane_mode_test/test_enterprise_ttls.py b/tests/e2e/interOp/validation_of_operating_modes/vlan_mode/toggle_airplane_mode_test/test_enterprise_ttls.py index 95bfd905a33..27a5d97f18d 100644 --- a/tests/e2e/interOp/validation_of_operating_modes/vlan_mode/toggle_airplane_mode_test/test_enterprise_ttls.py +++ b/tests/e2e/interOp/validation_of_operating_modes/vlan_mode/toggle_airplane_mode_test/test_enterprise_ttls.py @@ -41,8 +41,8 @@ @allure.feature("VLAN MODE TOGGLE AIRPLANE") @allure.parent_suite("Toggle Airplane Tests") -@allure.suite(suite_name="VLAN Mode") -@allure.sub_suite(sub_suite_name="Enterprise ttls Toggle Airplane") +@allure.suite("Enterprise TTLS") +@allure.sub_suite("VLAN Mode: Suite-One") @pytest.mark.parametrize( 'setup_configuration', [setup_params_enterprise], @@ -208,8 +208,8 @@ def test_vlan_wpa3_enterprise_5g_toggle_airplane(self, get_test_library, get_dut @allure.feature("VLAN MODE TOGGLE AIRPLANE") @allure.parent_suite("Toggle Airplane Tests") -@allure.suite(suite_name="VLAN Mode") -@allure.sub_suite(sub_suite_name="Enterprise ttls Toggle Airplane") +@allure.suite("Enterprise TTLS") +@allure.sub_suite("VLAN Mode: Suite-Two") @pytest.mark.parametrize( 'setup_configuration', [setup_params_enterprise_two_vlan], diff --git a/tests/e2e/interOp/validation_of_operating_modes/vlan_mode/toggle_airplane_mode_test/test_general_security_modes.py b/tests/e2e/interOp/validation_of_operating_modes/vlan_mode/toggle_airplane_mode_test/test_general_security_modes.py index 303c332af7e..ba7b8acdb70 100644 --- a/tests/e2e/interOp/validation_of_operating_modes/vlan_mode/toggle_airplane_mode_test/test_general_security_modes.py +++ b/tests/e2e/interOp/validation_of_operating_modes/vlan_mode/toggle_airplane_mode_test/test_general_security_modes.py @@ -38,8 +38,8 @@ @allure.feature("VLAN MODE TOGGLE AIRPLANE") @allure.parent_suite("Toggle Airplane Tests") -@allure.suite(suite_name="VLAN Mode") -@allure.sub_suite(sub_suite_name="General security mode Toggle Airplane") +@allure.suite("General Security Modes") +@allure.sub_suite("VLAN Mode: Suite-One") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], @@ -212,8 +212,8 @@ def test_vlan_wpa2_personal_5g_toggle_airplane(self, get_dut_logs_per_test_case, @allure.feature("VLAN MODE TOGGLE AIRPLANE") @allure.parent_suite("Toggle Airplane Tests") -@allure.suite(suite_name="VLAN Mode") -@allure.sub_suite(sub_suite_name="General security mode Toggle Airplane") +@allure.suite("General Security Modes") +@allure.sub_suite("VLAN Mode: Suite-Two") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_two_vlan], diff --git a/tests/e2e/interOp/validation_of_operating_modes/vlan_mode/toggle_wifi_mode_test/test_enterprise_ttls.py b/tests/e2e/interOp/validation_of_operating_modes/vlan_mode/toggle_wifi_mode_test/test_enterprise_ttls.py index b2713aa5ab8..4dc44ab1bd0 100644 --- a/tests/e2e/interOp/validation_of_operating_modes/vlan_mode/toggle_wifi_mode_test/test_enterprise_ttls.py +++ b/tests/e2e/interOp/validation_of_operating_modes/vlan_mode/toggle_wifi_mode_test/test_enterprise_ttls.py @@ -37,6 +37,9 @@ @pytest.mark.InteropsuiteA @allure.feature("VLAN MODE TOGGLE WIFI MODE") +@allure.parent_suite("Toggle Wifi Mode Tests") +@allure.suite("Enterprise TTLS") +@allure.sub_suite("VLAN Mode: Suite-One") @pytest.mark.parametrize( 'setup_configuration', [setup_params_enterprise], diff --git a/tests/e2e/interOp/validation_of_operating_modes/vlan_mode/toggle_wifi_mode_test/test_general_security_modes.py b/tests/e2e/interOp/validation_of_operating_modes/vlan_mode/toggle_wifi_mode_test/test_general_security_modes.py index 82a9f8d3269..849240f28be 100644 --- a/tests/e2e/interOp/validation_of_operating_modes/vlan_mode/toggle_wifi_mode_test/test_general_security_modes.py +++ b/tests/e2e/interOp/validation_of_operating_modes/vlan_mode/toggle_wifi_mode_test/test_general_security_modes.py @@ -34,6 +34,9 @@ @pytest.mark.InteropsuiteA @allure.feature("VLAN MODE TOGGLE WIFI MODE") +@allure.parent_suite("Toggle Wifi Mode Tests") +@allure.suite("General Security Modes") +@allure.sub_suite("NAT Mode: Suite-One") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general], @@ -154,6 +157,9 @@ def test_ToggleWifiMode_open_5g_Vlan(self, get_dut_logs_per_test_case, get_test_ @pytest.mark.InteropsuiteB @allure.feature("VLAN MODE TOGGLE WIFI MODE") +@allure.parent_suite("Toggle Wifi Mode Tests") +@allure.suite("General Security Modes") +@allure.sub_suite("VLAN Mode: Suite-Two") @pytest.mark.parametrize( 'setup_configuration', [setup_params_general_two], diff --git a/tests/e2e/mesh/Mesh/test_mesh_bridge.py b/tests/e2e/mesh/Mesh/test_mesh_bridge.py index e18ce6d7b55..90b0ece4e63 100644 --- a/tests/e2e/mesh/Mesh/test_mesh_bridge.py +++ b/tests/e2e/mesh/Mesh/test_mesh_bridge.py @@ -19,6 +19,9 @@ @allure.feature("MESH BASIC") +@allure.parent_suite("Mesh Tests") +@allure.suite("WPA2 Personal Security") +@allure.sub_suite("Mesh Bridge Mode - 2.4GHz") # @pytest.mark.parametrize( # 'setup_mesh_profile_fix', # [setup_params_general], diff --git a/tests/e2e/mesh/Mesh/test_node_patterns.py b/tests/e2e/mesh/Mesh/test_node_patterns.py index 0aa3d8d9c58..d87a1a0d5b3 100644 --- a/tests/e2e/mesh/Mesh/test_node_patterns.py +++ b/tests/e2e/mesh/Mesh/test_node_patterns.py @@ -19,6 +19,9 @@ @allure.feature("MESH BASIC") +@allure.parent_suite("Mesh Tests") +@allure.suite("WPA2 Personal Security") +@allure.sub_suite("Mesh Node Patterns Test") # @pytest.mark.parametrize( # 'setup_mesh_profile_fix', # [setup_params_general], diff --git a/tests/kafka_tests/ap_events/test_kafka_ap_events.py b/tests/kafka_tests/ap_events/test_kafka_ap_events.py index cc8092ac3d2..35ddbe58933 100644 --- a/tests/kafka_tests/ap_events/test_kafka_ap_events.py +++ b/tests/kafka_tests/ap_events/test_kafka_ap_events.py @@ -23,8 +23,9 @@ config_data = json.loads(json_string) -@allure.feature("Test Real TIme AP Events using Kafka") -@allure.title("Real Time AP Events") +@allure.parent_suite("Kafka Tests") +@allure.suite("Real Time AP Events") +@allure.sub_suite("Test Real TIme AP Events using Kafka") @pytest.mark.ap_events class TestKafkaApEvents(object): # Pytest unit test for validating Kafka healthcheck messages diff --git a/tests/test_connectivity.py b/tests/test_connectivity.py index 3d2a96920f0..d5b91068e9b 100644 --- a/tests/test_connectivity.py +++ b/tests/test_connectivity.py @@ -26,7 +26,8 @@ @allure.feature("Test Connectivity") @allure.parent_suite("Test Connectivity") -# @allure.suite("Test Resources") +@allure.suite("Test-Connectivity") +@allure.sub_suite("Test Resources") class TestResources(object): """Test Case Class: Test cases to cover resource Connectivity""" @@ -274,6 +275,8 @@ def test_check_restrictions(self, get_target_object, get_testbed_details): @pytest.mark.firmware @allure.feature("Test Connectivity") @allure.parent_suite("Test Connectivity") +@allure.suite("Test-Connectivity") +@allure.sub_suite("Test Firmware Upgrade") class TestFirmwareUpgrade(object): @pytest.mark.get_firmware_list From 854767e409af65341bd41b1349195c0212d9008d Mon Sep 17 00:00:00 2001 From: jitendracandela Date: Fri, 22 Mar 2024 16:09:34 +0530 Subject: [PATCH 02/16] Added Description and Title to test_master_config testcases. Signed-off-by: jitendracandela --- .../master_config_tests/test_master_config.py | 28 ++++++++++++++----- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/tests/access_point_tests/master_config_tests/test_master_config.py b/tests/access_point_tests/master_config_tests/test_master_config.py index 080eefdbf1c..3b7fe221c6f 100644 --- a/tests/access_point_tests/master_config_tests/test_master_config.py +++ b/tests/access_point_tests/master_config_tests/test_master_config.py @@ -50,10 +50,15 @@ class TestMasterConfig(object): @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-12752", name="WIFI-12752") @pytest.mark.wpa_personal @pytest.mark.master_config1 + @allure.title("Master Config-One") def test_master_config_one(self, get_test_library, check_connectivity, get_target_object): """ - Master Config One - pytest -m "master_config1" + Combination of all master configurations together covers all Openwifi features. + All features are divided into three set of config files. + Verification of these 3 master configurations needs to be validated with every RC image, + that means all ssids are working fine with every image or not. + + unique marker: master_config1 """ for ap in range(len(get_target_object.device_under_tests_info)): serial_number = get_target_object.device_under_tests_info[ap]['identifier'] @@ -105,10 +110,15 @@ def test_master_config_one(self, get_test_library, check_connectivity, get_targe @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-12753", name="WIFI-12753") @pytest.mark.wpa_personal @pytest.mark.master_config2 + @allure.title("Master Config-Two") def test_master_config_two(self, get_test_library, check_connectivity, get_target_object): """ - Master Config Two - pytest -m "master_config2" + Combination of all master configurations together covers all Openwifi features. + All features are divided into three set of config files. + Verification of these 3 master configurations needs to be validated with every RC image, + that means all ssids are working fine with every image or not. + + unique marker: master_config2 """ for ap in range(len(get_target_object.device_under_tests_info)): serial_number = get_target_object.device_under_tests_info[ap]['identifier'] @@ -157,14 +167,18 @@ def test_master_config_two(self, get_test_library, check_connectivity, get_targe assert True - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-12753", name="WIFI-12753") @pytest.mark.wpa_personal @pytest.mark.master_config3 + @allure.title("Master Config-Three") def test_master_config_three(self, get_test_library, check_connectivity, get_target_object): """ - Master Config Three - pytest -m "master_config3" + Combination of all master configurations together covers all Openwifi features. + All features are divided into three set of config files. + Verification of these 3 master configurations needs to be validated with every RC image, + that means all ssids are working fine with every image or not. + + unique marker: master_config3 """ for ap in range(len(get_target_object.device_under_tests_info)): serial_number = get_target_object.device_under_tests_info[ap]['identifier'] From a0724e572de1aafd85571d33713f1393aa465f36 Mon Sep 17 00:00:00 2001 From: jitendracandela Date: Tue, 26 Mar 2024 11:30:37 +0530 Subject: [PATCH 03/16] Added Description for Downlink MU-MIMO Tests and corrected suite for wpa3_personal-NAT mode testcase. Signed-off-by: jitendracandela --- .../downlink_mu_mimo_test/open/test_bridge_mode.py | 11 +++++++++-- .../downlink_mu_mimo_test/open/test_nat_mode.py | 11 +++++++++-- .../downlink_mu_mimo_test/open/test_vlan_mode.py | 13 ++++++++++--- .../wpa2_personal/test_bridge_mode.py | 11 +++++++++-- .../wpa2_personal/test_nat_mode.py | 11 +++++++++-- .../wpa2_personal/test_vlan_mode.py | 13 ++++++++++--- .../wpa3_personal/test_bridge_mode.py | 11 +++++++++-- .../wpa3_personal/test_nat_mode.py | 13 ++++++++++--- .../wpa3_personal/test_vlan_mode.py | 13 ++++++++++--- .../wpa_personal/test_bridge_mode.py | 11 +++++++++-- .../wpa_personal/test_nat_mode.py | 11 +++++++++-- .../wpa_personal/test_vlan_mode.py | 13 ++++++++++--- 12 files changed, 113 insertions(+), 29 deletions(-) diff --git a/tests/e2e/advanced/downlink_mu_mimo_test/open/test_bridge_mode.py b/tests/e2e/advanced/downlink_mu_mimo_test/open/test_bridge_mode.py index b2ea1ed7548..18a57bcc01f 100644 --- a/tests/e2e/advanced/downlink_mu_mimo_test/open/test_bridge_mode.py +++ b/tests/e2e/advanced/downlink_mu_mimo_test/open/test_bridge_mode.py @@ -59,8 +59,15 @@ class TestMuMimoBridge(object): @allure.title("Test for Downlink MU-MIMO") def test_mu_mimo_open_bridge_5g(self, get_test_library, setup_configuration, check_connectivity): """ - Downlink MU-MIMO Test: Bridge Mode - pytest -m mu_mimo_performance_tests and bridge and open and fiveg + Test Description: + Downlink MU-MIMO Performance Test intends to verify the performance of Wi-Fi device when Downlink MU-MIMO + is applied. This best represents a typical deployment, where stations may only support 1x1 or 2x2 RF chain + configurations. The test is only applicable to the Wi-Fi device supporting the 802.11ac/ax. + + Marker: + mu_mimo_performance_tests and bridge and open and fiveg + + Note: Please refer to the PDF report for the Test Procedure, Pass/Fail Criteria, and Candela Score. """ profile_data = {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] diff --git a/tests/e2e/advanced/downlink_mu_mimo_test/open/test_nat_mode.py b/tests/e2e/advanced/downlink_mu_mimo_test/open/test_nat_mode.py index f45976963d7..d9258acc2d0 100644 --- a/tests/e2e/advanced/downlink_mu_mimo_test/open/test_nat_mode.py +++ b/tests/e2e/advanced/downlink_mu_mimo_test/open/test_nat_mode.py @@ -45,8 +45,15 @@ class TestMuMimoNat(object): @allure.title("Test for Downlink MU-MIMO") def test_mu_mimo_open_nat_5g(self, get_test_library, setup_configuration, check_connectivity): """ - Downlink MU-MIMO Test: Nat Mode - pytest -m mu_mimo_performance_tests and nat and open and fiveg + Test Description: + Downlink MU-MIMO Performance Test intends to verify the performance of Wi-Fi device when Downlink MU-MIMO + is applied. This best represents a typical deployment, where stations may only support 1x1 or 2x2 RF chain + configurations. The test is only applicable to the Wi-Fi device supporting the 802.11ac/ax. + + Marker: + mu_mimo_performance_tests and nat and open and fiveg + + Note: Please refer to the PDF report for the Test Procedure, Pass/Fail Criteria, and Candela Score. """ profile_data = {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] diff --git a/tests/e2e/advanced/downlink_mu_mimo_test/open/test_vlan_mode.py b/tests/e2e/advanced/downlink_mu_mimo_test/open/test_vlan_mode.py index e59a1f4dd27..96009851c1d 100644 --- a/tests/e2e/advanced/downlink_mu_mimo_test/open/test_vlan_mode.py +++ b/tests/e2e/advanced/downlink_mu_mimo_test/open/test_vlan_mode.py @@ -45,9 +45,16 @@ class TestMuMimoNat(object): @allure.title("Test for Downlink MU-MIMO") def test_mu_mimo_open_vlan_5g(self, get_test_library, setup_configuration, check_connectivity): """ - Downlink MU-MIMO Test: VLAN Mode - pytest -m mu_mimo_performance_tests and vlan and open and fiveg - """ + Test Description: + Downlink MU-MIMO Performance Test intends to verify the performance of Wi-Fi device when Downlink MU-MIMO + is applied. This best represents a typical deployment, where stations may only support 1x1 or 2x2 RF chain + configurations. The test is only applicable to the Wi-Fi device supporting the 802.11ac/ax. + + Marker: + mu_mimo_performance_tests and vlan and open and fiveg + + Note: Please refer to the PDF report for the Test Procedure, Pass/Fail Criteria, and Candela Score. + """ profile_data = {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] security_key = "[BLANK]" diff --git a/tests/e2e/advanced/downlink_mu_mimo_test/wpa2_personal/test_bridge_mode.py b/tests/e2e/advanced/downlink_mu_mimo_test/wpa2_personal/test_bridge_mode.py index f267524e388..cb49b679ca4 100644 --- a/tests/e2e/advanced/downlink_mu_mimo_test/wpa2_personal/test_bridge_mode.py +++ b/tests/e2e/advanced/downlink_mu_mimo_test/wpa2_personal/test_bridge_mode.py @@ -56,8 +56,15 @@ class TestMuMimoBridge(object): @allure.title("Test for Downlink MU-MIMO") def test_mu_mimo_wpa2_personal_bridge_5g(self, get_test_library, setup_configuration, check_connectivity): """ - Downlink MU-MIMO Test: Bridge Mode - pytest -m mu_mimo_performance_tests and bridge and wpa2_personal and fiveg + Test Description: + Downlink MU-MIMO Performance Test intends to verify the performance of Wi-Fi device when Downlink MU-MIMO + is applied. This best represents a typical deployment, where stations may only support 1x1 or 2x2 RF chain + configurations. The test is only applicable to the Wi-Fi device supporting the 802.11ac/ax. + + Marker: + mu_mimo_performance_tests and bridge and wpa2_personal and fiveg + + Note: Please refer to the PDF report for the Test Procedure, Pass/Fail Criteria, and Candela Score. """ profile_data = {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] diff --git a/tests/e2e/advanced/downlink_mu_mimo_test/wpa2_personal/test_nat_mode.py b/tests/e2e/advanced/downlink_mu_mimo_test/wpa2_personal/test_nat_mode.py index 8f54427d21f..0fe7b9fc0f8 100644 --- a/tests/e2e/advanced/downlink_mu_mimo_test/wpa2_personal/test_nat_mode.py +++ b/tests/e2e/advanced/downlink_mu_mimo_test/wpa2_personal/test_nat_mode.py @@ -45,8 +45,15 @@ class TestMuMimoNat(object): @allure.title("Test for Downlink MU-MIMO") def test_mu_mimo_wpa2_personal_nat_5g(self, get_test_library, setup_configuration, check_connectivity): """ - Downlink MU-MIMO Test: Nat Mode - pytest -m mu_mimo_performance_tests and nat and wpa2_personal and fiveg + Test Description: + Downlink MU-MIMO Performance Test intends to verify the performance of Wi-Fi device when Downlink MU-MIMO + is applied. This best represents a typical deployment, where stations may only support 1x1 or 2x2 RF chain + configurations. The test is only applicable to the Wi-Fi device supporting the 802.11ac/ax. + + Marker: + mu_mimo_performance_tests and nat and wpa2_personal and fiveg + + Note: Please refer to the PDF report for the Test Procedure, Pass/Fail Criteria, and Candela Score. """ profile_data = {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] diff --git a/tests/e2e/advanced/downlink_mu_mimo_test/wpa2_personal/test_vlan_mode.py b/tests/e2e/advanced/downlink_mu_mimo_test/wpa2_personal/test_vlan_mode.py index eed0a9e73ca..8c855b5c120 100644 --- a/tests/e2e/advanced/downlink_mu_mimo_test/wpa2_personal/test_vlan_mode.py +++ b/tests/e2e/advanced/downlink_mu_mimo_test/wpa2_personal/test_vlan_mode.py @@ -45,9 +45,16 @@ class TestMuMimoNat(object): @allure.title("Test for Downlink MU-MIMO") def test_mu_mimo_wpa2_personal_vlan_5g(self, get_test_library, setup_configuration, check_connectivity): """ - Downlink MU-MIMO Test: VLAN Mode - pytest -m mu_mimo_performance_tests and vlan and wpa2_personal and fiveg - """ + Test Description: + Downlink MU-MIMO Performance Test intends to verify the performance of Wi-Fi device when Downlink MU-MIMO + is applied. This best represents a typical deployment, where stations may only support 1x1 or 2x2 RF chain + configurations. The test is only applicable to the Wi-Fi device supporting the 802.11ac/ax. + + Marker: + mu_mimo_performance_tests and vlan and wpa2_personal and fiveg + + Note: Please refer to the PDF report for the Test Procedure, Pass/Fail Criteria, and Candela Score. + """ profile_data = {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] security_key = profile_data["security_key"] diff --git a/tests/e2e/advanced/downlink_mu_mimo_test/wpa3_personal/test_bridge_mode.py b/tests/e2e/advanced/downlink_mu_mimo_test/wpa3_personal/test_bridge_mode.py index 6f9c8a8d608..6953aed19c2 100644 --- a/tests/e2e/advanced/downlink_mu_mimo_test/wpa3_personal/test_bridge_mode.py +++ b/tests/e2e/advanced/downlink_mu_mimo_test/wpa3_personal/test_bridge_mode.py @@ -56,8 +56,15 @@ class TestMuMimoBridge(object): @allure.title("Test for Downlink MU-MIMO") def test_mu_mimo_wpa3_personal_bridge_5g(self, get_test_library, setup_configuration, check_connectivity): """ - Downlink MU-MIMO Test: Bridge Mode - pytest -m mu_mimo_performance_tests and bridge and wpa3_personal and fiveg + Test Description: + Downlink MU-MIMO Performance Test intends to verify the performance of Wi-Fi device when Downlink MU-MIMO + is applied. This best represents a typical deployment, where stations may only support 1x1 or 2x2 RF chain + configurations. The test is only applicable to the Wi-Fi device supporting the 802.11ac/ax. + + Marker: + mu_mimo_performance_tests and bridge and wpa3_personal and fiveg + + Note: Please refer to the PDF report for the Test Procedure, Pass/Fail Criteria, and Candela Score. """ profile_data = {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] diff --git a/tests/e2e/advanced/downlink_mu_mimo_test/wpa3_personal/test_nat_mode.py b/tests/e2e/advanced/downlink_mu_mimo_test/wpa3_personal/test_nat_mode.py index fc4a380972a..f405b77bd1a 100644 --- a/tests/e2e/advanced/downlink_mu_mimo_test/wpa3_personal/test_nat_mode.py +++ b/tests/e2e/advanced/downlink_mu_mimo_test/wpa3_personal/test_nat_mode.py @@ -29,7 +29,7 @@ scope="class" ) @allure.parent_suite("Downlink MU_MIMO Tests") -@allure.suite("WPA Personal Security") +@allure.suite("WPA3 Personal Security") @allure.sub_suite("NAT Mode") @allure.feature("TR-398 Issue 2") @pytest.mark.usefixtures("setup_configuration") @@ -45,8 +45,15 @@ class TestMuMimoNat(object): @allure.title("Test for Downlink MU-MIMO") def test_mu_mimo_wpa3_personal_nat_5g(self, get_test_library, setup_configuration, check_connectivity): """ - Downlink MU-MIMO Test: Nat Mode - pytest -m mu_mimo_performance_tests and nat and wpa3_personal and fiveg + Test Description: + Downlink MU-MIMO Performance Test intends to verify the performance of Wi-Fi device when Downlink MU-MIMO + is applied. This best represents a typical deployment, where stations may only support 1x1 or 2x2 RF chain + configurations. The test is only applicable to the Wi-Fi device supporting the 802.11ac/ax. + + Marker: + mu_mimo_performance_tests and nat and wpa3_personal and fiveg + + Note: Please refer to the PDF report for the Test Procedure, Pass/Fail Criteria, and Candela Score. """ profile_data = {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] diff --git a/tests/e2e/advanced/downlink_mu_mimo_test/wpa3_personal/test_vlan_mode.py b/tests/e2e/advanced/downlink_mu_mimo_test/wpa3_personal/test_vlan_mode.py index 75534079367..04b217e43d6 100644 --- a/tests/e2e/advanced/downlink_mu_mimo_test/wpa3_personal/test_vlan_mode.py +++ b/tests/e2e/advanced/downlink_mu_mimo_test/wpa3_personal/test_vlan_mode.py @@ -45,9 +45,16 @@ class TestMuMimoNat(object): @allure.title("Test for Downlink MU-MIMO") def test_mu_mimo_wpa3_personal_vlan_5g(self, get_test_library, setup_configuration, check_connectivity): """ - Downlink MU-MIMO Test: VLAN Mode - pytest -m mu_mimo_performance_tests and vlan and wpa3_personal and fiveg - """ + Test Description: + Downlink MU-MIMO Performance Test intends to verify the performance of Wi-Fi device when Downlink MU-MIMO + is applied. This best represents a typical deployment, where stations may only support 1x1 or 2x2 RF chain + configurations. The test is only applicable to the Wi-Fi device supporting the 802.11ac/ax. + + Marker: + mu_mimo_performance_tests and vlan and wpa3_personal and fiveg + + Note: Please refer to the PDF report for the Test Procedure, Pass/Fail Criteria, and Candela Score. + """ profile_data = {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] security_key = profile_data["security_key"] diff --git a/tests/e2e/advanced/downlink_mu_mimo_test/wpa_personal/test_bridge_mode.py b/tests/e2e/advanced/downlink_mu_mimo_test/wpa_personal/test_bridge_mode.py index 3196e055d31..105a9461339 100644 --- a/tests/e2e/advanced/downlink_mu_mimo_test/wpa_personal/test_bridge_mode.py +++ b/tests/e2e/advanced/downlink_mu_mimo_test/wpa_personal/test_bridge_mode.py @@ -56,8 +56,15 @@ class TestMuMimoBridge(object): @allure.title("Test for Downlink MU-MIMO") def test_mu_mimo_wpa_personal_bridge_5g(self, get_test_library, setup_configuration, check_connectivity): """ - Downlink MU-MIMO Test: Bridge Mode - pytest -m mu_mimo_performance_tests and bridge and wpa_personal and fiveg + Test Description: + Downlink MU-MIMO Performance Test intends to verify the performance of Wi-Fi device when Downlink MU-MIMO + is applied. This best represents a typical deployment, where stations may only support 1x1 or 2x2 RF chain + configurations. The test is only applicable to the Wi-Fi device supporting the 802.11ac/ax. + + Marker: + mu_mimo_performance_tests and bridge and wpa_personal and fiveg + + Note: Please refer to the PDF report for the Test Procedure, Pass/Fail Criteria, and Candela Score. """ profile_data = {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] diff --git a/tests/e2e/advanced/downlink_mu_mimo_test/wpa_personal/test_nat_mode.py b/tests/e2e/advanced/downlink_mu_mimo_test/wpa_personal/test_nat_mode.py index c83080456d1..b08039ff2dd 100644 --- a/tests/e2e/advanced/downlink_mu_mimo_test/wpa_personal/test_nat_mode.py +++ b/tests/e2e/advanced/downlink_mu_mimo_test/wpa_personal/test_nat_mode.py @@ -45,8 +45,15 @@ class TestMuMimoNat(object): @allure.title("Test for Downlink MU-MIMO") def test_mu_mimo_wpa_personal_nat_5g(self, get_test_library, setup_configuration, check_connectivity): """ - Downlink MU-MIMO Test: Nat Mode - pytest -m mu_mimo_performance_tests and nat and wpa_personal and fiveg + Test Description: + Downlink MU-MIMO Performance Test intends to verify the performance of Wi-Fi device when Downlink MU-MIMO + is applied. This best represents a typical deployment, where stations may only support 1x1 or 2x2 RF chain + configurations. The test is only applicable to the Wi-Fi device supporting the 802.11ac/ax. + + Marker: + mu_mimo_performance_tests and nat and wpa_personal and fiveg + + Note: Please refer to the PDF report for the Test Procedure, Pass/Fail Criteria, and Candela Score. """ profile_data = {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] diff --git a/tests/e2e/advanced/downlink_mu_mimo_test/wpa_personal/test_vlan_mode.py b/tests/e2e/advanced/downlink_mu_mimo_test/wpa_personal/test_vlan_mode.py index 904100fa357..70becf96357 100644 --- a/tests/e2e/advanced/downlink_mu_mimo_test/wpa_personal/test_vlan_mode.py +++ b/tests/e2e/advanced/downlink_mu_mimo_test/wpa_personal/test_vlan_mode.py @@ -45,9 +45,16 @@ class TestMuMimoNat(object): @allure.title("Test for Downlink MU-MIMO") def test_mu_mimo_wpa_personal_vlan_5g(self, get_test_library, setup_configuration, check_connectivity): """ - Downlink MU-MIMO Test: VLAN Mode - pytest -m mu_mimo_performance_tests and vlan and wpa_personal and fiveg - """ + Test Description: + Downlink MU-MIMO Performance Test intends to verify the performance of Wi-Fi device when Downlink MU-MIMO + is applied. This best represents a typical deployment, where stations may only support 1x1 or 2x2 RF chain + configurations. The test is only applicable to the Wi-Fi device supporting the 802.11ac/ax. + + Marker: + mu_mimo_performance_tests and vlan and wpa_personal and fiveg + + Note: Please refer to the PDF report for the Test Procedure, Pass/Fail Criteria, and Candela Score. + """ profile_data = {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] security_key = profile_data["security_key"] From 3ae8cbe1e1c223741691b9b36c2262e347821e82 Mon Sep 17 00:00:00 2001 From: jitendracandela Date: Thu, 28 Mar 2024 17:44:01 +0530 Subject: [PATCH 04/16] Added Description to Advanced Captive Portal Tests. Signed-off-by: jitendracandela --- .../open/test_click_to_continue_bridge.py | 11 +++++++++-- .../wpa2_personal/test_local_user_and_pass_bridge.py | 11 +++++++++-- .../wpa2_personal/test_radius_user_and_pass_bridge.py | 11 +++++++++-- 3 files changed, 27 insertions(+), 6 deletions(-) diff --git a/tests/e2e/basic/advanced_captive_portal_tests/open/test_click_to_continue_bridge.py b/tests/e2e/basic/advanced_captive_portal_tests/open/test_click_to_continue_bridge.py index eb467dea23e..732c9852ed9 100644 --- a/tests/e2e/basic/advanced_captive_portal_tests/open/test_click_to_continue_bridge.py +++ b/tests/e2e/basic/advanced_captive_portal_tests/open/test_click_to_continue_bridge.py @@ -57,8 +57,15 @@ def test_bridge_open_2g_click_to_continue(self, get_test_library, get_dut_logs_p get_test_device_logs, num_stations, check_connectivity, setup_configuration, get_testbed_details, get_target_object): """ - BRIDGE Mode Advanced Captive Portal Test with open encryption 2.4 GHz Band - pytest -m "advanced_captive_portal_tests and open and twog and bridge and click_to_continue" + Advanced Captive Portal provides a way to authenticate the clients before they get access to the internet. + In the Advanced Captive Portal as soon as the clients get connected to the SSID, the client will be + redirected to the captive Portal web page to authenticate or to accept the terms of service. + + Click-to-continue mode: In this mode the client will be redirected to the page where the client needs to + accept the terms of service before getting internet. + + Unique Marker: + advanced_captive_portal_tests and open and twog and bridge and click_to_continue """ profile_data = {"ssid_name": "ssid_captive_portal_open_2g_br", "appliedRadios": ["2G"], "security_key": "something", diff --git a/tests/e2e/basic/advanced_captive_portal_tests/wpa2_personal/test_local_user_and_pass_bridge.py b/tests/e2e/basic/advanced_captive_portal_tests/wpa2_personal/test_local_user_and_pass_bridge.py index eba25fb1799..65b6f306391 100644 --- a/tests/e2e/basic/advanced_captive_portal_tests/wpa2_personal/test_local_user_and_pass_bridge.py +++ b/tests/e2e/basic/advanced_captive_portal_tests/wpa2_personal/test_local_user_and_pass_bridge.py @@ -63,8 +63,15 @@ def test_bridge_wpa2_2g_local_user_and_pass(self, get_test_library, get_dut_logs get_test_device_logs, num_stations, check_connectivity, setup_configuration, get_testbed_details, get_target_object): """ - BRIDGE Mode Advanced Captive Portal Test with wpa2_personal encryption 2.4 GHz Band - pytest -m "advanced_captive_portal_tests and wpa2_personal and twog and bridge and local_user_and_pass" + Advanced Captive Portal provides a way to authenticate the clients before they get access to the internet. + In the Advanced Captive Portal as soon as the clients get connected to the SSID, the client will be + redirected to the captive Portal web page to authenticate or to accept the terms of service. + + Local user/pass mode (Captive-Credentials): In this mode the client needs to enter the valid credentials + that are configured in the AP to get the internet access. + + Unique Marker: + advanced_captive_portal_tests and wpa2_personal and twog and bridge and local_user_and_pass """ profile_data = {"ssid_name": "ssid_captive_portal_wpa2_2g_br", "appliedRadios": ["2G"], "security_key": "something", diff --git a/tests/e2e/basic/advanced_captive_portal_tests/wpa2_personal/test_radius_user_and_pass_bridge.py b/tests/e2e/basic/advanced_captive_portal_tests/wpa2_personal/test_radius_user_and_pass_bridge.py index 273fd01ff18..80242f87237 100644 --- a/tests/e2e/basic/advanced_captive_portal_tests/wpa2_personal/test_radius_user_and_pass_bridge.py +++ b/tests/e2e/basic/advanced_captive_portal_tests/wpa2_personal/test_radius_user_and_pass_bridge.py @@ -61,8 +61,15 @@ def test_bridge_wpa2_2g_radius_user_and_pass(self, get_test_library, get_dut_log setup_configuration, get_testbed_details, get_target_object, radius_info): """ - BRIDGE Mode Advanced Captive Portal Test with wpa2_personal encryption 2.4 GHz Band - pytest -m "advanced_captive_portal_tests and wpa2_personal and twog and bridge and radius_user_and_pass" + Advanced Captive Portal provides a way to authenticate the clients before they get access to the internet. + In the Advanced Captive Portal as soon as the clients get connected to the SSID, the client will be + redirected to the captive Portal web page to authenticate or to accept the terms of service. + + Radius user/pass mode (Captive-Radius): In this mode the client needs to enter the valid credentials that + are configured in the radius server being used to get the internet access. + + Unique Marker: + advanced_captive_portal_tests and wpa2_personal and twog and bridge and radius_user_and_pass """ profile_data = {"ssid_name": "ssid_captive_portal_wpa2_2g_br", "appliedRadios": ["2G"], "security_key": "something", From c1ff809b43029c8e4dd2f44b7ad63f6eeb105722 Mon Sep 17 00:00:00 2001 From: jitendracandela Date: Sun, 31 Mar 2024 19:29:25 +0530 Subject: [PATCH 05/16] Added/Modified Description in the allure report for DFS Tests. Signed-off-by: jitendracandela --- .../dfs_20MHz/test_dfs_20_bridge.py | 108 ++++++++++++++++++ .../dfs_40MHz/test_dfs_40_bridge.py | 45 ++++++++ .../dfs_80MHz/test_dfs_80_bridge.py | 26 ++++- 3 files changed, 173 insertions(+), 6 deletions(-) diff --git a/tests/e2e/basic/dfs_test/wpa2_personal/dfs_20MHz/test_dfs_20_bridge.py b/tests/e2e/basic/dfs_test/wpa2_personal/dfs_20MHz/test_dfs_20_bridge.py index f81de4282f6..3073ac3fbca 100644 --- a/tests/e2e/basic/dfs_test/wpa2_personal/dfs_20MHz/test_dfs_20_bridge.py +++ b/tests/e2e/basic/dfs_test/wpa2_personal/dfs_20MHz/test_dfs_20_bridge.py @@ -50,6 +50,15 @@ class TestDFSChannel52Bw20(object): def test_dfs_channel_52_bw_20(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, get_target_object, num_stations, check_connectivity, setup_configuration): + """ + DFS (Dynamic Frequency Selection) is a function in 5Ghz band. In 5Ghz band few channels are used by the + RADAR systems. So, a mechanism called DFS was created to have the WIFI devices listen for radar events + and either stop using the channels and automatically move to a non-DFS channel. + So, verifying DFS with channel 52 at 20MHz bandwidth. + + Unique Marker: + dfs_tests and bandwidth_20MHz and wpa2_personal and fiveg and dfs_channel_52_bw_20 + """ profile_data = setup_params_general1["ssid_modes"]["wpa2_personal"][0] ssid_name = profile_data["ssid_name"] security_key = profile_data["security_key"] @@ -104,6 +113,15 @@ class TestDFSChannel100Bw20(object): @allure.title("Test for Channel 100 and bandwidth 20") def test_dfs_channel_100_bw_20(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity, get_target_object): + """ + DFS (Dynamic Frequency Selection) is a function in 5Ghz band. In 5Ghz band few channels are used by the + RADAR systems. So, a mechanism called DFS was created to have the WIFI devices listen for radar events + and either stop using the channels and automatically move to a non-DFS channel. + So, verifying DFS with channel 100 at 20MHz bandwidth. + + Unique Marker: + dfs_tests and bandwidth_20MHz and wpa2_personal and fiveg and dfs_channel_100_bw_20 + """ profile_data = setup_params_general2["ssid_modes"]["wpa2_personal"][0] ssid_name = profile_data["ssid_name"] security_key = profile_data["security_key"] @@ -158,6 +176,15 @@ class TestDFSChannel104Bw20(object): @allure.title("Test for Channel 104 and bandwidth 20") def test_dfs_channel_104_bw_20(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity, get_target_object): + """ + DFS (Dynamic Frequency Selection) is a function in 5Ghz band. In 5Ghz band few channels are used by the + RADAR systems. So, a mechanism called DFS was created to have the WIFI devices listen for radar events + and either stop using the channels and automatically move to a non-DFS channel. + So, verifying DFS with channel 104 at 20MHz bandwidth. + + Unique Marker: + dfs_tests and bandwidth_20MHz and wpa2_personal and fiveg and dfs_channel_104_bw_20 + """ profile_data = setup_params_general3["ssid_modes"]["wpa2_personal"][0] ssid_name = profile_data["ssid_name"] security_key = profile_data["security_key"] @@ -213,6 +240,15 @@ class TestDFSChannel56Bw20(object): @allure.title("Test for Channel 56 and bandwidth 20") def test_dfs_channel_56_bw_20(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity, get_target_object): + """ + DFS (Dynamic Frequency Selection) is a function in 5Ghz band. In 5Ghz band few channels are used by the + RADAR systems. So, a mechanism called DFS was created to have the WIFI devices listen for radar events + and either stop using the channels and automatically move to a non-DFS channel. + So, verifying DFS with channel 56 at 20MHz bandwidth. + + Unique Marker: + dfs_tests and bandwidth_20MHz and wpa2_personal and fiveg and dfs_channel_56_bw_20 + """ profile_data = setup_params_general4["ssid_modes"]["wpa2_personal"][0] ssid_name = profile_data["ssid_name"] security_key = profile_data["security_key"] @@ -267,6 +303,15 @@ class TestDFSChannel60Bw20(object): @allure.title("Test for Channel 60 and bandwidth 20") def test_dfs_channel_60_bw_20(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity, get_target_object): + """ + DFS (Dynamic Frequency Selection) is a function in 5Ghz band. In 5Ghz band few channels are used by the + RADAR systems. So, a mechanism called DFS was created to have the WIFI devices listen for radar events + and either stop using the channels and automatically move to a non-DFS channel. + So, verifying DFS with channel 60 at 20MHz bandwidth. + + Unique Marker: + dfs_tests and bandwidth_20MHz and wpa2_personal and fiveg and dfs_channel_60_bw_20 + """ profile_data = setup_params_general5["ssid_modes"]["wpa2_personal"][0] ssid_name = profile_data["ssid_name"] security_key = profile_data["security_key"] @@ -321,6 +366,15 @@ class TestDFSChannel64Bw20(object): @allure.title("Test for Channel 64 and bandwidth 20") def test_dfs_channel_64_bw_20(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity, get_target_object): + """ + DFS (Dynamic Frequency Selection) is a function in 5Ghz band. In 5Ghz band few channels are used by the + RADAR systems. So, a mechanism called DFS was created to have the WIFI devices listen for radar events + and either stop using the channels and automatically move to a non-DFS channel. + So, verifying DFS with channel 64 at 20MHz bandwidth. + + Unique Marker: + dfs_tests and bandwidth_20MHz and wpa2_personal and fiveg and dfs_channel_64_bw_20 + """ profile_data = setup_params_general6["ssid_modes"]["wpa2_personal"][0] ssid_name = profile_data["ssid_name"] security_key = profile_data["security_key"] @@ -375,6 +429,15 @@ class TestDFSChannel108Bw20(object): @allure.title("Test for Channel 108 and bandwidth 20") def test_dfs_channel_108_bw_20(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity, get_target_object): + """ + DFS (Dynamic Frequency Selection) is a function in 5Ghz band. In 5Ghz band few channels are used by the + RADAR systems. So, a mechanism called DFS was created to have the WIFI devices listen for radar events + and either stop using the channels and automatically move to a non-DFS channel. + So, verifying DFS with channel 108 at 20MHz bandwidth. + + Unique Marker: + dfs_tests and bandwidth_20MHz and wpa2_personal and fiveg and dfs_channel_108_bw_20 + """ profile_data = setup_params_general7["ssid_modes"]["wpa2_personal"][0] ssid_name = profile_data["ssid_name"] security_key = profile_data["security_key"] @@ -429,6 +492,15 @@ class TestDFSChannel112Bw20(object): @allure.title("Test for Channel 112 and bandwidth 20") def test_dfs_channel_112_bw_20(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity, get_target_object): + """ + DFS (Dynamic Frequency Selection) is a function in 5Ghz band. In 5Ghz band few channels are used by the + RADAR systems. So, a mechanism called DFS was created to have the WIFI devices listen for radar events + and either stop using the channels and automatically move to a non-DFS channel. + So, verifying DFS with channel 112 at 20MHz bandwidth. + + Unique Marker: + dfs_tests and bandwidth_20MHz and wpa2_personal and fiveg and dfs_channel_112_bw_20 + """ profile_data = setup_params_general8["ssid_modes"]["wpa2_personal"][0] ssid_name = profile_data["ssid_name"] security_key = profile_data["security_key"] @@ -483,6 +555,15 @@ class TestDFSChannel132Bw20(object): @allure.title("Test for Channel 132 and bandwidth 20") def test_dfs_channel_132_bw_20(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity, get_target_object): + """ + DFS (Dynamic Frequency Selection) is a function in 5Ghz band. In 5Ghz band few channels are used by the + RADAR systems. So, a mechanism called DFS was created to have the WIFI devices listen for radar events + and either stop using the channels and automatically move to a non-DFS channel. + So, verifying DFS with channel 132 at 20MHz bandwidth. + + Unique Marker: + dfs_tests and bandwidth_20MHz and wpa2_personal and fiveg and dfs_channel_132_bw_20 + """ profile_data = setup_params_general10["ssid_modes"]["wpa2_personal"][0] ssid_name = profile_data["ssid_name"] security_key = profile_data["security_key"] @@ -537,6 +618,15 @@ class TestDFSChannel136Bw20(object): @allure.title("Test for Channel 136 and bandwidth 20") def test_dfs_channel_136_bw_20(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity, get_target_object): + """ + DFS (Dynamic Frequency Selection) is a function in 5Ghz band. In 5Ghz band few channels are used by the + RADAR systems. So, a mechanism called DFS was created to have the WIFI devices listen for radar events + and either stop using the channels and automatically move to a non-DFS channel. + So, verifying DFS with channel 136 at 20MHz bandwidth. + + Unique Marker: + dfs_tests and bandwidth_20MHz and wpa2_personal and fiveg and dfs_channel_136_bw_20 + """ profile_data = setup_params_general11["ssid_modes"]["wpa2_personal"][0] ssid_name = profile_data["ssid_name"] security_key = profile_data["security_key"] @@ -590,6 +680,15 @@ class TestDFSChannel140Bw20(object): @allure.title("Test for Channel 140 and bandwidth 20") def test_dfs_channel_140_bw_20(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity, get_target_object): + """ + DFS (Dynamic Frequency Selection) is a function in 5Ghz band. In 5Ghz band few channels are used by the + RADAR systems. So, a mechanism called DFS was created to have the WIFI devices listen for radar events + and either stop using the channels and automatically move to a non-DFS channel. + So, verifying DFS with channel 140 at 20MHz bandwidth. + + Unique Marker: + dfs_tests and bandwidth_20MHz and wpa2_personal and fiveg and dfs_channel_140_bw_20 + """ profile_data = setup_params_general12["ssid_modes"]["wpa2_personal"][0] ssid_name = profile_data["ssid_name"] security_key = profile_data["security_key"] @@ -643,6 +742,15 @@ class TestDFSChannel144Bw20(object): @allure.title("Test for Channel 144 and bandwidth 20") def test_dfs_channel_144_bw_20(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity, get_target_object): + """ + DFS (Dynamic Frequency Selection) is a function in 5Ghz band. In 5Ghz band few channels are used by the + RADAR systems. So, a mechanism called DFS was created to have the WIFI devices listen for radar events + and either stop using the channels and automatically move to a non-DFS channel. + So, verifying DFS with channel 144 at 20MHz bandwidth. + + Unique Marker: + dfs_tests and bandwidth_20MHz and wpa2_personal and fiveg and dfs_channel_144_bw_20 + """ profile_data = setup_params_general13["ssid_modes"]["wpa2_personal"][0] ssid_name = profile_data["ssid_name"] security_key = profile_data["security_key"] diff --git a/tests/e2e/basic/dfs_test/wpa2_personal/dfs_40MHz/test_dfs_40_bridge.py b/tests/e2e/basic/dfs_test/wpa2_personal/dfs_40MHz/test_dfs_40_bridge.py index c1fc00f4f8c..02cbdc66c92 100644 --- a/tests/e2e/basic/dfs_test/wpa2_personal/dfs_40MHz/test_dfs_40_bridge.py +++ b/tests/e2e/basic/dfs_test/wpa2_personal/dfs_40MHz/test_dfs_40_bridge.py @@ -48,6 +48,15 @@ class TestDFSChannel52Bw40(object): @allure.title("Test for Channel 52 and bandwidth 40") def test_dfs_channel_52_bw_40(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity, get_target_object): + """ + DFS (Dynamic Frequency Selection) is a function in 5Ghz band. In 5Ghz band few channels are used by the + RADAR systems. So, a mechanism called DFS was created to have the WIFI devices listen for radar events + and either stop using the channels and automatically move to a non-DFS channel. + So, verifying DFS with channel 52 at 40MHz bandwidth. + + Unique Marker: + dfs_tests and bandwidth_40MHz and wpa2_personal and fiveg and dfs_channel_52_bw_40 + """ profile_data = setup_params_general1["ssid_modes"]["wpa2_personal"][0] ssid_name = profile_data["ssid_name"] security_key = profile_data["security_key"] @@ -101,6 +110,15 @@ class TestDFSChannel100Bw40(object): @allure.title("Test for Channel 100 and bandwidth 40") def test_dfs_channel_100_bw_40(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity, get_target_object): + """ + DFS (Dynamic Frequency Selection) is a function in 5Ghz band. In 5Ghz band few channels are used by the + RADAR systems. So, a mechanism called DFS was created to have the WIFI devices listen for radar events + and either stop using the channels and automatically move to a non-DFS channel. + So, verifying DFS with channel 100 at 40MHz bandwidth. + + Unique Marker: + dfs_tests and bandwidth_40MHz and wpa2_personal and fiveg and dfs_channel_100_bw_40 + """ profile_data = setup_params_general2["ssid_modes"]["wpa2_personal"][0] ssid_name = profile_data["ssid_name"] security_key = profile_data["security_key"] @@ -155,6 +173,15 @@ class TestDFSChannel60Bw40(object): @allure.title("Test for Channel 60 and bandwidth 40") def test_dfs_channel_60_bw_40(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity, get_target_object): + """ + DFS (Dynamic Frequency Selection) is a function in 5Ghz band. In 5Ghz band few channels are used by the + RADAR systems. So, a mechanism called DFS was created to have the WIFI devices listen for radar events + and either stop using the channels and automatically move to a non-DFS channel. + So, verifying DFS with channel 60 at 40MHz bandwidth. + + Unique Marker: + dfs_tests and bandwidth_40MHz and wpa2_personal and fiveg and dfs_channel_60_bw_40 + """ profile_data = setup_params_general5["ssid_modes"]["wpa2_personal"][0] ssid_name = profile_data["ssid_name"] security_key = profile_data["security_key"] @@ -208,6 +235,15 @@ class TestDFSChannel108Bw40(object): @allure.title("Test for Channel 108 and bandwidth 40") def test_dfs_channel_108_bw_40(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity, get_target_object): + """ + DFS (Dynamic Frequency Selection) is a function in 5Ghz band. In 5Ghz band few channels are used by the + RADAR systems. So, a mechanism called DFS was created to have the WIFI devices listen for radar events + and either stop using the channels and automatically move to a non-DFS channel. + So, verifying DFS with channel 108 at 40MHz bandwidth. + + Unique Marker: + dfs_tests and bandwidth_40MHz and wpa2_personal and fiveg and dfs_channel_108_bw_40 + """ profile_data = setup_params_general7["ssid_modes"]["wpa2_personal"][0] ssid_name = profile_data["ssid_name"] security_key = profile_data["security_key"] @@ -262,6 +298,15 @@ class TestDFSChannel132Bw40(object): @allure.title("Test for Channel 132 and bandwidth 40") def test_dfs_channel_132_bw_40(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity, get_target_object): + """ + DFS (Dynamic Frequency Selection) is a function in 5Ghz band. In 5Ghz band few channels are used by the + RADAR systems. So, a mechanism called DFS was created to have the WIFI devices listen for radar events + and either stop using the channels and automatically move to a non-DFS channel. + So, verifying DFS with channel 132 at 40MHz bandwidth. + + Unique Marker: + dfs_tests and bandwidth_40MHz and wpa2_personal and fiveg and dfs_channel_132_bw_40 + """ profile_data = setup_params_general11["ssid_modes"]["wpa2_personal"][0] ssid_name = profile_data["ssid_name"] security_key = profile_data["security_key"] diff --git a/tests/e2e/basic/dfs_test/wpa2_personal/dfs_80MHz/test_dfs_80_bridge.py b/tests/e2e/basic/dfs_test/wpa2_personal/dfs_80MHz/test_dfs_80_bridge.py index bc4f9caa2c6..5b7b46275a7 100644 --- a/tests/e2e/basic/dfs_test/wpa2_personal/dfs_80MHz/test_dfs_80_bridge.py +++ b/tests/e2e/basic/dfs_test/wpa2_personal/dfs_80MHz/test_dfs_80_bridge.py @@ -50,8 +50,13 @@ class TestDFSChannel52Bw80(object): def test_dfs_channel_52_bw_80(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity, get_target_object): """ - To verify that a 5G client operating on channel 52 shifts to a non-DFS channel if radar is detected - Unique Marker: pytest -m "bandwidth_80MHz and ow_sanity_lf and dfs_channel_52_bw_80" + DFS (Dynamic Frequency Selection) is a function in 5Ghz band. In 5Ghz band few channels are used by the + RADAR systems. So, a mechanism called DFS was created to have the WIFI devices listen for radar events + and either stop using the channels and automatically move to a non-DFS channel. + So, verifying DFS with channel 52 at 80MHz bandwidth. + + Unique Marker: + dfs_tests and bandwidth_80MHz and wpa2_personal and fiveg and dfs_channel_52_bw_80 """ profile_data = setup_params_general1["ssid_modes"]["wpa2_personal"][0] ssid_name = profile_data["ssid_name"] @@ -107,8 +112,13 @@ class TestDFSChannel100Bw80(object): def test_dfs_channel_100_bw_80(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity, get_target_object): """ - To verify that a 5G client operating on channel 100 shifts to a non-DFS channel if radar is detected - Unique Marker: pytest -m "bandwidth_80MHz and ow_sanity_lf and dfs_channel_100_bw_80" + DFS (Dynamic Frequency Selection) is a function in 5Ghz band. In 5Ghz band few channels are used by the + RADAR systems. So, a mechanism called DFS was created to have the WIFI devices listen for radar events + and either stop using the channels and automatically move to a non-DFS channel. + So, verifying DFS with channel 100 at 80MHz bandwidth. + + Unique Marker: + dfs_tests and bandwidth_80MHz and wpa2_personal and fiveg and dfs_channel_100_bw_80 """ profile_data = setup_params_general2["ssid_modes"]["wpa2_personal"][0] ssid_name = profile_data["ssid_name"] @@ -164,9 +174,13 @@ class TestDFSChannel132Bw80(object): def test_dfs_channel_132_bw_80(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity, get_target_object): """ - To verify that a 5G client operating on channel 132 shifts to a non-DFS channel if radar is detected - Unique Marker: pytest -m "bandwidth_80MHz and ow_sanity_lf and dfs_channel_132_bw_80" + DFS (Dynamic Frequency Selection) is a function in 5Ghz band. In 5Ghz band few channels are used by the + RADAR systems. So, a mechanism called DFS was created to have the WIFI devices listen for radar events + and either stop using the channels and automatically move to a non-DFS channel. + So, verifying DFS with channel 132 at 80MHz bandwidth. + Unique Marker: + dfs_tests and bandwidth_80MHz and wpa2_personal and fiveg and dfs_channel_132_bw_80 """ profile_data = setup_params_general11["ssid_modes"]["wpa2_personal"][0] ssid_name = profile_data["ssid_name"] From 504a59dc8644f51e581b67177f6a90c8e144316a Mon Sep 17 00:00:00 2001 From: jitendracandela Date: Sun, 31 Mar 2024 20:18:35 +0530 Subject: [PATCH 06/16] Added unique marker and description to endurance_test/bridge/test_ap_stability.py Signed-off-by: jitendracandela --- .../endurance_test/bridge_mode/test_ap_stability.py | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/tests/e2e/basic/endurance_test/bridge_mode/test_ap_stability.py b/tests/e2e/basic/endurance_test/bridge_mode/test_ap_stability.py index 366149fd5b1..c7d046ce3bd 100644 --- a/tests/e2e/basic/endurance_test/bridge_mode/test_ap_stability.py +++ b/tests/e2e/basic/endurance_test/bridge_mode/test_ap_stability.py @@ -10,7 +10,8 @@ import pytest pytestmark = [pytest.mark.ow_stability_lf, - pytest.mark.bridge] + pytest.mark.bridge, + pytest.mark.ap_stability] setup_params_general = { "mode": "BRIDGE", @@ -48,6 +49,16 @@ class TestAPStabilityBridge(object): url="https://telecominfraproject.atlassian.net/browse/WIFI-3035") def test_ap_stability_wpa2_personal(self, lf_tools, create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + Long term stability test intends to measure the stability performance of Wi-Fi device under stresses that + would typically been seen under heavy user load, such as watching multiple 4k video streams. Throughput + and connection availability are continuously monitored over a period of 4 hours, during which time, the + performance must remain steady. Testing is conducted in multiple bands (2.4 GHz and 5 GHz) simultaneously. + This testcase evaluates this in Bridge Mode scenario. + + Unique Marker: + ap_stability and bridge + """ profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] ssid_2G = profile_data[0]["ssid_name"] ssid_5G = profile_data[0]["ssid_name"] From 04b0f8f508014bad261100db2c3295fad0cd9e8e Mon Sep 17 00:00:00 2001 From: jitendracandela Date: Mon, 1 Apr 2024 16:06:56 +0530 Subject: [PATCH 07/16] Added/Modified Description and Markers to Strict Forwarding Testcases. Signed-off-by: jitendracandela --- .../test_strict_forwarding_bridge.py | 50 ++++++++++++++++++- 1 file changed, 49 insertions(+), 1 deletion(-) diff --git a/tests/e2e/basic/strict_forwarding/wpa2_personal/test_strict_forwarding_bridge.py b/tests/e2e/basic/strict_forwarding/wpa2_personal/test_strict_forwarding_bridge.py index 64ee04a682a..b45d2e2a1f5 100644 --- a/tests/e2e/basic/strict_forwarding/wpa2_personal/test_strict_forwarding_bridge.py +++ b/tests/e2e/basic/strict_forwarding/wpa2_personal/test_strict_forwarding_bridge.py @@ -46,10 +46,25 @@ class TestStrictForwardingSameSSID(object): @pytest.mark.wpa2_personal @pytest.mark.fiveg @pytest.mark.clients_connected_same_ssid_sf_enabled - @allure.title("Verify the clients connected to same SSID cannot ping eachother when strict_forwarding is enabled") + @allure.title("Verify the clients connected to same SSID cannot ping each other when strict_forwarding is enabled") @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-12923", name="WIFI-12923") def test_sf_enabled_ssid_5g(self, setup_configuration, get_test_library, num_stations, get_test_device_logs, get_dut_logs_per_test_case, check_connectivity): + """ + The Strict Forwarding feature is designed to enhance network security by isolating individual wireless devices + (clients) from each other. When enabled on a specific SSID, it prevents wireless clients from communicating + directly with each other, even if they are connected to the same access point or different access points. + + With Strict Forwarding enabled, all peer-to-peer communication between wireless clients within the network + is disabled. The only traffic allowed is from clients to the gateway or configured servers. Any other traffic + not destined for the gateway or configured servers will not be forwarded by the Instant AP. + + This testcase evaluates Strict Forwarding feature in Bridge Mode scenario where 2 clients are connected to the + same SSID where strict forwarding is enabled. The clients shouldn't be able to ping each other in such case. + + Unique Marker: + strict_forwarding_tests and bridge and wpa2_personal and fiveg and clients_connected_same_ssid_sf_enabled + """ profile_data = { "ssid_name": "strict_forwarding_wpa2_br", @@ -126,6 +141,22 @@ class TestStrictForwardingEnabledTwoSSID(object): @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-12924", name="WIFI-12924") def test_sf_enabled_two_ssid_5g(self, setup_configuration, get_test_library, num_stations, get_test_device_logs, get_dut_logs_per_test_case, check_connectivity): + """ + The Strict Forwarding feature is designed to enhance network security by isolating individual wireless devices + (clients) from each other. When enabled on a specific SSID, it prevents wireless clients from communicating + directly with each other, even if they are connected to the same access point or different access points. + + With Strict Forwarding enabled, all peer-to-peer communication between wireless clients within the network + is disabled. The only traffic allowed is from clients to the gateway or configured servers. Any other traffic + not destined for the gateway or configured servers will not be forwarded by the Instant AP. + + This testcase evaluates Strict Forwarding feature in Bridge Mode scenario where 2 clients are connected to the + different SSIDs where strict forwarding is enabled on both the SSIDs. The clients shouldn't be able to ping + each other in such case. + + Unique Marker: + strict_forwarding_tests and bridge and wpa2_personal and fiveg and clients_connected_different_ssid_sf_enabled + """ profile_data = { "ssid_name": "sf_enabled_ssid1_wpa2_br", @@ -212,6 +243,23 @@ class TestStrictForwardingEnabledSSIDDisableSSID(object): @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-12925", name="WIFI-12925") def test_sf_enabled_two_ssid_5g(self, setup_configuration, get_test_library, num_stations, get_test_device_logs, get_dut_logs_per_test_case, check_connectivity): + """ + The Strict Forwarding feature is designed to enhance network security by isolating individual wireless devices + (clients) from each other. When enabled on a specific SSID, it prevents wireless clients from communicating + directly with each other, even if they are connected to the same access point or different access points. + + With Strict Forwarding enabled, all peer-to-peer communication between wireless clients within the network + is disabled. The only traffic allowed is from clients to the gateway or configured servers. Any other traffic + not destined for the gateway or configured servers will not be forwarded by the Instant AP. + + This testcase evaluates Strict Forwarding feature in Bridge Mode scenario where 2 clients are connected to the + different SSIDs where strict forwarding is enabled on one and disabled on another. The clients shouldn't be + able to ping each other in such case. + + Unique Marker: + strict_forwarding_tests and bridge and wpa2_personal and fiveg and + clients_connected_ssid_sf_enabled_ssid_sf_disable + """ profile_data = { "ssid_name": "sf_enabled_ssid1_wpa2_br", From dc48922def0e9c388b99f00bb0f54e9f68434695 Mon Sep 17 00:00:00 2001 From: jitendracandela Date: Wed, 3 Apr 2024 14:37:02 +0530 Subject: [PATCH 08/16] Added/Modified description for Dataplane Tests. Signed-off-by: jitendracandela --- .../open_security/test_bridge_mode.py | 36 +++++++++++-- .../open_security/test_nat_mode.py | 36 +++++++++++-- .../open_security/test_vlan_mode.py | 36 +++++++++++-- .../wpa2_security/test_bridge_mode.py | 36 +++++++++++-- .../wpa2_security/test_nat_mode.py | 36 +++++++++++-- .../wpa2_security/test_vlan_mode.py | 36 +++++++++++-- .../wpa3_security/test_bridge_mode.py | 54 ++++++++++++++++--- .../wpa3_security/test_nat_mode.py | 54 ++++++++++++++++--- .../wpa3_security/test_vlan_mode.py | 54 ++++++++++++++++--- .../wpa_security/test_bridge_mode.py | 36 +++++++++++-- .../wpa_security/test_nat_mode.py | 36 +++++++++++-- .../wpa_security/test_vlan_mode.py | 36 +++++++++++-- 12 files changed, 432 insertions(+), 54 deletions(-) diff --git a/tests/e2e/basic/performance_tests/dataplane_throughput_test/open_security/test_bridge_mode.py b/tests/e2e/basic/performance_tests/dataplane_throughput_test/open_security/test_bridge_mode.py index 1d922f8cda7..49c93b41bed 100644 --- a/tests/e2e/basic/performance_tests/dataplane_throughput_test/open_security/test_bridge_mode.py +++ b/tests/e2e/basic/performance_tests/dataplane_throughput_test/open_security/test_bridge_mode.py @@ -46,8 +46,22 @@ def test_tcp_upd_open_bridge_2g_band(self, get_test_library, get_dut_logs_per_te get_test_device_logs, client_type, get_target_object, num_stations, setup_configuration): - """Dataplane THroughput BRIDGE Mode. - pytest -m "dataplane_tests and bridge and open and twog" + """ + The WiFi data plane test is designed to conduct on automatic testing of combinations of station types, + MIMO types, Channel Bandwidths. Traffic types. Traffic direction, Frame sizes etc. It will run a quick + throughput test at every combination of these test variables and plot at the results in a set of + charts to compare performance. The user is allowed to define an intended load as a percentage of the + max theoretical PHY rate for every test combination. + The expected behavior is that for every test combination the achieved throughput should be at least 70% of + the theoretical max PHY rate under ideal test conditions. + Objective of this test plan is to check the throughput on the single station with different frame sizes + in the Bridge mode scenario with Open security. + + Unique Marker: + dataplane_tests and bridge and open and twog + + Note: + Please refer to the PDF report for detailed observations and analysis of the test results. """ profile_data = {"ssid_name": "open_dataplane_2g", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -72,8 +86,22 @@ def test_tcp_upd_open_bridge_5g_band(self, get_test_library, get_dut_logs_per_te get_test_device_logs, client_type, get_target_object, num_stations, setup_configuration): - """Dataplane THroughput BRIDGE Mode - pytest -m "dataplane_tests and bridge and open and fiveg" + """ + The WiFi data plane test is designed to conduct on automatic testing of combinations of station types, + MIMO types, Channel Bandwidths. Traffic types. Traffic direction, Frame sizes etc. It will run a quick + throughput test at every combination of these test variables and plot at the results in a set of + charts to compare performance. The user is allowed to define an intended load as a percentage of the + max theoretical PHY rate for every test combination. + The expected behavior is that for every test combination the achieved throughput should be at least 70% of + the theoretical max PHY rate under ideal test conditions. + Objective of this test plan is to check the throughput on the single station with different frame sizes + in the Bridge mode scenario with Open security. + + Unique Marker: + dataplane_tests and bridge and open and fiveg + + Note: + Please refer to the PDF report for detailed observations and analysis of the test results. """ profile_data = {"ssid_name": "open_dataplane_5g", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] diff --git a/tests/e2e/basic/performance_tests/dataplane_throughput_test/open_security/test_nat_mode.py b/tests/e2e/basic/performance_tests/dataplane_throughput_test/open_security/test_nat_mode.py index 00ae9bfc4fc..e8ce841a22f 100644 --- a/tests/e2e/basic/performance_tests/dataplane_throughput_test/open_security/test_nat_mode.py +++ b/tests/e2e/basic/performance_tests/dataplane_throughput_test/open_security/test_nat_mode.py @@ -46,8 +46,22 @@ def test_tcp_upd_open_nat_2g_band(self, get_test_library, get_dut_logs_per_test_ get_test_device_logs, client_type, get_target_object, num_stations, setup_configuration): - """Dataplane THroughput NAT Mode. - pytest -m "dataplane_tests and nat and open and twog" + """ + The WiFi data plane test is designed to conduct on automatic testing of combinations of station types, + MIMO types, Channel Bandwidths. Traffic types. Traffic direction, Frame sizes etc. It will run a quick + throughput test at every combination of these test variables and plot at the results in a set of + charts to compare performance. The user is allowed to define an intended load as a percentage of the + max theoretical PHY rate for every test combination. + The expected behavior is that for every test combination the achieved throughput should be at least 70% of + the theoretical max PHY rate under ideal test conditions. + Objective of this test plan is to check the throughput on the single station with different frame sizes + in the NAT mode scenario with Open security. + + Unique Marker: + dataplane_tests and nat and open and twog + + Note: + Please refer to the PDF report for detailed observations and analysis of the test results. """ profile_data = {"ssid_name": "open_dataplane_2g", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -72,8 +86,22 @@ def test_tcp_upd_open_nat_5g_band(self, get_test_library, get_dut_logs_per_test_ get_test_device_logs, client_type, get_target_object, num_stations, setup_configuration): - """Dataplane THroughput NAT Mode - pytest -m "dataplane_tests and nat and open and fiveg" + """ + The WiFi data plane test is designed to conduct on automatic testing of combinations of station types, + MIMO types, Channel Bandwidths. Traffic types. Traffic direction, Frame sizes etc. It will run a quick + throughput test at every combination of these test variables and plot at the results in a set of + charts to compare performance. The user is allowed to define an intended load as a percentage of the + max theoretical PHY rate for every test combination. + The expected behavior is that for every test combination the achieved throughput should be at least 70% of + the theoretical max PHY rate under ideal test conditions. + Objective of this test plan is to check the throughput on the single station with different frame sizes + in the NAT mode scenario with Open security. + + Unique Marker: + dataplane_tests and nat and open and fiveg + + Note: + Please refer to the PDF report for detailed observations and analysis of the test results. """ profile_data = {"ssid_name": "open_dataplane_5g", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] diff --git a/tests/e2e/basic/performance_tests/dataplane_throughput_test/open_security/test_vlan_mode.py b/tests/e2e/basic/performance_tests/dataplane_throughput_test/open_security/test_vlan_mode.py index cdaebd152ff..80645826524 100644 --- a/tests/e2e/basic/performance_tests/dataplane_throughput_test/open_security/test_vlan_mode.py +++ b/tests/e2e/basic/performance_tests/dataplane_throughput_test/open_security/test_vlan_mode.py @@ -45,8 +45,22 @@ def test_tcp_upd_open_vlan_2g_band(self, get_test_library, get_dut_logs_per_test get_test_device_logs, client_type, get_target_object, num_stations, setup_configuration): - """Dataplane THroughput VLAN Mode - pytest -m "dataplane_tests and vlan and open and twog" + """ + The WiFi data plane test is designed to conduct on automatic testing of combinations of station types, + MIMO types, Channel Bandwidths. Traffic types. Traffic direction, Frame sizes etc. It will run a quick + throughput test at every combination of these test variables and plot at the results in a set of + charts to compare performance. The user is allowed to define an intended load as a percentage of the + max theoretical PHY rate for every test combination. + The expected behavior is that for every test combination the achieved throughput should be at least 70% of + the theoretical max PHY rate under ideal test conditions. + Objective of this test plan is to check the throughput on the single station with different frame sizes + in the VLAN mode scenario with Open security. + + Unique Marker: + dataplane_tests and vlan and open and twog + + Note: + Please refer to the PDF report for detailed observations and analysis of the test results. """ profile_data = {"ssid_name": "open_dataplane_2g", "appliedRadios": ["2G"], "security_key": "something", "vlan": 100} ssid_name = profile_data["ssid_name"] @@ -71,8 +85,22 @@ def test_tcp_upd_open_vlan_5g_band(self, get_test_library, get_dut_logs_per_test get_test_device_logs, client_type, get_target_object, num_stations, setup_configuration): - """Dataplane THroughput VLAN Mode - pytest -m "dataplane_tests and vlan and open and fiveg" + """ + The WiFi data plane test is designed to conduct on automatic testing of combinations of station types, + MIMO types, Channel Bandwidths. Traffic types. Traffic direction, Frame sizes etc. It will run a quick + throughput test at every combination of these test variables and plot at the results in a set of + charts to compare performance. The user is allowed to define an intended load as a percentage of the + max theoretical PHY rate for every test combination. + The expected behavior is that for every test combination the achieved throughput should be at least 70% of + the theoretical max PHY rate under ideal test conditions. + Objective of this test plan is to check the throughput on the single station with different frame sizes + in the VLAN mode scenario with Open security. + + Unique Marker: + dataplane_tests and vlan and open and fiveg + + Note: + Please refer to the PDF report for detailed observations and analysis of the test results. """ profile_data = {"ssid_name": "open_dataplane_5g", "appliedRadios": ["5G"], "security_key": "something", "vlan": 100} ssid_name = profile_data["ssid_name"] diff --git a/tests/e2e/basic/performance_tests/dataplane_throughput_test/wpa2_security/test_bridge_mode.py b/tests/e2e/basic/performance_tests/dataplane_throughput_test/wpa2_security/test_bridge_mode.py index 65815032a32..3bfa54a0f3d 100644 --- a/tests/e2e/basic/performance_tests/dataplane_throughput_test/wpa2_security/test_bridge_mode.py +++ b/tests/e2e/basic/performance_tests/dataplane_throughput_test/wpa2_security/test_bridge_mode.py @@ -46,8 +46,22 @@ def test_tcp_upd_wpa2_personal_bridge_2g_band(self, get_test_library, get_dut_lo get_test_device_logs, client_type, get_target_object, num_stations, setup_configuration): - """Dataplane THroughput BRIDGE Mode. - pytest -m "dataplane_tests and bridge and wpa2_personal and twog" + """ + The WiFi data plane test is designed to conduct on automatic testing of combinations of station types, + MIMO types, Channel Bandwidths. Traffic types. Traffic direction, Frame sizes etc. It will run a quick + throughput test at every combination of these test variables and plot at the results in a set of + charts to compare performance. The user is allowed to define an intended load as a percentage of the + max theoretical PHY rate for every test combination. + The expected behavior is that for every test combination the achieved throughput should be at least 70% of + the theoretical max PHY rate under ideal test conditions. + Objective of this test plan is to check the throughput on the single station with different frame sizes + in the Bridge mode scenario with WPA2-Personal security. + + Unique Marker: + dataplane_tests and bridge and wpa2_personal and twog + + Note: + Please refer to the PDF report for detailed observations and analysis of the test results. """ profile_data = {"ssid_name": "wpa2_personal_dataplane_2g", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -73,8 +87,22 @@ def test_tcp_upd_wpa2_personal_bridge_5g_band(self, get_test_library, get_dut_lo get_test_device_logs, client_type, get_target_object, num_stations, setup_configuration): - """Dataplane THroughput BRIDGE Mode - pytest -m "dataplane_tests and bridge and wpa2_personal and fiveg" + """ + The WiFi data plane test is designed to conduct on automatic testing of combinations of station types, + MIMO types, Channel Bandwidths. Traffic types. Traffic direction, Frame sizes etc. It will run a quick + throughput test at every combination of these test variables and plot at the results in a set of + charts to compare performance. The user is allowed to define an intended load as a percentage of the + max theoretical PHY rate for every test combination. + The expected behavior is that for every test combination the achieved throughput should be at least 70% of + the theoretical max PHY rate under ideal test conditions. + Objective of this test plan is to check the throughput on the single station with different frame sizes + in the Bridge mode scenario with WPA2-Personal security. + + Unique Marker: + dataplane_tests and bridge and wpa2_personal and fiveg + + Note: + Please refer to the PDF report for detailed observations and analysis of the test results. """ profile_data = {"ssid_name": "wpa2_personal_dataplane_5g", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] diff --git a/tests/e2e/basic/performance_tests/dataplane_throughput_test/wpa2_security/test_nat_mode.py b/tests/e2e/basic/performance_tests/dataplane_throughput_test/wpa2_security/test_nat_mode.py index 5f5c0246c86..cb6f6d1656f 100644 --- a/tests/e2e/basic/performance_tests/dataplane_throughput_test/wpa2_security/test_nat_mode.py +++ b/tests/e2e/basic/performance_tests/dataplane_throughput_test/wpa2_security/test_nat_mode.py @@ -46,8 +46,22 @@ def test_tcp_upd_wpa2_personal_nat_2g_band(self, get_test_library, get_dut_logs_ get_test_device_logs, client_type, get_target_object, num_stations, setup_configuration): - """Dataplane THroughput NAT Mode. - pytest -m "dataplane_tests and nat and wpa2_personal and twog" + """ + The WiFi data plane test is designed to conduct on automatic testing of combinations of station types, + MIMO types, Channel Bandwidths. Traffic types. Traffic direction, Frame sizes etc. It will run a quick + throughput test at every combination of these test variables and plot at the results in a set of + charts to compare performance. The user is allowed to define an intended load as a percentage of the + max theoretical PHY rate for every test combination. + The expected behavior is that for every test combination the achieved throughput should be at least 70% of + the theoretical max PHY rate under ideal test conditions. + Objective of this test plan is to check the throughput on the single station with different frame sizes + in the NAT mode scenario with WPA2-Personal security. + + Unique Marker: + dataplane_tests and nat and wpa2_personal and twog + + Note: + Please refer to the PDF report for detailed observations and analysis of the test results. """ profile_data = {"ssid_name": "wpa2_personal_dataplane_2g", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -73,8 +87,22 @@ def test_tcp_upd_wpa2_personal_nat_5g_band(self, get_test_library, get_dut_logs_ get_test_device_logs, client_type, get_target_object, num_stations, setup_configuration): - """Dataplane THroughput NAT Mode - pytest -m "dataplane_tests and nat and wpa2_personal and fiveg" + """ + The WiFi data plane test is designed to conduct on automatic testing of combinations of station types, + MIMO types, Channel Bandwidths. Traffic types. Traffic direction, Frame sizes etc. It will run a quick + throughput test at every combination of these test variables and plot at the results in a set of + charts to compare performance. The user is allowed to define an intended load as a percentage of the + max theoretical PHY rate for every test combination. + The expected behavior is that for every test combination the achieved throughput should be at least 70% of + the theoretical max PHY rate under ideal test conditions. + Objective of this test plan is to check the throughput on the single station with different frame sizes + in the NAT mode scenario with WPA2-Personal security. + + Unique Marker: + dataplane_tests and nat and wpa2_personal and fiveg + + Note: + Please refer to the PDF report for detailed observations and analysis of the test results. """ profile_data = {"ssid_name": "wpa2_personal_dataplane_5g", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] diff --git a/tests/e2e/basic/performance_tests/dataplane_throughput_test/wpa2_security/test_vlan_mode.py b/tests/e2e/basic/performance_tests/dataplane_throughput_test/wpa2_security/test_vlan_mode.py index 3aa275e3ca8..b5d122fcfb1 100644 --- a/tests/e2e/basic/performance_tests/dataplane_throughput_test/wpa2_security/test_vlan_mode.py +++ b/tests/e2e/basic/performance_tests/dataplane_throughput_test/wpa2_security/test_vlan_mode.py @@ -47,8 +47,22 @@ def test_tcp_upd_wpa2_personal_vlan_2g_band(self, get_test_library, get_dut_logs get_test_device_logs, client_type, get_target_object, num_stations, setup_configuration): - """Dataplane THroughput VLAN Mode - pytest -m "dataplane_tests and vlan and wpa2_personal and twog" + """ + The WiFi data plane test is designed to conduct on automatic testing of combinations of station types, + MIMO types, Channel Bandwidths. Traffic types. Traffic direction, Frame sizes etc. It will run a quick + throughput test at every combination of these test variables and plot at the results in a set of + charts to compare performance. The user is allowed to define an intended load as a percentage of the + max theoretical PHY rate for every test combination. + The expected behavior is that for every test combination the achieved throughput should be at least 70% of + the theoretical max PHY rate under ideal test conditions. + Objective of this test plan is to check the throughput on the single station with different frame sizes + in the VLAN mode scenario with WPA2-Personal security. + + Unique Marker: + dataplane_tests and vlan and wpa2_personal and twog + + Note: + Please refer to the PDF report for detailed observations and analysis of the test results. """ profile_data = {"ssid_name": "wpa2_personal_dataplane_2g", "appliedRadios": ["2G"], "security_key": "something", "vlan": 100} @@ -76,8 +90,22 @@ def test_tcp_upd_wpa2_personal_vlan_5g_band(self, get_test_library, get_dut_logs get_test_device_logs, client_type, get_target_object, num_stations, setup_configuration): - """Dataplane THroughput VLAN Mode - pytest -m "dataplane_tests and vlan and wpa2_personal and fiveg" + """ + The WiFi data plane test is designed to conduct on automatic testing of combinations of station types, + MIMO types, Channel Bandwidths. Traffic types. Traffic direction, Frame sizes etc. It will run a quick + throughput test at every combination of these test variables and plot at the results in a set of + charts to compare performance. The user is allowed to define an intended load as a percentage of the + max theoretical PHY rate for every test combination. + The expected behavior is that for every test combination the achieved throughput should be at least 70% of + the theoretical max PHY rate under ideal test conditions. + Objective of this test plan is to check the throughput on the single station with different frame sizes + in the VLAN mode scenario with WPA2-Personal security. + + Unique Marker: + dataplane_tests and vlan and wpa2_personal and fiveg + + Note: + Please refer to the PDF report for detailed observations and analysis of the test results. """ profile_data = {"ssid_name": "wpa2_personal_dataplane_5g", "appliedRadios": ["5G"], "security_key": "something", "vlan": 100} diff --git a/tests/e2e/basic/performance_tests/dataplane_throughput_test/wpa3_security/test_bridge_mode.py b/tests/e2e/basic/performance_tests/dataplane_throughput_test/wpa3_security/test_bridge_mode.py index 05cc260ec4f..869a47ded09 100644 --- a/tests/e2e/basic/performance_tests/dataplane_throughput_test/wpa3_security/test_bridge_mode.py +++ b/tests/e2e/basic/performance_tests/dataplane_throughput_test/wpa3_security/test_bridge_mode.py @@ -48,8 +48,22 @@ def test_tcp_udp_wpa3_personal_bridge_2g_band(self, get_test_library, get_dut_lo get_test_device_logs, client_type, get_target_object, num_stations, setup_configuration): - """Dataplane THroughput BRIDGE Mode. - pytest -m "dataplane_tests and BRIDGE and wpa3_personal and twog" + """ + The WiFi data plane test is designed to conduct on automatic testing of combinations of station types, + MIMO types, Channel Bandwidths. Traffic types. Traffic direction, Frame sizes etc. It will run a quick + throughput test at every combination of these test variables and plot at the results in a set of + charts to compare performance. The user is allowed to define an intended load as a percentage of the + max theoretical PHY rate for every test combination. + The expected behavior is that for every test combination the achieved throughput should be at least 70% of + the theoretical max PHY rate under ideal test conditions. + Objective of this test plan is to check the throughput on the single station with different frame sizes + in the Bridge mode scenario with WPA3-Personal security. + + Unique Marker: + dataplane_tests and bridge and wpa3_personal and twog + + Note: + Please refer to the PDF report for detailed observations and analysis of the test results. """ profile_data = {"ssid_name": "wpa3_personal_dataplane_2g", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -75,8 +89,22 @@ def test_tcp_udp_wpa3_personal_bridge_5g_band(self, get_test_library, get_dut_lo get_test_device_logs, client_type, get_target_object, num_stations, setup_configuration): - """Dataplane THroughput BRIDGE Mode - pytest -m "dataplane_tests and bridge and wpa3_personal and fiveg" + """ + The WiFi data plane test is designed to conduct on automatic testing of combinations of station types, + MIMO types, Channel Bandwidths. Traffic types. Traffic direction, Frame sizes etc. It will run a quick + throughput test at every combination of these test variables and plot at the results in a set of + charts to compare performance. The user is allowed to define an intended load as a percentage of the + max theoretical PHY rate for every test combination. + The expected behavior is that for every test combination the achieved throughput should be at least 70% of + the theoretical max PHY rate under ideal test conditions. + Objective of this test plan is to check the throughput on the single station with different frame sizes + in the Bridge mode scenario with WPA3-Personal security. + + Unique Marker: + dataplane_tests and bridge and wpa3_personal and fiveg + + Note: + Please refer to the PDF report for detailed observations and analysis of the test results. """ profile_data = {"ssid_name": "wpa3_personal_dataplane_5g", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -103,8 +131,22 @@ def test_tcp_udp_wpa3_personal_bridge_6g_band(self, get_test_library, get_dut_lo get_test_device_logs, client_type, get_target_object, num_stations, setup_configuration): - """Dataplane THroughput BRIDGE Mode - pytest -m "dataplane_tests and bridge and wpa3_personal and sixg" + """ + The WiFi data plane test is designed to conduct on automatic testing of combinations of station types, + MIMO types, Channel Bandwidths. Traffic types. Traffic direction, Frame sizes etc. It will run a quick + throughput test at every combination of these test variables and plot at the results in a set of + charts to compare performance. The user is allowed to define an intended load as a percentage of the + max theoretical PHY rate for every test combination. + The expected behavior is that for every test combination the achieved throughput should be at least 70% of + the theoretical max PHY rate under ideal test conditions. + Objective of this test plan is to check the throughput on the single station with different frame sizes + in the Bridge mode scenario with WPA3-Personal security. + + Unique Marker: + dataplane_tests and bridge and wpa3_personal and sixg + + Note: + Please refer to the PDF report for detailed observations and analysis of the test results. """ profile_data = {"ssid_name": "wpa3_personal_dataplane_6g", "appliedRadios": ["6G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] diff --git a/tests/e2e/basic/performance_tests/dataplane_throughput_test/wpa3_security/test_nat_mode.py b/tests/e2e/basic/performance_tests/dataplane_throughput_test/wpa3_security/test_nat_mode.py index 6545362baec..6b73127cf0c 100644 --- a/tests/e2e/basic/performance_tests/dataplane_throughput_test/wpa3_security/test_nat_mode.py +++ b/tests/e2e/basic/performance_tests/dataplane_throughput_test/wpa3_security/test_nat_mode.py @@ -48,8 +48,22 @@ def test_tcp_udp_wpa3_personal_nat_2g_band(self, get_test_library, get_dut_logs_ get_test_device_logs, client_type, get_target_object, num_stations, setup_configuration): - """Dataplane THroughput NAT Mode. - pytest -m "dataplane_tests and nat and wpa3_personal and twog" + """ + The WiFi data plane test is designed to conduct on automatic testing of combinations of station types, + MIMO types, Channel Bandwidths. Traffic types. Traffic direction, Frame sizes etc. It will run a quick + throughput test at every combination of these test variables and plot at the results in a set of + charts to compare performance. The user is allowed to define an intended load as a percentage of the + max theoretical PHY rate for every test combination. + The expected behavior is that for every test combination the achieved throughput should be at least 70% of + the theoretical max PHY rate under ideal test conditions. + Objective of this test plan is to check the throughput on the single station with different frame sizes + in the NAT mode scenario with WPA3-Personal security. + + Unique Marker: + dataplane_tests and nat and wpa3_personal and twog + + Note: + Please refer to the PDF report for detailed observations and analysis of the test results. """ profile_data = {"ssid_name": "wpa3_personal_dataplane_2g", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -75,8 +89,22 @@ def test_tcp_udp_wpa3_personal_nat_5g_band(self, get_test_library, get_dut_logs_ get_test_device_logs, client_type, get_target_object, num_stations, setup_configuration): - """Dataplane THroughput NAT Mode - pytest -m "dataplane_tests and nat and wpa3_personal and fiveg" + """ + The WiFi data plane test is designed to conduct on automatic testing of combinations of station types, + MIMO types, Channel Bandwidths. Traffic types. Traffic direction, Frame sizes etc. It will run a quick + throughput test at every combination of these test variables and plot at the results in a set of + charts to compare performance. The user is allowed to define an intended load as a percentage of the + max theoretical PHY rate for every test combination. + The expected behavior is that for every test combination the achieved throughput should be at least 70% of + the theoretical max PHY rate under ideal test conditions. + Objective of this test plan is to check the throughput on the single station with different frame sizes + in the NAT mode scenario with WPA3-Personal security. + + Unique Marker: + dataplane_tests and nat and wpa3_personal and fiveg + + Note: + Please refer to the PDF report for detailed observations and analysis of the test results. """ profile_data = {"ssid_name": "wpa3_personal_dataplane_5g", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -103,8 +131,22 @@ def test_tcp_udp_wpa3_personal_nat_6g_band(self, get_test_library, get_dut_logs_ get_test_device_logs, client_type, get_target_object, num_stations, setup_configuration): - """Dataplane THroughput NAT Mode - pytest -m "dataplane_tests and nat and wpa3_personal and sixg" + """ + The WiFi data plane test is designed to conduct on automatic testing of combinations of station types, + MIMO types, Channel Bandwidths. Traffic types. Traffic direction, Frame sizes etc. It will run a quick + throughput test at every combination of these test variables and plot at the results in a set of + charts to compare performance. The user is allowed to define an intended load as a percentage of the + max theoretical PHY rate for every test combination. + The expected behavior is that for every test combination the achieved throughput should be at least 70% of + the theoretical max PHY rate under ideal test conditions. + Objective of this test plan is to check the throughput on the single station with different frame sizes + in the NAT mode scenario with WPA3-Personal security. + + Unique Marker: + dataplane_tests and nat and wpa3_personal and sixg + + Note: + Please refer to the PDF report for detailed observations and analysis of the test results. """ profile_data = {"ssid_name": "wpa3_personal_dataplane_6g", "appliedRadios": ["6G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] diff --git a/tests/e2e/basic/performance_tests/dataplane_throughput_test/wpa3_security/test_vlan_mode.py b/tests/e2e/basic/performance_tests/dataplane_throughput_test/wpa3_security/test_vlan_mode.py index 41f5af0170a..c476eaef668 100644 --- a/tests/e2e/basic/performance_tests/dataplane_throughput_test/wpa3_security/test_vlan_mode.py +++ b/tests/e2e/basic/performance_tests/dataplane_throughput_test/wpa3_security/test_vlan_mode.py @@ -49,8 +49,22 @@ def test_tcp_udp_wpa3_personal_vlan_2g_band(self, get_test_library, get_dut_logs get_test_device_logs, client_type, get_target_object, num_stations, setup_configuration): - """Dataplane THroughput VLAN Mode - pytest -m "dataplane_tests and vlan and wpa3_personal and twog" + """ + The WiFi data plane test is designed to conduct on automatic testing of combinations of station types, + MIMO types, Channel Bandwidths. Traffic types. Traffic direction, Frame sizes etc. It will run a quick + throughput test at every combination of these test variables and plot at the results in a set of + charts to compare performance. The user is allowed to define an intended load as a percentage of the + max theoretical PHY rate for every test combination. + The expected behavior is that for every test combination the achieved throughput should be at least 70% of + the theoretical max PHY rate under ideal test conditions. + Objective of this test plan is to check the throughput on the single station with different frame sizes + in the VLAN mode scenario with WPA3-Personal security. + + Unique Marker: + dataplane_tests and vlan and wpa3_personal and twog + + Note: + Please refer to the PDF report for detailed observations and analysis of the test results. """ profile_data = {"ssid_name": "wpa3_personal_dataplane_2g", "appliedRadios": ["2G"], "security_key": "something", "vlan": 100} @@ -78,8 +92,22 @@ def test_tcp_udp_wpa3_personal_vlan_5g_band(self, get_test_library, get_dut_logs get_test_device_logs, client_type, get_target_object, num_stations, setup_configuration): - """Dataplane THroughput VLAN Mode - pytest -m "dataplane_tests and vlan and wpa3_personal and fiveg" + """ + The WiFi data plane test is designed to conduct on automatic testing of combinations of station types, + MIMO types, Channel Bandwidths. Traffic types. Traffic direction, Frame sizes etc. It will run a quick + throughput test at every combination of these test variables and plot at the results in a set of + charts to compare performance. The user is allowed to define an intended load as a percentage of the + max theoretical PHY rate for every test combination. + The expected behavior is that for every test combination the achieved throughput should be at least 70% of + the theoretical max PHY rate under ideal test conditions. + Objective of this test plan is to check the throughput on the single station with different frame sizes + in the VLAN mode scenario with WPA3-Personal security. + + Unique Marker: + dataplane_tests and vlan and wpa3_personal and fiveg + + Note: + Please refer to the PDF report for detailed observations and analysis of the test results. """ profile_data = {"ssid_name": "wpa3_personal_dataplane_5g", "appliedRadios": ["2G"], "security_key": "something", "vlan": 100} @@ -106,8 +134,22 @@ def test_tcp_udp_wpa3_personal_vlan_6g_band(self, get_test_library, get_dut_logs get_test_device_logs, client_type, get_target_object, num_stations, setup_configuration): - """Dataplane THroughput VLAN Mode - pytest -m "dataplane_tests and vlan and wpa3_personal and sixg" + """ + The WiFi data plane test is designed to conduct on automatic testing of combinations of station types, + MIMO types, Channel Bandwidths. Traffic types. Traffic direction, Frame sizes etc. It will run a quick + throughput test at every combination of these test variables and plot at the results in a set of + charts to compare performance. The user is allowed to define an intended load as a percentage of the + max theoretical PHY rate for every test combination. + The expected behavior is that for every test combination the achieved throughput should be at least 70% of + the theoretical max PHY rate under ideal test conditions. + Objective of this test plan is to check the throughput on the single station with different frame sizes + in the VLAN mode scenario with WPA3-Personal security. + + Unique Marker: + dataplane_tests and vlan and wpa3_personal and sixg + + Note: + Please refer to the PDF report for detailed observations and analysis of the test results. """ profile_data = {"ssid_name": "wpa3_personal_dataplane_6g", "appliedRadios": ["6G"], "security_key": "something", "vlan": 100} diff --git a/tests/e2e/basic/performance_tests/dataplane_throughput_test/wpa_security/test_bridge_mode.py b/tests/e2e/basic/performance_tests/dataplane_throughput_test/wpa_security/test_bridge_mode.py index 3f3ead4fcd9..098c8fbccc0 100644 --- a/tests/e2e/basic/performance_tests/dataplane_throughput_test/wpa_security/test_bridge_mode.py +++ b/tests/e2e/basic/performance_tests/dataplane_throughput_test/wpa_security/test_bridge_mode.py @@ -46,8 +46,22 @@ def test_tcp_upd_wpa_bridge_2g_band(self, get_test_library, get_dut_logs_per_tes get_test_device_logs, client_type, get_target_object, num_stations, setup_configuration): - """Dataplane THroughput BRIDGE Mode. - pytest -m "dataplane_tests and bridge and wpa and twog" + """ + The WiFi data plane test is designed to conduct on automatic testing of combinations of station types, + MIMO types, Channel Bandwidths. Traffic types. Traffic direction, Frame sizes etc. It will run a quick + throughput test at every combination of these test variables and plot at the results in a set of + charts to compare performance. The user is allowed to define an intended load as a percentage of the + max theoretical PHY rate for every test combination. + The expected behavior is that for every test combination the achieved throughput should be at least 70% of + the theoretical max PHY rate under ideal test conditions. + Objective of this test plan is to check the throughput on the single station with different frame sizes + in the Bridge mode scenario with WPA-Personal security. + + Unique Marker: + dataplane_tests and bridge and wpa and twog + + Note: + Please refer to the PDF report for detailed observations and analysis of the test results. """ profile_data = {"ssid_name": "wpa_dataplane_2g", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -73,8 +87,22 @@ def test_tcp_upd_wpa_bridge_5g_band(self, get_test_library, get_dut_logs_per_tes get_test_device_logs, client_type, get_target_object, num_stations, setup_configuration): - """Dataplane THroughput BRIDGE Mode - pytest -m "dataplane_tests and bridge and wpa and fiveg" + """ + The WiFi data plane test is designed to conduct on automatic testing of combinations of station types, + MIMO types, Channel Bandwidths. Traffic types. Traffic direction, Frame sizes etc. It will run a quick + throughput test at every combination of these test variables and plot at the results in a set of + charts to compare performance. The user is allowed to define an intended load as a percentage of the + max theoretical PHY rate for every test combination. + The expected behavior is that for every test combination the achieved throughput should be at least 70% of + the theoretical max PHY rate under ideal test conditions. + Objective of this test plan is to check the throughput on the single station with different frame sizes + in the Bridge mode scenario with WPA-Personal security. + + Unique Marker: + dataplane_tests and bridge and wpa and fiveg + + Note: + Please refer to the PDF report for detailed observations and analysis of the test results. """ profile_data = {"ssid_name": "wpa_dataplane_5g", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] diff --git a/tests/e2e/basic/performance_tests/dataplane_throughput_test/wpa_security/test_nat_mode.py b/tests/e2e/basic/performance_tests/dataplane_throughput_test/wpa_security/test_nat_mode.py index ce2b0c39dc6..b1d0848e68d 100644 --- a/tests/e2e/basic/performance_tests/dataplane_throughput_test/wpa_security/test_nat_mode.py +++ b/tests/e2e/basic/performance_tests/dataplane_throughput_test/wpa_security/test_nat_mode.py @@ -46,8 +46,22 @@ def test_tcp_upd_wpa_nat_2g_band(self, get_test_library, get_dut_logs_per_test_c get_test_device_logs, client_type, get_target_object, num_stations, setup_configuration): - """Dataplane THroughput NAT Mode. - pytest -m "dataplane_tests and nat and wpa and twog" + """ + The WiFi data plane test is designed to conduct on automatic testing of combinations of station types, + MIMO types, Channel Bandwidths. Traffic types. Traffic direction, Frame sizes etc. It will run a quick + throughput test at every combination of these test variables and plot at the results in a set of + charts to compare performance. The user is allowed to define an intended load as a percentage of the + max theoretical PHY rate for every test combination. + The expected behavior is that for every test combination the achieved throughput should be at least 70% of + the theoretical max PHY rate under ideal test conditions. + Objective of this test plan is to check the throughput on the single station with different frame sizes + in the NAT mode scenario with WPA-Personal security. + + Unique Marker: + dataplane_tests and nat and wpa and twog + + Note: + Please refer to the PDF report for detailed observations and analysis of the test results. """ profile_data = {"ssid_name": "wpa_dataplane_2g", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -73,8 +87,22 @@ def test_tcp_upd_wpa_nat_5g_band(self, get_test_library, get_dut_logs_per_test_c get_test_device_logs, client_type, get_target_object, num_stations, setup_configuration): - """Dataplane THroughput NAT Mode - pytest -m "dataplane_tests and nat and wpa and fiveg" + """ + The WiFi data plane test is designed to conduct on automatic testing of combinations of station types, + MIMO types, Channel Bandwidths. Traffic types. Traffic direction, Frame sizes etc. It will run a quick + throughput test at every combination of these test variables and plot at the results in a set of + charts to compare performance. The user is allowed to define an intended load as a percentage of the + max theoretical PHY rate for every test combination. + The expected behavior is that for every test combination the achieved throughput should be at least 70% of + the theoretical max PHY rate under ideal test conditions. + Objective of this test plan is to check the throughput on the single station with different frame sizes + in the NAT mode scenario with WPA-Personal security. + + Unique Marker: + dataplane_tests and nat and wpa and fiveg + + Note: + Please refer to the PDF report for detailed observations and analysis of the test results. """ profile_data = {"ssid_name": "wpa_dataplane_5g", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] diff --git a/tests/e2e/basic/performance_tests/dataplane_throughput_test/wpa_security/test_vlan_mode.py b/tests/e2e/basic/performance_tests/dataplane_throughput_test/wpa_security/test_vlan_mode.py index 5c5e3f495a2..cf525afc797 100644 --- a/tests/e2e/basic/performance_tests/dataplane_throughput_test/wpa_security/test_vlan_mode.py +++ b/tests/e2e/basic/performance_tests/dataplane_throughput_test/wpa_security/test_vlan_mode.py @@ -45,8 +45,22 @@ def test_tcp_upd_wpa_vlan_2g_band(self, get_test_library, get_dut_logs_per_test_ get_test_device_logs, client_type, get_target_object, num_stations, setup_configuration): - """Dataplane THroughput VLAN Mode - pytest -m "dataplane_tests and vlan and wpa and twog" + """ + The WiFi data plane test is designed to conduct on automatic testing of combinations of station types, + MIMO types, Channel Bandwidths. Traffic types. Traffic direction, Frame sizes etc. It will run a quick + throughput test at every combination of these test variables and plot at the results in a set of + charts to compare performance. The user is allowed to define an intended load as a percentage of the + max theoretical PHY rate for every test combination. + The expected behavior is that for every test combination the achieved throughput should be at least 70% of + the theoretical max PHY rate under ideal test conditions. + Objective of this test plan is to check the throughput on the single station with different frame sizes + in the VLAN mode scenario with WPA-Personal security. + + Unique Marker: + dataplane_tests and vlan and wpa and twog + + Note: + Please refer to the PDF report for detailed observations and analysis of the test results. """ profile_data = {"ssid_name": "wpa_dataplane_2g", "appliedRadios": ["2G"], "security_key": "something", "vlan": 100} ssid_name = profile_data["ssid_name"] @@ -73,8 +87,22 @@ def test_tcp_upd_wpa_vlan_5g_band(self, get_test_library, get_dut_logs_per_test_ get_test_device_logs, client_type, get_target_object, num_stations, setup_configuration): - """Dataplane THroughput VLAN Mode - pytest -m "dataplane_tests and vlan and wpa and fiveg" + """ + The WiFi data plane test is designed to conduct on automatic testing of combinations of station types, + MIMO types, Channel Bandwidths. Traffic types. Traffic direction, Frame sizes etc. It will run a quick + throughput test at every combination of these test variables and plot at the results in a set of + charts to compare performance. The user is allowed to define an intended load as a percentage of the + max theoretical PHY rate for every test combination. + The expected behavior is that for every test combination the achieved throughput should be at least 70% of + the theoretical max PHY rate under ideal test conditions. + Objective of this test plan is to check the throughput on the single station with different frame sizes + in the VLAN mode scenario with WPA-Personal security. + + Unique Marker: + dataplane_tests and vlan and wpa and fiveg + + Note: + Please refer to the PDF report for detailed observations and analysis of the test results. """ profile_data = {"ssid_name": "wpa_dataplane_5g", "appliedRadios": ["5G"], "security_key": "something", "vlan": 100} ssid_name = profile_data["ssid_name"] From 95d2ecd93b89cecdedbc4865d188ca7df55597a1 Mon Sep 17 00:00:00 2001 From: jitendracandela Date: Wed, 10 Apr 2024 16:26:25 +0530 Subject: [PATCH 09/16] Add/Modify: Description and Markers in Client Scale Tests. Signed-off-by: jitendracandela --- .../open/test_bridge_mode.py | 169 +++++++++++-- .../client_scale_test/open/test_nat_mode.py | 156 ++++++++++-- .../wpa2_personal/test_bridge_mode.py | 234 ++++++++++++++--- .../wpa2_personal/test_nat_mode.py | 234 ++++++++++++++--- .../wpa3_personal/test_bridge_mode.py | 236 +++++++++++++++--- .../wpa_personal/test_bridge_mode.py | 156 ++++++++++-- 6 files changed, 1002 insertions(+), 183 deletions(-) diff --git a/tests/e2e/basic/performance_tests/client_scale_test/open/test_bridge_mode.py b/tests/e2e/basic/performance_tests/client_scale_test/open/test_bridge_mode.py index d6b48c7f103..0569a1b8a5e 100644 --- a/tests/e2e/basic/performance_tests/client_scale_test/open/test_bridge_mode.py +++ b/tests/e2e/basic/performance_tests/client_scale_test/open/test_bridge_mode.py @@ -37,8 +37,17 @@ @pytest.mark.twog @pytest.mark.twog_band class TestWifiCapacityBRIDGEMode2G(object): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and open and twog" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and open and twog """ @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-3648", name="WIFI-3648") @@ -47,8 +56,17 @@ class TestWifiCapacityBRIDGEMode2G(object): @allure.title("Test for TCP Download 2.4 GHz") def test_client_open_BRIDGE_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and open and twog and tcp_download" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and open and twog and tcp_download """ profile_data = {"ssid_name": "ssid_open_2g", "appliedRadios": ["2G"]} ssid_name = profile_data["ssid_name"] @@ -66,8 +84,17 @@ def test_client_open_BRIDGE_tcp_dl(self, get_test_library, get_dut_logs_per_test @allure.title("Test for UDP Download 2.4 GHz") def test_client_open_BRIDGE_udp_dl(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and open and twog and udp_download" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and open and twog and udp_download """ profile_data = {"ssid_name": "ssid_open_2g", "appliedRadios": ["2G"]} ssid_name = profile_data["ssid_name"] @@ -86,8 +113,17 @@ def test_client_open_BRIDGE_udp_dl(self, get_test_library, get_dut_logs_per_test def test_client_open_BRIDGE_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and open and twog and tcp_bidirectional" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and open and twog and tcp_bidirectional """ profile_data = {"ssid_name": "ssid_open_2g", "appliedRadios": ["2G"]} ssid_name = profile_data["ssid_name"] @@ -106,8 +142,17 @@ def test_client_open_BRIDGE_tcp_bidirectional(self, get_test_library, get_dut_lo def test_client_open_BRIDGE_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and open and twog and udp_bidirectional" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and open and twog and udp_bidirectional """ profile_data = {"ssid_name": "ssid_open_2g", "appliedRadios": ["2G"]} ssid_name = profile_data["ssid_name"] @@ -125,8 +170,17 @@ def test_client_open_BRIDGE_udp_bidirectional(self, get_test_library, get_dut_lo def test_client_open_bridge_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and open and twog and tcp_upload" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and open and twog and tcp_upload """ profile_data = {"ssid_name": "ssid_open_2g", "appliedRadios": ["2G"]} ssid_name = profile_data["ssid_name"] @@ -144,8 +198,17 @@ def test_client_open_bridge_tcp_ul(self, get_test_library, get_dut_logs_per_test def test_client_open_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and open and twog and udp_upload" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and open and twog and udp_upload """ profile_data = {"ssid_name": "ssid_open_2g", "appliedRadios": ["2G"]} ssid_name = profile_data["ssid_name"] @@ -196,8 +259,17 @@ class TestWifiCapacityBRIDGEMode5G(object): def test_client_open_BRIDGE_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and open and fiveg and tcp_download" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and open and fiveg and tcp_download """ profile_data = {"ssid_name": "ssid_open_5g", "appliedRadios": ["5G"]} ssid_name = profile_data["ssid_name"] @@ -217,8 +289,17 @@ def test_client_open_BRIDGE_tcp_dl(self, get_test_library, get_dut_logs_per_test def test_client_open_BRIDGE_udp_dl(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and open and fiveg and udp_download" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and open and fiveg and udp_download """ profile_data = {"ssid_name": "ssid_open_5g", "appliedRadios": ["5G"]} ssid_name = profile_data["ssid_name"] @@ -237,8 +318,17 @@ def test_client_open_BRIDGE_udp_dl(self, get_test_library, get_dut_logs_per_test def test_client_open_BRIDGE_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and open and fiveg and tcp_bidirectional" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and open and fiveg and tcp_bidirectional """ profile_data = {"ssid_name": "ssid_open_5g", "appliedRadios": ["5G"]} ssid_name = profile_data["ssid_name"] @@ -257,8 +347,17 @@ def test_client_open_BRIDGE_tcp_bidirectional(self, get_test_library, get_dut_lo def test_client_open_BRIDGE_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and open and fiveg and udp_bidirectional" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and open and fiveg and udp_bidirectional """ profile_data = {"ssid_name": "ssid_open_5g", "appliedRadios": ["5G"]} ssid_name = profile_data["ssid_name"] @@ -276,8 +375,17 @@ def test_client_open_BRIDGE_udp_bidirectional(self, get_test_library, get_dut_lo def test_client_open_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and open and fiveg and udp_upload" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and open and fiveg and udp_upload """ profile_data = {"ssid_name": "ssid_open_5g", "appliedRadios": ["5G"]} ssid_name = profile_data["ssid_name"] @@ -295,8 +403,17 @@ def test_client_open_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test def test_client_open_bridge_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and open and fiveg and tcp_upload" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and open and fiveg and tcp_upload """ profile_data = {"ssid_name": "ssid_open_5g", "appliedRadios": ["5G"]} ssid_name = profile_data["ssid_name"] diff --git a/tests/e2e/basic/performance_tests/client_scale_test/open/test_nat_mode.py b/tests/e2e/basic/performance_tests/client_scale_test/open/test_nat_mode.py index 50bd6aa593c..5e46d33fdab 100644 --- a/tests/e2e/basic/performance_tests/client_scale_test/open/test_nat_mode.py +++ b/tests/e2e/basic/performance_tests/client_scale_test/open/test_nat_mode.py @@ -47,8 +47,17 @@ class TestWifiCapacityNATMode2G(object): @allure.title("Test for TCP Download 2.4 GHz") def test_client_open_NAT_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test NAT mode - pytest -m "client_scale_tests and nat and open and twog and tcp_download" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and nat and open and twog and tcp_download """ profile_data = {"ssid_name": "ssid_open_2g", "appliedRadios": ["2G"]} ssid_name = profile_data["ssid_name"] @@ -66,8 +75,17 @@ def test_client_open_NAT_tcp_dl(self, get_test_library, get_dut_logs_per_test_ca @allure.title("Test for UDP Download 2.4 GHz") def test_client_open_NAT_udp_dl(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test NAT mode - pytest -m "client_scale_tests and nat and open and twog and udp_download" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and nat and open and twog and udp_download """ profile_data = {"ssid_name": "ssid_open_2g", "appliedRadios": ["2G"]} ssid_name = profile_data["ssid_name"] @@ -86,8 +104,17 @@ def test_client_open_NAT_udp_dl(self, get_test_library, get_dut_logs_per_test_ca def test_client_open_NAT_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test NAT mode - pytest -m "client_scale_tests and nat and open and twog and tcp_bidirectional" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and nat and open and twog and tcp_bidirectional """ profile_data = {"ssid_name": "ssid_open_2g", "appliedRadios": ["2G"]} ssid_name = profile_data["ssid_name"] @@ -106,8 +133,17 @@ def test_client_open_NAT_tcp_bidirectional(self, get_test_library, get_dut_logs_ def test_client_open_NAT_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test NAT mode - pytest -m "client_scale_tests and nat and open and twog and udp_bidirectional" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and nat and open and twog and udp_bidirectional """ profile_data = {"ssid_name": "ssid_open_2g", "appliedRadios": ["2G"]} ssid_name = profile_data["ssid_name"] @@ -125,8 +161,17 @@ def test_client_open_NAT_udp_bidirectional(self, get_test_library, get_dut_logs_ def test_client_open_NAT_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test NAT mode - pytest -m "client_scale_tests and nat and open and twog and tcp_upload" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and nat and open and twog and tcp_upload """ profile_data = {"ssid_name": "ssid_open_2g", "appliedRadios": ["2G"]} ssid_name = profile_data["ssid_name"] @@ -144,8 +189,17 @@ def test_client_open_NAT_tcp_ul(self, get_test_library, get_dut_logs_per_test_ca def test_client_open_NAT_udp_ul(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test NAT mode - pytest -m "client_scale_tests and nat and open and twog and udp_upload" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and nat and open and twog and udp_upload """ profile_data = {"ssid_name": "ssid_open_2g", "appliedRadios": ["2G"]} ssid_name = profile_data["ssid_name"] @@ -196,8 +250,17 @@ class TestWifiCapacityNATMode5G(object): def test_client_open_NAT_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test NAT mode - pytest -m "client_scale_tests and nat and open and fiveg and tcp_download" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and nat and open and fiveg and tcp_download """ profile_data = {"ssid_name": "ssid_open_5g", "appliedRadios": ["5G"]} ssid_name = profile_data["ssid_name"] @@ -217,8 +280,17 @@ def test_client_open_NAT_tcp_dl(self, get_test_library, get_dut_logs_per_test_ca def test_client_open_NAT_udp_dl(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test NAT mode - pytest -m "client_scale_tests and nat and open and fiveg and udp_download" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and nat and open and fiveg and udp_download """ profile_data = {"ssid_name": "ssid_open_5g", "appliedRadios": ["5G"]} ssid_name = profile_data["ssid_name"] @@ -237,8 +309,17 @@ def test_client_open_NAT_udp_dl(self, get_test_library, get_dut_logs_per_test_ca def test_client_open_NAT_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test NAT mode - pytest -m "client_scale_tests and nat and open and fiveg and tcp_bidirectional" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and nat and open and fiveg and tcp_bidirectional """ profile_data = {"ssid_name": "ssid_open_5g", "appliedRadios": ["5G"]} ssid_name = profile_data["ssid_name"] @@ -257,8 +338,17 @@ def test_client_open_NAT_tcp_bidirectional(self, get_test_library, get_dut_logs_ def test_client_open_NAT_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test NAT mode - pytest -m "client_scale_tests and nat and open and fiveg and udp_bidirectional" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and nat and open and fiveg and udp_bidirectional """ profile_data = {"ssid_name": "ssid_open_5g", "appliedRadios": ["5G"]} ssid_name = profile_data["ssid_name"] @@ -276,8 +366,17 @@ def test_client_open_NAT_udp_bidirectional(self, get_test_library, get_dut_logs_ def test_client_open_NAT_udp_ul(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test NAT mode - pytest -m "client_scale_tests and nat and open and fiveg and udp_upload" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and nat and open and fiveg and udp_upload """ profile_data = {"ssid_name": "ssid_open_5g", "appliedRadios": ["5G"]} ssid_name = profile_data["ssid_name"] @@ -295,8 +394,17 @@ def test_client_open_NAT_udp_ul(self, get_test_library, get_dut_logs_per_test_ca def test_client_open_NAT_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test NAT mode - pytest -m "client_scale_tests and nat and open and fiveg and tcp_upload" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and nat and open and fiveg and tcp_upload """ profile_data = {"ssid_name": "ssid_open_5g", "appliedRadios": ["5G"]} ssid_name = profile_data["ssid_name"] diff --git a/tests/e2e/basic/performance_tests/client_scale_test/wpa2_personal/test_bridge_mode.py b/tests/e2e/basic/performance_tests/client_scale_test/wpa2_personal/test_bridge_mode.py index 349ea5dd91a..694a2c961c6 100644 --- a/tests/e2e/basic/performance_tests/client_scale_test/wpa2_personal/test_bridge_mode.py +++ b/tests/e2e/basic/performance_tests/client_scale_test/wpa2_personal/test_bridge_mode.py @@ -47,8 +47,17 @@ class TestWifiCapacityBRIDGEMode2G(object): @allure.title("Test for TCP Download 2.4 GHz") def test_client_wpa2_BRIDGE_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and wpa2_personal and twog and tcp_download" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and wpa2_personal and twog and tcp_download """ profile_data = {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -66,8 +75,17 @@ def test_client_wpa2_BRIDGE_tcp_dl(self, get_test_library, get_dut_logs_per_test @allure.title("Test for UDP Download 2.4 GHz") def test_client_wpa2_BRIDGE_udp_dl(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and wpa2_personal and twog and udp_download" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and wpa2_personal and twog and udp_download """ profile_data = {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -86,8 +104,17 @@ def test_client_wpa2_BRIDGE_udp_dl(self, get_test_library, get_dut_logs_per_test def test_client_wpa2_BRIDGE_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and wpa2_personal and twog and tcp_bidirectional" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and wpa2_personal and twog and tcp_bidirectional """ profile_data = {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -106,8 +133,17 @@ def test_client_wpa2_BRIDGE_tcp_bidirectional(self, get_test_library, get_dut_lo def test_client_wpa2_BRIDGE_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and wpa2_personal and twog and udp_bidirectional" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and wpa2_personal and twog and udp_bidirectional """ profile_data = {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -126,8 +162,17 @@ def test_client_wpa2_BRIDGE_udp_bidirectional(self, get_test_library, get_dut_lo def test_client_wpa2_bridge_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and wpa2_personal and twog and tcp_upload" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and wpa2_personal and twog and tcp_upload """ profile_data = {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -146,8 +191,17 @@ def test_client_wpa2_bridge_tcp_ul(self, get_test_library, get_dut_logs_per_test def test_client_wpa2_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and wpa2_personal and twog and udp_upload" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and wpa2_personal and twog and udp_upload """ profile_data = {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -198,8 +252,17 @@ class TestWifiCapacityBRIDGEMode5G(object): def test_client_wpa2_BRIDGE_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and wpa2_personal and fiveg and tcp_download" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and wpa2_personal and fiveg and tcp_download """ profile_data = {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -219,8 +282,17 @@ def test_client_wpa2_BRIDGE_tcp_dl(self, get_test_library, get_dut_logs_per_test def test_client_wpa2_BRIDGE_udp_dl(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and wpa2_personal and fiveg and udp_download" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and wpa2_personal and fiveg and udp_download """ profile_data = {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -239,8 +311,17 @@ def test_client_wpa2_BRIDGE_udp_dl(self, get_test_library, get_dut_logs_per_test def test_client_wpa2_BRIDGE_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and wpa2_personal and fiveg and tcp_bidirectional" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and wpa2_personal and fiveg and tcp_bidirectional """ profile_data = {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -259,8 +340,17 @@ def test_client_wpa2_BRIDGE_tcp_bidirectional(self, get_test_library, get_dut_lo def test_client_wpa2_BRIDGE_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and wpa2_personal and fiveg and udp_bidirectional" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and wpa2_personal and fiveg and udp_bidirectional """ profile_data = {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -278,8 +368,17 @@ def test_client_wpa2_BRIDGE_udp_bidirectional(self, get_test_library, get_dut_lo def test_client_wpa2_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and wpa2_personal and fiveg and udp_upload" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and wpa2_personal and fiveg and udp_upload """ profile_data = {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -297,8 +396,17 @@ def test_client_wpa2_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test def test_client_wpa2_bridge_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and wpa2_personal and fiveg and tcp_upload" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and wpa2_personal and fiveg and tcp_upload """ profile_data = {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -350,8 +458,17 @@ class TestWifiCapacityBRIDGEModeDual(object): @allure.title("Test for TCP Download 2.4 GHz and 5 GHz") def test_client_wpa2_BRIDGE_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and wpa2_personal and dual_band and tcp_download" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and wpa2_personal and dual_band and tcp_download """ profile_data = {"ssid_name": "ssid_wpa2_dual_band", "appliedRadios": ["2G", "5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -369,8 +486,17 @@ def test_client_wpa2_BRIDGE_tcp_dl(self, get_test_library, get_dut_logs_per_test @allure.title("Test for UDP Download 2.4 GHz and 5 GHz") def test_client_wpa2_BRIDGE_udp_dl(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and wpa2_personal and dual_band and udp_download" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and wpa2_personal and dual_band and udp_download """ profile_data = {"ssid_name": "ssid_wpa2_dual_band", "appliedRadios": ["2G", "5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -389,8 +515,17 @@ def test_client_wpa2_BRIDGE_udp_dl(self, get_test_library, get_dut_logs_per_test def test_client_wpa2_BRIDGE_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and wpa2_personal and dual_band and tcp_bidirectional" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and wpa2_personal and dual_band and tcp_bidirectional """ profile_data = {"ssid_name": "ssid_wpa2_dual_band", "appliedRadios": ["2G", "5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -409,8 +544,17 @@ def test_client_wpa2_BRIDGE_tcp_bidirectional(self, get_test_library, get_dut_lo def test_client_wpa2_BRIDGE_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and wpa2_personal and dual_band and udp_bidirectional" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and wpa2_personal and dual_band and udp_bidirectional """ profile_data = {"ssid_name": "ssid_wpa2_dual_band", "appliedRadios": ["2G", "5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -429,8 +573,17 @@ def test_client_wpa2_BRIDGE_udp_bidirectional(self, get_test_library, get_dut_lo def test_client_wpa2_bridge_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and wpa2_personal and dual_band and tcp_upload" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and wpa2_personal and dual_band and tcp_upload """ profile_data = {"ssid_name": "ssid_wpa2_dual_band", "appliedRadios": ["2G", "5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -449,8 +602,17 @@ def test_client_wpa2_bridge_tcp_ul(self, get_test_library, get_dut_logs_per_test def test_client_wpa2_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and wpa2_personal and dual_band and udp_upload" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and wpa2_personal and dual_band and udp_upload """ profile_data = {"ssid_name": "ssid_wpa2_dual_band", "appliedRadios": ["2G", "5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] diff --git a/tests/e2e/basic/performance_tests/client_scale_test/wpa2_personal/test_nat_mode.py b/tests/e2e/basic/performance_tests/client_scale_test/wpa2_personal/test_nat_mode.py index b5241dd9fc5..c44c00fa0c4 100644 --- a/tests/e2e/basic/performance_tests/client_scale_test/wpa2_personal/test_nat_mode.py +++ b/tests/e2e/basic/performance_tests/client_scale_test/wpa2_personal/test_nat_mode.py @@ -47,8 +47,17 @@ class TestWifiCapacityNATMode2G(object): @allure.title("Test for TCP Download 2.4 GHz") def test_client_wpa2_NAT_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test NAT mode - pytest -m "client_scale_tests and nat and wpa2_personal and twog and tcp_download" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and nat and wpa2_personal and twog and tcp_download """ profile_data = {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -66,8 +75,17 @@ def test_client_wpa2_NAT_tcp_dl(self, get_test_library, get_dut_logs_per_test_ca @allure.title("Test for UDP Download 2.4 GHz") def test_client_wpa2_NAT_udp_dl(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test NAT mode - pytest -m "client_scale_tests and nat and wpa2_personal and twog and udp_download" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and nat and wpa2_personal and twog and udp_download """ profile_data = {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -86,8 +104,17 @@ def test_client_wpa2_NAT_udp_dl(self, get_test_library, get_dut_logs_per_test_ca def test_client_wpa2_NAT_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test NAT mode - pytest -m "client_scale_tests and nat and wpa2_personal and twog and tcp_bidirectional" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and nat and wpa2_personal and twog and tcp_bidirectional """ profile_data = {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -106,8 +133,17 @@ def test_client_wpa2_NAT_tcp_bidirectional(self, get_test_library, get_dut_logs_ def test_client_wpa2_NAT_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test NAT mode - pytest -m "client_scale_tests and nat and wpa2_personal and twog and udp_bidirectional" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and nat and wpa2_personal and twog and udp_bidirectional """ profile_data = {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -126,8 +162,17 @@ def test_client_wpa2_NAT_udp_bidirectional(self, get_test_library, get_dut_logs_ def test_client_wpa2_NAT_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test NAT mode - pytest -m "client_scale_tests and nat and wpa2_personal and twog and tcp_upload" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and nat and wpa2_personal and twog and tcp_upload """ profile_data = {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -146,8 +191,17 @@ def test_client_wpa2_NAT_tcp_ul(self, get_test_library, get_dut_logs_per_test_ca def test_client_wpa2_NAT_udp_ul(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test NAT mode - pytest -m "client_scale_tests and nat and wpa2_personal and twog and udp_upload" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and nat and wpa2_personal and twog and udp_upload """ profile_data = {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -198,8 +252,17 @@ class TestWifiCapacityNATMode5G(object): def test_client_wpa2_NAT_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test NAT mode - pytest -m "client_scale_tests and nat and wpa2_personal and fiveg and tcp_download" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and nat and wpa2_personal and fiveg and tcp_download """ profile_data = {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -219,8 +282,17 @@ def test_client_wpa2_NAT_tcp_dl(self, get_test_library, get_dut_logs_per_test_ca def test_client_wpa2_NAT_udp_dl(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test NAT mode - pytest -m "client_scale_tests and nat and wpa2_personal and fiveg and udp_download" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and nat and wpa2_personal and fiveg and udp_download """ profile_data = {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -239,8 +311,17 @@ def test_client_wpa2_NAT_udp_dl(self, get_test_library, get_dut_logs_per_test_ca def test_client_wpa2_NAT_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test NAT mode - pytest -m "client_scale_tests and nat and wpa2_personal and fiveg and tcp_bidirectional" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and nat and wpa2_personal and fiveg and tcp_bidirectional """ profile_data = {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -259,8 +340,17 @@ def test_client_wpa2_NAT_tcp_bidirectional(self, get_test_library, get_dut_logs_ def test_client_wpa2_NAT_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test NAT mode - pytest -m "client_scale_tests and nat and wpa2_personal and fiveg and udp_bidirectional" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and nat and wpa2_personal and fiveg and udp_bidirectional """ profile_data = {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -278,8 +368,17 @@ def test_client_wpa2_NAT_udp_bidirectional(self, get_test_library, get_dut_logs_ def test_client_wpa2_NAT_udp_ul(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test NAT mode - pytest -m "client_scale_tests and nat and wpa2_personal and fiveg and udp_upload" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and nat and wpa2_personal and fiveg and udp_upload """ profile_data = {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -297,8 +396,17 @@ def test_client_wpa2_NAT_udp_ul(self, get_test_library, get_dut_logs_per_test_ca def test_client_wpa2_NAT_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test NAT mode - pytest -m "client_scale_tests and nat and wpa2_personal and fiveg and tcp_upload" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and nat and wpa2_personal and fiveg and tcp_upload """ profile_data = {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -350,8 +458,17 @@ class TestWifiCapacityNATModeDual(object): @allure.title("Test for TCP Download 2.4 GHz and 5 GHz") def test_client_wpa2_NAT_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test NAT mode - pytest -m "client_scale_tests and nat and wpa2_personal and dual_band and tcp_download" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and nat and wpa2_personal and dual_band and tcp_download """ profile_data = {"ssid_name": "ssid_wpa2_dual_band", "appliedRadios": ["2G", "5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -369,8 +486,17 @@ def test_client_wpa2_NAT_tcp_dl(self, get_test_library, get_dut_logs_per_test_ca @allure.title("Test for UDP Download 2.4 GHz and 5 GHz") def test_client_wpa2_NAT_udp_dl(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test NAT mode - pytest -m "client_scale_tests and nat and wpa2_personal and dual_band and udp_download" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and nat and wpa2_personal and dual_band and udp_download """ profile_data = {"ssid_name": "ssid_wpa2_dual_band", "appliedRadios": ["2G", "5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -389,8 +515,17 @@ def test_client_wpa2_NAT_udp_dl(self, get_test_library, get_dut_logs_per_test_ca def test_client_wpa2_NAT_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test NAT mode - pytest -m "client_scale_tests and nat and wpa2_personal and dual_band and tcp_bidirectional" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and nat and wpa2_personal and dual_band and tcp_bidirectional """ profile_data = {"ssid_name": "ssid_wpa2_dual_band", "appliedRadios": ["2G", "5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -409,8 +544,17 @@ def test_client_wpa2_NAT_tcp_bidirectional(self, get_test_library, get_dut_logs_ def test_client_wpa2_NAT_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test NAT mode - pytest -m "client_scale_tests and nat and wpa2_personal and dual_band and udp_bidirectional" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and nat and wpa2_personal and dual_band and udp_bidirectional """ profile_data = {"ssid_name": "ssid_wpa2_dual_band", "appliedRadios": ["2G", "5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -429,8 +573,17 @@ def test_client_wpa2_NAT_udp_bidirectional(self, get_test_library, get_dut_logs_ def test_client_wpa2_NAT_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test NAT mode - pytest -m "client_scale_tests and nat and wpa2_personal and dual_band and tcp_upload" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and nat and wpa2_personal and dual_band and tcp_upload """ profile_data = {"ssid_name": "ssid_wpa2_dual_band", "appliedRadios": ["2G", "5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -449,8 +602,17 @@ def test_client_wpa2_NAT_tcp_ul(self, get_test_library, get_dut_logs_per_test_ca def test_client_wpa2_NAT_udp_ul(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test NAT mode - pytest -m "client_scale_tests and nat and wpa2_personal and dual_band and udp_upload" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and nat and wpa2_personal and dual_band and udp_upload """ profile_data = {"ssid_name": "ssid_wpa2_dual_band", "appliedRadios": ["2G", "5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] diff --git a/tests/e2e/basic/performance_tests/client_scale_test/wpa3_personal/test_bridge_mode.py b/tests/e2e/basic/performance_tests/client_scale_test/wpa3_personal/test_bridge_mode.py index acd9c2cb8dd..683516a78d8 100644 --- a/tests/e2e/basic/performance_tests/client_scale_test/wpa3_personal/test_bridge_mode.py +++ b/tests/e2e/basic/performance_tests/client_scale_test/wpa3_personal/test_bridge_mode.py @@ -47,8 +47,17 @@ class TestWifiCapacityBRIDGEMode2G(object): @allure.title("Test for TCP Download 2.4 GHz") def test_client_wpa3_bridge_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and wpa3_personal and twog and tcp_download" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and wpa3_personal and twog and tcp_download """ profile_data = {"ssid_name": "ssid_wpa3_2g", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -65,8 +74,17 @@ def test_client_wpa3_bridge_tcp_dl(self, get_test_library, get_dut_logs_per_test @allure.title("Test for TCP Upload 2.4 GHz") def test_client_wpa3_bridge_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and wpa3_personal and twog and tcp_upload" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and wpa3_personal and twog and tcp_upload """ profile_data = {"ssid_name": "ssid_wpa3_2g", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -83,8 +101,17 @@ def test_client_wpa3_bridge_tcp_ul(self, get_test_library, get_dut_logs_per_test @allure.title("Test for UDP Upload 2.4 GHz") def test_client_wpa3_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and wpa3_personal and twog and udp_upload" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and wpa3_personal and twog and udp_upload """ profile_data = {"ssid_name": "ssid_wpa3_2g", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -102,9 +129,18 @@ def test_client_wpa3_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test @allure.title("Test for UDP Download 2.4 GHz") def test_client_wpa3_bridge_udp_dl(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and wpa3_personal and twog and udp_download" - """ + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and wpa3_personal and twog and udp_download + """ profile_data = {"ssid_name": "ssid_wpa3_2g", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] mode = "BRIDGE" @@ -122,8 +158,17 @@ def test_client_wpa3_bridge_udp_dl(self, get_test_library, get_dut_logs_per_test def test_client_wpa3_bridge_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and wpa3_personal and twog and tcp_bidirectional" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and wpa3_personal and twog and tcp_bidirectional """ profile_data = {"ssid_name": "ssid_wpa3_2g", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -142,8 +187,17 @@ def test_client_wpa3_bridge_tcp_bidirectional(self, get_test_library, get_dut_lo def test_client_wpa3_bridge_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and wpa3_personal and twog and udp_bidirectional" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and wpa3_personal and twog and udp_bidirectional """ profile_data = {"ssid_name": "ssid_wpa3_2g", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -193,8 +247,17 @@ class TestWifiCapacityBRIDGEMode5G(object): @allure.title("Test for TCP Download 5 GHz") def test_client_wpa3_bridge_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and wpa3_personal and fiveg and tcp_download" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and wpa3_personal and fiveg and tcp_download """ profile_data = {"ssid_name": "ssid_wpa3_5g", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -212,8 +275,17 @@ def test_client_wpa3_bridge_tcp_dl(self, get_test_library, get_dut_logs_per_test @allure.title("Test for UDP Download 5 GHz") def test_client_wpa3_bridge_udp_dl(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and wpa3_personal and fiveg and udp_download" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and wpa3_personal and fiveg and udp_download """ profile_data = {"ssid_name": "ssid_wpa3_5g", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -232,8 +304,17 @@ def test_client_wpa3_bridge_udp_dl(self, get_test_library, get_dut_logs_per_test def test_client_wpa3_bridge_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and wpa3_personal and fiveg and tcp_bidirectional" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and wpa3_personal and fiveg and tcp_bidirectional """ profile_data = {"ssid_name": "ssid_wpa3_5g", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -252,8 +333,17 @@ def test_client_wpa3_bridge_tcp_bidirectional(self, get_test_library, get_dut_lo def test_client_wpa3_bridge_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and wpa3_personal and fiveg and udp_bidirectional" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and wpa3_personal and fiveg and udp_bidirectional """ profile_data = {"ssid_name": "ssid_wpa3_5g", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -270,8 +360,17 @@ def test_client_wpa3_bridge_udp_bidirectional(self, get_test_library, get_dut_lo @allure.title("Test for TCP Upload 5 GHz") def test_client_wpa3_bridge_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and wpa3_personal and fiveg and tcp_upload" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and wpa3_personal and fiveg and tcp_upload """ profile_data = {"ssid_name": "ssid_wpa3_5g", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -288,8 +387,17 @@ def test_client_wpa3_bridge_tcp_ul(self, get_test_library, get_dut_logs_per_test @allure.title("Test for UDP Upload 5 GHz") def test_client_wpa3_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and wpa3_personal and fiveg and udp_upload" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and wpa3_personal and fiveg and udp_upload """ profile_data = {"ssid_name": "ssid_wpa3_5g", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -340,8 +448,17 @@ class TestWifiCapacityBRIDGEMode6G(object): @allure.title("Test for TCP Download 6 GHz") def test_client_wpa3_bridge_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and wpa3_personal and sixg and tcp_download" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and wpa3_personal and sixg and tcp_download """ profile_data = {"ssid_name": "ssid_wpa3_6g", "appliedRadios": ["6G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -360,8 +477,17 @@ def test_client_wpa3_bridge_tcp_dl(self, get_test_library, get_dut_logs_per_test @allure.title("Test for UDP Download 6 GHz") def test_client_wpa3_bridge_udp_dl(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and wpa3_personal and sixg and udp_download" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and wpa3_personal and sixg and udp_download """ profile_data = {"ssid_name": "ssid_wpa3_6g", "appliedRadios": ["6G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -381,8 +507,17 @@ def test_client_wpa3_bridge_udp_dl(self, get_test_library, get_dut_logs_per_test def test_client_wpa3_bridge_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and wpa3_personal and sixg and tcp_bidirectional" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and wpa3_personal and sixg and tcp_bidirectional """ profile_data = {"ssid_name": "ssid_wpa3_6g", "appliedRadios": ["6G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -402,8 +537,17 @@ def test_client_wpa3_bridge_tcp_bidirectional(self, get_test_library, get_dut_lo def test_client_wpa3_bridge_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and wpa3_personal and sixg and udp_bidirectional" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and wpa3_personal and sixg and udp_bidirectional """ profile_data = {"ssid_name": "ssid_wpa3_6g", "appliedRadios": ["6G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -421,8 +565,17 @@ def test_client_wpa3_bridge_udp_bidirectional(self, get_test_library, get_dut_lo @allure.title("Test for TCP Upload 6 GHz") def test_client_wpa3_bridge_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and wpa3_personal and sixg and tcp_upload" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and wpa3_personal and sixg and tcp_upload """ profile_data = {"ssid_name": "ssid_wpa3_6g", "appliedRadios": ["6G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -440,8 +593,17 @@ def test_client_wpa3_bridge_tcp_ul(self, get_test_library, get_dut_logs_per_test @allure.title("Test for UDP Upload 6 GHz") def test_client_wpa3_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and wpa3_personal and sixg and udp_upload" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and wpa3_personal and sixg and udp_upload """ profile_data = {"ssid_name": "ssid_wpa3_6g", "appliedRadios": ["6G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] diff --git a/tests/e2e/basic/performance_tests/client_scale_test/wpa_personal/test_bridge_mode.py b/tests/e2e/basic/performance_tests/client_scale_test/wpa_personal/test_bridge_mode.py index 8894115ac86..2aca78d18fa 100644 --- a/tests/e2e/basic/performance_tests/client_scale_test/wpa_personal/test_bridge_mode.py +++ b/tests/e2e/basic/performance_tests/client_scale_test/wpa_personal/test_bridge_mode.py @@ -47,8 +47,17 @@ class TestWifiCapacityBRIDGEMode2G(object): @allure.title("Test for TCP Download 2.4 GHz") def test_client_wpa_BRIDGE_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and wpa_personal and twog and tcp_download" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and wpa_personal and twog and tcp_download """ profile_data = {"ssid_name": "ssid_wpa_2g", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -66,8 +75,17 @@ def test_client_wpa_BRIDGE_tcp_dl(self, get_test_library, get_dut_logs_per_test_ @allure.title("Test for UDP Download 2.4 GHz") def test_client_wpa_BRIDGE_udp_dl(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and wpa_personal and twog and udp_download" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and wpa_personal and twog and udp_download """ profile_data = {"ssid_name": "ssid_wpa_2g", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -86,8 +104,17 @@ def test_client_wpa_BRIDGE_udp_dl(self, get_test_library, get_dut_logs_per_test_ def test_client_wpa_BRIDGE_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and wpa_personal and twog and tcp_bidirectional" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and wpa_personal and twog and tcp_bidirectional """ profile_data = {"ssid_name": "ssid_wpa_2g", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -106,8 +133,17 @@ def test_client_wpa_BRIDGE_tcp_bidirectional(self, get_test_library, get_dut_log def test_client_wpa_BRIDGE_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and wpa_personal and twog and udp_bidirectional" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and wpa_personal and twog and udp_bidirectional """ profile_data = {"ssid_name": "ssid_wpa_2g", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -125,8 +161,17 @@ def test_client_wpa_BRIDGE_udp_bidirectional(self, get_test_library, get_dut_log def test_client_wpa_bridge_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and wpa_personal and twog and tcp_upload" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and wpa_personal and twog and tcp_upload """ profile_data = {"ssid_name": "ssid_wpa_2g", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -144,8 +189,17 @@ def test_client_wpa_bridge_tcp_ul(self, get_test_library, get_dut_logs_per_test_ def test_client_wpa_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and wpa_personal and twog and udp_upload" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and wpa_personal and twog and udp_upload """ profile_data = {"ssid_name": "ssid_wpa_2g", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -196,8 +250,17 @@ class TestWifiCapacityBRIDGEMode5G(object): def test_client_wpa_BRIDGE_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and wpa_personal and fiveg and tcp_download" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and wpa_personal and fiveg and tcp_download """ profile_data = {"ssid_name": "ssid_wpa_5g", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -217,8 +280,17 @@ def test_client_wpa_BRIDGE_tcp_dl(self, get_test_library, get_dut_logs_per_test_ def test_client_wpa_BRIDGE_udp_dl(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and wpa_personal and fiveg and udp_download" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and wpa_personal and fiveg and udp_download """ profile_data = {"ssid_name": "ssid_wpa_5g", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -237,8 +309,17 @@ def test_client_wpa_BRIDGE_udp_dl(self, get_test_library, get_dut_logs_per_test_ def test_client_wpa_BRIDGE_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and wpa_personal and fiveg and tcp_bidirectional" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and wpa_personal and fiveg and tcp_bidirectional """ profile_data = {"ssid_name": "ssid_wpa_5g", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -257,8 +338,17 @@ def test_client_wpa_BRIDGE_tcp_bidirectional(self, get_test_library, get_dut_log def test_client_wpa_BRIDGE_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and wpa_personal and fiveg and udp_bidirectional" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and wpa_personal and fiveg and udp_bidirectional """ profile_data = {"ssid_name": "ssid_wpa_5g", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -276,8 +366,17 @@ def test_client_wpa_BRIDGE_udp_bidirectional(self, get_test_library, get_dut_log def test_client_wpa_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and wpa_personal and fiveg and udp_upload" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and wpa_personal and fiveg and udp_upload """ profile_data = {"ssid_name": "ssid_wpa_5g", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] @@ -295,8 +394,17 @@ def test_client_wpa_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_ def test_client_wpa_bridge_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, max_stations): - """ Client Scale Test BRIDGE mode - pytest -m "client_scale_tests and bridge and wpa_personal and fiveg and tcp_upload" + """ + The WiFi Capacity test is designed to measure the performance of an Access Point when handling different + amounts of WiFi Stations. The test allows the user to increase the number of stations in user-defined steps + for each test iteration and measure the per station and the overall throughput for each trial. Along with + throughput other measurements made are client connection times, Fairness, % packet loss, DHCP times, and more. + The expected behavior is for the AP to be able to handle several stations (within the limitations of the AP + specs) and make sure all stations get a fair amount of airtime both upstream and downstream. An AP that + scales well will not show a significant overall throughput decrease as more stations are added. + + Unique Marker: + client_scale_tests and bridge and wpa_personal and fiveg and tcp_upload """ profile_data = {"ssid_name": "ssid_wpa_5g", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] From ad07798f1cb3703b210d0783c7f919b16799bc7b Mon Sep 17 00:00:00 2001 From: jitendracandela Date: Thu, 11 Apr 2024 15:29:54 +0530 Subject: [PATCH 10/16] Add/Fix: Unique Markers to Multi-PSK Tests. Signed-off-by: jitendracandela --- .../wpa2_security/test_multipsk_basic_wpa2.py | 15 +++++++++------ .../wpa_security/test_multipsk_basic_wpa.py | 16 ++++++++-------- .../wpa2_security/test_multipsk_basic_wpa2.py | 14 ++++++++------ .../wpa_security/test_multipsk_basic_wpa.py | 14 ++++++++------ 4 files changed, 33 insertions(+), 26 deletions(-) diff --git a/tests/e2e/basic/validation_of_operating_modes/bridge_mode/multi_psk/wpa2_security/test_multipsk_basic_wpa2.py b/tests/e2e/basic/validation_of_operating_modes/bridge_mode/multi_psk/wpa2_security/test_multipsk_basic_wpa2.py index 42efd5b8971..713a707f1c5 100644 --- a/tests/e2e/basic/validation_of_operating_modes/bridge_mode/multi_psk/wpa2_security/test_multipsk_basic_wpa2.py +++ b/tests/e2e/basic/validation_of_operating_modes/bridge_mode/multi_psk/wpa2_security/test_multipsk_basic_wpa2.py @@ -48,19 +48,20 @@ indirect=True, scope="class" ) +@pytest.mark.wpa2 @pytest.mark.usefixtures("setup_configuration") class TestMultipskBridgeWPA2(object): @pytest.mark.vlan1 - @pytest.mark.ow_sanity_lf - @pytest.mark.wpa2 @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-3493", name="WIFI-3493") @allure.title("Test for Client Connect with 1 VLAN") def test_client_wpa2_2g_vlan1(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity): """ - To verify a client operating on BRIDGE Mode Multipsk Test with wpa encryption 2.4 GHz Band is connecting or not. - pytest -m "ow_sanity_lf and vlan1 and wpa2 and multipsk" + To verify a client operating on BRIDGE Mode Multipsk Test with wpa encryption 2.4 GHz Band is connecting or not. + + Unique Marker: + multi_psk_tests and bridge and wpa2_personal and twog and vlan1 """ profile_data = {"ssid_name": "MDU-Wi-Fi-2g", "appliedRadios": ["2G"], @@ -97,8 +98,10 @@ def test_client_wpa2_2g_vlan1(self, get_test_library, get_dut_logs_per_test_case def test_client_wpa2_2g_vlan2(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity): """ - To verify a client operating on BRIDGE Mode Multipsk Test with wpa encryption 2.4 GHz Band is connecting or not. - pytest -m "multi_psk_tests and bridge and wpa2_personal and vlan2 and twog" + To verify a client operating on BRIDGE Mode Multipsk Test with wpa encryption 2.4 GHz Band is connecting or not. + + Unique Marker: + multi_psk_tests and bridge and wpa2_personal and twog and vlan2 """ profile_data = {"ssid_name": "MDU-Wi-Fi-2g", "appliedRadios": ["2G"], diff --git a/tests/e2e/basic/validation_of_operating_modes/bridge_mode/multi_psk/wpa_security/test_multipsk_basic_wpa.py b/tests/e2e/basic/validation_of_operating_modes/bridge_mode/multi_psk/wpa_security/test_multipsk_basic_wpa.py index 537e57643c2..6f2054a70f3 100644 --- a/tests/e2e/basic/validation_of_operating_modes/bridge_mode/multi_psk/wpa_security/test_multipsk_basic_wpa.py +++ b/tests/e2e/basic/validation_of_operating_modes/bridge_mode/multi_psk/wpa_security/test_multipsk_basic_wpa.py @@ -52,15 +52,15 @@ class TestMultipskBridgeWPA(object): @pytest.mark.vlan1 - @pytest.mark.ow_sanity_lf - @pytest.mark.bridgemode @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-3493", name="WIFI-3493") @allure.title("Test for Client Connect with 1 VLAN") def test_client_wpa_2g_vlan1(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity): """ - To verify a client operating on BRIDGE Mode Multipsk Test with wpa encryption 2.4 GHz Band is connecting or not - pytest -m "ow_sanity_lf and vlan1 and bridgemode" + To verify a client operating on BRIDGE Mode Multipsk Test with wpa encryption 2.4 GHz Band is connecting or not. + + Unique Marker: + multi_psk_tests and bridge and wpa and twog and vlan1 """ profile_data = {"ssid_name": "MDU-Wi-Fi-2g", "appliedRadios": ["2G"], @@ -91,15 +91,15 @@ def test_client_wpa_2g_vlan1(self, get_test_library, get_dut_logs_per_test_case, assert True @pytest.mark.vlan2 - @pytest.mark.ow_sanity_lf - @pytest.mark.bridgemode @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-10662", name="WIFI-10662") @allure.title("Test for Client Connect with 2 VLAN's") def test_client_wpa_2g_vlan2(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity): """ - to verify a client operating on BRIDGE Mode Multipsk Test with wpa encryption 2.4 GHz Band is connecting or not - pytest -m "ow_sanity_lf and vlan2 and bridgemode" + To verify a client operating on BRIDGE Mode Multipsk Test with wpa encryption 2.4 GHz Band is connecting or not. + + Unique Marker: + multi_psk_tests and bridge and wpa and twog and vlan2 """ profile_data = {"ssid_name": "MDU-Wi-Fi-2g", "appliedRadios": ["2G"], diff --git a/tests/e2e/basic/validation_of_operating_modes/nat_mode/multi_psk/wpa2_security/test_multipsk_basic_wpa2.py b/tests/e2e/basic/validation_of_operating_modes/nat_mode/multi_psk/wpa2_security/test_multipsk_basic_wpa2.py index d90950d8ec4..4447afc48da 100644 --- a/tests/e2e/basic/validation_of_operating_modes/nat_mode/multi_psk/wpa2_security/test_multipsk_basic_wpa2.py +++ b/tests/e2e/basic/validation_of_operating_modes/nat_mode/multi_psk/wpa2_security/test_multipsk_basic_wpa2.py @@ -51,14 +51,15 @@ class TestMultipskNAT(object): @pytest.mark.vlan1 - @pytest.mark.ow_sanity_lf @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-3495", name="WIFI-3495") @allure.title("Test for Client Connect with 1 VLAN") def test_client_wpa2_2g_vlan1(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity): """ - To verify a client operating on NAT Mode Multipsk Test with wpa encryption 2.4 GHz Band is connecting or not. - Unique Marker:pytest -m "multi_psk_tests and NAT and wpa_personal and vlan1 and twog" + To verify a client operating on NAT Mode Multipsk Test with wpa encryption 2.4 GHz Band is connecting or not. + + Unique Marker: + multi_psk_tests and nat and wpa2_personal and twog and vlan1 """ profile_data = {"ssid_name": "MDU-Wi-Fi-2g", "appliedRadios": ["2G"], @@ -89,14 +90,15 @@ def test_client_wpa2_2g_vlan1(self, get_test_library, get_dut_logs_per_test_case assert True @pytest.mark.vlan2 - @pytest.mark.ow_sanity_lf @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-10061", name="WIFI-10061") @allure.title("Test for Client Connect with 2 VLAN's") def test_client_wpa2_2g_vlan2(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity): """ - To verify the client operating on NAT Mode Multipsk Test with WPA encryption 2.4 GHz Band - Unique marker: pytest -m "multi_psk_tests and nat and wpa2_personal and vlan2 and twog" + To verify the client operating on NAT Mode Multipsk Test with WPA encryption 2.4 GHz Band. + + Unique Marker: + multi_psk_tests and nat and wpa2_personal and twog and vlan2 """ profile_data = {"ssid_name": "MDU-Wi-Fi-2g", "appliedRadios": ["2G"], diff --git a/tests/e2e/basic/validation_of_operating_modes/nat_mode/multi_psk/wpa_security/test_multipsk_basic_wpa.py b/tests/e2e/basic/validation_of_operating_modes/nat_mode/multi_psk/wpa_security/test_multipsk_basic_wpa.py index c354facf624..ea05b4bdb71 100644 --- a/tests/e2e/basic/validation_of_operating_modes/nat_mode/multi_psk/wpa_security/test_multipsk_basic_wpa.py +++ b/tests/e2e/basic/validation_of_operating_modes/nat_mode/multi_psk/wpa_security/test_multipsk_basic_wpa.py @@ -51,14 +51,15 @@ class TestMultipskNAT(object): @pytest.mark.vlan1 - @pytest.mark.ow_sanity_lf @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-3494", name="WIFI-3494") @allure.title("Test for Client Connect with 1 VLAN") def test_client_wpa_2g_vlan1(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity): """ - To verify the client operating on NAT Mode Multipsk Test with wpa encryption 2.4 GHz Band is connecting or not. - pytest -m "multi_psk_tests and NAT and wpa_personal and vlan1 and twog" + To verify the client operating on NAT Mode Multipsk Test with wpa encryption 2.4 GHz Band is connecting or not. + + Unique Marker: + multi_psk_tests and nat and wpa and twog and vlan1 """ profile_data = {"ssid_name": "MDU-Wi-Fi-2g", "appliedRadios": ["2G"], @@ -89,14 +90,15 @@ def test_client_wpa_2g_vlan1(self, get_test_library, get_dut_logs_per_test_case, assert True @pytest.mark.vlan2 - @pytest.mark.ow_sanity_lf @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-10662", name="WIFI-10662") @allure.title("Test for Client Connect with 2 VLAN's") def test_client_wpa_2g_vlan2(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity): """ - To verify a client operating on NAT Mode Multipsk Test with wpa encryption 2.4 GHz Band is connecting or not. - pytest -m "multi_psk_tests and NAT and wpa and vlan2 and twog" + To verify a client operating on NAT Mode Multipsk Test with wpa encryption 2.4 GHz Band is connecting or not. + + Unique Marker: + multi_psk_tests and nat and wpa and twog and vlan2 """ profile_data = {"ssid_name": "MDU-Wi-Fi-2g", "appliedRadios": ["2G"], From c973c0c08b4472fe780e278f4ddc0bf89dcda47e Mon Sep 17 00:00:00 2001 From: jitendracandela Date: Thu, 11 Apr 2024 16:00:34 +0530 Subject: [PATCH 11/16] Modify: Description and unique markers for Multi-VLAN Testplan. Signed-off-by: jitendracandela --- .../multi_vlan/test_multi_vlan_fiveg.py | 31 ++++++++++----- .../multi_vlan/test_multi_vlan_twog.py | 38 +++++++++++-------- 2 files changed, 44 insertions(+), 25 deletions(-) diff --git a/tests/e2e/basic/validation_of_operating_modes/vlan_mode/multi_vlan/test_multi_vlan_fiveg.py b/tests/e2e/basic/validation_of_operating_modes/vlan_mode/multi_vlan/test_multi_vlan_fiveg.py index ed07e6e98f5..0f1dd488907 100644 --- a/tests/e2e/basic/validation_of_operating_modes/vlan_mode/multi_vlan/test_multi_vlan_fiveg.py +++ b/tests/e2e/basic/validation_of_operating_modes/vlan_mode/multi_vlan/test_multi_vlan_fiveg.py @@ -50,8 +50,10 @@ class TestMultiVlan(object): def test_multi_vlan_open_5g(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration): """ - Multi VLAN Test with open encryption 5 GHz Band - pytest -m "multi_vlan_tests and open and fiveg" + To verify that a client operating with open security will connect or not using multi vlans in 5GHz band. + + Unique Marker: + multi_vlan_tests and fiveg and open """ profile_data = {"ssid_name": "ssid_open_5g", "appliedRadios": ["5G"], "vlan": 100} ssid_name = profile_data["ssid_name"] @@ -77,8 +79,10 @@ def test_multi_vlan_open_5g(self, get_test_library, get_dut_logs_per_test_case, def test_multi_vlan_wpa_5g(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity): """ - To verify that a client operating with WPA security will connect or not using Multi VLAN's - pytest -m "multi_vlan and wpa and fiveg and ow_sanity_lf" + To verify that a client operating with open security will connect or not using multi vlans in 5GHz band. + + Unique Marker: + multi_vlan_tests and fiveg and wpa """ profile_data = {"ssid_name": "ssid_wpa_5g", "appliedRadios": ["5G"], "security_key": "something", "vlan": 125} ssid_name = profile_data["ssid_name"] @@ -104,8 +108,10 @@ def test_multi_vlan_wpa_5g(self, get_test_library, get_dut_logs_per_test_case, def test_multi_vlan_wpa2_personal_5g(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity): """ - To verify that a client operating with WPA2(personal) security will connect or not using Multi VLANS - pytest -m "multi_vlan and wpa2_personal and fiveg and ow_sanity_lf" + To verify that a client operating with open security will connect or not using multi vlans in 5GHz band. + + Unique Marker: + multi_vlan_tests and fiveg and wpa2_personal """ profile_data = {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something", "vlan": 200} ssid_name = profile_data["ssid_name"] @@ -130,8 +136,10 @@ def test_multi_vlan_wpa2_personal_5g(self, get_test_library, get_dut_logs_per_te def test_multi_vlan_wpa_wpa2_personal_5g(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration): """ - Multi VLAN Test with wpa_wpa2_personal_mixed encryption 5 GHz Band - pytest -m "multi_vlan_tests and wpa_wpa2_personal_mixed and fiveg" + To verify that a client operating with open security will connect or not using multi vlans in 5GHz band. + + Unique Marker: + multi_vlan_tests and fiveg and wpa_wpa2_personal_mixed """ profile_data = {"ssid_name": "ssid_wpa_wpa2_p_m_5g", "appliedRadios": ["5G"], "security_key": "something", "vlan": 150} @@ -160,8 +168,11 @@ def test_multi_vlan_wpa_wpa2_personal_5g(self, get_test_library, get_dut_logs_pe def test_disable_vlan_wpa2_5g(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity): """ - To verify that a client operating with WPA2 security will connect or not by disabling the VLAN - pytest -m "disable_vlan_fiveg and wpa2_personal and fiveg and ow_sanity_lf" + To verify that a client operating with wpa2(personal) security will connect or not by disabling VLAN + in 5GHz band. + + Unique Marker: + multi_vlan_tests and fiveg and wpa2_personal and disable_vlan_fiveg """ profile_data = {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something", "vlan": 200} ssid_name = profile_data["ssid_name"] diff --git a/tests/e2e/basic/validation_of_operating_modes/vlan_mode/multi_vlan/test_multi_vlan_twog.py b/tests/e2e/basic/validation_of_operating_modes/vlan_mode/multi_vlan/test_multi_vlan_twog.py index 8ad3c38006f..752dbcf8f3a 100644 --- a/tests/e2e/basic/validation_of_operating_modes/vlan_mode/multi_vlan/test_multi_vlan_twog.py +++ b/tests/e2e/basic/validation_of_operating_modes/vlan_mode/multi_vlan/test_multi_vlan_twog.py @@ -43,15 +43,16 @@ class TestMultiVlan(object): @pytest.mark.open - @pytest.mark.twog @pytest.mark.multi_vlan @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2160", name="WIFI-2160") @allure.title("Test VLAN with Open Security Mode") def test_multi_vlan_open_2g(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration): """ - To verify that a client operating with open security will connect or not using multi vlans. - pytest -m "open and multi_vlan and twog" + To verify that a client operating with open security will connect or not using multi vlans in 2.4GHz band. + + Unique Marker: + multi_vlan_tests and twog and open """ profile_data = {"ssid_name": "ssid_open_2g", "appliedRadios": ["2G"], "vlan": 100} ssid_name = profile_data["ssid_name"] @@ -68,7 +69,6 @@ def test_multi_vlan_open_2g(self, get_test_library, get_dut_logs_per_test_case, assert passes == "PASS", result @pytest.mark.wpa - @pytest.mark.twog @pytest.mark.multi_vlan @pytest.mark.ow_sanity_lf @allure.testcase(name="WIFI-2168", @@ -77,8 +77,10 @@ def test_multi_vlan_open_2g(self, get_test_library, get_dut_logs_per_test_case, def test_multi_vlan_wpa_2g(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity): """ - Multi VLAN Test with wpa encryption 2.4 GHz Band - pytest -m "multi_vlan_tests and wpa and twog" + To verify that a client operating with wpa security will connect or not using multi vlans in 2.4GHz band. + + Unique Marker: + multi_vlan_tests and twog and wpa """ profile_data = {"ssid_name": "ssid_wpa_2g", "appliedRadios": ["2G"], "security_key": "something", "vlan": 125} ssid_name = profile_data["ssid_name"] @@ -95,7 +97,6 @@ def test_multi_vlan_wpa_2g(self, get_test_library, get_dut_logs_per_test_case, assert passes == "PASS", result @pytest.mark.wpa2_personal - @pytest.mark.twog @pytest.mark.multi_vlan @pytest.mark.ow_sanity_lf @allure.testcase(name="WIFI-2156", @@ -104,8 +105,11 @@ def test_multi_vlan_wpa_2g(self, get_test_library, get_dut_logs_per_test_case, def test_multi_vlan_wpa2_personal_2g(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity): """ - Multi VLAN Test with wpa2_personal encryption 2.4 GHz Band - pytest -m "multi_vlan_tests and wpa2_personal and twog" + To verify that a client operating with wpa2 (personal) security will connect or not using multi vlans in + 2.4GHz band. + + Unique Marker: + multi_vlan_tests and twog and wpa2_personal """ profile_data = {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something", "vlan": 200} ssid_name = profile_data["ssid_name"] @@ -122,7 +126,6 @@ def test_multi_vlan_wpa2_personal_2g(self, get_test_library, get_dut_logs_per_te assert passes == "PASS", result @pytest.mark.wpa_wpa2_personal_mixed - @pytest.mark.twog @pytest.mark.multi_vlan @allure.testcase(name="WIFI-2166", url="https://telecominfraproject.atlassian.net/browse/WIFI-2166") @@ -130,8 +133,11 @@ def test_multi_vlan_wpa2_personal_2g(self, get_test_library, get_dut_logs_per_te def test_multi_vlan_wpa_wpa2_personal_2g(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration): """ - To verify that a client operating with wpa mixed(personal) security will connect or not using multi vlans. - pytest -m "multi_vlan_tests and wpa_wpa2_personal_mixed and twog" + To verify that a client operating with wpa mixed(personal) security will connect or not using multi vlans in + 2.4GHz band. + + Unique Marker: + multi_vlan_tests and twog and wpa_wpa2_personal_mixed """ profile_data = {"ssid_name": "ssid_wpa_wpa2_p_m_2g", "appliedRadios": ["2G"], "security_key": "something", "vlan": 150} @@ -151,7 +157,6 @@ def test_multi_vlan_wpa_wpa2_personal_2g(self, get_test_library, get_dut_logs_pe assert passes == "PASS", result @pytest.mark.wpa2_personal - @pytest.mark.twog @pytest.mark.disable_vlan_twog # wifi-2172 @pytest.mark.ow_sanity_lf @allure.testcase(name="WIFI-2172", @@ -160,8 +165,11 @@ def test_multi_vlan_wpa_wpa2_personal_2g(self, get_test_library, get_dut_logs_pe def test_disable_vlan_wpa2_2g(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity): """ - To verify that a client operating with wpa2(personal) security will connect or not by disabling VLAN. - Unique marker:pytest -m "disable_vlan_twog and twog and wpa2_personal and ow_sanity_lf" + To verify that a client operating with wpa2(personal) security will connect or not by disabling VLAN + in 2.4GHz band. + + Unique Marker: + multi_vlan_tests and twog and wpa2_personal and disable_vlan_twog """ profile_data = {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something", "vlan": 200} ssid_name = profile_data["ssid_name"] From 9e6d4b015ae7c6830188523427d613cceed94a0b Mon Sep 17 00:00:00 2001 From: jitendracandela Date: Thu, 11 Apr 2024 17:33:34 +0530 Subject: [PATCH 12/16] Add/Modify: Markers in test_connectivity testcases. Signed-off-by: jitendracandela --- tests/test_connectivity.py | 38 ++++++++++++++++++++++++++++++++++---- 1 file changed, 34 insertions(+), 4 deletions(-) diff --git a/tests/test_connectivity.py b/tests/test_connectivity.py index d5b91068e9b..80d02d9821a 100644 --- a/tests/test_connectivity.py +++ b/tests/test_connectivity.py @@ -36,8 +36,11 @@ class TestResources(object): @allure.title("Cloud Controller Connectivity") @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-11615", name="11615") def test_controller_connectivity(self, get_target_object, get_testbed_details): - """Test case to verify cloud Controller Connectivity - Unique marker: pytest -m "test_cloud_controller" + """ + Test case to verify cloud Controller Connectivity + + Unique marker: + test_cloud_controller """ login_response_json = get_target_object.controller_library_object.login_resp.json() @@ -163,8 +166,11 @@ def test_controller_connectivity(self, get_target_object, get_testbed_details): @allure.title("Cloud Access Point Connectivity") @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-11615", name="11615") def test_access_points_connectivity(self, get_target_object, get_testbed_details): - """Test case to verify Access Points Connectivity - Unique marker: pytest -m "test_access_points_connectivity" + """ + Test case to verify Access Points Connectivity + + Unique marker: + test_access_points_connectivity """ # Logic to Get ubus call ucentral status from AP @@ -254,6 +260,12 @@ def test_access_points_connectivity(self, get_target_object, get_testbed_details @allure.title("Check AP is restricted") @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-12318", name="12318") def test_check_restrictions(self, get_target_object, get_testbed_details): + """ + Test case to verify Access Points is not Restricted + + Unique marker: + test_ap_restrictions + """ device_name = get_testbed_details['device_under_tests'][0]['identifier'] resp = resp = get_target_object.controller_library_object.check_restrictions(device_name) if not resp: @@ -281,6 +293,12 @@ class TestFirmwareUpgrade(object): @pytest.mark.get_firmware_list def test_get_firmware_version_list(self, get_testbed_details, get_target_object): + """ + Test case to get firmware version list + + Unique marker: + get_firmware_list + """ PASS = [] for ap in range(len(get_target_object.device_under_tests_info)): # get the latest branch @@ -394,6 +412,12 @@ def test_get_firmware_version_list(self, get_testbed_details, get_target_object) @pytest.mark.firmware_upgrade def test_firmware_upgrade_request(self, get_target_object, get_dut_logs_per_test_case, check_connectivity): + """ + Test case to verify firmware upgrade request + + Unique marker: + firmware_upgrade + """ for update in get_target_object.setup_firmware(): allure.attach(name='serial: ' + update[0], body="") assert True @@ -401,6 +425,12 @@ def test_firmware_upgrade_request(self, get_target_object, get_dut_logs_per_test @pytest.mark.test_firmware_gw def test_firmware_upgrade_status_gateway(self, get_testbed_details, get_target_object, add_firmware_property_after_upgrade): + """ + Test case to verify firmware upgrade status from the gateway + + Unique marker: + test_firmware_gw + """ status = [] for ap in range(len(get_target_object.device_under_tests_info)): ap_version = get_target_object.dut_library_object.get_ap_version(idx=ap) From 028fc3723112e84ff0ad03b68b53ae7ea65bebd6 Mon Sep 17 00:00:00 2001 From: jitendracandela Date: Fri, 19 Apr 2024 16:26:11 +0530 Subject: [PATCH 13/16] Added description and markers to Dual band performance tests. Signed-off-by: jitendracandela --- .../open/test_bridge_mode.py | 13 +++++++++++-- .../open/test_nat_mode.py | 13 +++++++++++-- .../open/test_vlan_mode.py | 13 +++++++++++-- .../wap3_personal/test_bridge_mode.py | 15 ++++++++++++--- .../wap3_personal/test_nat_mode.py | 13 +++++++++++-- .../wap3_personal/test_vlan_mode.py | 13 +++++++++++-- .../wpa2_personal/test_bridge_mode.py | 13 +++++++++++-- .../wpa2_personal/test_nat_mode.py | 13 +++++++++++-- .../wpa2_personal/test_vlan_mode.py | 13 +++++++++++-- .../wpa_personal/test_bridge_mode.py | 13 +++++++++++-- .../wpa_personal/test_nat_mode.py | 13 +++++++++++-- .../wpa_personal/test_vlan_mode.py | 13 +++++++++++-- 12 files changed, 133 insertions(+), 25 deletions(-) diff --git a/tests/e2e/basic/performance_tests/dual_band_performance_test/open/test_bridge_mode.py b/tests/e2e/basic/performance_tests/dual_band_performance_test/open/test_bridge_mode.py index 99bb08bec64..46c84c5947b 100644 --- a/tests/e2e/basic/performance_tests/dual_band_performance_test/open/test_bridge_mode.py +++ b/tests/e2e/basic/performance_tests/dual_band_performance_test/open/test_bridge_mode.py @@ -47,8 +47,17 @@ class TestOpenDualbandPerformanceBridge(object): @allure.title("Test Dual Band with ApAuto test of bridge mode") def test_client_open_bridge(self, get_test_library, setup_configuration, check_connectivity): """ - Dual Band Test with open encryption - pytest -m "dual_band_tests and open" + The Dual-band Throughput Test is intended to measure the throughput the DUT can support when concurrently + connected to multiple stations on both the 2.4 and 5 GHz bands, each operating with two spatial streams. + The purpose of these additional test cases is to detect cross band interference of the DUT's transmitter + on the receiver. The weak link is needed to ensure DUT and STA are transmitting at the highest power and + causing the most potential interference when the receiver is more susceptible to noise (low SNR). Note, + each station is connected using either the 2.4 or 5 GHz band, but not both bands simultaneously. This test + requires at least 2 stations, located 2m from the DUT. The DUT will need to support at least 4 independent + radio chains for this test case, two operating in the 2.4 GHz band and two operating in the 5 GHz band. + + Unique Marker: + dual_band_tests and bridge and open """ profile_data = setup_params_general["ssid_modes"]["open"] ssid_2G, ssid_5G = profile_data[0]["ssid_name"], profile_data[0]["ssid_name"] diff --git a/tests/e2e/basic/performance_tests/dual_band_performance_test/open/test_nat_mode.py b/tests/e2e/basic/performance_tests/dual_band_performance_test/open/test_nat_mode.py index b7052253815..9ca51dd10e7 100644 --- a/tests/e2e/basic/performance_tests/dual_band_performance_test/open/test_nat_mode.py +++ b/tests/e2e/basic/performance_tests/dual_band_performance_test/open/test_nat_mode.py @@ -47,8 +47,17 @@ class TestOpenDualbandPerformanceNat(object): @allure.title("Test Dual Band with ApAuto test of NAT mode") def test_client_open_bridge(self, get_test_library, setup_configuration, check_connectivity): """ - Dual Band Test with open encryption - pytest -m "dual_band_tests and open" + The Dual-band Throughput Test is intended to measure the throughput the DUT can support when concurrently + connected to multiple stations on both the 2.4 and 5 GHz bands, each operating with two spatial streams. + The purpose of these additional test cases is to detect cross band interference of the DUT's transmitter + on the receiver. The weak link is needed to ensure DUT and STA are transmitting at the highest power and + causing the most potential interference when the receiver is more susceptible to noise (low SNR). Note, + each station is connected using either the 2.4 or 5 GHz band, but not both bands simultaneously. This test + requires at least 2 stations, located 2m from the DUT. The DUT will need to support at least 4 independent + radio chains for this test case, two operating in the 2.4 GHz band and two operating in the 5 GHz band. + + Unique Marker: + dual_band_tests and nat and open """ profile_data = setup_params_general["ssid_modes"]["open"] ssid_2G, ssid_5G = profile_data[0]["ssid_name"], profile_data[0]["ssid_name"] diff --git a/tests/e2e/basic/performance_tests/dual_band_performance_test/open/test_vlan_mode.py b/tests/e2e/basic/performance_tests/dual_band_performance_test/open/test_vlan_mode.py index 4f32295e7b9..52d7f1b3516 100644 --- a/tests/e2e/basic/performance_tests/dual_band_performance_test/open/test_vlan_mode.py +++ b/tests/e2e/basic/performance_tests/dual_band_performance_test/open/test_vlan_mode.py @@ -48,8 +48,17 @@ class TestOpenDualbandPerformanceVLAN(object): @allure.title("Test Dual Band with ApAuto test of and VLAN mode") def test_client_open_bridge(self, get_test_library, setup_configuration, check_connectivity): """ - Dual Band Test with open encryption - pytest -m "dual_band_tests and open" + The Dual-band Throughput Test is intended to measure the throughput the DUT can support when concurrently + connected to multiple stations on both the 2.4 and 5 GHz bands, each operating with two spatial streams. + The purpose of these additional test cases is to detect cross band interference of the DUT's transmitter + on the receiver. The weak link is needed to ensure DUT and STA are transmitting at the highest power and + causing the most potential interference when the receiver is more susceptible to noise (low SNR). Note, + each station is connected using either the 2.4 or 5 GHz band, but not both bands simultaneously. This test + requires at least 2 stations, located 2m from the DUT. The DUT will need to support at least 4 independent + radio chains for this test case, two operating in the 2.4 GHz band and two operating in the 5 GHz band. + + Unique Marker: + dual_band_tests and vlan and open """ profile_data = setup_params_general["ssid_modes"]["open"] ssid_2G, ssid_5G = profile_data[0]["ssid_name"], profile_data[0]["ssid_name"] diff --git a/tests/e2e/basic/performance_tests/dual_band_performance_test/wap3_personal/test_bridge_mode.py b/tests/e2e/basic/performance_tests/dual_band_performance_test/wap3_personal/test_bridge_mode.py index ff3c9e19b5c..e175ab51a8f 100644 --- a/tests/e2e/basic/performance_tests/dual_band_performance_test/wap3_personal/test_bridge_mode.py +++ b/tests/e2e/basic/performance_tests/dual_band_performance_test/wap3_personal/test_bridge_mode.py @@ -48,9 +48,18 @@ class TestWpa3DualbandPerformanceBridge(object): @allure.title("Test Dual Band with ApAuto test of bridge mode") def test_client_wpa3_personal_bridge(self, get_test_library, setup_configuration, check_connectivity): """ - Dual Band Test with wpa3_personal encryption - pytest -m "dual_band_tests and wpa3_personal" - """ + The Dual-band Throughput Test is intended to measure the throughput the DUT can support when concurrently + connected to multiple stations on both the 2.4 and 5 GHz bands, each operating with two spatial streams. + The purpose of these additional test cases is to detect cross band interference of the DUT's transmitter + on the receiver. The weak link is needed to ensure DUT and STA are transmitting at the highest power and + causing the most potential interference when the receiver is more susceptible to noise (low SNR). Note, + each station is connected using either the 2.4 or 5 GHz band, but not both bands simultaneously. This test + requires at least 2 stations, located 2m from the DUT. The DUT will need to support at least 4 independent + radio chains for this test case, two operating in the 2.4 GHz band and two operating in the 5 GHz band. + + Unique Marker: + dual_band_tests and bridge and wpa3_personal + """ profile_data = setup_params_general["ssid_modes"]["wpa3_personal"] ssid_2G, ssid_5G = profile_data[0]["ssid_name"], profile_data[0]["ssid_name"] dut_name = list(setup_configuration.keys())[0] diff --git a/tests/e2e/basic/performance_tests/dual_band_performance_test/wap3_personal/test_nat_mode.py b/tests/e2e/basic/performance_tests/dual_band_performance_test/wap3_personal/test_nat_mode.py index 2a653df1d42..7ef08e494ce 100644 --- a/tests/e2e/basic/performance_tests/dual_band_performance_test/wap3_personal/test_nat_mode.py +++ b/tests/e2e/basic/performance_tests/dual_band_performance_test/wap3_personal/test_nat_mode.py @@ -47,8 +47,17 @@ class TestWpa3DualbandPerformanceNat(object): @allure.title("Test Dual Band with ApAuto test of NAT mode") def test_client_wpa3_personal_nat(self, get_test_library, setup_configuration, check_connectivity): """ - Dual Band Test with wpa3_personal encryption - pytest -m "dual_band_tests and wpa3_personal" + The Dual-band Throughput Test is intended to measure the throughput the DUT can support when concurrently + connected to multiple stations on both the 2.4 and 5 GHz bands, each operating with two spatial streams. + The purpose of these additional test cases is to detect cross band interference of the DUT's transmitter + on the receiver. The weak link is needed to ensure DUT and STA are transmitting at the highest power and + causing the most potential interference when the receiver is more susceptible to noise (low SNR). Note, + each station is connected using either the 2.4 or 5 GHz band, but not both bands simultaneously. This test + requires at least 2 stations, located 2m from the DUT. The DUT will need to support at least 4 independent + radio chains for this test case, two operating in the 2.4 GHz band and two operating in the 5 GHz band. + + Unique Marker: + dual_band_tests and nat and wpa3_personal """ profile_data = setup_params_general["ssid_modes"]["wpa3_personal"] ssid_2G, ssid_5G = profile_data[0]["ssid_name"], profile_data[0]["ssid_name"] diff --git a/tests/e2e/basic/performance_tests/dual_band_performance_test/wap3_personal/test_vlan_mode.py b/tests/e2e/basic/performance_tests/dual_band_performance_test/wap3_personal/test_vlan_mode.py index 668eebcd165..57dbed76d76 100644 --- a/tests/e2e/basic/performance_tests/dual_band_performance_test/wap3_personal/test_vlan_mode.py +++ b/tests/e2e/basic/performance_tests/dual_band_performance_test/wap3_personal/test_vlan_mode.py @@ -48,8 +48,17 @@ class TestWpa3DualbandPerformanceVlan(object): @allure.title("Test Dual Band with ApAuto test of VLAN mode") def test_client_wpa3_personal_vlan(self, get_test_library, setup_configuration, check_connectivity): """ - Dual Band Test with wpa3_personal encryption - pytest -m "dual_band_tests and wpa3_personal" + The Dual-band Throughput Test is intended to measure the throughput the DUT can support when concurrently + connected to multiple stations on both the 2.4 and 5 GHz bands, each operating with two spatial streams. + The purpose of these additional test cases is to detect cross band interference of the DUT's transmitter + on the receiver. The weak link is needed to ensure DUT and STA are transmitting at the highest power and + causing the most potential interference when the receiver is more susceptible to noise (low SNR). Note, + each station is connected using either the 2.4 or 5 GHz band, but not both bands simultaneously. This test + requires at least 2 stations, located 2m from the DUT. The DUT will need to support at least 4 independent + radio chains for this test case, two operating in the 2.4 GHz band and two operating in the 5 GHz band. + + Unique Marker: + dual_band_tests and vlan and wpa3_personal """ profile_data = setup_params_general["ssid_modes"]["wpa3_personal"] ssid_2G, ssid_5G = profile_data[0]["ssid_name"], profile_data[0]["ssid_name"] diff --git a/tests/e2e/basic/performance_tests/dual_band_performance_test/wpa2_personal/test_bridge_mode.py b/tests/e2e/basic/performance_tests/dual_band_performance_test/wpa2_personal/test_bridge_mode.py index 7ed2f14e3ea..9fa663d4d7d 100644 --- a/tests/e2e/basic/performance_tests/dual_band_performance_test/wpa2_personal/test_bridge_mode.py +++ b/tests/e2e/basic/performance_tests/dual_band_performance_test/wpa2_personal/test_bridge_mode.py @@ -48,8 +48,17 @@ class TestWpa2DualbandPerformanceBridge(object): @allure.title("Test Dual Band with ApAuto test of bridge mode") def test_client_wpa2_personal_bridge(self, get_test_library, setup_configuration, check_connectivity): """ - Dual Band Test with wpa2_personal encryption - pytest -m "dual_band_tests and wpa2_personal" + The Dual-band Throughput Test is intended to measure the throughput the DUT can support when concurrently + connected to multiple stations on both the 2.4 and 5 GHz bands, each operating with two spatial streams. + The purpose of these additional test cases is to detect cross band interference of the DUT's transmitter + on the receiver. The weak link is needed to ensure DUT and STA are transmitting at the highest power and + causing the most potential interference when the receiver is more susceptible to noise (low SNR). Note, + each station is connected using either the 2.4 or 5 GHz band, but not both bands simultaneously. This test + requires at least 2 stations, located 2m from the DUT. The DUT will need to support at least 4 independent + radio chains for this test case, two operating in the 2.4 GHz band and two operating in the 5 GHz band. + + Unique Marker: + dual_band_tests and bridge and wpa2_personal """ profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] ssid_2G, ssid_5G = profile_data[0]["ssid_name"], profile_data[0]["ssid_name"] diff --git a/tests/e2e/basic/performance_tests/dual_band_performance_test/wpa2_personal/test_nat_mode.py b/tests/e2e/basic/performance_tests/dual_band_performance_test/wpa2_personal/test_nat_mode.py index 153465690cc..57e8dae0914 100644 --- a/tests/e2e/basic/performance_tests/dual_band_performance_test/wpa2_personal/test_nat_mode.py +++ b/tests/e2e/basic/performance_tests/dual_band_performance_test/wpa2_personal/test_nat_mode.py @@ -48,8 +48,17 @@ class TestWpa2DualbandPerformanceNat(object): @allure.title("Test Dual Band with ApAuto test of NAT mode") def test_client_wpa2_personal_bridge(self, get_test_library, setup_configuration, check_connectivity): """ - Dual Band Test with wpa2_personal encryption - pytest -m "dual_band_tests and wpa2_personal" + The Dual-band Throughput Test is intended to measure the throughput the DUT can support when concurrently + connected to multiple stations on both the 2.4 and 5 GHz bands, each operating with two spatial streams. + The purpose of these additional test cases is to detect cross band interference of the DUT's transmitter + on the receiver. The weak link is needed to ensure DUT and STA are transmitting at the highest power and + causing the most potential interference when the receiver is more susceptible to noise (low SNR). Note, + each station is connected using either the 2.4 or 5 GHz band, but not both bands simultaneously. This test + requires at least 2 stations, located 2m from the DUT. The DUT will need to support at least 4 independent + radio chains for this test case, two operating in the 2.4 GHz band and two operating in the 5 GHz band. + + Unique Marker: + dual_band_tests and nat and wpa2_personal """ profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] ssid_2G, ssid_5G = profile_data[0]["ssid_name"], profile_data[0]["ssid_name"] diff --git a/tests/e2e/basic/performance_tests/dual_band_performance_test/wpa2_personal/test_vlan_mode.py b/tests/e2e/basic/performance_tests/dual_band_performance_test/wpa2_personal/test_vlan_mode.py index e768969d85f..0dc39ccc11b 100644 --- a/tests/e2e/basic/performance_tests/dual_band_performance_test/wpa2_personal/test_vlan_mode.py +++ b/tests/e2e/basic/performance_tests/dual_band_performance_test/wpa2_personal/test_vlan_mode.py @@ -48,8 +48,17 @@ class TestWpa2DualbandPerformanceVLAN(object): @allure.title("Test Dual Band with ApAuto test of VLAN mode") def test_client_wpa2_personal_bridge(self, get_test_library, setup_configuration, check_connectivity): """ - Dual Band Test with wpa2_personal encryption - pytest -m "dual_band_tests and wpa2_personal" + The Dual-band Throughput Test is intended to measure the throughput the DUT can support when concurrently + connected to multiple stations on both the 2.4 and 5 GHz bands, each operating with two spatial streams. + The purpose of these additional test cases is to detect cross band interference of the DUT's transmitter + on the receiver. The weak link is needed to ensure DUT and STA are transmitting at the highest power and + causing the most potential interference when the receiver is more susceptible to noise (low SNR). Note, + each station is connected using either the 2.4 or 5 GHz band, but not both bands simultaneously. This test + requires at least 2 stations, located 2m from the DUT. The DUT will need to support at least 4 independent + radio chains for this test case, two operating in the 2.4 GHz band and two operating in the 5 GHz band. + + Unique Marker: + dual_band_tests and vlan and wpa2_personal """ profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] ssid_2G, ssid_5G = profile_data[0]["ssid_name"], profile_data[0]["ssid_name"] diff --git a/tests/e2e/basic/performance_tests/dual_band_performance_test/wpa_personal/test_bridge_mode.py b/tests/e2e/basic/performance_tests/dual_band_performance_test/wpa_personal/test_bridge_mode.py index de2c16fc51c..b9a28c052d7 100644 --- a/tests/e2e/basic/performance_tests/dual_band_performance_test/wpa_personal/test_bridge_mode.py +++ b/tests/e2e/basic/performance_tests/dual_band_performance_test/wpa_personal/test_bridge_mode.py @@ -50,8 +50,17 @@ class TestWpaDualbandPerformanceBridge(object): @allure.title("Test Dual Band with ApAuto test of bridge mode") def test_client_wpa_personal_bridge(self, get_test_library, setup_configuration, check_connectivity): """ - Dual Band Test with wpa encryption - pytest -m "dual_band_tests and wpa" + The Dual-band Throughput Test is intended to measure the throughput the DUT can support when concurrently + connected to multiple stations on both the 2.4 and 5 GHz bands, each operating with two spatial streams. + The purpose of these additional test cases is to detect cross band interference of the DUT's transmitter + on the receiver. The weak link is needed to ensure DUT and STA are transmitting at the highest power and + causing the most potential interference when the receiver is more susceptible to noise (low SNR). Note, + each station is connected using either the 2.4 or 5 GHz band, but not both bands simultaneously. This test + requires at least 2 stations, located 2m from the DUT. The DUT will need to support at least 4 independent + radio chains for this test case, two operating in the 2.4 GHz band and two operating in the 5 GHz band. + + Unique Marker: + dual_band_tests and bridge and wpa """ profile_data = setup_params_general["ssid_modes"]["wpa"] ssid_2G, ssid_5G = profile_data[0]["ssid_name"], profile_data[0]["ssid_name"] diff --git a/tests/e2e/basic/performance_tests/dual_band_performance_test/wpa_personal/test_nat_mode.py b/tests/e2e/basic/performance_tests/dual_band_performance_test/wpa_personal/test_nat_mode.py index 7906aae4d48..1528fde39be 100644 --- a/tests/e2e/basic/performance_tests/dual_band_performance_test/wpa_personal/test_nat_mode.py +++ b/tests/e2e/basic/performance_tests/dual_band_performance_test/wpa_personal/test_nat_mode.py @@ -48,8 +48,17 @@ class TestWpaDualbandPerformanceNat(object): @allure.title("Test Dual Band with ApAuto test of NAT mode") def test_client_wpa_personal_nat(self, get_test_library, setup_configuration, check_connectivity): """ - Dual Band Test with wpa encryption - pytest -m "dual_band_tests and wpa" + The Dual-band Throughput Test is intended to measure the throughput the DUT can support when concurrently + connected to multiple stations on both the 2.4 and 5 GHz bands, each operating with two spatial streams. + The purpose of these additional test cases is to detect cross band interference of the DUT's transmitter + on the receiver. The weak link is needed to ensure DUT and STA are transmitting at the highest power and + causing the most potential interference when the receiver is more susceptible to noise (low SNR). Note, + each station is connected using either the 2.4 or 5 GHz band, but not both bands simultaneously. This test + requires at least 2 stations, located 2m from the DUT. The DUT will need to support at least 4 independent + radio chains for this test case, two operating in the 2.4 GHz band and two operating in the 5 GHz band. + + Unique Marker: + dual_band_tests and nat and wpa """ profile_data = setup_params_general["ssid_modes"]["wpa"] ssid_2G, ssid_5G = profile_data[0]["ssid_name"], profile_data[0]["ssid_name"] diff --git a/tests/e2e/basic/performance_tests/dual_band_performance_test/wpa_personal/test_vlan_mode.py b/tests/e2e/basic/performance_tests/dual_band_performance_test/wpa_personal/test_vlan_mode.py index f52eb914b72..e72ebd0a36b 100644 --- a/tests/e2e/basic/performance_tests/dual_band_performance_test/wpa_personal/test_vlan_mode.py +++ b/tests/e2e/basic/performance_tests/dual_band_performance_test/wpa_personal/test_vlan_mode.py @@ -49,8 +49,17 @@ class TestWpaDualbandPerformanceVLAN(object): @allure.title("Test Dual Band with ApAuto test of VLAN mode") def test_client_wpa_personal_vlan(self, get_test_library, setup_configuration, check_connectivity): """ - Dual Band Test with wpa encryption - pytest -m "dual_band_tests and wpa" + The Dual-band Throughput Test is intended to measure the throughput the DUT can support when concurrently + connected to multiple stations on both the 2.4 and 5 GHz bands, each operating with two spatial streams. + The purpose of these additional test cases is to detect cross band interference of the DUT's transmitter + on the receiver. The weak link is needed to ensure DUT and STA are transmitting at the highest power and + causing the most potential interference when the receiver is more susceptible to noise (low SNR). Note, + each station is connected using either the 2.4 or 5 GHz band, but not both bands simultaneously. This test + requires at least 2 stations, located 2m from the DUT. The DUT will need to support at least 4 independent + radio chains for this test case, two operating in the 2.4 GHz band and two operating in the 5 GHz band. + + Unique Marker: + dual_band_tests and vlan and wpa """ profile_data = setup_params_general["ssid_modes"]["wpa"] ssid_2G, ssid_5G = profile_data[0]["ssid_name"], profile_data[0]["ssid_name"] From e22c6b9336e25d1c740a5c4387e1efa5bf69a3c4 Mon Sep 17 00:00:00 2001 From: jitendracandela Date: Fri, 19 Apr 2024 17:08:11 +0530 Subject: [PATCH 14/16] Added description and markers to Dynamic vlan tests. Signed-off-by: jitendracandela --- .../test_dynamic_over_ssid_fiveg_wpa2.py | 8 ++- .../fiveg/test_dynamic_vlan_fiveg_wpa2.py | 64 +++++++++++++++--- .../twog/test_dynamic_over_ssid_twog_wpa2.py | 8 ++- .../twog/test_dynamic_vlan_twog_wpa2.py | 65 ++++++++++++++++--- .../test_dynamic_over_ssid_fiveg_wpa3.py | 8 ++- .../fiveg/test_dynamic_vlan_fiveg_wpa3.py | 64 +++++++++++++++--- .../twog/test_dynamic_over_ssid_twog_wpa3.py | 8 ++- .../twog/test_dynamic_vlan_twog_wpa3.py | 64 +++++++++++++++--- 8 files changed, 250 insertions(+), 39 deletions(-) diff --git a/tests/e2e/basic/validation_of_operating_modes/vlan_mode/dynamic_vlan/wpa2_enterprise/fiveg/test_dynamic_over_ssid_fiveg_wpa2.py b/tests/e2e/basic/validation_of_operating_modes/vlan_mode/dynamic_vlan/wpa2_enterprise/fiveg/test_dynamic_over_ssid_fiveg_wpa2.py index 7ff742fd4c0..7b0c1ebcbf2 100644 --- a/tests/e2e/basic/validation_of_operating_modes/vlan_mode/dynamic_vlan/wpa2_enterprise/fiveg/test_dynamic_over_ssid_fiveg_wpa2.py +++ b/tests/e2e/basic/validation_of_operating_modes/vlan_mode/dynamic_vlan/wpa2_enterprise/fiveg/test_dynamic_over_ssid_fiveg_wpa2.py @@ -56,7 +56,13 @@ class TestDynamicVlanOverSsid5GWpa2(object): def test_dynamic_precedence_over_ssid_vlan_5g_wpa2(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity): """ - pytest -m "dynamic_precedence_over_ssid and wpa2_enterprise and vlan and fiveg" + Dynamic VLAN does network segmentation of users with the implementation of RADIUS server. The users will be + associated to the respective VLAN networks using RADIUS according to the identity and passphrase provided in + the enterprise authentication. + Objective is to Verify that client associates to AP with Radius assigned dynamic VLAN. + + Unique Marker: + dynamic_vlan_tests and wpa2_enterprise and fiveg and dynamic_precedence_over_ssid """ profile_data = setup_params_general["ssid_modes"]["wpa2_enterprise"] diff --git a/tests/e2e/basic/validation_of_operating_modes/vlan_mode/dynamic_vlan/wpa2_enterprise/fiveg/test_dynamic_vlan_fiveg_wpa2.py b/tests/e2e/basic/validation_of_operating_modes/vlan_mode/dynamic_vlan/wpa2_enterprise/fiveg/test_dynamic_vlan_fiveg_wpa2.py index ab7259f571c..89ba0171dba 100644 --- a/tests/e2e/basic/validation_of_operating_modes/vlan_mode/dynamic_vlan/wpa2_enterprise/fiveg/test_dynamic_vlan_fiveg_wpa2.py +++ b/tests/e2e/basic/validation_of_operating_modes/vlan_mode/dynamic_vlan/wpa2_enterprise/fiveg/test_dynamic_vlan_fiveg_wpa2.py @@ -56,7 +56,13 @@ class TestDynamicVlan5GWpa2(object): def test_ssid_vlan_in_the_absence_of_radius_vlan_identifier_5g_wpa2(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity): """ - pytest -m "absence_of_radius_vlan_identifier and wpa2_enterprise and vlan and fiveg" + Dynamic VLAN does network segmentation of users with the implementation of RADIUS server. The users will be + associated to the respective VLAN networks using RADIUS according to the identity and passphrase provided in + the enterprise authentication. + Objective is to Verify that client associates to AP with Radius assigned dynamic VLAN. + + Unique Marker: + dynamic_vlan_tests and wpa2_enterprise and fiveg and absence_of_radius_vlan_identifier """ profile_data = setup_params_general["ssid_modes"]["wpa2_enterprise"] @@ -112,7 +118,13 @@ def test_ssid_vlan_in_the_absence_of_radius_vlan_identifier_5g_wpa2(self, get_te def test_dynamic_invalid_vlan_5g_wpa2(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity): """ - pytest -m "invalidradiusvlan and wpa2_enterprise and vlan and fiveg" + Dynamic VLAN does network segmentation of users with the implementation of RADIUS server. The users will be + associated to the respective VLAN networks using RADIUS according to the identity and passphrase provided in + the enterprise authentication. + Objective is to Verify that client associates to AP with Radius assigned dynamic VLAN. + + Unique Marker: + dynamic_vlan_tests and wpa2_enterprise and fiveg and invalidradiusvlan """ profile_data = setup_params_general["ssid_modes"]["wpa2_enterprise"] @@ -165,7 +177,13 @@ def test_dynamic_invalid_vlan_5g_wpa2(self, get_test_library, get_dut_logs_per_t def test_radius_vlan_info_retained_after_periodic_reauthentication_5g_wpa2(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity): """ - pytest -m "periodic_reauthentication and wpa2_enterprise and vlan and fiveg" + Dynamic VLAN does network segmentation of users with the implementation of RADIUS server. The users will be + associated to the respective VLAN networks using RADIUS according to the identity and passphrase provided in + the enterprise authentication. + Objective is to Verify that client associates to AP with Radius assigned dynamic VLAN. + + Unique Marker: + dynamic_vlan_tests and wpa2_enterprise and fiveg and periodic_reauthentication """ profile_data = setup_params_general["ssid_modes"]["wpa2_enterprise"] @@ -234,7 +252,13 @@ def test_radius_vlan_info_retained_after_periodic_reauthentication_5g_wpa2(self, def test_ssid_vlan_used_in_absence_of_radius_vlan_5g_wpa2(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity): """ - pytest -m "absenceofvlanid and wpa2_enterprise and vlan and fiveg" + Dynamic VLAN does network segmentation of users with the implementation of RADIUS server. The users will be + associated to the respective VLAN networks using RADIUS according to the identity and passphrase provided in + the enterprise authentication. + Objective is to Verify that client associates to AP with Radius assigned dynamic VLAN. + + Unique Marker: + dynamic_vlan_tests and wpa2_enterprise and fiveg and absenceofvlanid """ profile_data = setup_params_general["ssid_modes"]["wpa2_enterprise"] @@ -288,7 +312,13 @@ def test_ssid_vlan_used_in_absence_of_radius_vlan_5g_wpa2(self, get_test_library def test_out_of_bound_vlanid_5g_wpa2(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity): """ - pytest -m "outofboundvlanid and wpa2_enterprise and vlan and fiveg" + Dynamic VLAN does network segmentation of users with the implementation of RADIUS server. The users will be + associated to the respective VLAN networks using RADIUS according to the identity and passphrase provided in + the enterprise authentication. + Objective is to Verify that client associates to AP with Radius assigned dynamic VLAN. + + Unique Marker: + dynamic_vlan_tests and wpa2_enterprise and fiveg and outofboundvlanid """ profile_data = setup_params_general["ssid_modes"]["wpa2_enterprise"] @@ -328,7 +358,13 @@ def test_out_of_bound_vlanid_5g_wpa2(self, get_test_library, get_dut_logs_per_te def test_client_association_ap_with_dynamic_vlan_5g_wpa2(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity): """ - pytest -m "client_association_ap_with_dynamic_vlan and wpa2_enterprise and vlan and fiveg" + Dynamic VLAN does network segmentation of users with the implementation of RADIUS server. The users will be + associated to the respective VLAN networks using RADIUS according to the identity and passphrase provided in + the enterprise authentication. + Objective is to Verify that client associates to AP with Radius assigned dynamic VLAN. + + Unique Marker: + dynamic_vlan_tests and wpa2_enterprise and fiveg and client_association_ap_with_dynamic_vlan """ profile_data = setup_params_general["ssid_modes"]["wpa2_enterprise"] @@ -386,7 +422,13 @@ def test_client_association_ap_with_dynamic_vlan_5g_wpa2(self, get_test_library, def test_subsequent_user_for_same_user_account_5g_wpa2(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity): """ - pytest -m "subsequent_user_for_same_user_account and wpa2_enterprise and vlan and fiveg" + Dynamic VLAN does network segmentation of users with the implementation of RADIUS server. The users will be + associated to the respective VLAN networks using RADIUS according to the identity and passphrase provided in + the enterprise authentication. + Objective is to Verify that client associates to AP with Radius assigned dynamic VLAN. + + Unique Marker: + dynamic_vlan_tests and wpa2_enterprise and fiveg and subsequent_user_for_same_user_account """ profile_data = setup_params_general["ssid_modes"]["wpa2_enterprise"] @@ -439,7 +481,13 @@ def test_subsequent_user_for_same_user_account_5g_wpa2(self, get_test_library, g def test_subsequent_user_for_different_user_account_5g_wpa2(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity): """ - pytest -m "subsequent_user_for_different_user_account and wpa2_enterprise and vlan and fiveg" + Dynamic VLAN does network segmentation of users with the implementation of RADIUS server. The users will be + associated to the respective VLAN networks using RADIUS according to the identity and passphrase provided in + the enterprise authentication. + Objective is to Verify that client associates to AP with Radius assigned dynamic VLAN. + + Unique Marker: + dynamic_vlan_tests and wpa2_enterprise and fiveg and subsequent_user_for_different_user_account """ profile_data = setup_params_general["ssid_modes"]["wpa2_enterprise"] diff --git a/tests/e2e/basic/validation_of_operating_modes/vlan_mode/dynamic_vlan/wpa2_enterprise/twog/test_dynamic_over_ssid_twog_wpa2.py b/tests/e2e/basic/validation_of_operating_modes/vlan_mode/dynamic_vlan/wpa2_enterprise/twog/test_dynamic_over_ssid_twog_wpa2.py index 63f6971de86..4149a47911d 100644 --- a/tests/e2e/basic/validation_of_operating_modes/vlan_mode/dynamic_vlan/wpa2_enterprise/twog/test_dynamic_over_ssid_twog_wpa2.py +++ b/tests/e2e/basic/validation_of_operating_modes/vlan_mode/dynamic_vlan/wpa2_enterprise/twog/test_dynamic_over_ssid_twog_wpa2.py @@ -54,9 +54,13 @@ class TestDynamicVlanOverSsid2GWpa2(object): def test_dynamic_precedence_over_ssid_vlan_2g_wpa2(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity): """ - To Verify that Dynamic VLAN takes precedence over configured SSID VLAN - Unique Marker: pytest -m "dynamic_precedence_over_ssid and wpa2_enterprise and vlan" + Dynamic VLAN does network segmentation of users with the implementation of RADIUS server. The users will be + associated to the respective VLAN networks using RADIUS according to the identity and passphrase provided in + the enterprise authentication. + Objective is to Verify that client associates to AP with Radius assigned dynamic VLAN. + Unique Marker: + dynamic_vlan_tests and wpa2_enterprise and twog and dynamic_precedence_over_ssid """ profile_data = setup_params_general["ssid_modes"]["wpa2_enterprise"] diff --git a/tests/e2e/basic/validation_of_operating_modes/vlan_mode/dynamic_vlan/wpa2_enterprise/twog/test_dynamic_vlan_twog_wpa2.py b/tests/e2e/basic/validation_of_operating_modes/vlan_mode/dynamic_vlan/wpa2_enterprise/twog/test_dynamic_vlan_twog_wpa2.py index fd077f71dc4..47dd917225d 100644 --- a/tests/e2e/basic/validation_of_operating_modes/vlan_mode/dynamic_vlan/wpa2_enterprise/twog/test_dynamic_vlan_twog_wpa2.py +++ b/tests/e2e/basic/validation_of_operating_modes/vlan_mode/dynamic_vlan/wpa2_enterprise/twog/test_dynamic_vlan_twog_wpa2.py @@ -56,10 +56,13 @@ class TestDynamicVlan2GWpa2(object): def test_ssid_vlan_in_the_absence_of_radius_vlan_identifier_2g_wpa2(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity): """ + Dynamic VLAN does network segmentation of users with the implementation of RADIUS server. The users will be + associated to the respective VLAN networks using RADIUS according to the identity and passphrase provided in + the enterprise authentication. + Objective is to Verify that client associates to AP with Radius assigned dynamic VLAN. - To verify that SSID VLAN is used in the absence of radius VLAN tunnel type identifiers - Unique Marker: pytest -m " absence_of_radius_vlan_identifier and wpa2_enterprise and vlan" - + Unique Marker: + dynamic_vlan_tests and wpa2_enterprise and twog and absence_of_radius_vlan_identifier """ profile_data = setup_params_general["ssid_modes"]["wpa2_enterprise"] @@ -115,7 +118,13 @@ def test_ssid_vlan_in_the_absence_of_radius_vlan_identifier_2g_wpa2(self, get_te def test_dynamic_invalid_vlan_2g_wpa2(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity): """ - pytest -m "invalidradiusvlan and wpa2_enterprise and vlan and twog" + Dynamic VLAN does network segmentation of users with the implementation of RADIUS server. The users will be + associated to the respective VLAN networks using RADIUS according to the identity and passphrase provided in + the enterprise authentication. + Objective is to Verify that client associates to AP with Radius assigned dynamic VLAN. + + Unique Marker: + dynamic_vlan_tests and wpa2_enterprise and twog and invalidradiusvlan """ profile_data = setup_params_general["ssid_modes"]["wpa2_enterprise"] @@ -168,7 +177,13 @@ def test_dynamic_invalid_vlan_2g_wpa2(self, get_test_library, get_dut_logs_per_t def test_radius_vlan_info_retained_after_periodic_reauthentication_2g_wpa2(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity): """ - pytest -m "periodic_reauthentication and wpa2_enterprise and vlan and twog" + Dynamic VLAN does network segmentation of users with the implementation of RADIUS server. The users will be + associated to the respective VLAN networks using RADIUS according to the identity and passphrase provided in + the enterprise authentication. + Objective is to Verify that client associates to AP with Radius assigned dynamic VLAN. + + Unique Marker: + dynamic_vlan_tests and wpa2_enterprise and twog and periodic_reauthentication """ profile_data = setup_params_general["ssid_modes"]["wpa2_enterprise"] @@ -237,7 +252,13 @@ def test_radius_vlan_info_retained_after_periodic_reauthentication_2g_wpa2(self, def test_ssid_vlan_used_in_absence_of_radius_vlan_2g_wpa2(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity): """ - pytest -m "absenceofvlanid and wpa2_enterprise and vlan and twog" + Dynamic VLAN does network segmentation of users with the implementation of RADIUS server. The users will be + associated to the respective VLAN networks using RADIUS according to the identity and passphrase provided in + the enterprise authentication. + Objective is to Verify that client associates to AP with Radius assigned dynamic VLAN. + + Unique Marker: + dynamic_vlan_tests and wpa2_enterprise and twog and absenceofvlanid """ profile_data = setup_params_general["ssid_modes"]["wpa2_enterprise"] @@ -290,7 +311,13 @@ def test_ssid_vlan_used_in_absence_of_radius_vlan_2g_wpa2(self, get_test_library def test_out_of_bound_vlanid_2g_wpa2(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity): """ - pytest -m "outofboundvlanid and wpa2_enterprise and vlan and twog" + Dynamic VLAN does network segmentation of users with the implementation of RADIUS server. The users will be + associated to the respective VLAN networks using RADIUS according to the identity and passphrase provided in + the enterprise authentication. + Objective is to Verify that client associates to AP with Radius assigned dynamic VLAN. + + Unique Marker: + dynamic_vlan_tests and wpa2_enterprise and twog and outofboundvlanid """ profile_data = setup_params_general["ssid_modes"]["wpa2_enterprise"] @@ -330,7 +357,13 @@ def test_out_of_bound_vlanid_2g_wpa2(self, get_test_library, get_dut_logs_per_te def test_client_association_ap_with_dynamic_vlan_2g_wpa2(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity): """ - pytest -m "client_association_ap_with_dynamic_vlan and wpa2_enterprise and vlan and twog" + Dynamic VLAN does network segmentation of users with the implementation of RADIUS server. The users will be + associated to the respective VLAN networks using RADIUS according to the identity and passphrase provided in + the enterprise authentication. + Objective is to Verify that client associates to AP with Radius assigned dynamic VLAN. + + Unique Marker: + dynamic_vlan_tests and wpa2_enterprise and twog and client_association_ap_with_dynamic_vlan """ profile_data = setup_params_general["ssid_modes"]["wpa2_enterprise"] @@ -388,7 +421,13 @@ def test_client_association_ap_with_dynamic_vlan_2g_wpa2(self, get_test_library, def test_subsequent_user_for_same_user_account_2g_wpa2(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity): """ - pytest -m "subsequent_user_for_same_user_account and wpa2_enterprise and vlan and twog" + Dynamic VLAN does network segmentation of users with the implementation of RADIUS server. The users will be + associated to the respective VLAN networks using RADIUS according to the identity and passphrase provided in + the enterprise authentication. + Objective is to Verify that client associates to AP with Radius assigned dynamic VLAN. + + Unique Marker: + dynamic_vlan_tests and wpa2_enterprise and twog and subsequent_user_for_same_user_account """ profile_data = setup_params_general["ssid_modes"]["wpa2_enterprise"] @@ -441,7 +480,13 @@ def test_subsequent_user_for_same_user_account_2g_wpa2(self, get_test_library, g def test_subsequent_user_for_different_user_account_2g_wpa2(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity): """ - pytest -m "subsequent_user_for_different_user_account and wpa2_enterprise and vlan and twog" + Dynamic VLAN does network segmentation of users with the implementation of RADIUS server. The users will be + associated to the respective VLAN networks using RADIUS according to the identity and passphrase provided in + the enterprise authentication. + Objective is to Verify that client associates to AP with Radius assigned dynamic VLAN. + + Unique Marker: + dynamic_vlan_tests and wpa2_enterprise and twog and subsequent_user_for_different_user_account """ profile_data = setup_params_general["ssid_modes"]["wpa2_enterprise"] diff --git a/tests/e2e/basic/validation_of_operating_modes/vlan_mode/dynamic_vlan/wpa3_enterprise/fiveg/test_dynamic_over_ssid_fiveg_wpa3.py b/tests/e2e/basic/validation_of_operating_modes/vlan_mode/dynamic_vlan/wpa3_enterprise/fiveg/test_dynamic_over_ssid_fiveg_wpa3.py index 20088e46a97..19a232985c5 100644 --- a/tests/e2e/basic/validation_of_operating_modes/vlan_mode/dynamic_vlan/wpa3_enterprise/fiveg/test_dynamic_over_ssid_fiveg_wpa3.py +++ b/tests/e2e/basic/validation_of_operating_modes/vlan_mode/dynamic_vlan/wpa3_enterprise/fiveg/test_dynamic_over_ssid_fiveg_wpa3.py @@ -54,7 +54,13 @@ class TestDynamicVlanOverSsid5GWpa3(object): def test_dynamic_precedence_over_ssid_vlan_5g_wpa3(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity): """ - pytest -m "dynamic_precedence_over_ssid and wpa3_enterprise and vlan and fiveg" + Dynamic VLAN does network segmentation of users with the implementation of RADIUS server. The users will be + associated to the respective VLAN networks using RADIUS according to the identity and passphrase provided in + the enterprise authentication. + Objective is to Verify that client associates to AP with Radius assigned dynamic VLAN. + + Unique Marker: + dynamic_vlan_tests and wpa3_enterprise and fiveg and dynamic_precedence_over_ssid """ profile_data = setup_params_general["ssid_modes"]["wpa3_enterprise"] diff --git a/tests/e2e/basic/validation_of_operating_modes/vlan_mode/dynamic_vlan/wpa3_enterprise/fiveg/test_dynamic_vlan_fiveg_wpa3.py b/tests/e2e/basic/validation_of_operating_modes/vlan_mode/dynamic_vlan/wpa3_enterprise/fiveg/test_dynamic_vlan_fiveg_wpa3.py index 3dd537b9b18..1fce8104415 100644 --- a/tests/e2e/basic/validation_of_operating_modes/vlan_mode/dynamic_vlan/wpa3_enterprise/fiveg/test_dynamic_vlan_fiveg_wpa3.py +++ b/tests/e2e/basic/validation_of_operating_modes/vlan_mode/dynamic_vlan/wpa3_enterprise/fiveg/test_dynamic_vlan_fiveg_wpa3.py @@ -55,7 +55,13 @@ class TestDynamicVlan5GWpa3(object): def test_ssid_vlan_in_the_absence_of_radius_vlan_identifier_5g_wpa3(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity): """ - pytest -m " absence_of_radius_vlan_identifier and wpa3_enterprise and vlan and fiveg" + Dynamic VLAN does network segmentation of users with the implementation of RADIUS server. The users will be + associated to the respective VLAN networks using RADIUS according to the identity and passphrase provided in + the enterprise authentication. + Objective is to Verify that client associates to AP with Radius assigned dynamic VLAN. + + Unique Marker: + dynamic_vlan_tests and wpa3_enterprise and fiveg and absence_of_radius_vlan_identifier """ profile_data = setup_params_general["ssid_modes"]["wpa3_enterprise"] @@ -110,7 +116,13 @@ def test_ssid_vlan_in_the_absence_of_radius_vlan_identifier_5g_wpa3(self, get_te def test_dynamic_invalid_vlan_5g_wpa3(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity): """ - pytest -m "invalidradiusvlan and wpa3_enterprise and vlan and fiveg" + Dynamic VLAN does network segmentation of users with the implementation of RADIUS server. The users will be + associated to the respective VLAN networks using RADIUS according to the identity and passphrase provided in + the enterprise authentication. + Objective is to Verify that client associates to AP with Radius assigned dynamic VLAN. + + Unique Marker: + dynamic_vlan_tests and wpa3_enterprise and fiveg and invalidradiusvlan """ profile_data = setup_params_general["ssid_modes"]["wpa3_enterprise"] @@ -163,7 +175,13 @@ def test_dynamic_invalid_vlan_5g_wpa3(self, get_test_library, get_dut_logs_per_t def test_radius_vlan_info_retained_after_periodic_reauthentication_5g_wpa3(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity): """ - pytest -m "periodic_reauthentication and wpa3_enterprise and vlan and fiveg" + Dynamic VLAN does network segmentation of users with the implementation of RADIUS server. The users will be + associated to the respective VLAN networks using RADIUS according to the identity and passphrase provided in + the enterprise authentication. + Objective is to Verify that client associates to AP with Radius assigned dynamic VLAN. + + Unique Marker: + dynamic_vlan_tests and wpa3_enterprise and fiveg and periodic_reauthentication """ profile_data = setup_params_general["ssid_modes"]["wpa3_enterprise"] @@ -231,7 +249,13 @@ def test_radius_vlan_info_retained_after_periodic_reauthentication_5g_wpa3(self, def test_ssid_vlan_used_in_absence_of_radius_vlan_5g_wpa3(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity): """ - pytest -m "absenceofvlanid and wpa3_enterprise and vlan and fiveg" + Dynamic VLAN does network segmentation of users with the implementation of RADIUS server. The users will be + associated to the respective VLAN networks using RADIUS according to the identity and passphrase provided in + the enterprise authentication. + Objective is to Verify that client associates to AP with Radius assigned dynamic VLAN. + + Unique Marker: + dynamic_vlan_tests and wpa3_enterprise and fiveg and absenceofvlanid """ profile_data = setup_params_general["ssid_modes"]["wpa3_enterprise"] @@ -284,7 +308,13 @@ def test_ssid_vlan_used_in_absence_of_radius_vlan_5g_wpa3(self, get_test_library def test_out_of_bound_vlanid_5g_wpa3(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity): """ - pytest -m "outofboundvlanid and wpa3_enterprise and vlan and fiveg" + Dynamic VLAN does network segmentation of users with the implementation of RADIUS server. The users will be + associated to the respective VLAN networks using RADIUS according to the identity and passphrase provided in + the enterprise authentication. + Objective is to Verify that client associates to AP with Radius assigned dynamic VLAN. + + Unique Marker: + dynamic_vlan_tests and wpa3_enterprise and fiveg and outofboundvlanid """ profile_data = setup_params_general["ssid_modes"]["wpa3_enterprise"] @@ -323,7 +353,13 @@ def test_out_of_bound_vlanid_5g_wpa3(self, get_test_library, get_dut_logs_per_te def test_client_association_ap_with_dynamic_vlan_5g_wpa3(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity): """ - pytest -m "client_association_ap_with_dynamic_vlan and wpa3_enterprise and vlan and fiveg" + Dynamic VLAN does network segmentation of users with the implementation of RADIUS server. The users will be + associated to the respective VLAN networks using RADIUS according to the identity and passphrase provided in + the enterprise authentication. + Objective is to Verify that client associates to AP with Radius assigned dynamic VLAN. + + Unique Marker: + dynamic_vlan_tests and wpa3_enterprise and fiveg and client_association_ap_with_dynamic_vlan """ profile_data = setup_params_general["ssid_modes"]["wpa3_enterprise"] @@ -381,7 +417,13 @@ def test_client_association_ap_with_dynamic_vlan_5g_wpa3(self, get_test_library, def test_subsequent_user_for_same_user_account_5g_wpa3(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity): """ - pytest -m "subsequent_user_for_same_user_account and wpa3_enterprise and vlan and fiveg" + Dynamic VLAN does network segmentation of users with the implementation of RADIUS server. The users will be + associated to the respective VLAN networks using RADIUS according to the identity and passphrase provided in + the enterprise authentication. + Objective is to Verify that client associates to AP with Radius assigned dynamic VLAN. + + Unique Marker: + dynamic_vlan_tests and wpa3_enterprise and fiveg and subsequent_user_for_same_user_account """ profile_data = setup_params_general["ssid_modes"]["wpa3_enterprise"] @@ -434,7 +476,13 @@ def test_subsequent_user_for_same_user_account_5g_wpa3(self, get_test_library, g def test_subsequent_user_for_different_user_account_5g_wpa3(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity): """ - pytest -m "subsequent_user_for_different_user_account and wpa3_enterprise and vlan and fiveg" + Dynamic VLAN does network segmentation of users with the implementation of RADIUS server. The users will be + associated to the respective VLAN networks using RADIUS according to the identity and passphrase provided in + the enterprise authentication. + Objective is to Verify that client associates to AP with Radius assigned dynamic VLAN. + + Unique Marker: + dynamic_vlan_tests and wpa3_enterprise and fiveg and subsequent_user_for_different_user_account """ profile_data = setup_params_general["ssid_modes"]["wpa3_enterprise"] diff --git a/tests/e2e/basic/validation_of_operating_modes/vlan_mode/dynamic_vlan/wpa3_enterprise/twog/test_dynamic_over_ssid_twog_wpa3.py b/tests/e2e/basic/validation_of_operating_modes/vlan_mode/dynamic_vlan/wpa3_enterprise/twog/test_dynamic_over_ssid_twog_wpa3.py index 3c16115a8f7..c636cc91991 100644 --- a/tests/e2e/basic/validation_of_operating_modes/vlan_mode/dynamic_vlan/wpa3_enterprise/twog/test_dynamic_over_ssid_twog_wpa3.py +++ b/tests/e2e/basic/validation_of_operating_modes/vlan_mode/dynamic_vlan/wpa3_enterprise/twog/test_dynamic_over_ssid_twog_wpa3.py @@ -54,7 +54,13 @@ class TestDynamicVlanOverSsid2GWpa3(object): def test_dynamic_precedence_over_ssid_vlan_2g_wpa3(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity): """ - pytest -m "dynamic_precedence_over_ssid and wpa3_enterprise and vlan and twog" + Dynamic VLAN does network segmentation of users with the implementation of RADIUS server. The users will be + associated to the respective VLAN networks using RADIUS according to the identity and passphrase provided in + the enterprise authentication. + Objective is to Verify that client associates to AP with Radius assigned dynamic VLAN. + + Unique Marker: + dynamic_vlan_tests and wpa3_enterprise and twog and dynamic_precedence_over_ssid """ profile_data = setup_params_general["ssid_modes"]["wpa3_enterprise"] diff --git a/tests/e2e/basic/validation_of_operating_modes/vlan_mode/dynamic_vlan/wpa3_enterprise/twog/test_dynamic_vlan_twog_wpa3.py b/tests/e2e/basic/validation_of_operating_modes/vlan_mode/dynamic_vlan/wpa3_enterprise/twog/test_dynamic_vlan_twog_wpa3.py index cf1b7826c0b..06bffbd437b 100644 --- a/tests/e2e/basic/validation_of_operating_modes/vlan_mode/dynamic_vlan/wpa3_enterprise/twog/test_dynamic_vlan_twog_wpa3.py +++ b/tests/e2e/basic/validation_of_operating_modes/vlan_mode/dynamic_vlan/wpa3_enterprise/twog/test_dynamic_vlan_twog_wpa3.py @@ -55,7 +55,13 @@ class TestDynamicVlan2GWpa3(object): def test_ssid_vlan_in_the_absence_of_radius_vlan_identifier_2g_wpa3(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity): """ - pytest -m "absence_of_radius_vlan_identifier and wpa3_enterprise and vlan and twog" + Dynamic VLAN does network segmentation of users with the implementation of RADIUS server. The users will be + associated to the respective VLAN networks using RADIUS according to the identity and passphrase provided in + the enterprise authentication. + Objective is to Verify that client associates to AP with Radius assigned dynamic VLAN. + + Unique Marker: + dynamic_vlan_tests and wpa3_enterprise and twog and absence_of_radius_vlan_identifier """ profile_data = setup_params_general["ssid_modes"]["wpa3_enterprise"] @@ -111,7 +117,13 @@ def test_ssid_vlan_in_the_absence_of_radius_vlan_identifier_2g_wpa3(self, get_te def test_dynamic_invalid_vlan_2g_wpa3(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity): """ - pytest -m "invalidradiusvlan and wpa3_enterprise and vlan and twog" + Dynamic VLAN does network segmentation of users with the implementation of RADIUS server. The users will be + associated to the respective VLAN networks using RADIUS according to the identity and passphrase provided in + the enterprise authentication. + Objective is to Verify that client associates to AP with Radius assigned dynamic VLAN. + + Unique Marker: + dynamic_vlan_tests and wpa3_enterprise and twog and invalidradiusvlan """ profile_data = setup_params_general["ssid_modes"]["wpa3_enterprise"] @@ -164,7 +176,13 @@ def test_dynamic_invalid_vlan_2g_wpa3(self, get_test_library, get_dut_logs_per_t def test_radius_vlan_info_retained_after_periodic_reauthentication_2g_wpa3(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity): """ - pytest -m "periodic_reauthentication and wpa3_enterprise and vlan and twog" + Dynamic VLAN does network segmentation of users with the implementation of RADIUS server. The users will be + associated to the respective VLAN networks using RADIUS according to the identity and passphrase provided in + the enterprise authentication. + Objective is to Verify that client associates to AP with Radius assigned dynamic VLAN. + + Unique Marker: + dynamic_vlan_tests and wpa3_enterprise and twog and periodic_reauthentication """ profile_data = setup_params_general["ssid_modes"]["wpa3_enterprise"] @@ -232,7 +250,13 @@ def test_radius_vlan_info_retained_after_periodic_reauthentication_2g_wpa3(self, def test_ssid_vlan_used_in_absence_of_radius_vlan_2g_wpa3(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity): """ - pytest -m "absenceofvlanid and wpa3_enterprise and vlan and twog" + Dynamic VLAN does network segmentation of users with the implementation of RADIUS server. The users will be + associated to the respective VLAN networks using RADIUS according to the identity and passphrase provided in + the enterprise authentication. + Objective is to Verify that client associates to AP with Radius assigned dynamic VLAN. + + Unique Marker: + dynamic_vlan_tests and wpa3_enterprise and twog and absenceofvlanid """ profile_data = setup_params_general["ssid_modes"]["wpa3_enterprise"] @@ -285,7 +309,13 @@ def test_ssid_vlan_used_in_absence_of_radius_vlan_2g_wpa3(self, get_test_library def test_out_of_bound_vlanid_2g_wpa3(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity): """ - pytest -m "outofboundvlanid and wpa3_enterprise and vlan and twog" + Dynamic VLAN does network segmentation of users with the implementation of RADIUS server. The users will be + associated to the respective VLAN networks using RADIUS according to the identity and passphrase provided in + the enterprise authentication. + Objective is to Verify that client associates to AP with Radius assigned dynamic VLAN. + + Unique Marker: + dynamic_vlan_tests and wpa3_enterprise and twog and outofboundvlanid """ profile_data = setup_params_general["ssid_modes"]["wpa3_enterprise"] @@ -325,7 +355,13 @@ def test_out_of_bound_vlanid_2g_wpa3(self, get_test_library, get_dut_logs_per_te def test_client_association_ap_with_dynamic_vlan_2g_wpa3(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity): """ - pytest -m "client_association_ap_with_dynamic_vlan and wpa3_enterprise and vlan and twog" + Dynamic VLAN does network segmentation of users with the implementation of RADIUS server. The users will be + associated to the respective VLAN networks using RADIUS according to the identity and passphrase provided in + the enterprise authentication. + Objective is to Verify that client associates to AP with Radius assigned dynamic VLAN. + + Unique Marker: + dynamic_vlan_tests and wpa3_enterprise and twog and client_association_ap_with_dynamic_vlan """ profile_data = setup_params_general["ssid_modes"]["wpa3_enterprise"] @@ -383,7 +419,13 @@ def test_client_association_ap_with_dynamic_vlan_2g_wpa3(self, get_test_library, def test_subsequent_user_for_same_user_account_2g_wpa3(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity): """ - pytest -m "subsequent_user_for_same_user_account and wpa3_enterprise and vlan and twog" + Dynamic VLAN does network segmentation of users with the implementation of RADIUS server. The users will be + associated to the respective VLAN networks using RADIUS according to the identity and passphrase provided in + the enterprise authentication. + Objective is to Verify that client associates to AP with Radius assigned dynamic VLAN. + + Unique Marker: + dynamic_vlan_tests and wpa3_enterprise and twog and subsequent_user_for_same_user_account """ profile_data = setup_params_general["ssid_modes"]["wpa3_enterprise"] @@ -435,7 +477,13 @@ def test_subsequent_user_for_same_user_account_2g_wpa3(self, get_test_library, g def test_subsequent_user_for_different_user_account_2g_wpa3(self, get_test_library, get_dut_logs_per_test_case, get_test_device_logs, num_stations, setup_configuration, check_connectivity): """ - pytest -m "subsequent_user_for_different_user_account and wpa3_enterprise and vlan and twog" + Dynamic VLAN does network segmentation of users with the implementation of RADIUS server. The users will be + associated to the respective VLAN networks using RADIUS according to the identity and passphrase provided in + the enterprise authentication. + Objective is to Verify that client associates to AP with Radius assigned dynamic VLAN. + + Unique Marker: + dynamic_vlan_tests and wpa3_enterprise and twog and subsequent_user_for_different_user_account """ profile_data = setup_params_general["ssid_modes"]["wpa3_enterprise"] From b51825a9ec52da111c4d3eaf1a4db73f86b9a4eb Mon Sep 17 00:00:00 2001 From: jitendracandela Date: Mon, 22 Apr 2024 16:59:21 +0530 Subject: [PATCH 15/16] Removed: Multi-Station Througput Tests and Throughput Benchmark Tests. --- .../multi_station_throughput/__init__.py | 0 .../wpa2_personal/__init__.py | 0 .../wpa2_personal/bridge_mode/__init__.py | 0 .../bridge_mode/test_multi_sta_thpt_2g.py | 1000 ---------- .../bridge_mode/test_mutli_sta_thpt_5g.py | 1023 ---------- .../wpa2_personal/nat_mode/__init__.py | 0 .../nat_mode/test_multi_sta_thpt_2g.py | 986 ---------- .../nat_mode/test_mutli_sta_thpt_5g.py | 1009 ---------- .../wpa2_personal/vlan_mode/__init__.py | 0 .../vlan_mode/test_multi_sta_thpt_2g.py | 986 ---------- .../vlan_mode/test_mutli_sta_thpt_5g.py | 1009 ---------- .../throughput_benchmark/__init__.py | 0 .../__init__.py | 0 .../wpa2_personal/__init__.py | 0 .../wpa2_personal/test_bridge_mode.py | 1654 ---------------- .../wpa2_personal/test_nat_mode.py | 1647 ---------------- .../wpa2_personal/test_vlan_mode.py | 1658 ----------------- .../throughput_across_channel_bw/__init__.py | 0 .../test_bridge_mode.py | 420 ----- .../test_nat_mode.py | 423 ----- .../test_vlan_mode.py | 462 ----- .../__init__.py | 0 .../open_security/__init__.py | 0 .../open_security/test_bridge_mode.py | 648 ------- .../open_security/test_nat_mode.py | 639 ------- .../open_security/test_vlan_mode.py | 638 ------- .../wpa2_security/__init__.py | 0 .../wpa2_security/test_bridge_mode.py | 643 ------- .../wpa2_security/test_nat_mode.py | 653 ------- .../wpa2_security/test_vlan_mode.py | 653 ------- .../wpa3_security/__init__.py | 0 .../wpa3_security/test_bridge_mode.py | 644 ------- .../wpa3_security/test_nat_mode.py | 655 ------- .../wpa3_security/test_vlan_mode.py | 654 ------- .../wpa_security/__init__.py | 0 .../wpa_security/test_bridge_mode.py | 651 ------- .../wpa_security/test_nat_mode.py | 645 ------- .../wpa_security/test_vlan_mode.py | 651 ------- 38 files changed, 20051 deletions(-) delete mode 100644 tests/e2e/basic/performance_tests/multi_station_throughput/__init__.py delete mode 100644 tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/__init__.py delete mode 100644 tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/bridge_mode/__init__.py delete mode 100644 tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/bridge_mode/test_multi_sta_thpt_2g.py delete mode 100644 tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/bridge_mode/test_mutli_sta_thpt_5g.py delete mode 100644 tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/nat_mode/__init__.py delete mode 100644 tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/nat_mode/test_multi_sta_thpt_2g.py delete mode 100644 tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/nat_mode/test_mutli_sta_thpt_5g.py delete mode 100644 tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/vlan_mode/__init__.py delete mode 100644 tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/vlan_mode/test_multi_sta_thpt_2g.py delete mode 100644 tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/vlan_mode/test_mutli_sta_thpt_5g.py delete mode 100644 tests/e2e/basic/performance_tests/throughput_benchmark/__init__.py delete mode 100644 tests/e2e/basic/performance_tests/throughput_benchmark/tcp_udp_upstream_downstream_bidirection_throughput_test/__init__.py delete mode 100644 tests/e2e/basic/performance_tests/throughput_benchmark/tcp_udp_upstream_downstream_bidirection_throughput_test/wpa2_personal/__init__.py delete mode 100644 tests/e2e/basic/performance_tests/throughput_benchmark/tcp_udp_upstream_downstream_bidirection_throughput_test/wpa2_personal/test_bridge_mode.py delete mode 100644 tests/e2e/basic/performance_tests/throughput_benchmark/tcp_udp_upstream_downstream_bidirection_throughput_test/wpa2_personal/test_nat_mode.py delete mode 100644 tests/e2e/basic/performance_tests/throughput_benchmark/tcp_udp_upstream_downstream_bidirection_throughput_test/wpa2_personal/test_vlan_mode.py delete mode 100644 tests/e2e/basic/performance_tests/throughput_benchmark/throughput_across_channel_bw/__init__.py delete mode 100644 tests/e2e/basic/performance_tests/throughput_benchmark/throughput_across_channel_bw/test_bridge_mode.py delete mode 100644 tests/e2e/basic/performance_tests/throughput_benchmark/throughput_across_channel_bw/test_nat_mode.py delete mode 100644 tests/e2e/basic/performance_tests/throughput_benchmark/throughput_across_channel_bw/test_vlan_mode.py delete mode 100644 tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/__init__.py delete mode 100644 tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/open_security/__init__.py delete mode 100644 tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/open_security/test_bridge_mode.py delete mode 100644 tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/open_security/test_nat_mode.py delete mode 100644 tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/open_security/test_vlan_mode.py delete mode 100644 tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa2_security/__init__.py delete mode 100644 tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa2_security/test_bridge_mode.py delete mode 100644 tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa2_security/test_nat_mode.py delete mode 100644 tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa2_security/test_vlan_mode.py delete mode 100644 tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa3_security/__init__.py delete mode 100644 tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa3_security/test_bridge_mode.py delete mode 100644 tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa3_security/test_nat_mode.py delete mode 100644 tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa3_security/test_vlan_mode.py delete mode 100644 tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa_security/__init__.py delete mode 100644 tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa_security/test_bridge_mode.py delete mode 100644 tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa_security/test_nat_mode.py delete mode 100644 tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa_security/test_vlan_mode.py diff --git a/tests/e2e/basic/performance_tests/multi_station_throughput/__init__.py b/tests/e2e/basic/performance_tests/multi_station_throughput/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/__init__.py b/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/bridge_mode/__init__.py b/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/bridge_mode/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/bridge_mode/test_multi_sta_thpt_2g.py b/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/bridge_mode/test_multi_sta_thpt_2g.py deleted file mode 100644 index 8d84476545e..00000000000 --- a/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/bridge_mode/test_multi_sta_thpt_2g.py +++ /dev/null @@ -1,1000 +0,0 @@ -""" - - Multi Station throughput vs Packet Size test: Bridge Mode - pytest -m "multi_sta_thpt and wpa2_personal and bridge and twog" - -""" - -import os -import allure -import pytest - -pytestmark = [pytest.mark.performance, pytest.mark.multi_sta_thpt, pytest.mark.wpa2_personal, pytest.mark.bridge, - pytest.mark.twog] - -setup_params_general = { - "mode": "BRIDGE", - "ssid_modes": { - "wpa2_personal": [ - {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something"}]}, - "rf": {}, - "radius": False -} - - -@allure.suite("performance") -@allure.feature("BRIDGE MODE WPA2 PERSONAL Multi_Station_Throughput") -@allure.parent_suite("Multi Station Throughput Test") -@allure.suite("WPA2 Personal Security") -@allure.sub_suite("Bridge Mode") -@pytest.mark.parametrize( - 'setup_configuration', - [setup_params_general], - indirect=True, - scope="class" -) -@pytest.mark.usefixtures("setup_configuration") -class TestMultiStaThptbridge(object): - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_bridge_udp_dl_2g_1", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3631") - def test_mstathpt_wpa2p_bridge_udp_dl_2g_1(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and bridge and wpa2_personal and twog" - """ - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "BRIDGE" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200,512,1024,MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], - ['tput_multi_udp:1'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_bridge_1", raw_line=raw_lines, - vlan_id=vlan, dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_bridge_tcp_dl_2g_2", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3633") - def test_mstathpt_wpa2p_bridge_tcp_dl_2g_2(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and bridge and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "BRIDGE" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], - ['pkt_loss_thresh:500000'], - ['frame_sizes:200,512,1024,MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], - ['tput_multi_udp:0'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_bridge_2", - raw_line=raw_lines, - vlan_id=vlan, dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, - pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_bridge_udp_ul_2g_3", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3635") - def test_mstathpt_wpa2p_bridge_udp_ul_2g_3(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and bridge and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "BRIDGE" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200,512,1024,MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], - ['tput_multi_udp:1'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_bridge_3", raw_line=raw_lines, - vlan_id=vlan, dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_bridge_tcp_ul_2g_4", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3637") - def test_mstathpt_wpa2p_bridge_tcp_ul_2g_4(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and bridge and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "BRIDGE" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200,512,1024,MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], - ['tput_multi_udp:0'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_bridge_4", raw_line=raw_lines, - vlan_id=vlan, dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.multi_sta_perf_throughput - @pytest.mark.tcp_udp_ul_dl - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_bridge_udp_dl_2g_5", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3639") - def test_mstathpt_wpa2p_bridge_udp_dl_2g_5(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and bridge and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "BRIDGE" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200,512,1024,MTU'], ['capacities:MAX'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], - ['tput_multi_udp:1'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_bridge_5", raw_line=raw_lines, - vlan_id=vlan, dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.multi_sta_perf_throughput - @pytest.mark.tcp_udp_ul_dl - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_bridge_tcp_dl_2g_6", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3641") - def test_mstathpt_wpa2p_bridge_tcp_dl_2g_6(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and bridge and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "BRIDGE" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200,512,1024,MTU'], ['capacities:MAX'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], - ['tput_multi_udp:0'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_bridge_6", raw_line=raw_lines, - vlan_id=vlan, dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.multi_sta_perf_throughput - @pytest.mark.tcp_udp_ul_dl - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_bridge_udp_ul_2g_7", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3643") - def test_mstathpt_wpa2p_bridge_udp_ul_2g_7(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and bridge and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "BRIDGE" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200,512,1024,MTU'], ['capacities:MAX'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], - ['tput_multi_udp:1'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_bridge_7", raw_line=raw_lines, - vlan_id=vlan, dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.multi_sta_perf_throughput - @pytest.mark.tcp_udp_ul_dl - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_bridge_tcp_ul_2g_8", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3645") - def test_mstathpt_wpa2p_bridge_tcp_ul_2g_8(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and bridge and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "BRIDGE" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200,512,1024,MTU'], ['capacities:MAX'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], - ['tput_multi_udp:0'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_bridge_8", raw_line=raw_lines, - vlan_id=vlan, dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_bridge_udp_dl_2g_9", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3781") - def test_mstathpt_wpa2p_bridge_udp_dl_2g_9(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and bridge and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "BRIDGE" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200,512'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], - ['tput_multi_udp:1'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_bridge_9", raw_line=raw_lines, - vlan_id=vlan, dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_bridge_tcp_dl_2g_10", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3783") - def test_mstathpt_wpa2p_bridge_tcp_dl_2g_10(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and bridge and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "BRIDGE" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], - ['tput_multi_udp:0'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_bridge_10", - raw_line=raw_lines, - vlan_id=vlan, dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_bridge_udp_ul_2g_11", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3786") - def test_mstathpt_wpa2p_bridge_udp_ul_2g_11(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and bridge and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "BRIDGE" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], - ['tput_multi_udp:1'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_bridge_11", - raw_line=raw_lines, - vlan_id=vlan, dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_bridge_tcp_ul_2g_12", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3788") - def test_mstathpt_wpa2p_bridge_tcp_ul_2g_12(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and bridge and wpa2_personal and twog" - """ - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "BRIDGE" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], - ['tput_multi_udp:0'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_bridge_12", - raw_line=raw_lines, - vlan_id=vlan, dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_bridge_udp_dl_2g_13", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3790") - def test_mstathpt_wpa2p_bridge_udp_dl_2g_13(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and bridge and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "BRIDGE" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:512'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], - ['tput_multi_udp:1'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_bridge_13", - raw_line=raw_lines, - vlan_id=vlan, dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_bridge_tcp_dl_2g_14", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3793") - def test_mstathpt_wpa2p_bridge_tcp_dl_2g_14(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and bridge and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "BRIDGE" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:512'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], - ['tput_multi_udp:0'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_bridge_14", - raw_line=raw_lines, - vlan_id=vlan, dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_bridge_udp_ul_2g_15", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3798") - def test_mstathpt_wpa2p_bridge_udp_ul_2g_15(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and bridge and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "BRIDGE" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:512'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], - ['tput_multi_udp:1'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_bridge_15", - raw_line=raw_lines, - vlan_id=vlan, dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_bridge_tcp_ul_2g_16", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3800") - def test_mstathpt_wpa2p_bridge_tcp_ul_2g_16(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and bridge and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "BRIDGE" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:512'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], - ['tput_multi_udp:0'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_bridge_16", - raw_line=raw_lines, - vlan_id=vlan, dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_bridge_udp_dl_2g_17", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3802") - def test_mstathpt_wpa2p_bridge_udp_dl_2g_17(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and bridge and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "BRIDGE" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:1024'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], - ['tput_multi_udp:1'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_bridge_17", - raw_line=raw_lines, - vlan_id=vlan, dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_bridge_tcp_dl_2g_18", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3804") - def test_mstathpt_wpa2p_bridge_tcp_dl_2g_18(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and bridge and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "BRIDGE" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:1024'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], - ['tput_multi_udp:0'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_bridge_18", - raw_line=raw_lines, - vlan_id=vlan, dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_bridge_udp_ul_2g_19", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3806") - def test_mstathpt_wpa2p_bridge_udp_ul_2g_19(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and bridge and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "BRIDGE" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:1024'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], - ['tput_multi_udp:1'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_bridge_19", - raw_line=raw_lines, - vlan_id=vlan, dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_bridge_tcp_ul_2g_20", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3810") - def test_mstathpt_wpa2p_bridge_tcp_ul_2g_20(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and bridge and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "BRIDGE" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:1024'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], - ['tput_multi_udp:0'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_bridge_20", - raw_line=raw_lines, - vlan_id=vlan, dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_bridge_udp_dl_2g_21", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3812") - def test_mstathpt_wpa2p_bridge_udp_dl_2g_21(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and bridge and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "BRIDGE" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], - ['tput_multi_udp:1'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_bridge_21", - raw_line=raw_lines, - vlan_id=vlan, dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_bridge_tcp_dl_2g_22", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3815") - def test_mstathpt_wpa2p_bridge_tcp_dl_2g_22(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and bridge and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "BRIDGE" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], - ['tput_multi_udp:0'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_bridge_22", - raw_line=raw_lines, - vlan_id=vlan, dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_bridge_udp_ul_2g_23", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3817") - def test_mstathpt_wpa2p_bridge_udp_ul_2g_23(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and bridge and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "BRIDGE" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], - ['tput_multi_udp:1'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_bridge_23", - raw_line=raw_lines, - vlan_id=vlan, dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_bridge_tcp_ul_2g_24", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3819") - def test_mstathpt_wpa2p_bridge_tcp_ul_2g_24(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and bridge and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "BRIDGE" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], - ['tput_multi_udp:0'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_bridge_24", - raw_line=raw_lines, - vlan_id=vlan, dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True diff --git a/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/bridge_mode/test_mutli_sta_thpt_5g.py b/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/bridge_mode/test_mutli_sta_thpt_5g.py deleted file mode 100644 index 9738701d7d0..00000000000 --- a/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/bridge_mode/test_mutli_sta_thpt_5g.py +++ /dev/null @@ -1,1023 +0,0 @@ -""" - - Multi Station throughput vs Packet Size test: Bridge Mode - pytest -m "multi_sta_thpt and wpa2_personal and bridge and fiveg" - -""" - -import os -import allure -import pytest - -pytestmark = [pytest.mark.performance, pytest.mark.multi_sta_thpt, pytest.mark.wpa2_personal, pytest.mark.bridge, - pytest.mark.fiveg] - -setup_params_general = { - "mode": "BRIDGE", - "ssid_modes": { - "wpa2_personal": [ - {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something"}]}, - "rf": {}, - "radius": False -} - - -@allure.suite("performance") -@allure.feature("BRIDGE MODE WPA2 PERSONAL Multi_Station_Throughput") -@allure.parent_suite("Multi Station Throughput Test") -@allure.suite("WPA2 Personal Security") -@allure.sub_suite("Bridge Mode") -@pytest.mark.parametrize( - 'setup_configuration', - [setup_params_general], - indirect=True, - scope="class" -) -@pytest.mark.usefixtures("setup_configuration") -class TestMultiStaThptbridge(object): - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_bridge_udp_dl_5g_1", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3632") - def test_mstathpt_wpa2p_bridge_udp_dl_5g_1(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and bridge and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "BRIDGE" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID's NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200,512,1024,MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], - ['tput_multi_udp:1'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_bridge_1", raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_bridge_tcp_dl_5g_2", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3634") - def test_mstathpt_wpa2p_bridge_tcp_dl_5g_2(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and bridge and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "BRIDGE" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID's NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], - ['pkt_loss_thresh:500000'], - ['frame_sizes:200,512,1024,MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], - ['tput_multi_udp:0'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_bridge_2", - raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, - pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_bridge_udp_ul_5g_3", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3636") - def test_mstathpt_wpa2p_bridge_udp_ul_5g_3(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and bridge and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "BRIDGE" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID's NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200,512,1024,MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], - ['tput_multi_udp:1'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_bridge_3", raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_bridge_tcp_ul_5g_4", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3638") - def test_mstathpt_wpa2p_bridge_tcp_ul_5g_4(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and bridge and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "BRIDGE" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID's NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200,512,1024,MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], - ['tput_multi_udp:0'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_bridge_4", raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.multi_sta_perf_throughput - @pytest.mark.tcp_udp_ul_dl - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_bridge_udp_dl_5g_5", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3640") - def test_mstathpt_wpa2p_bridge_udp_dl_5g_5(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and bridge and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "BRIDGE" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID's NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200,512,1024,MTU'], ['capacities:MAX'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], - ['tput_multi_udp:1'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_bridge_5", raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.multi_sta_perf_throughput - @pytest.mark.tcp_udp_ul_dl - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_bridge_tcp_dl_5g_6", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3642") - def test_mstathpt_wpa2p_bridge_tcp_dl_5g_6(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and bridge and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "BRIDGE" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID's NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200,512,1024,MTU'], ['capacities:MAX'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], - ['tput_multi_udp:0'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_bridge_6", raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.multi_sta_perf_throughput - @pytest.mark.tcp_udp_ul_dl - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_bridge_udp_ul_5g_7", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3644") - def test_mstathpt_wpa2p_bridge_udp_ul_5g_7(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and bridge and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "BRIDGE" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID's NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200,512,1024,MTU'], ['capacities:MAX'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], - ['tput_multi_udp:1'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_bridge_7", raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.multi_sta_perf_throughput - @pytest.mark.tcp_udp_ul_dl - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_bridge_tcp_ul_5g_8", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3646") - def test_mstathpt_wpa2p_bridge_tcp_ul_5g_8(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and bridge and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "BRIDGE" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID's NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200,512,1024,MTU'], ['capacities:MAX'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], - ['tput_multi_udp:0'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_bridge_8", raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_bridge_udp_dl_5g_9", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3782") - def test_mstathpt_wpa2p_bridge_udp_dl_5g_9(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and bridge and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "BRIDGE" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID's NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200,512'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], - ['tput_multi_udp:1'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_bridge_9", raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_bridge_tcp_dl_5g_10", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3784") - def test_mstathpt_wpa2p_bridge_tcp_dl_5g_10(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and bridge and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "BRIDGE" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID's NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], - ['tput_multi_udp:0'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_bridge_10", - raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_bridge_udp_ul_5g_11", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3787") - def test_mstathpt_wpa2p_bridge_udp_ul_5g_11(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and bridge and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "BRIDGE" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID's NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], - ['tput_multi_udp:1'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_bridge_11", - raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_bridge_udp_ul_5g_12", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3789") - def test_mstathpt_wpa2p_bridge_tcp_ul_5g_12(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and bridge and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "BRIDGE" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID's NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], - ['tput_multi_udp:0'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_bridge_12", - raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_bridge_udp_dl_5g_13", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3792") - def test_mstathpt_wpa2p_bridge_udp_dl_5g_13(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and bridge and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "BRIDGE" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID's NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:512'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], - ['tput_multi_udp:1'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_bridge_13", - raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_bridge_tcp_dl_5g_14", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3794") - def test_mstathpt_wpa2p_bridge_tcp_dl_5g_14(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and bridge and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "BRIDGE" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID's NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:512'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], - ['tput_multi_udp:0'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_bridge_14", - raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_bridge_udp_ul_5g_15", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3799") - def test_mstathpt_wpa2p_bridge_udp_ul_5g_15(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and bridge and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "BRIDGE" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID's NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:512'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], - ['tput_multi_udp:1'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_bridge_15", - raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_bridge_tcp_ul_5g_16", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3801") - def test_mstathpt_wpa2p_bridge_tcp_ul_5g_16(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and bridge and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "BRIDGE" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID's NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:512'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], - ['tput_multi_udp:0'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_bridge_16", - raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_bridge_udp_dl_5g_17", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3803") - def test_mstathpt_wpa2p_bridge_udp_ul_5g_17(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and bridge and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "BRIDGE" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID's NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:1024'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], - ['tput_multi_udp:1'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_bridge_17", - raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_bridge_tcp_dl_5g_18", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3805") - def test_mstathpt_wpa2p_bridge_tcp_dl_5g_18(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and bridge and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "BRIDGE" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID's NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:1024'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], - ['tput_multi_udp:0'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_bridge_18", - raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_bridge_udp_ul_5g_19", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3807") - def test_mstathpt_wpa2p_bridge_udp_ul_5g_19(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and bridge and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "BRIDGE" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID's NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:1024'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], - ['tput_multi_udp:1'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_bridge_19", - raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_bridge_tcp_ul_5g_20", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3811") - def test_mstathpt_wpa2p_bridge_tcp_ul_5g_20(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and bridge and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "BRIDGE" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID's NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:1024'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], - ['tput_multi_udp:0'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_bridge_20", - raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_bridge_udp_dl_5g_21", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3813") - def test_mstathpt_wpa2p_bridge_udp_dl_5g_21(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and bridge and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "BRIDGE" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID's NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], - ['tput_multi_udp:1'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_bridge_21", - raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_bridge_tcp_dl_5g_22", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3816") - def test_mstathpt_wpa2p_bridge_tcp_dl_5g_22(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and bridge and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "BRIDGE" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID's NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], - ['tput_multi_udp:0'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_bridge_22", - raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_bridge_udp_ul_5g_23", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3818") - def test_mstathpt_wpa2p_bridge_udp_ul_5g_23(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and bridge and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "BRIDGE" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID's NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], - ['tput_multi_udp:1'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_bridge_23", - raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_bridge_tcp_ul_5g_24", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3820") - def test_mstathpt_wpa2p_bridge_tcp_ul_5g_24(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and bridge and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "BRIDGE" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID's NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], - ['tput_multi_udp:0'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_bridge_24", - raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True diff --git a/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/nat_mode/__init__.py b/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/nat_mode/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/nat_mode/test_multi_sta_thpt_2g.py b/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/nat_mode/test_multi_sta_thpt_2g.py deleted file mode 100644 index d635f456144..00000000000 --- a/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/nat_mode/test_multi_sta_thpt_2g.py +++ /dev/null @@ -1,986 +0,0 @@ -""" - - Multi Station throughput vs Packet Size test: Nat Mode - pytest -m "multi_sta_thpt and wpa2_personal and nat and twog" - -""" - -import os -import allure -import pytest - -pytestmark = [pytest.mark.performance, pytest.mark.multi_sta_thpt, pytest.mark.wpa2_personal, pytest.mark.nat, - pytest.mark.twog] - -setup_params_general = { - "mode": "NAT", - "ssid_modes": { - "wpa2_personal": [ - {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something"}]}, - "rf": {}, - "radius": False -} - - -@allure.suite("performance") -@allure.feature("NAT MODE WPA2 PERSONAL Multi Station Throughput") -@allure.parent_suite("Multi Station Throughput Test") -@allure.suite("WPA2 Personal Security") -@allure.sub_suite("NAT Mode") -@pytest.mark.parametrize( - 'setup_configuration', - [setup_params_general], - indirect=True, - scope="class" -) -@pytest.mark.usefixtures("setup_configuration") -class TestMultiStaThptnat(object): - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_nat_udp_dl_2g_1", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3631") - def test_mstathpt_wpa2p_nat_udp_dl_2g_1(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and nat and wpa2_personal and twog" - """ - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "NAT" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200,512,1024,MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], - ['tput_multi_udp:1'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_nat_1", raw_line=raw_lines, - vlan_id=vlan, dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_nat_tcp_dl_2g_2", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3633") - def test_mstathpt_wpa2p_nat_tcp_dl_2g_2(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and nat and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "NAT" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], - ['pkt_loss_thresh:500000'], - ['frame_sizes:200,512,1024,MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], - ['tput_multi_udp:0'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_nat_2", - raw_line=raw_lines, - vlan_id=vlan, dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, - pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_nat_udp_ul_2g_3", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3635") - def test_mstathpt_wpa2p_nat_udp_ul_2g_3(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and nat and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "NAT" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200,512,1024,MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], - ['tput_multi_udp:1'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_nat_3", raw_line=raw_lines, - vlan_id=vlan, dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_nat_tcp_ul_2g_4", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3637") - def test_mstathpt_wpa2p_nat_tcp_ul_2g_4(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and nat and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "NAT" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200,512,1024,MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], - ['tput_multi_udp:0'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_nat_4", raw_line=raw_lines, - vlan_id=vlan, dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.multi_sta_perf_throughput - @pytest.mark.tcp_udp_ul_dl - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_nat_udp_dl_2g_5", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3639") - def test_mstathpt_wpa2p_nat_udp_dl_2g_5(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and nat and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "NAT" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200,512,1024,MTU'], ['capacities:MAX'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], - ['tput_multi_udp:1'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_nat_5", raw_line=raw_lines, - vlan_id=vlan, dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.multi_sta_perf_throughput - @pytest.mark.tcp_udp_ul_dl - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_nat_tcp_dl_2g_6", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3641") - def test_mstathpt_wpa2p_nat_tcp_dl_2g_6(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and nat and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "NAT" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200,512,1024,MTU'], ['capacities:MAX'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], - ['tput_multi_udp:0'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_nat_6", raw_line=raw_lines, - vlan_id=vlan, dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.multi_sta_perf_throughput - @pytest.mark.tcp_udp_ul_dl - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_nat_udp_ul_2g_7", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3643") - def test_mstathpt_wpa2p_nat_udp_ul_2g_7(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and nat and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "NAT" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200,512,1024,MTU'], ['capacities:MAX'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], - ['tput_multi_udp:1'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_nat_7", raw_line=raw_lines, - vlan_id=vlan, dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.multi_sta_perf_throughput - @pytest.mark.tcp_udp_ul_dl - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_nat_tcp_ul_2g_8", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3645") - def test_mstathpt_wpa2p_nat_tcp_ul_2g_8(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and nat and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "NAT" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200,512,1024,MTU'], ['capacities:MAX'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], - ['tput_multi_udp:0'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_nat_8", raw_line=raw_lines, - vlan_id=vlan, dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_nat_udp_dl_2g_9", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3781") - def test_mstathpt_wpa2p_nat_udp_dl_2g_9(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and nat and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "NAT" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200,512'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], - ['tput_multi_udp:1'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_nat_9", raw_line=raw_lines, - vlan_id=vlan, dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_nat_tcp_dl_2g_10", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3783") - def test_mstathpt_wpa2p_nat_tcp_dl_2g_10(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and nat and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "NAT" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], - ['tput_multi_udp:0'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_nat_10", raw_line=raw_lines, - vlan_id=vlan, dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_nat_udp_ul_2g_11", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3786") - def test_mstathpt_wpa2p_nat_udp_ul_2g_11(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and nat and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "NAT" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], - ['tput_multi_udp:1'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_nat_11", raw_line=raw_lines, - vlan_id=vlan, dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_nat_tcp_ul_2g_12", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3788") - def test_mstathpt_wpa2p_nat_tcp_ul_2g_12(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and nat and wpa2_personal and twog" - """ - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "NAT" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], - ['tput_multi_udp:0'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_nat_12", raw_line=raw_lines, - vlan_id=vlan, dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_nat_udp_dl_2g_13", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3790") - def test_mstathpt_wpa2p_nat_udp_dl_2g_13(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and nat and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "NAT" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:512'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], - ['tput_multi_udp:1'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_nat_13", raw_line=raw_lines, - vlan_id=vlan, dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_nat_tcp_dl_2g_14", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3793") - def test_mstathpt_wpa2p_nat_tcp_dl_2g_14(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and nat and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "NAT" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:512'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], - ['tput_multi_udp:0'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_nat_14", raw_line=raw_lines, - vlan_id=vlan, dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_nat_udp_ul_2g_15", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3798") - def test_mstathpt_wpa2p_nat_udp_ul_2g_15(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and nat and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "NAT" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:512'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], - ['tput_multi_udp:1'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_nat_15", raw_line=raw_lines, - vlan_id=vlan, dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_nat_tcp_ul_2g_16", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3800") - def test_mstathpt_wpa2p_nat_tcp_ul_2g_16(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and nat and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "NAT" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:512'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], - ['tput_multi_udp:0'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_nat_16", raw_line=raw_lines, - vlan_id=vlan, dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_nat_udp_dl_2g_17", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3802") - def test_mstathpt_wpa2p_nat_udp_dl_2g_17(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and nat and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "NAT" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:1024'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], - ['tput_multi_udp:1'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_nat_17", raw_line=raw_lines, - vlan_id=vlan, dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_nat_tcp_dl_2g_18", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3804") - def test_mstathpt_wpa2p_nat_tcp_dl_2g_18(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and nat and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "NAT" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:1024'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], - ['tput_multi_udp:0'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_nat_18", raw_line=raw_lines, - vlan_id=vlan, dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_nat_udp_ul_2g_19", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3806") - def test_mstathpt_wpa2p_nat_udp_ul_2g_19(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and nat and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "NAT" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:1024'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], - ['tput_multi_udp:1'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_nat_19", raw_line=raw_lines, - vlan_id=vlan, dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_nat_tcp_ul_2g_20", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3810") - def test_mstathpt_wpa2p_nat_tcp_ul_2g_20(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and nat and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "NAT" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:1024'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], - ['tput_multi_udp:0'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_nat_20", raw_line=raw_lines, - vlan_id=vlan, dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_nat_udp_dl_2g_21", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3812") - def test_mstathpt_wpa2p_nat_udp_dl_2g_21(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and nat and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "NAT" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], - ['tput_multi_udp:1'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_nat_21", raw_line=raw_lines, - vlan_id=vlan, dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_nat_tcp_dl_2g_22", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3815") - def test_mstathpt_wpa2p_nat_tcp_dl_2g_22(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and nat and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "NAT" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], - ['tput_multi_udp:0'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_nat_22", raw_line=raw_lines, - vlan_id=vlan, dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_nat_udp_ul_2g_23", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3817") - def test_mstathpt_wpa2p_nat_udp_ul_2g_23(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and nat and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "NAT" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], - ['tput_multi_udp:1'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_nat_23", raw_line=raw_lines, - vlan_id=vlan, dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_nat_tcp_ul_2g_24", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3819") - def test_mstathpt_wpa2p_nat_tcp_ul_2g_24(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and nat and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "NAT" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], - ['tput_multi_udp:0'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_nat_24", raw_line=raw_lines, - vlan_id=vlan, dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True diff --git a/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/nat_mode/test_mutli_sta_thpt_5g.py b/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/nat_mode/test_mutli_sta_thpt_5g.py deleted file mode 100644 index 24ac769766f..00000000000 --- a/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/nat_mode/test_mutli_sta_thpt_5g.py +++ /dev/null @@ -1,1009 +0,0 @@ -""" - - Multi Station throughput vs Packet Size test: NAT Mode - pytest -m "multi_sta_thpt and wpa2_personal and nat and fiveg" - -""" - -import os -import allure -import pytest - -pytestmark = [pytest.mark.performance, pytest.mark.multi_sta_thpt, pytest.mark.wpa2_personal, pytest.mark.nat, - pytest.mark.fiveg] - -setup_params_general = { - "mode": "NAT", - "ssid_modes": { - "wpa2_personal": [ - {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something"}]}, - "rf": {}, - "radius": False -} - - -@allure.suite("performance") -@allure.feature("NAT MODE WPA2 PERSONAL Multi Station Throughput") -@allure.parent_suite("Multi Station Throughput Test") -@allure.suite("WPA2 Personal Security") -@allure.sub_suite("NAT Mode") -@pytest.mark.parametrize( - 'setup_configuration', - [setup_params_general], - indirect=True, - scope="class" -) -@pytest.mark.usefixtures("setup_configuration") -class TestMultiStaThptnat(object): - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_nat_udp_dl_5g_1", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3632") - def test_mstathpt_wpa2p_nat_udp_dl_5g_1(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and nat and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "NAT" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200,512,1024,MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], - ['tput_multi_udp:1'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_nat_1", raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_nat_tcp_dl_5g_2", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3634") - def test_mstathpt_wpa2p_nat_tcp_dl_5g_2(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and nat and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "NAT" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], - ['pkt_loss_thresh:500000'], - ['frame_sizes:200,512,1024,MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], - ['tput_multi_udp:0'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_nat_2", - raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, - pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_nat_udp_ul_5g_3", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3636") - def test_mstathpt_wpa2p_nat_udp_ul_5g_3(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and nat and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "NAT" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200,512,1024,MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], - ['tput_multi_udp:1'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_nat_3", raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_nat_tcp_ul_5g_4", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3638") - def test_mstathpt_wpa2p_nat_tcp_ul_5g_4(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and nat and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "NAT" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200,512,1024,MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], - ['tput_multi_udp:0'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_nat_4", raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.multi_sta_perf_throughput - @pytest.mark.tcp_udp_ul_dl - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_nat_udp_dl_5g_5", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3640") - def test_mstathpt_wpa2p_nat_udp_dl_5g_5(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and nat and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "NAT" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200,512,1024,MTU'], ['capacities:MAX'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], - ['tput_multi_udp:1'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_nat_5", raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.multi_sta_perf_throughput - @pytest.mark.tcp_udp_ul_dl - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_nat_tcp_dl_5g_6", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3642") - def test_mstathpt_wpa2p_nat_tcp_dl_5g_6(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and nat and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "NAT" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200,512,1024,MTU'], ['capacities:MAX'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], - ['tput_multi_udp:0'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_nat_6", raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.multi_sta_perf_throughput - @pytest.mark.tcp_udp_ul_dl - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_nat_udp_ul_5g_7", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3644") - def test_mstathpt_wpa2p_nat_udp_ul_5g_7(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and nat and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "NAT" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200,512,1024,MTU'], ['capacities:MAX'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], - ['tput_multi_udp:1'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_nat_7", raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.multi_sta_perf_throughput - @pytest.mark.tcp_udp_ul_dl - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_nat_tcp_ul_5g_8", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3646") - def test_mstathpt_wpa2p_nat_tcp_ul_5g_8(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and nat and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "NAT" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200,512,1024,MTU'], ['capacities:MAX'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], - ['tput_multi_udp:0'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_nat_8", raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - # @pytest.mark.twog - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_nat_udp_dl_5g_9", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3782") - def test_mstathpt_wpa2p_nat_udp_dl_5g_9(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and nat and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "NAT" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200,512'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], - ['tput_multi_udp:1'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_nat_9", raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_nat_tcp_dl_5g_10", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3784") - def test_mstathpt_wpa2p_nat_tcp_dl_5g_10(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and nat and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "NAT" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], - ['tput_multi_udp:0'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_nat_10", raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_nat_udp_ul_5g_11", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3787") - def test_mstathpt_wpa2p_nat_udp_ul_5g_11(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and nat and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "NAT" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], - ['tput_multi_udp:1'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_nat_11", raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_nat_udp_ul_5g_12", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3789") - def test_mstathpt_wpa2p_nat_tcp_ul_5g_12(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and nat and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "NAT" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], - ['tput_multi_udp:0'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_nat_12", raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_nat_udp_dl_5g_13", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3792") - def test_mstathpt_wpa2p_nat_udp_dl_5g_13(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and nat and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "NAT" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:512'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], - ['tput_multi_udp:1'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_nat_13", raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_nat_tcp_dl_5g_14", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3794") - def test_mstathpt_wpa2p_nat_tcp_dl_5g_14(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and nat and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "NAT" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:512'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], - ['tput_multi_udp:0'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_nat_14", raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_nat_udp_ul_5g_15", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3799") - def test_mstathpt_wpa2p_nat_udp_ul_5g_15(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and nat and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "NAT" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:512'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], - ['tput_multi_udp:1'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_nat_15", raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_nat_tcp_ul_5g_16", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3801") - def test_mstathpt_wpa2p_nat_tcp_ul_5g_16(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and nat and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "NAT" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:512'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], - ['tput_multi_udp:0'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_nat_16", raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_nat_udp_dl_5g_17", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3803") - def test_mstathpt_wpa2p_nat_udp_ul_5g_17(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and nat and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "NAT" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:1024'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], - ['tput_multi_udp:1'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_nat_17", raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_nat_tcp_dl_5g_18", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3805") - def test_mstathpt_wpa2p_nat_tcp_dl_5g_18(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and nat and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "NAT" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:1024'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], - ['tput_multi_udp:0'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_nat_18", raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_nat_udp_ul_5g_19", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3807") - def test_mstathpt_wpa2p_nat_udp_ul_5g_19(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and nat and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "NAT" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:1024'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], - ['tput_multi_udp:1'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_nat_19", raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_nat_tcp_ul_5g_20", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3811") - def test_mstathpt_wpa2p_nat_tcp_ul_5g_20(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and nat and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "NAT" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:1024'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], - ['tput_multi_udp:0'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_nat_20", raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_nat_udp_dl_5g_21", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3813") - def test_mstathpt_wpa2p_nat_udp_dl_5g_21(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and nat and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "NAT" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], - ['tput_multi_udp:1'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_nat_21", raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_nat_tcp_dl_5g_22", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3816") - def test_mstathpt_wpa2p_nat_tcp_dl_5g_22(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and nat and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "NAT" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], - ['tput_multi_udp:0'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_nat_22", raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_nat_udp_ul_5g_23", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3818") - def test_mstathpt_wpa2p_nat_udp_ul_5g_23(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and nat and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "NAT" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], - ['tput_multi_udp:1'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_nat_23", raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_nat_tcp_ul_5g_24", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3820") - def test_mstathpt_wpa2p_nat_tcp_ul_5g_24(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and nat and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "NAT" - vlan = 1 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], - ['tput_multi_udp:0'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_nat_24", raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True diff --git a/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/vlan_mode/__init__.py b/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/vlan_mode/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/vlan_mode/test_multi_sta_thpt_2g.py b/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/vlan_mode/test_multi_sta_thpt_2g.py deleted file mode 100644 index 64828cd359e..00000000000 --- a/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/vlan_mode/test_multi_sta_thpt_2g.py +++ /dev/null @@ -1,986 +0,0 @@ -""" - - Multi Station throughput vs Packet Size test: vlan Mode - pytest -m "multi_sta_thpt and wpa2_personal and vlan and twog" - -""" - -import os -import allure -import pytest - -pytestmark = [pytest.mark.performance, pytest.mark.multi_sta_thpt, pytest.mark.wpa2_personal, pytest.mark.vlan, - pytest.mark.twog] - -setup_params_general = { - "mode": "VLAN", - "ssid_modes": { - "wpa2_personal": [ - {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something", "vlan": 100}]}, - "rf": {}, - "radius": False -} - - -@allure.suite("performance") -@allure.feature("VLAN Mode WPA2 PERSONAL Multi Station Throughput") -@allure.parent_suite("Multi Station Throughput Test") -@allure.suite("WPA2 Personal Security") -@allure.sub_suite("VLAN Mode") -@pytest.mark.parametrize( - 'setup_configuration', - [setup_params_general], - indirect=True, - scope="class" -) -@pytest.mark.usefixtures("setup_configuration") -class TestMultiStaThptvlan(object): - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_dl_2g_1", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3631") - def test_mstathpt_wpa2p_vlan_udp_dl_2g_1(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and vlan and wpa2_personal and twog" - """ - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "VLAN" - - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200,512,1024,MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], - ['tput_multi_udp:1'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_vlan_1", raw_line=raw_lines, - dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_dl_2g_2", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3633") - def test_mstathpt_wpa2p_vlan_tcp_dl_2g_2(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and vlan and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "VLAN" - - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], - ['pkt_loss_thresh:500000'], - ['frame_sizes:200,512,1024,MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], - ['tput_multi_udp:0'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_vlan_2", - raw_line=raw_lines, - dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, - pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_ul_2g_3", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3635") - def test_mstathpt_wpa2p_vlan_udp_ul_2g_3(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and vlan and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "VLAN" - - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200,512,1024,MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], - ['tput_multi_udp:1'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_vlan_3", raw_line=raw_lines, - dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_ul_2g_4", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3637") - def test_mstathpt_wpa2p_vlan_tcp_ul_2g_4(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and vlan and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "VLAN" - - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200,512,1024,MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], - ['tput_multi_udp:0'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_vlan_4", raw_line=raw_lines, - dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.multi_sta_perf_throughput - @pytest.mark.tcp_udp_ul_dl - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_dl_2g_5", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3639") - def test_mstathpt_wpa2p_vlan_udp_dl_2g_5(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and vlan and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "VLAN" - - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200,512,1024,MTU'], ['capacities:MAX'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], - ['tput_multi_udp:1'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_vlan_5", raw_line=raw_lines, - dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.multi_sta_perf_throughput - @pytest.mark.tcp_udp_ul_dl - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_dl_2g_6", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3641") - def test_mstathpt_wpa2p_vlan_tcp_dl_2g_6(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and vlan and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "VLAN" - - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200,512,1024,MTU'], ['capacities:MAX'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], - ['tput_multi_udp:0'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_vlan_6", raw_line=raw_lines, - dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.multi_sta_perf_throughput - @pytest.mark.tcp_udp_ul_dl - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_ul_2g_7", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3643") - def test_mstathpt_wpa2p_vlan_udp_ul_2g_7(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and vlan and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "VLAN" - - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200,512,1024,MTU'], ['capacities:MAX'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], - ['tput_multi_udp:1'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_vlan_7", raw_line=raw_lines, - dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.multi_sta_perf_throughput - @pytest.mark.tcp_udp_ul_dl - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_ul_2g_8", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3645") - def test_mstathpt_wpa2p_vlan_tcp_ul_2g_8(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and vlan and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "VLAN" - - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200,512,1024,MTU'], ['capacities:MAX'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], - ['tput_multi_udp:0'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_vlan_8", raw_line=raw_lines, - dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_dl_2g_9", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3781") - def test_mstathpt_wpa2p_vlan_udp_dl_2g_9(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and vlan and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "VLAN" - - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200,512'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], - ['tput_multi_udp:1'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_vlan_9", raw_line=raw_lines, - dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_dl_2g_10", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3783") - def test_mstathpt_wpa2p_vlan_tcp_dl_2g_10(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and vlan and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "VLAN" - - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], - ['tput_multi_udp:0'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_vlan_10", raw_line=raw_lines, - dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_ul_2g_11", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3786") - def test_mstathpt_wpa2p_vlan_udp_ul_2g_11(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and vlan and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "VLAN" - - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], - ['tput_multi_udp:1'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_vlan_11", raw_line=raw_lines, - dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_ul_2g_12", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3788") - def test_mstathpt_wpa2p_vlan_tcp_ul_2g_12(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and vlan and wpa2_personal and twog" - """ - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "VLAN" - - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], - ['tput_multi_udp:0'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_vlan_12", raw_line=raw_lines, - dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_dl_2g_13", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3790") - def test_mstathpt_wpa2p_vlan_udp_dl_2g_13(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and vlan and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "VLAN" - - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:512'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], - ['tput_multi_udp:1'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_vlan_13", raw_line=raw_lines, - dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_dl_2g_14", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3793") - def test_mstathpt_wpa2p_vlan_tcp_dl_2g_14(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and vlan and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "VLAN" - - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:512'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], - ['tput_multi_udp:0'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_vlan_14", raw_line=raw_lines, - dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_ul_2g_15", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3798") - def test_mstathpt_wpa2p_vlan_udp_ul_2g_15(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and vlan and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "VLAN" - - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:512'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], - ['tput_multi_udp:1'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_vlan_15", raw_line=raw_lines, - dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_ul_2g_16", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3800") - def test_mstathpt_wpa2p_vlan_tcp_ul_2g_16(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and vlan and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "VLAN" - - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:512'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], - ['tput_multi_udp:0'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_vlan_16", raw_line=raw_lines, - dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_dl_2g_17", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3802") - def test_mstathpt_wpa2p_vlan_udp_dl_2g_17(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and vlan and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "VLAN" - - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:1024'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], - ['tput_multi_udp:1'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_vlan_17", raw_line=raw_lines, - dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_dl_2g_18", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3804") - def test_mstathpt_wpa2p_vlan_tcp_dl_2g_18(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and vlan and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "VLAN" - - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:1024'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], - ['tput_multi_udp:0'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_vlan_18", raw_line=raw_lines, - dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_ul_2g_19", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3806") - def test_mstathpt_wpa2p_vlan_udp_ul_2g_19(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and vlan and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "VLAN" - - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:1024'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], - ['tput_multi_udp:1'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_vlan_19", raw_line=raw_lines, - dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_ul_2g_20", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3810") - def test_mstathpt_wpa2p_vlan_tcp_ul_2g_20(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and vlan and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "VLAN" - - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:1024'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], - ['tput_multi_udp:0'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_vlan_20", raw_line=raw_lines, - dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_dl_2g_21", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3812") - def test_mstathpt_wpa2p_vlan_udp_dl_2g_21(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and vlan and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "VLAN" - - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], - ['tput_multi_udp:1'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_vlan_21", raw_line=raw_lines, - dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_dl_2g_22", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3815") - def test_mstathpt_wpa2p_vlan_tcp_dl_2g_22(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and vlan and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "VLAN" - - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], - ['tput_multi_udp:0'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_vlan_22", raw_line=raw_lines, - dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_ul_2g_23", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3817") - def test_mstathpt_wpa2p_vlan_udp_ul_2g_23(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and vlan and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "VLAN" - - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], - ['tput_multi_udp:1'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_vlan_23", raw_line=raw_lines, - dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_ul_2g_24", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3819") - def test_mstathpt_wpa2p_vlan_tcp_ul_2g_24(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and vlan and wpa2_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - ssid_2G = profile_data[0]["ssid_name"] - - dut_name = create_lanforge_chamberview_dut - mode = "VLAN" - - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - - if lf_tools.dut_idx_mapping[i][3] == "2G": - dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_2g) - if ssid_2G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], - ['frame_sizes:MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], - ['tput_multi_udp:0'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", - instance_name="multistathpt_instance_wpa2p_2g_vlan_24", raw_line=raw_lines, - dut_5g="", dut_2g=dut_2g) - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True diff --git a/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/vlan_mode/test_mutli_sta_thpt_5g.py b/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/vlan_mode/test_mutli_sta_thpt_5g.py deleted file mode 100644 index 3421505687e..00000000000 --- a/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/vlan_mode/test_mutli_sta_thpt_5g.py +++ /dev/null @@ -1,1009 +0,0 @@ -""" - - Multi Station throughput vs Packet Size test: VLAN Mode - pytest -m "multi_sta_thpt and wpa2_personal and vlan and fiveg" - -""" - -import os -import allure -import pytest - -pytestmark = [pytest.mark.performance, pytest.mark.multi_sta_thpt, pytest.mark.wpa2_personal, pytest.mark.vlan, - pytest.mark.fiveg] - -setup_params_general = { - "mode": "VLAN", - "ssid_modes": { - "wpa2_personal": [ - {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something", "vlan": 100}]}, - "rf": {}, - "radius": False -} - - -@allure.suite("performance") -@allure.feature("VLAN Mode WPA2 PERSONAL Multi Station Throughput") -@allure.parent_suite("Multi Station Throughput Test") -@allure.suite("WPA2 Personal Security") -@allure.sub_suite("VLAN Mode") -@pytest.mark.parametrize( - 'setup_configuration', - [setup_params_general], - indirect=True, - scope="class" -) -@pytest.mark.usefixtures("setup_configuration") -class TestMultiStaThptvlan(object): - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_dl_5g_1", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3632") - def test_mstathpt_wpa2p_vlan_udp_dl_5g_1(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "VLAN" - vlan = 100 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200,512,1024,MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], - ['tput_multi_udp:1'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_vlan_1", raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_dl_5g_2", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3634") - def test_mstathpt_wpa2p_vlan_tcp_dl_5g_2(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "VLAN" - vlan = 100 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], - ['pkt_loss_thresh:500000'], - ['frame_sizes:200,512,1024,MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], - ['tput_multi_udp:0'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_vlan", - raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, - pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_ul_5g_3", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3636") - def test_mstathpt_wpa2p_vlan_udp_ul_5g_3(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "VLAN" - vlan = 100 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200,512,1024,MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], - ['tput_multi_udp:1'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_vlan", raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_ul_5g_4", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3638") - def test_mstathpt_wpa2p_vlan_tcp_ul_5g_4(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "VLAN" - vlan = 100 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200,512,1024,MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], - ['tput_multi_udp:0'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_vlan_4", raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.multi_sta_perf_throughput - @pytest.mark.tcp_udp_ul_dl - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_dl_5g_5", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3640") - def test_mstathpt_wpa2p_vlan_udp_dl_5g_5(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "VLAN" - vlan = 100 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200,512,1024,MTU'], ['capacities:MAX'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], - ['tput_multi_udp:1'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_vlan_5", raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.multi_sta_perf_throughput - @pytest.mark.tcp_udp_ul_dl - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_dl_5g_6", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3642") - def test_mstathpt_wpa2p_vlan_tcp_dl_5g_6(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "VLAN" - vlan = 100 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200,512,1024,MTU'], ['capacities:MAX'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], - ['tput_multi_udp:0'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_vlan_6", raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.multi_sta_perf_throughput - @pytest.mark.tcp_udp_ul_dl - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_ul_5g_7", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3644") - def test_mstathpt_wpa2p_vlan_udp_ul_5g_7(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "VLAN" - vlan = 100 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200,512,1024,MTU'], ['capacities:MAX'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], - ['tput_multi_udp:1'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_vlan_7", raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.multi_sta_perf_throughput - @pytest.mark.tcp_udp_ul_dl - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_ul_5g_8", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3646") - def test_mstathpt_wpa2p_vlan_tcp_ul_5g_8(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "VLAN" - vlan = 100 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200,512,1024,MTU'], ['capacities:MAX'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], - ['tput_multi_udp:0'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_vlan_8", raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - # @pytest.mark.twog - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_dl_5g_9", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3782") - def test_mstathpt_wpa2p_vlan_udp_dl_5g_9(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "VLAN" - vlan = 100 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200,512'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], - ['tput_multi_udp:1'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_vlan_9", raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_dl_5g_10", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3784") - def test_mstathpt_wpa2p_vlan_tcp_dl_5g_10(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "VLAN" - vlan = 100 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], - ['tput_multi_udp:0'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_vlan_10", raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_ul_5g_11", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3787") - def test_mstathpt_wpa2p_vlan_udp_ul_5g_11(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "VLAN" - vlan = 100 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], - ['tput_multi_udp:1'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_vlan_11", raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_ul_5g_12", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3789") - def test_mstathpt_wpa2p_vlan_tcp_ul_5g_12(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "VLAN" - vlan = 100 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:200'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], - ['tput_multi_udp:0'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_vlan_12", raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_dl_5g_13", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3792") - def test_mstathpt_wpa2p_vlan_udp_dl_5g_13(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "VLAN" - vlan = 100 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:512'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], - ['tput_multi_udp:1'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_vlan_13", raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_dl_5g_14", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3794") - def test_mstathpt_wpa2p_vlan_tcp_dl_5g_14(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "VLAN" - vlan = 100 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:512'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], - ['tput_multi_udp:0'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_vlan_14", raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_ul_5g_15", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3799") - def test_mstathpt_wpa2p_vlan_udp_ul_5g_15(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "VLAN" - vlan = 100 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:512'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], - ['tput_multi_udp:1'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_vlan_15", raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_ul_5g_16", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3801") - def test_mstathpt_wpa2p_vlan_tcp_ul_5g_16(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "VLAN" - vlan = 100 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:512'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], - ['tput_multi_udp:0'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_vlan_16", raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_dl_5g_17", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3803") - def test_mstathpt_wpa2p_vlan_udp_ul_5g_17(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "VLAN" - vlan = 100 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:1024'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], - ['tput_multi_udp:1'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_vlan_17", raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_dl_5g_18", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3805") - def test_mstathpt_wpa2p_vlan_tcp_dl_5g_18(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "VLAN" - vlan = 100 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:1024'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], - ['tput_multi_udp:0'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_vlan_18", raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_ul_5g_19", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3807") - def test_mstathpt_wpa2p_vlan_udp_ul_5g_19(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "VLAN" - vlan = 100 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:1024'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], - ['tput_multi_udp:1'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_vlan_19", raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_ul_5g_20", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3811") - def test_mstathpt_wpa2p_vlan_tcp_ul_5g_20(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "VLAN" - vlan = 100 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:1024'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], - ['tput_multi_udp:0'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_vlan_20", raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_dl_5g_21", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3813") - def test_mstathpt_wpa2p_vlan_udp_dl_5g_21(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "VLAN" - vlan = 100 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], - ['tput_multi_udp:1'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_vlan_21", raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_dl_5g_22", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3816") - def test_mstathpt_wpa2p_vlan_tcp_dl_5g_22(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "VLAN" - vlan = 100 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], - ['tput_multi_udp:0'], ['tput_multi_ul:0']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_vlan_22", raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_ul_5g_23", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3818") - def test_mstathpt_wpa2p_vlan_udp_ul_5g_23(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "VLAN" - vlan = 100 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], - ['tput_multi_udp:1'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_vlan_23", raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_ul_5g_24", - url="https://telecominfraproject.atlassian.net/browse/WIFI-3820") - def test_mstathpt_wpa2p_vlan_tcp_ul_5g_24(self, lf_tools, - create_lanforge_chamberview_dut, lf_test, get_configuration): - """ - pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg" - - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] - - ssid_5G = profile_data[0]["ssid_name"] - dut_name = create_lanforge_chamberview_dut - mode = "VLAN" - vlan = 100 - print(lf_tools.dut_idx_mapping) - dut_5g = "" - dut_2g = "" - for i in lf_tools.dut_idx_mapping: - if lf_tools.dut_idx_mapping[i][3] == "5G": - dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] - print(dut_5g) - - if ssid_5G not in get_vif_state: - allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], - ['frame_sizes:MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], - ['tput_multi_udp:0'], ['tput_multi_ul:1']] - - msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, - instance_name="multistathpt_instance_wpa2p_5g_vlan_24", raw_line=raw_lines, - vlan_id=vlan, dut_5g=dut_5g, dut_2g="") - - report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") - assert True diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/__init__.py b/tests/e2e/basic/performance_tests/throughput_benchmark/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/tcp_udp_upstream_downstream_bidirection_throughput_test/__init__.py b/tests/e2e/basic/performance_tests/throughput_benchmark/tcp_udp_upstream_downstream_bidirection_throughput_test/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/tcp_udp_upstream_downstream_bidirection_throughput_test/wpa2_personal/__init__.py b/tests/e2e/basic/performance_tests/throughput_benchmark/tcp_udp_upstream_downstream_bidirection_throughput_test/wpa2_personal/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/tcp_udp_upstream_downstream_bidirection_throughput_test/wpa2_personal/test_bridge_mode.py b/tests/e2e/basic/performance_tests/throughput_benchmark/tcp_udp_upstream_downstream_bidirection_throughput_test/wpa2_personal/test_bridge_mode.py deleted file mode 100644 index 55b3cccec1d..00000000000 --- a/tests/e2e/basic/performance_tests/throughput_benchmark/tcp_udp_upstream_downstream_bidirection_throughput_test/wpa2_personal/test_bridge_mode.py +++ /dev/null @@ -1,1654 +0,0 @@ -""" - - Performance Test: throughput test under various combinations: Bridge Mode - pytest -m "throughput_benchmark_test and bridge" -s -vvv --skip-testrail --testbed=basic-01 - - -""" -import os -import time - -import pytest -import allure - - -pytestmark = [pytest.mark.performance, pytest.mark.throughput_benchmark_test, pytest.mark.bridge] # pytest.mark.usefixtures("setup_test_run")] - -setup_params_general = { - "mode": "BRIDGE", - "ssid_modes": { - "wpa2_personal": [ - {"ssid_name": "ssid_wpa2_2g", - "appliedRadios": ["2G"], - "security_key": "something"}, - {"ssid_name": "ssid_wpa2_5g", - "appliedRadios": ["5G"], - "security_key": "something"}]}, - "rf": { - "is5GHz": {"channelBandwidth": "is20MHz"}, - "is5GHzL": {"channelBandwidth": "is20MHz"}, - "is5GHzU": {"channelBandwidth": "is20MHz"} - }, - "radius": False -} - - -@allure.feature("BRIDGE MODE CLIENT CONNECTIVITY") -@allure.parent_suite("Throughput Benchmark Test: TCP/UDP Upstream/Downstream/Bidirectional Traffic Tests : " - "WPA2 Personal Security") -@allure.suite("Bridge Mode") -@allure.sub_suite("20Mhz Channel Bandwidth") -@pytest.mark.parametrize( - 'setup_configuration', - [setup_params_general], - indirect=True, - scope="class" -) -@pytest.mark.usefixtures("setup_configuration") -@pytest.mark.Mhz20 -class TestThroughputUnderCombinationsBridge20MHz(object): - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @pytest.mark.upstream - @pytest.mark.nss2 - @pytest.mark.udp - def test_client_wpa2_personal_2g_up_nss2_udp(self, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Dataplane THroughput Bridge Mode - pytest -m "throughput_benchmark_test and bridge and wpa2_personal and twog and upstream " - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "BRIDGE" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: UDP'], - ['bandw_options: 20'], ['spatial_streams: 2']] - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP1_PERF_DPT_WPA2_2G_bridge", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.upstream - @pytest.mark.nss2 - @pytest.mark.udp - def test_client_wpa2_personal_5g_up_nss2_udp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: UDP'], - ['bandw_options: 20'], ['spatial_streams: 2']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_bridge", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @pytest.mark.downstream - @pytest.mark.nss2 - @pytest.mark.udp - def test_client_wpa2_personal_2g_down_nss2_udp(self, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Dataplane THroughput Bridge Mode - pytest -m "throughput_benchmark_test and bridge and wpa2_personal and twog and downstream " - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "BRIDGE" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: UDP'], - ['bandw_options: 20'], ['spatial_streams: 2']] - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_2G_down_bridge", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.downstream - @pytest.mark.nss2 - @pytest.mark.udp - def test_client_wpa2_personal_5g_down_nss2_udp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: UDP'], - ['bandw_options: 20'], ['spatial_streams: 2']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G__down_bridge", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @pytest.mark.bidirectional - @pytest.mark.nss2 - @pytest.mark.udp - def test_client_wpa2_personal_2g_bi_nss2_udp(self, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Dataplane THroughput Bridge Mode - pytest -m "throughput_benchmark_test and bridge and wpa2_personal and twog and bidirectional " - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "BRIDGE" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: UDP'], - ['bandw_options: 20'], ['spatial_streams: 2']] - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_2G_bidirectional_bridge", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.bidirectional - @pytest.mark.nss2 - @pytest.mark.udp - def test_client_wpa2_personal_5g_bi_nss2_udp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: UDP'], - ['bandw_options: 20'], ['spatial_streams: 2']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_bi_nss2_udp_bridge", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @pytest.mark.upstream - @pytest.mark.nss2 - @pytest.mark.tcp - def test_client_wpa2_personal_2g_up_nss2_tcp(self, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Dataplane THroughput Bridge Mode - pytest -m "throughput_benchmark_test and bridge and wpa2_personal and twog and upstream and tcp " - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "BRIDGE" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: TCP'], - ['bandw_options: 20'], ['spatial_streams: 2']] - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_2G__up_nss2_tcp_bridge", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.upstream - @pytest.mark.nss2 - @pytest.mark.tcp - def test_client_wpa2_personal_5g_up_nss2_tcp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: TCP'], - ['bandw_options: 20'], ['spatial_streams: 2']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G__up_nss2_tcp_bridge", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @pytest.mark.downstream - @pytest.mark.nss2 - @pytest.mark.tcp - def test_client_wpa2_personal_2g_down_nss2_tcp(self, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Dataplane THroughput Bridge Mode - pytest -m "throughput_benchmark_test and bridge and wpa2_personal and twog and downstream and tcp" - jira-WIFI-2564 - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "BRIDGE" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: TCP'], - ['bandw_options: 20'], ['spatial_streams: 2']] - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_2G__down_nss2_tcp_bridge", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.downstream - @pytest.mark.nss2 - @pytest.mark.tcp - def test_client_wpa2_personal_5g_down_nss2_tcp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: TCP'], - ['bandw_options: 20'], ['spatial_streams: 2']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G__down_nss2_tcp_bridge", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @pytest.mark.bidirectional - @pytest.mark.nss2 - @pytest.mark.tcp - def test_client_wpa2_personal_2g_bi_nss2_tcp(self, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Dataplane THroughput Bridge Mode - pytest -m "throughput_benchmark_test and bridge and wpa2_personal and twog and bidirectional " - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "BRIDGE" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: TCP'], - ['bandw_options: 20'], ['spatial_streams: 2']] - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_2G__bi_nss2_tcp_bridge", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.bidirectional - @pytest.mark.nss2 - @pytest.mark.tcp - def test_client_wpa2_personal_5g_bi_nss2_tcp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: TCP'], - ['bandw_options: 20'], ['spatial_streams: 2']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G__bi_nss2_tcp_bridge", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - -setup_params_general = { - "mode": "BRIDGE", - "ssid_modes": { - "wpa2_personal": [ - {"ssid_name": "ssid_wpa2_2g", - "appliedRadios": ["2G"], - "security_key": "something"}, - {"ssid_name": "ssid_wpa2_5g", - "appliedRadios": ["5G"], - "security_key": "something"}]}, - "rf": { - "is5GHz": {"channelBandwidth": "is80MHz"}, - "is5GHzL": {"channelBandwidth": "is80MHz"}, - "is5GHzU": {"channelBandwidth": "is80MHz"} - }, - "radius": False -} - - -@allure.feature("BRIDGE MODE CLIENT CONNECTIVITY") -@allure.parent_suite("Throughput Benchmark Test: TCP/UDP Upstream/Downstream/Bidirectional Traffic Tests : " - "WPA2 Personal Security") -@allure.suite("Bridge Mode") -@allure.sub_suite("80Mhz Channel Bandwidth") -@pytest.mark.parametrize( - 'setup_configuration', - [setup_params_general], - indirect=True, - scope="class" -) -@pytest.mark.usefixtures("setup_configuration") -@pytest.mark.Mhz80 -class TestThroughputUnderCombinationsBridge80MHz(object): - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.upstream - @pytest.mark.nss2 - @pytest.mark.udp - def test_client_wpa2_personal_5g_up_nss2_udp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Dataplane THroughput Bridge Mode - pytest -m "throughput_benchmark_test and bridge and Mhz80 and wpa2_personal and fiveg and upstream and nss2 and udp " - jira-wifi-2566 - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: UDP'], - ['bandw_options: 80'], ['spatial_streams: 2']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_80__up_nss2_udp_bridge", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.downstream - @pytest.mark.nss2 - @pytest.mark.udp - def test_client_wpa2_personal_5g_down_nss2_udp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Dataplane THroughput Bridge Mode - pytest -m "throughput_benchmark_test and bridge and Mhz80 and wpa2_personal and fiveg and downstream and nss2 and udp " - jira-wifi-2567 - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: UDP'], - ['bandw_options: 80'], ['spatial_streams: 2']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_80__down_nss2_udp_bridge", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.bidirectional - @pytest.mark.nss2 - @pytest.mark.udp - def test_client_wpa2_personal_5g_bi_nss2_udp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: UDP'], - ['bandw_options: 80'], ['spatial_streams: 2']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_80__bi_nss2_udp_bridge", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.upstream - @pytest.mark.nss2 - @pytest.mark.tcp - def test_client_wpa2_personal_5g_up_nss2_tcp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: TCP'], - ['bandw_options: 80'], ['spatial_streams: 2']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_80_up_nss2_tcp_bridge", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.downstream - @pytest.mark.nss2 - @pytest.mark.tcp - def test_client_wpa2_personal_5g_down_nss2_tcp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: TCP'], - ['bandw_options: 80'], ['spatial_streams: 2']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_80_down_nss2_tcp_bridge", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.bidirectional - @pytest.mark.nss2 - @pytest.mark.tcp - def test_client_wpa2_personal_2g_bi_nss2_tcp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Dataplane THroughput Bridge Mode - pytest -m "throughput_benchmark_test and bridge and wpa2_personal and twog and bidirectional " - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: TCP'], - ['bandw_options: 80'], ['spatial_streams: 2']] - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_2G_80_bi_nss2_tcp_bridge", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.upstream - @pytest.mark.nss3 - @pytest.mark.udp - def test_client_wpa2_personal_5g_up_nss3_udp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Dataplane THroughput Bridge Mode - pytest -m "throughput_benchmark_test and bridge and Mhz80 and wpa2_personal and fiveg and upstream and nss2 and udp and nss3" - jira-wifi-2572 - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: UDP'], - ['bandw_options: 80'], ['spatial_streams: 3']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_80__up_nss3_udp_bridge", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.downstream - @pytest.mark.nss3 - @pytest.mark.udp - def test_client_wpa2_personal_5g_down_nss3_udp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Dataplane THroughput Bridge Mode - pytest -m "throughput_benchmark_test and bridge and Mhz80 and wpa2_personal and fiveg and downstream and nss2 and udp and nss3 " - jira-wifi-2573 - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: UDP'], - ['bandw_options: 80'], ['spatial_streams: 3']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_80__down_nss3_udp_bridge", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.bidirectional - @pytest.mark.nss3 - @pytest.mark.udp - def test_client_wpa2_personal_5g_bi_nss3_udp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: UDP'], - ['bandw_options: 80'], ['spatial_streams: 3']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_80__bi_nss3_udp_bridge", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.upstream - @pytest.mark.nss3 - @pytest.mark.tcp - def test_client_wpa2_personal_5g_up_nss3_tcp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: TCP'], - ['bandw_options: 80'], ['spatial_streams: 3']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_80__up_nss3_tcp_bridge", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.downstream - @pytest.mark.nss3 - @pytest.mark.tcp - def test_client_wpa2_personal_5g_down_nss3_tcp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: TCP'], - ['bandw_options: 80'], ['spatial_streams: 3']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_80_down_nss3_tcp_bridge", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.bidirectional - @pytest.mark.nss3 - @pytest.mark.tcp - def test_client_wpa2_personal_5g_bi_nss3_tcp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: TCP'], - ['bandw_options: 80'], ['spatial_streams: 3']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_80_bi_nss3_tcp_bridge", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - -setup_params_general = { - "mode": "BRIDGE", - "ssid_modes": { - "wpa2_personal": [ - {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something"}, - {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], - "security_key": "something"}]}, - "rf": { - "is5GHz": {"channelBandwidth": "is160MHz"}, - "is5GHzL": {"channelBandwidth": "is160MHz"}, - "is5GHzU": {"channelBandwidth": "is160MHz"} - }, - "radius": False -} - - -@allure.feature("BRIDGE MODE CLIENT CONNECTIVITY") -@allure.parent_suite("Throughput Benchmark Test: TCP/UDP Upstream/Downstream/Bidirectional Traffic Tests : " - "WPA2 Personal Security") -@allure.suite("Bridge Mode") -@allure.sub_suite("160Mhz Channel Bandwidth") -@pytest.mark.parametrize( - 'setup_configuration', - [setup_params_general], - indirect=True, - scope="class" -) -@pytest.mark.usefixtures("setup_configuration") -@pytest.mark.Mhz160 -class TestThroughputUnderCombinationsBridge160MHz(object): - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.upstream - @pytest.mark.nss3 - @pytest.mark.udp - def test_client_wpa2_personal_5g_up_nss3_udp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Dataplane THroughput Bridge Mode - pytest -m "throughput_benchmark_test and bridge and Mhz80 and wpa2_personal and fiveg and upstream and nss2 and udp " - jira-wifi-2578 - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: UDP'], - ['bandw_options: 160'], ['spatial_streams: 3']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_160_up_nss3_udp_bridge", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.downstream - @pytest.mark.nss3 - @pytest.mark.udp - def test_client_wpa2_personal_5g_down_nss3_udp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Dataplane THroughput Bridge Mode - pytest -m "throughput_benchmark_test and bridge and Mhz80 and wpa2_personal and fiveg and downstream and nss2 and udp " - jira-wifi-2567 - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: UDP'], - ['bandw_options: 160'], ['spatial_streams: 3']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_160_down_nss3_udp_bridge", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.bidirectional - @pytest.mark.nss3 - @pytest.mark.udp - def test_client_wpa2_personal_5g_bi_nss3_udp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: UDP'], - ['bandw_options: 160'], ['spatial_streams: 3']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_160_bi_nss3_udp_bridge", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.upstream - @pytest.mark.nss3 - @pytest.mark.tcp - def test_client_wpa2_personal_5g_up_nss3_tcp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: TCP'], - ['bandw_options: 160'], ['spatial_streams: 3']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_160_up_nss3_tcp_bridge", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.upstream - @pytest.mark.nss4 - @pytest.mark.udp - def test_client_wpa2_personal_5g_up_nss4_udp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: UDP'], - ['bandw_options: 160'], ['spatial_streams: 4']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_160_up_nss4_udp_bridge", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.downstream - @pytest.mark.nss4 - @pytest.mark.udp - def test_client_wpa2_personal_5g_down_nss4_udp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Dataplane THroughput Bridge Mode - pytest -m "throughput_benchmark_test and bridge and Mhz80 and wpa2_personal and fiveg and downstream and nss2 and udp " - jira-wifi-2567 - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: UDP'], - ['bandw_options: 160'], ['spatial_streams: 4']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_160_down_nss4_udp_bridge", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.bidirectional - @pytest.mark.nss4 - @pytest.mark.udp - def test_client_wpa2_personal_5g_bi_nss4_udp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: UDP'], - ['bandw_options: 160'], ['spatial_streams: 4']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_160_bi_nss4_udp_bridge", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.upstream - @pytest.mark.nss4 - @pytest.mark.tcp - def test_client_wpa2_personal_5g_up_nss4_tcp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: TCP'], - ['bandw_options: 160'], ['spatial_streams: 4']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_160_up_nss4_tcp_bridge", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.downstream - @pytest.mark.nss4 - @pytest.mark.tcp - def test_client_wpa2_personal_5g_down_nss4_tcp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: TCP'], - ['bandw_options: 160'], ['spatial_streams: 4']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_160_down_nss4_tcp_bridge", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.bidirectional - @pytest.mark.nss4 - @pytest.mark.tcp - def test_client_wpa2_personal_5g_bi_nss4_tcp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: TCP'], - ['bandw_options: 160'], ['spatial_streams: 4']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_160_bi_nss4_tcp_bridge", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/tcp_udp_upstream_downstream_bidirection_throughput_test/wpa2_personal/test_nat_mode.py b/tests/e2e/basic/performance_tests/throughput_benchmark/tcp_udp_upstream_downstream_bidirection_throughput_test/wpa2_personal/test_nat_mode.py deleted file mode 100644 index 71bd4897033..00000000000 --- a/tests/e2e/basic/performance_tests/throughput_benchmark/tcp_udp_upstream_downstream_bidirection_throughput_test/wpa2_personal/test_nat_mode.py +++ /dev/null @@ -1,1647 +0,0 @@ -""" - - Performance Test: throughput test under various combinations: NAT Mode - pytest -m "throughput_benchmark_test and NAT" -s -vvv --skip-testrail --testbed=basic-01 - - -""" -import os -import time - -import pytest -import allure - -pytestmark = [pytest.mark.throughput_benchmark_test, pytest.mark.nat] - -setup_params_general = { - "mode": "NAT", - "ssid_modes": { - "wpa2_personal": [ - {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something"}, - {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], - "security_key": "something"}]}, - "rf": { - "is5GHz": {"channelBandwidth": "is20MHz"}, - "is5GHzL": {"channelBandwidth": "is20MHz"}, - "is5GHzU": {"channelBandwidth": "is20MHz"} - }, - "radius": False -} - - -@allure.feature("NAT MODE CLIENT CONNECTIVITY") -@allure.parent_suite("Throughput Benchmark Test: TCP/UDP Upstream/Downstream/Bidirectional Traffic Tests : " - "WPA2 Personal Security") -@allure.suite("NAT Mode") -@allure.sub_suite("20Mhz Channel Bandwidth") -@pytest.mark.parametrize( - 'setup_configuration', - [setup_params_general], - indirect=True, - scope="class" -) -@pytest.mark.usefixtures("setup_configuration") -@pytest.mark.Mhz20 -class TestThroughputUnderCombinationsNAT20MHz(object): - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @pytest.mark.upstream - @pytest.mark.nss2 - @pytest.mark.udp - def test_client_wpa2_personal_2g_up_nss2_udp(self, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Dataplane THroughput NAT Mode - pytest -m "throughput_benchmark_test and NAT and wpa2_personal and twog and upstream " - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "NAT" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: UDP'], - ['bandw_options: 20'], ['spatial_streams: 2']] - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP1_PERF_DPT_WPA2_2G_NAT", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.upstream - @pytest.mark.nss2 - @pytest.mark.udp - def test_client_wpa2_personal_5g_up_nss2_udp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: UDP'], - ['bandw_options: 20'], ['spatial_streams: 2']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_NAT", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @pytest.mark.downstream - @pytest.mark.nss2 - @pytest.mark.udp - def test_client_wpa2_personal_2g_down_nss2_udp(self, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Dataplane THroughput NAT Mode - pytest -m "throughput_benchmark_test and NAT and wpa2_personal and twog and downstream " - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "NAT" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: UDP'], - ['bandw_options: 20'], ['spatial_streams: 2']] - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_2G_down_NAT", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.downstream - @pytest.mark.nss2 - @pytest.mark.udp - def test_client_wpa2_personal_5g_down_nss2_udp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: UDP'], - ['bandw_options: 20'], ['spatial_streams: 2']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G__down_NAT", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @pytest.mark.bidirectional - @pytest.mark.nss2 - @pytest.mark.udp - def test_client_wpa2_personal_2g_bi_nss2_udp(self, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Dataplane THroughput NAT Mode - pytest -m "throughput_benchmark_test and NAT and wpa2_personal and twog and bidirectional " - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "NAT" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: UDP'], - ['bandw_options: 20'], ['spatial_streams: 2']] - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_2G_bidirectional_NAT", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.bidirectional - @pytest.mark.nss2 - @pytest.mark.udp - def test_client_wpa2_personal_5g_bi_nss2_udp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: UDP'], - ['bandw_options: 20'], ['spatial_streams: 2']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_bi_nss2_udp_NAT", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @pytest.mark.upstream - @pytest.mark.nss2 - @pytest.mark.tcp - def test_client_wpa2_personal_2g_up_nss2_tcp(self, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Dataplane THroughput NAT Mode - pytest -m "throughput_benchmark_test and NAT and wpa2_personal and twog and upstream and tcp " - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "NAT" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: TCP'], - ['bandw_options: 20'], ['spatial_streams: 2']] - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_2G__up_nss2_tcp_NAT", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.upstream - @pytest.mark.nss2 - @pytest.mark.tcp - def test_client_wpa2_personal_5g_up_nss2_tcp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: TCP'], - ['bandw_options: 20'], ['spatial_streams: 2']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G__up_nss2_tcp_NAT", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @pytest.mark.downstream - @pytest.mark.nss2 - @pytest.mark.tcp - def test_client_wpa2_personal_2g_down_nss2_tcp(self, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Dataplane THroughput NAT Mode - pytest -m "throughput_benchmark_test and NAT and wpa2_personal and twog and downstream and tcp" - jira-WIFI-2564 - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "NAT" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: TCP'], - ['bandw_options: 20'], ['spatial_streams: 2']] - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_2G__down_nss2_tcp_NAT", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.downstream - @pytest.mark.nss2 - @pytest.mark.tcp - def test_client_wpa2_personal_5g_down_nss2_tcp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: TCP'], - ['bandw_options: 20'], ['spatial_streams: 2']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G__down_nss2_tcp_NAT", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @pytest.mark.bidirectional - @pytest.mark.nss2 - @pytest.mark.tcp - def test_client_wpa2_personal_2g_bi_nss2_tcp(self, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Dataplane THroughput NAT Mode - pytest -m "throughput_benchmark_test and NAT and wpa2_personal and twog and bidirectional " - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "NAT" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: TCP'], - ['bandw_options: 20'], ['spatial_streams: 2']] - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_2G__bi_nss2_tcp_NAT", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.bidirectional - @pytest.mark.nss2 - @pytest.mark.tcp - def test_client_wpa2_personal_5g_bi_nss2_tcp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: TCP'], - ['bandw_options: 20'], ['spatial_streams: 2']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G__bi_nss2_tcp_NAT", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - -setup_params_general = { - "mode": "NAT", - "ssid_modes": { - "wpa2_personal": [ - {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something"}, - {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], - "security_key": "something"}]}, - "rf": { - "is5GHz": {"channelBandwidth": "is80MHz"}, - "is5GHzL": {"channelBandwidth": "is80MHz"}, - "is5GHzU": {"channelBandwidth": "is80MHz"} - }, - "radius": False -} - - -@allure.feature("NAT MODE CLIENT CONNECTIVITY") -@allure.parent_suite("Throughput Benchmark Test: TCP/UDP Upstream/Downstream/Bidirectional Traffic Tests : " - "WPA2 Personal Security") -@allure.suite("NAT Mode") -@allure.sub_suite("80Mhz Channel Bandwidth") -@pytest.mark.parametrize( - 'setup_configuration', - [setup_params_general], - indirect=True, - scope="class" -) -@pytest.mark.usefixtures("setup_configuration") -@pytest.mark.Mhz80 -class TestThroughputUnderCombinationsNAT80MHz(object): - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.upstream - @pytest.mark.nss2 - @pytest.mark.udp - def test_client_wpa2_personal_5g_up_nss2_udp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Dataplane THroughput NAT Mode - pytest -m "throughput_benchmark_test and NAT and Mhz80 and wpa2_personal and fiveg and upstream and nss2 and udp " - jira-wifi-2566 - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: UDP'], - ['bandw_options: 80'], ['spatial_streams: 2']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_80__up_nss2_udp_NAT", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.downstream - @pytest.mark.nss2 - @pytest.mark.udp - def test_client_wpa2_personal_5g_down_nss2_udp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Dataplane THroughput NAT Mode - pytest -m "throughput_benchmark_test and NAT and Mhz80 and wpa2_personal and fiveg and downstream and nss2 and udp " - jira-wifi-2567 - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: UDP'], - ['bandw_options: 80'], ['spatial_streams: 2']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_80__down_nss2_udp_NAT", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.bidirectional - @pytest.mark.nss2 - @pytest.mark.udp - def test_client_wpa2_personal_5g_bi_nss2_udp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: UDP'], - ['bandw_options: 80'], ['spatial_streams: 2']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_80__bi_nss2_udp_NAT", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.upstream - @pytest.mark.nss2 - @pytest.mark.tcp - def test_client_wpa2_personal_5g_up_nss2_tcp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: TCP'], - ['bandw_options: 80'], ['spatial_streams: 2']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_80_up_nss2_tcp_NAT", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.downstream - @pytest.mark.nss2 - @pytest.mark.tcp - def test_client_wpa2_personal_5g_down_nss2_tcp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: TCP'], - ['bandw_options: 80'], ['spatial_streams: 2']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_80_down_nss2_tcp_NAT", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.bidirectional - @pytest.mark.nss2 - @pytest.mark.tcp - def test_client_wpa2_personal_2g_bi_nss2_tcp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Dataplane THroughput NAT Mode - pytest -m "throughput_benchmark_test and NAT and wpa2_personal and twog and bidirectional " - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: TCP'], - ['bandw_options: 80'], ['spatial_streams: 2']] - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_2G_80_bi_nss2_tcp_NAT", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.upstream - @pytest.mark.nss3 - @pytest.mark.udp - def test_client_wpa2_personal_5g_up_nss3_udp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Dataplane THroughput NAT Mode - pytest -m "throughput_benchmark_test and NAT and Mhz80 and wpa2_personal and fiveg and upstream and nss2 and udp and nss3" - jira-wifi-2572 - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: UDP'], - ['bandw_options: 80'], ['spatial_streams: 3']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_80__up_nss3_udp_NAT", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.downstream - @pytest.mark.nss3 - @pytest.mark.udp - def test_client_wpa2_personal_5g_down_nss3_udp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Dataplane THroughput NAT Mode - pytest -m "throughput_benchmark_test and NAT and Mhz80 and wpa2_personal and fiveg and downstream and nss2 and udp and nss3 " - jira-wifi-2573 - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: UDP'], - ['bandw_options: 80'], ['spatial_streams: 3']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_80__down_nss3_udp_NAT", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.bidirectional - @pytest.mark.nss3 - @pytest.mark.udp - def test_client_wpa2_personal_5g_bi_nss3_udp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: UDP'], - ['bandw_options: 80'], ['spatial_streams: 3']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_80__bi_nss3_udp_NAT", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.upstream - @pytest.mark.nss3 - @pytest.mark.tcp - def test_client_wpa2_personal_5g_up_nss3_tcp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: TCP'], - ['bandw_options: 80'], ['spatial_streams: 3']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_80__up_nss3_tcp_NAT", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.downstream - @pytest.mark.nss3 - @pytest.mark.tcp - def test_client_wpa2_personal_5g_down_nss3_tcp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: TCP'], - ['bandw_options: 80'], ['spatial_streams: 3']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_80_down_nss3_tcp_NAT", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.bidirectional - @pytest.mark.nss3 - @pytest.mark.tcp - def test_client_wpa2_personal_5g_bi_nss3_tcp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: TCP'], - ['bandw_options: 80'], ['spatial_streams: 3']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_80_bi_nss3_tcp_NAT", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - -setup_params_general = { - "mode": "NAT", - "ssid_modes": { - "wpa2_personal": [ - {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something"}, - {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], - "security_key": "something"}]}, - "rf": { - "is5GHz": {"channelBandwidth": "is160MHz"}, - "is5GHzL": {"channelBandwidth": "is160MHz"}, - "is5GHzU": {"channelBandwidth": "is160MHz"} - }, - "radius": False -} - - -@allure.feature("NAT MODE CLIENT CONNECTIVITY") -@allure.parent_suite("Throughput Benchmark Test: TCP/UDP Upstream/Downstream/Bidirectional Traffic Tests : " - "WPA2 Personal Security") -@allure.suite("NAT Mode") -@allure.sub_suite("160Mhz Channel Bandwidth") -@pytest.mark.parametrize( - 'setup_configuration', - [setup_params_general], - indirect=True, - scope="class" -) -@pytest.mark.usefixtures("setup_configuration") -@pytest.mark.Mhz160 -class TestThroughputUnderCombinationsNAT160MHz(object): - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.upstream - @pytest.mark.nss3 - @pytest.mark.udp - def test_client_wpa2_personal_5g_up_nss3_udp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Dataplane THroughput NAT Mode - pytest -m "throughput_benchmark_test and NAT and Mhz80 and wpa2_personal and fiveg and upstream and nss2 and udp " - jira-wifi-2578 - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: UDP'], - ['bandw_options: 160'], ['spatial_streams: 3']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_160_up_nss3_udp_NAT", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.downstream - @pytest.mark.nss3 - @pytest.mark.udp - def test_client_wpa2_personal_5g_down_nss3_udp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Dataplane THroughput NAT Mode - pytest -m "throughput_benchmark_test and NAT and Mhz80 and wpa2_personal and fiveg and downstream and nss2 and udp " - jira-wifi-2567 - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: UDP'], - ['bandw_options: 160'], ['spatial_streams: 3']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_160_down_nss3_udp_NAT", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.bidirectional - @pytest.mark.nss3 - @pytest.mark.udp - def test_client_wpa2_personal_5g_bi_nss3_udp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: UDP'], - ['bandw_options: 160'], ['spatial_streams: 3']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_160_bi_nss3_udp_NAT", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.upstream - @pytest.mark.nss3 - @pytest.mark.tcp - def test_client_wpa2_personal_5g_up_nss3_tcp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: TCP'], - ['bandw_options: 160'], ['spatial_streams: 3']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_160_up_nss3_tcp_NAT", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.upstream - @pytest.mark.nss4 - @pytest.mark.udp - def test_client_wpa2_personal_5g_up_nss4_udp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: UDP'], - ['bandw_options: 160'], ['spatial_streams: 4']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_160_up_nss4_udp_NAT", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.downstream - @pytest.mark.nss4 - @pytest.mark.udp - def test_client_wpa2_personal_5g_down_nss4_udp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Dataplane THroughput NAT Mode - pytest -m "throughput_benchmark_test and NAT and Mhz80 and wpa2_personal and fiveg and downstream and nss2 and udp " - jira-wifi-2567 - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: UDP'], - ['bandw_options: 160'], ['spatial_streams: 4']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_160_down_nss4_udp_NAT", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.bidirectional - @pytest.mark.nss4 - @pytest.mark.udp - def test_client_wpa2_personal_5g_bi_nss4_udp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: UDP'], - ['bandw_options: 160'], ['spatial_streams: 4']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_160_bi_nss4_udp_NAT", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.upstream - @pytest.mark.nss4 - @pytest.mark.tcp - def test_client_wpa2_personal_5g_up_nss4_tcp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: TCP'], - ['bandw_options: 160'], ['spatial_streams: 4']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_160_up_nss4_tcp_NAT", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.downstream - @pytest.mark.nss4 - @pytest.mark.tcp - def test_client_wpa2_personal_5g_down_nss4_tcp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: TCP'], - ['bandw_options: 160'], ['spatial_streams: 4']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_160_down_nss4_tcp_NAT", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.bidirectional - @pytest.mark.nss4 - @pytest.mark.tcp - def test_client_wpa2_personal_5g_bi_nss4_tcp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: TCP'], - ['bandw_options: 160'], ['spatial_streams: 4']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_160_bi_nss4_tcp_NAT", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/tcp_udp_upstream_downstream_bidirection_throughput_test/wpa2_personal/test_vlan_mode.py b/tests/e2e/basic/performance_tests/throughput_benchmark/tcp_udp_upstream_downstream_bidirection_throughput_test/wpa2_personal/test_vlan_mode.py deleted file mode 100644 index 94fa350a1fb..00000000000 --- a/tests/e2e/basic/performance_tests/throughput_benchmark/tcp_udp_upstream_downstream_bidirection_throughput_test/wpa2_personal/test_vlan_mode.py +++ /dev/null @@ -1,1658 +0,0 @@ -""" - - Performance Test: throughput test under various combinations: VLAN Mode - pytest -m "throughput_benchmark_test and VLAN" -s -vvv --skip-testrail --testbed=basic-01 - - -""" -import os -import time - -import pytest -import allure - -pytestmark = [pytest.mark.throughput_benchmark_test, pytest.mark.vlan] - -setup_params_general = { - "mode": "VLAN", - "ssid_modes": { - "wpa2_personal": [ - {"ssid_name": "ssid_wpa2_2g", - "appliedRadios": ["2G"], - "security_key": "something", - "vlan": 100}, - {"ssid_name": "ssid_wpa2_5g", - "appliedRadios": ["5G"], - "security_key": "something", - "vlan": 100}]}, - "rf": { - "is5GHz": {"channelBandwidth": "is20MHz"}, - "is5GHzL": {"channelBandwidth": "is20MHz"}, - "is5GHzU": {"channelBandwidth": "is20MHz"} - }, - "radius": False -} - - -@allure.feature("VLAN MODE CLIENT CONNECTIVITY") -@allure.parent_suite("Throughput Benchmark Test: TCP/UDP Upstream/Downstream/Bidirectional Traffic Tests : " - "WPA2 Personal Security") -@allure.suite("VLAN Mode") -@allure.sub_suite("20Mhz Channel Bandwidth") -@pytest.mark.parametrize( - 'setup_configuration', - [setup_params_general], - indirect=True, - scope="class" -) -@pytest.mark.usefixtures("setup_configuration") -@pytest.mark.Mhz20 -class TestThroughputUnderCombinationsVLAN20MHz(object): - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @pytest.mark.upstream - @pytest.mark.nss2 - @pytest.mark.udp - def test_client_wpa2_personal_2g_up_nss2_udp(self, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Dataplane THroughput VLAN Mode - pytest -m "throughput_benchmark_test and VLAN and wpa2_personal and twog and upstream " - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "VLAN" - band = "twog" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: UDP'], - ['bandw_options: 20'], ['spatial_streams: 2']] - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP1_PERF_DPT_WPA2_2G_VLAN", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.upstream - @pytest.mark.nss2 - @pytest.mark.udp - def test_client_wpa2_personal_5g_up_nss2_udp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: UDP'], - ['bandw_options: 20'], ['spatial_streams: 2']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_VLAN", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @pytest.mark.downstream - @pytest.mark.nss2 - @pytest.mark.udp - def test_client_wpa2_personal_2g_down_nss2_udp(self, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Dataplane THroughput VLAN Mode - pytest -m "throughput_benchmark_test and VLAN and wpa2_personal and twog and downstream " - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "VLAN" - band = "twog" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: UDP'], - ['bandw_options: 20'], ['spatial_streams: 2']] - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_2G_down_VLAN", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.downstream - @pytest.mark.nss2 - @pytest.mark.udp - def test_client_wpa2_personal_5g_down_nss2_udp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: UDP'], - ['bandw_options: 20'], ['spatial_streams: 2']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G__down_VLAN", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @pytest.mark.bidirectional - @pytest.mark.nss2 - @pytest.mark.udp - def test_client_wpa2_personal_2g_bi_nss2_udp(self, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Dataplane THroughput VLAN Mode - pytest -m "throughput_benchmark_test and VLAN and wpa2_personal and twog and bidirectional " - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "VLAN" - band = "twog" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: UDP'], - ['bandw_options: 20'], ['spatial_streams: 2']] - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_2G_bidirectional_VLAN", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.bidirectional - @pytest.mark.nss2 - @pytest.mark.udp - def test_client_wpa2_personal_5g_bi_nss2_udp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: UDP'], - ['bandw_options: 20'], ['spatial_streams: 2']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_bi_nss2_udp_VLAN", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @pytest.mark.upstream - @pytest.mark.nss2 - @pytest.mark.tcp - def test_client_wpa2_personal_2g_up_nss2_tcp(self, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Dataplane THroughput VLAN Mode - pytest -m "throughput_benchmark_test and VLAN and wpa2_personal and twog and upstream and tcp " - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "VLAN" - band = "twog" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: TCP'], - ['bandw_options: 20'], ['spatial_streams: 2']] - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_2G__up_nss2_tcp_VLAN", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.upstream - @pytest.mark.nss2 - @pytest.mark.tcp - def test_client_wpa2_personal_5g_up_nss2_tcp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: TCP'], - ['bandw_options: 20'], ['spatial_streams: 2']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G__up_nss2_tcp_VLAN", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @pytest.mark.downstream - @pytest.mark.nss2 - @pytest.mark.tcp - def test_client_wpa2_personal_2g_down_nss2_tcp(self, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Dataplane THroughput VLAN Mode - pytest -m "throughput_benchmark_test and VLAN and wpa2_personal and twog and downstream and tcp" - jira-WIFI-2564 - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "VLAN" - band = "twog" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: TCP'], - ['bandw_options: 20'], ['spatial_streams: 2']] - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_2G__down_nss2_tcp_VLAN", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.downstream - @pytest.mark.nss2 - @pytest.mark.tcp - def test_client_wpa2_personal_5g_down_nss2_tcp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: TCP'], - ['bandw_options: 20'], ['spatial_streams: 2']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G__down_nss2_tcp_VLAN", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.twog - @pytest.mark.bidirectional - @pytest.mark.nss2 - @pytest.mark.tcp - def test_client_wpa2_personal_2g_bi_nss2_tcp(self, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Dataplane THroughput VLAN Mode - pytest -m "throughput_benchmark_test and VLAN and wpa2_personal and twog and bidirectional " - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "VLAN" - band = "twog" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: TCP'], - ['bandw_options: 20'], ['spatial_streams: 2']] - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_2G__bi_nss2_tcp_VLAN", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.bidirectional - @pytest.mark.nss2 - @pytest.mark.tcp - def test_client_wpa2_personal_5g_bi_nss2_tcp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: TCP'], - ['bandw_options: 20'], ['spatial_streams: 2']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G__bi_nss2_tcp_VLAN", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - -setup_params_general = { - "mode": "VLAN", - "ssid_modes": { - "wpa2_personal": [ - {"ssid_name": "ssid_wpa2_2g", - "appliedRadios": ["2G"], - "security_key": "something", - "vlan": 100}, - {"ssid_name": "ssid_wpa2_5g", - "appliedRadios": ["5G"], - "security_key": "something", - "vlan": 100}]}, - "rf": { - "is5GHz": {"channelBandwidth": "is80MHz"}, - "is5GHzL": {"channelBandwidth": "is80MHz"}, - "is5GHzU": {"channelBandwidth": "is80MHz"} - }, - "radius": False -} - - -@allure.feature("VLAN MODE CLIENT CONNECTIVITY") -@allure.parent_suite("Throughput Benchmark Test: TCP/UDP Upstream/Downstream/Bidirectional Traffic Tests : " - "WPA2 Personal Security") -@allure.suite("VLAN Mode") -@allure.sub_suite("80Mhz Channel Bandwidth") -@pytest.mark.parametrize( - 'setup_configuration', - [setup_params_general], - indirect=True, - scope="class" -) -@pytest.mark.usefixtures("setup_configuration") -@pytest.mark.Mhz80 -class TestThroughputUnderCombinationsVLAN80MHz(object): - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.upstream - @pytest.mark.nss2 - @pytest.mark.udp - def test_client_wpa2_personal_5g_up_nss2_udp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Dataplane THroughput VLAN Mode - pytest -m "throughput_benchmark_test and VLAN and Mhz80 and wpa2_personal and fiveg and upstream and nss2 and udp " - jira-wifi-2566 - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: UDP'], - ['bandw_options: 80'], ['spatial_streams: 2']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_80__up_nss2_udp_VLAN", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.downstream - @pytest.mark.nss2 - @pytest.mark.udp - def test_client_wpa2_personal_5g_down_nss2_udp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Dataplane THroughput VLAN Mode - pytest -m "throughput_benchmark_test and VLAN and Mhz80 and wpa2_personal and fiveg and downstream and nss2 and udp " - jira-wifi-2567 - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: UDP'], - ['bandw_options: 80'], ['spatial_streams: 2']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_80__down_nss2_udp_VLAN", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.bidirectional - @pytest.mark.nss2 - @pytest.mark.udp - def test_client_wpa2_personal_5g_bi_nss2_udp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: UDP'], - ['bandw_options: 80'], ['spatial_streams: 2']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_80__bi_nss2_udp_VLAN", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.upstream - @pytest.mark.nss2 - @pytest.mark.tcp - def test_client_wpa2_personal_5g_up_nss2_tcp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: TCP'], - ['bandw_options: 80'], ['spatial_streams: 2']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_80_up_nss2_tcp_VLAN", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.downstream - @pytest.mark.nss2 - @pytest.mark.tcp - def test_client_wpa2_personal_5g_down_nss2_tcp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: TCP'], - ['bandw_options: 80'], ['spatial_streams: 2']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_80_down_nss2_tcp_VLAN", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.bidirectional - @pytest.mark.nss2 - @pytest.mark.tcp - def test_client_wpa2_personal_2g_bi_nss2_tcp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Dataplane THroughput VLAN Mode - pytest -m "throughput_benchmark_test and VLAN and wpa2_personal and twog and bidirectional " - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: TCP'], - ['bandw_options: 80'], ['spatial_streams: 2']] - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_2G_80_bi_nss2_tcp_VLAN", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.upstream - @pytest.mark.nss3 - @pytest.mark.udp - def test_client_wpa2_personal_5g_up_nss3_udp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Dataplane THroughput VLAN Mode - pytest -m "throughput_benchmark_test and VLAN and Mhz80 and wpa2_personal and fiveg and upstream and nss2 and udp and nss3" - jira-wifi-2572 - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: UDP'], - ['bandw_options: 80'], ['spatial_streams: 3']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_80__up_nss3_udp_VLAN", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.downstream - @pytest.mark.nss3 - @pytest.mark.udp - def test_client_wpa2_personal_5g_down_nss3_udp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Dataplane THroughput VLAN Mode - pytest -m "throughput_benchmark_test and VLAN and Mhz80 and wpa2_personal and fiveg and downstream and nss2 and udp and nss3 " - jira-wifi-2573 - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: UDP'], - ['bandw_options: 80'], ['spatial_streams: 3']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_80__down_nss3_udp_VLAN", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.bidirectional - @pytest.mark.nss3 - @pytest.mark.udp - def test_client_wpa2_personal_5g_bi_nss3_udp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: UDP'], - ['bandw_options: 80'], ['spatial_streams: 3']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_80__bi_nss3_udp_VLAN", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.upstream - @pytest.mark.nss3 - @pytest.mark.tcp - def test_client_wpa2_personal_5g_up_nss3_tcp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: TCP'], - ['bandw_options: 80'], ['spatial_streams: 3']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_80__up_nss3_tcp_VLAN", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.downstream - @pytest.mark.nss3 - @pytest.mark.tcp - def test_client_wpa2_personal_5g_down_nss3_tcp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: TCP'], - ['bandw_options: 80'], ['spatial_streams: 3']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_80_down_nss3_tcp_VLAN", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.bidirectional - @pytest.mark.nss3 - @pytest.mark.tcp - def test_client_wpa2_personal_5g_bi_nss3_tcp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: TCP'], - ['bandw_options: 80'], ['spatial_streams: 3']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_80_bi_nss3_tcp_VLAN", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - -setup_params_general = { - "mode": "VLAN", - "ssid_modes": { - "wpa2_personal": [ - {"ssid_name": "ssid_wpa2_5g", - "appliedRadios": ["5G"], - "security_key": "something", - "vlan": 100}]}, - "rf": { - "is5GHz": {"channelBandwidth": "is160MHz"}, - "is5GHzL": {"channelBandwidth": "is160MHz"}, - "is5GHzU": {"channelBandwidth": "is160MHz"} - }, - "radius": False -} - - -@allure.feature("VLAN MODE CLIENT CONNECTIVITY") -@allure.parent_suite("Throughput Benchmark Test: TCP/UDP Upstream/Downstream/Bidirectional Traffic Tests : " - "WPA2 Personal Security") -@allure.suite("VLAN Mode") -@allure.sub_suite("160Mhz Channel Bandwidth") -@pytest.mark.parametrize( - 'setup_configuration', - [setup_params_general], - indirect=True, - scope="class" -) -@pytest.mark.usefixtures("setup_configuration") -@pytest.mark.Mhz160 -class TestThroughputUnderCombinationsVLAN160MHz(object): - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.upstream - @pytest.mark.nss3 - @pytest.mark.udp - def test_client_wpa2_personal_5g_up_nss3_udp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Dataplane THroughput VLAN Mode - pytest -m "throughput_benchmark_test and VLAN and Mhz80 and wpa2_personal and fiveg and upstream and nss2 and udp " - jira-wifi-2578 - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: UDP'], - ['bandw_options: 160'], ['spatial_streams: 3']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_160_up_nss3_udp_VLAN", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.downstream - @pytest.mark.nss3 - @pytest.mark.udp - def test_client_wpa2_personal_5g_down_nss3_udp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Dataplane THroughput VLAN Mode - pytest -m "throughput_benchmark_test and VLAN and Mhz80 and wpa2_personal and fiveg and downstream and nss2 and udp " - jira-wifi-2567 - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: UDP'], - ['bandw_options: 160'], ['spatial_streams: 3']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_160_down_nss3_udp_VLAN", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.bidirectional - @pytest.mark.nss3 - @pytest.mark.udp - def test_client_wpa2_personal_5g_bi_nss3_udp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: UDP'], - ['bandw_options: 160'], ['spatial_streams: 3']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_160_bi_nss3_udp_VLAN", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.upstream - @pytest.mark.nss3 - @pytest.mark.tcp - def test_client_wpa2_personal_5g_up_nss3_tcp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: TCP'], - ['bandw_options: 160'], ['spatial_streams: 3']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_160_up_nss3_tcp_VLAN", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.upstream - @pytest.mark.nss4 - @pytest.mark.udp - def test_client_wpa2_personal_5g_up_nss4_udp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: UDP'], - ['bandw_options: 160'], ['spatial_streams: 4']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_160_up_nss4_udp_VLAN", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.downstream - @pytest.mark.nss4 - @pytest.mark.udp - def test_client_wpa2_personal_5g_down_nss4_udp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Dataplane THroughput VLAN Mode - pytest -m "throughput_benchmark_test and VLAN and Mhz80 and wpa2_personal and fiveg and downstream and nss2 and udp " - jira-wifi-2567 - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: UDP'], - ['bandw_options: 160'], ['spatial_streams: 4']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_160_down_nss4_udp_VLAN", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.bidirectional - @pytest.mark.nss4 - @pytest.mark.udp - def test_client_wpa2_personal_5g_bi_nss4_udp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: UDP'], - ['bandw_options: 160'], ['spatial_streams: 4']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_160_bi_nss4_udp_VLAN", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.upstream - @pytest.mark.nss4 - @pytest.mark.tcp - def test_client_wpa2_personal_5g_up_nss4_tcp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: TCP'], - ['bandw_options: 160'], ['spatial_streams: 4']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_160_up_nss4_tcp_VLAN", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.downstream - @pytest.mark.nss4 - @pytest.mark.tcp - def test_client_wpa2_personal_5g_down_nss4_tcp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: TCP'], - ['bandw_options: 160'], ['spatial_streams: 4']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_160_down_nss4_tcp_VLAN", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.bidirectional - @pytest.mark.nss4 - @pytest.mark.tcp - def test_client_wpa2_personal_5g_bi_nss4_tcp(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - print("station", station) - - val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: TCP'], - ['bandw_options: 160'], ['spatial_streams: 4']] - - if station: - time.sleep(3) - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP3_DPT_WPA2_5G_160_bi_nss4_tcp_VLAN", - vlan_id=vlan, dut_name=dut_name, raw_lines=val) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_across_channel_bw/__init__.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_across_channel_bw/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_across_channel_bw/test_bridge_mode.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_across_channel_bw/test_bridge_mode.py deleted file mode 100644 index b0180e083de..00000000000 --- a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_across_channel_bw/test_bridge_mode.py +++ /dev/null @@ -1,420 +0,0 @@ -""" - - Performance Test: Throughput Across Bandwidth Test: Bridge Mode - pytest -m "throughput_across_bw_test and Bridge" - -""" -import os -import pytest -import allure - -pytestmark = [pytest.mark.throughput_across_bw_test, pytest.mark.bridge] -raw_lines = [['pkts: %s' % 1], - ['directions: DUT Transmit;DUT Receive'], - ['bandw_options: %s' % 1], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - -setup_params_general_20Mhz = { - "mode": "BRIDGE", - "ssid_modes": { - "wpa2_personal": [ - {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something"}, - {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], - "security_key": "something"}]}, - "rf": { - "5G": { - "channel-width": 20, - }, - "2G": { - "channel-width": 20, - } - }, - "radius": False -} - - -@allure.feature("BRIDGE MODE CLIENT CONNECTIVITY") -@allure.parent_suite("Throughput Benchmark Test: Throughput across channel-width Tests : WPA2 Personal Security") -@allure.suite("Bridge Mode") -@allure.sub_suite("20Mhz Channel Bandwidth") -@pytest.mark.parametrize( - 'setup_configuration', - [setup_params_general_20Mhz], - indirect=True, - scope="class" -) -@pytest.mark.usefixtures("setup_configuration") -class TestThroughputAcrossBw20MhzBRIDGE(object): - """Throughput Across Bw Bridge Mode - pytest -m "throughput_across_bw_test and Bridge" - """ - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2556", name="WIFI-2556") - @pytest.mark.bw20Mhz - @pytest.mark.wpa2_personal - @pytest.mark.twog - def test_client_wpa2_personal_2g(self, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Across Bw Bridge Mode - pytest -m "throughput_across_bw_test and Bridge and wpa2_personal and twog" - """ - profile_data = setup_params_general_20Mhz["ssid_modes"]["wpa2_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "open" - mode = "BRIDGE" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_2G", - vlan_id=vlan, dut_name=dut_name, bw="20") - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2556", name="WIFI-2556") - @pytest.mark.bw20Mhz - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - def test_client_wpa2_personal_5g(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, get_configuration): - """Throughput Across Bw Bridge Mode - pytest -m "throughput_across_bw_test and Bridge and wpa2_personal and fiveg" - """ - profile_data = setup_params_general_20Mhz["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_5G", - vlan_id=vlan, dut_name=dut_name, bw="20") - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - -setup_params_general_40Mhz = { - "mode": "BRIDGE", - "ssid_modes": { - "wpa2_personal": [ - {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something"}, - {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], - "security_key": "something"}]}, - "rf": { - "5G": { - "channel-width": 40, - }, - "2G": { - "channel-width": 40, - } - }, - "radius": False -} - - -@allure.feature("BRIDGE MODE CLIENT CONNECTIVITY") -@allure.parent_suite("Throughput Benchmark Test: Throughput across channel-width Tests : WPA2 Personal Security") -@allure.suite("Bridge Mode") -@allure.sub_suite("40Mhz Channel Bandwidth") -@pytest.mark.parametrize( - 'setup_configuration', - [setup_params_general_40Mhz], - indirect=True, - scope="class" -) -@pytest.mark.usefixtures("setup_configuration") -class TestThroughputAcrossBw40MhzBRIDGE(object): - """Throughput Across Bw Bridge Mode - pytest -m "throughput_across_bw_test and Bridge" - """ - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2557", name="WIFI-2557") - @pytest.mark.bw40Mhz - @pytest.mark.wpa2_personal - @pytest.mark.twog - def test_client_wpa2_personal_2g(self, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Across Bw Bridge Mode - pytest -m "throughput_across_bw_test and Bridge and wpa2_personal and twog" - """ - profile_data = setup_params_general_40Mhz["ssid_modes"]["wpa2_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "open" - mode = "BRIDGE" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_2G", - vlan_id=vlan, dut_name=dut_name, bw="40") - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2557", name="WIFI-2557") - @pytest.mark.bw40Mhz - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - def test_client_wpa2_personal_5g(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, get_configuration): - """Throughput Across Bw Bridge Mode - pytest -m "throughput_across_bw_test and Bridge and wpa2_personal and fiveg" - """ - profile_data = setup_params_general_40Mhz["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_5G", - vlan_id=vlan, dut_name=dut_name, bw="40") - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - -setup_params_general_80Mhz = { - "mode": "BRIDGE", - "ssid_modes": { - "wpa2_personal": [ - {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something"}]}, - "rf": { - "5G": { - "channel-width": 80, - } - }, - "radius": False -} - - -@allure.feature("BRIDGE MODE CLIENT CONNECTIVITY") -@allure.parent_suite("Throughput Benchmark Test: Throughput across channel-width Tests : WPA2 Personal Security") -@allure.suite("Bridge Mode") -@allure.sub_suite("80Mhz Channel Bandwidth") -@pytest.mark.parametrize( - 'setup_configuration', - [setup_params_general_80Mhz], - indirect=True, - scope="class" -) -@pytest.mark.usefixtures("setup_configuration") -class TestThroughputAcrossBw80MhzBRIDGE(object): - """Throughput Across Bw Bridge Mode - pytest -m "throughput_across_bw_test and Bridge" - """ - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2558", name="WIFI-2558") - @pytest.mark.bw80Mhz - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - def test_client_wpa2_personal_5g(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, get_configuration): - """Throughput Across Bw Bridge Mode - pytest -m "throughput_across_bw_test and Bridge and wpa2_personal and fiveg" - """ - profile_data = setup_params_general_80Mhz["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_5G", - vlan_id=vlan, dut_name=dut_name, bw="80") - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-9742", name="WIFI-9742") - @pytest.mark.bw80Mhz - @pytest.mark.wpa2_personal - @pytest.mark.mmm - @pytest.mark.tcp_download - def test_client_wpa2_BRIDGE_tcp_dl_80Mhz(self, lf_tools, get_apnos_max_clients, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """ Wifi Capacity Test BRIDGE mode - pytest -m "wifi_capacity_test and BRIDGE and wpa2_personal and twog" - """ - lf_tools.reset_scenario() - profile_data = setup_params_general_80Mhz["ssid_modes"]["wpa2_personal"][0] - ssid_name = profile_data["ssid_name"] - mode = "BRIDGE" - vlan = 1 - max = int(get_apnos_max_clients[0]) - sets = [["DUT_NAME", lf_tools.dut_name]] - print("sets", sets) - # lf_tools.add_stations(band="2G", num_stations=1, dut=lf_tools.dut_name, ssid_name=ssid_name) - # lf_tools.add_stations(band="5G", num_stations=1, dut=lf_tools.dut_name, ssid_name=ssid_name) - lf_tools.add_stations(band="ax", num_stations=1, dut=lf_tools.dut_name, ssid_name=ssid_name) - lf_tools.Chamber_View() - influx_tags = "wifi-capacity-tcp-download-bridge-wpa2-80Mhz-AX" - wct_obj = lf_test.wifi_capacity(instance_name="test_client_wpa2_BRIDGE_tcp_dl", mode=mode, vlan_id=vlan, - download_rate="1.5Gbps", batch_size="1", - influx_tags=influx_tags, sets=sets, - upload_rate="0", protocol="TCP-IPv4", duration="60000", move_to_influx=True) - - report_name = wct_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - - lf_tools.attach_report_graphs(report_name=report_name) - lf_tools.attach_report_kpi(report_name=report_name) - - assert True - -setup_params_general_160Mhz = { - "mode": "BRIDGE", - "ssid_modes": { - "wpa2_personal": [ - {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something"}]}, - "rf": { - "5G": { - "channel-width": 160, - } - }, - "radius": False -} - - -@allure.feature("BRIDGE MODE CLIENT CONNECTIVITY") -@allure.parent_suite("Throughput Benchmark Test: Throughput across channel-width Tests : WPA2 Personal Security") -@allure.suite("Bridge Mode") -@allure.sub_suite("160Mhz Channel Bandwidth") -@pytest.mark.parametrize( - 'setup_configuration', - [setup_params_general_160Mhz], - indirect=True, - scope="class" -) -@pytest.mark.usefixtures("setup_configuration") -class TestThroughputAcrossBw160MhzBRIDGE(object): - """Throughput Across Bw Bridge Mode - pytest -m "throughput_across_bw_test and Bridge" - """ - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2559", name="WIFI-2559") - @pytest.mark.bw160Mhz - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - def test_client_wpa2_personal_5g(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, get_configuration): - """Throughput Across Bw Bridge Mode - pytest -m "throughput_across_bw_test and Bridge and wpa2_personal and fiveg" - """ - profile_data = setup_params_general_160Mhz["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_5G", - vlan_id=vlan, dut_name=dut_name, bw="160") - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_across_channel_bw/test_nat_mode.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_across_channel_bw/test_nat_mode.py deleted file mode 100644 index 47e8a323b21..00000000000 --- a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_across_channel_bw/test_nat_mode.py +++ /dev/null @@ -1,423 +0,0 @@ -""" - - Performance Test: Throughput Across Bandwidth Test: NAT Mode - pytest -m "throughput_across_bw_test and NAT" - -""" -import os -import pytest -import allure - -pytestmark = [pytest.mark.throughput_across_bw_test, pytest.mark.nat] -raw_lines = [['pkts: %s' % 1], - ['directions: DUT Transmit;DUT Receive'], - ['bandw_options: %s' % 1], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - -setup_params_general_20Mhz = { - "mode": "NAT", - "ssid_modes": { - "wpa2_personal": [ - {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something"}, - {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], - "security_key": "something"}]}, - "rf": { - "5G": { - "channel-width": 20, - }, - "2G": { - "channel-width": 20, - } - }, - "radius": False -} - - -@allure.feature("NAT MODE CLIENT CONNECTIVITY") -@allure.parent_suite("Throughput Benchmark Test: Throughput across channel-width Tests : WPA2 Personal Security") -@allure.suite("NAT Mode") -@allure.sub_suite("20Mhz Channel Bandwidth") -@pytest.mark.parametrize( - 'setup_configuration', - [setup_params_general_20Mhz], - indirect=True, - scope="class" -) -@pytest.mark.usefixtures("setup_configuration") -class TestThroughputAcrossBw20MhzNAT(object): - """Throughput Across Bw NAT Mode - pytest -m "throughput_across_bw_test and NAT" - """ - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2556", name="WIFI-2556") - @pytest.mark.bw20Mhz - @pytest.mark.wpa2_personal - @pytest.mark.twog - def test_client_wpa2_personal_2g(self, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Across Bw NAT Mode - pytest -m "throughput_across_bw_test and NAT and wpa2_personal and twog" - """ - profile_data = setup_params_general_20Mhz["ssid_modes"]["wpa2_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "open" - mode = "NAT" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_2G", - vlan_id=vlan, dut_name=dut_name, bw="20") - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2556", name="WIFI-2556") - @pytest.mark.bw20Mhz - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - def test_client_wpa2_personal_5g(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, get_configuration): - """Throughput Across Bw NAT Mode - pytest -m "throughput_across_bw_test and NAT and wpa2_personal and fiveg" - """ - profile_data = setup_params_general_20Mhz["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_5G", - vlan_id=vlan, dut_name=dut_name, bw="20") - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - -setup_params_general_40Mhz = { - "mode": "NAT", - "ssid_modes": { - "wpa2_personal": [ - {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something"}, - {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], - "security_key": "something"}]}, - "rf": { - "5G": { - "channel-width": 40, - }, - "2G": { - "channel-width": 40, - } - }, - "radius": False -} - - -@allure.feature("NAT MODE CLIENT CONNECTIVITY") -@allure.parent_suite("Throughput Benchmark Test: Throughput across channel-width Tests : WPA2 Personal Security") -@allure.suite("NAT Mode") -@allure.sub_suite("40Mhz Channel Bandwidth") -@pytest.mark.parametrize( - 'setup_configuration', - [setup_params_general_40Mhz], - indirect=True, - scope="class" -) -@pytest.mark.usefixtures("setup_configuration") -class TestThroughputAcrossBw40MhzNAT(object): - """Throughput Across Bw NAT Mode - pytest -m "throughput_across_bw_test and NAT" - """ - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2557", name="WIFI-2557") - @pytest.mark.bw40Mhz - @pytest.mark.wpa2_personal - @pytest.mark.twog - def test_client_wpa2_personal_2g(self, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Across Bw NAT Mode - pytest -m "throughput_across_bw_test and NAT and wpa2_personal and twog" - """ - profile_data = setup_params_general_40Mhz["ssid_modes"]["wpa2_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "open" - mode = "NAT" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_2G", - vlan_id=vlan, dut_name=dut_name, bw="40") - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2557", name="WIFI-2557") - @pytest.mark.bw40Mhz - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - def test_client_wpa2_personal_5g(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, get_configuration): - """Throughput Across Bw NAT Mode - pytest -m "throughput_across_bw_test and NAT and wpa2_personal and fiveg" - """ - profile_data = setup_params_general_40Mhz["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_5G", - vlan_id=vlan, dut_name=dut_name, bw="40") - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - -setup_params_general_80Mhz = { - "mode": "NAT", - "ssid_modes": { - "wpa2_personal": [ - {"ssid_name": "ssid_wpa2_5g_nat", "appliedRadios": ["5G"], "security_key": "something"}]}, - "rf": { - "5G": { - "channel-width": 80, - } - }, - "radius": False -} - - -@allure.feature("NAT MODE CLIENT CONNECTIVITY") -@allure.parent_suite("Throughput Benchmark Test: Throughput across channel-width Tests : WPA2 Personal Security") -@allure.suite("NAT Mode") -@allure.sub_suite("80Mhz Channel Bandwidth") -@pytest.mark.parametrize( - 'setup_configuration', - [setup_params_general_80Mhz], - indirect=True, - scope="class" -) -@pytest.mark.usefixtures("setup_configuration") -class TestThroughputAcrossBw80MhzNAT(object): - """Throughput Across Bw NAT Mode - pytest -m "throughput_across_bw_test and NAT" - """ - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2558", name="WIFI-2558") - @pytest.mark.bw80Mhz - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - def test_client_wpa2_personal_5g(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, get_configuration): - """Throughput Across Bw NAT Mode - pytest -m "throughput_across_bw_test and NAT and wpa2_personal and fiveg" - """ - profile_data = setup_params_general_80Mhz["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_5G", - vlan_id=vlan, dut_name=dut_name, bw="80") - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-9743", name="WIFI-9743") - @pytest.mark.bw80Mhz - @pytest.mark.wpa2_personal - @pytest.mark.mmm - @pytest.mark.tcp_download - def test_client_wpa2_NAT_tcp_dl_80Mhz(self, lf_tools, get_apnos_max_clients, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """ Wifi Capacity Test NAT mode - pytest -m "wifi_capacity_test and NAT and wpa2_personal and twog" - """ - lf_tools.reset_scenario() - profile_data = setup_params_general_80Mhz["ssid_modes"]["wpa2_personal"][0] - ssid_name = profile_data["ssid_name"] - mode = "NAT" - vlan = 1 - max = int(get_apnos_max_clients[0]) - sets = [["DUT_NAME", lf_tools.dut_name]] - print("sets", sets) - #lf_tools.add_stations(band="2G", num_stations=max, dut=lf_tools.dut_name, ssid_name=ssid_name) - #lf_tools.add_stations(band="5G", num_stations=max, dut=lf_tools.dut_name, ssid_name=ssid_name) - lf_tools.add_stations(band="ax", num_stations=1, dut=lf_tools.dut_name, ssid_name=ssid_name) - lf_tools.Chamber_View() - influx_tags = "wifi-capacity-tcp-download-nat-wpa2-80Mhz-AX" - wct_obj = lf_test.wifi_capacity(instance_name="test_client_wpa2_NAT_tcp_dl", mode=mode, vlan_id=vlan, - download_rate="1.5Gbps", batch_size="1", - influx_tags=influx_tags, sets=sets, - upload_rate="0", protocol="TCP-IPv4", duration="60000", move_to_influx=True) - - report_name = wct_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - - lf_tools.attach_report_graphs(report_name=report_name) - lf_tools.attach_report_kpi(report_name=report_name) - - assert True - - -setup_params_general_160Mhz = { - "mode": "NAT", - "ssid_modes": { - "wpa2_personal": [ - {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something"}]}, - "rf": { - "5G": { - "channel-width": 160, - } - }, - "radius": False -} - - -@allure.feature("NAT MODE CLIENT CONNECTIVITY") -@allure.parent_suite("Throughput Benchmark Test: Throughput across channel-width Tests : WPA2 Personal Security") -@allure.suite("NAT Mode") -@allure.sub_suite("160Mhz Channel Bandwidth") -@pytest.mark.parametrize( - 'setup_configuration', - [setup_params_general_160Mhz], - indirect=True, - scope="class" -) -@pytest.mark.usefixtures("setup_configuration") -class TestThroughputAcrossBw160MhzNAT(object): - """Throughput Across Bw NAT Mode - pytest -m "throughput_across_bw_test and NAT" - """ - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2559", name="WIFI-2559") - @pytest.mark.bw160Mhz - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - def test_client_wpa2_personal_5g(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, get_configuration): - """Throughput Across Bw NAT Mode - pytest -m "throughput_across_bw_test and NAT and wpa2_personal and fiveg" - """ - profile_data = setup_params_general_160Mhz["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_5G", - vlan_id=vlan, dut_name=dut_name, bw="160") - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_across_channel_bw/test_vlan_mode.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_across_channel_bw/test_vlan_mode.py deleted file mode 100644 index 448b872cd47..00000000000 --- a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_across_channel_bw/test_vlan_mode.py +++ /dev/null @@ -1,462 +0,0 @@ -""" - - Performance Test: Throughput Across Bandwidth Test: VLAN Mode - pytest -m "throughput_across_bw_test and VLAN" - -""" -import os -import pytest -import allure - -pytestmark = [pytest.mark.throughput_across_bw_test, pytest.mark.vlan] -raw_lines = [['pkts: %s' % 1], - ['directions: DUT Transmit;DUT Receive'], - ['bandw_options: %s' % 1], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - -setup_params_general_20Mhz = { - "mode": "VLAN", - "ssid_modes": { - "wpa2_personal": [ - {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something"}, - {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], - "security_key": "something"}]}, - "rf": { - "is5GHz": {"channelBandwidth": "is20MHz"}, - "is5GHzL": {"channelBandwidth": "is20MHz"}, - "is5GHzU": {"channelBandwidth": "is20MHz"}}, - "radius": False -} - - -@allure.feature("VLAN MODE CLIENT CONNECTIVITY") -@allure.parent_suite("Throughput Benchmark Test: Throughput across channel-width Tests : WPA2 Personal Security") -@allure.suite("VLAN Mode") -@allure.sub_suite("20Mhz Channel Bandwidth") -@pytest.mark.parametrize( - 'setup_configuration', - [setup_params_general_20Mhz], - indirect=True, - scope="class" -) -@pytest.mark.usefixtures("setup_configuration") -class TestThroughputAcrossBw20MhzVLAN(object): - """Throughput Across Bw VLAN Mode - pytest -m "throughput_across_bw_test and VLAN" - """ - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2556", name="WIFI-2556") - @pytest.mark.bw20Mhz - @pytest.mark.wpa2_personal - @pytest.mark.twog - def test_client_wpa2_personal_2g(self, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Across Bw VLAN Mode - pytest -m "throughput_across_bw_test and VLAN and wpa2_personal and twog" - """ - profile_data = setup_params_general_20Mhz["ssid_modes"]["wpa2_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "open" - mode = "VLAN" - band = "twog" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_2G", - vlan_id=vlan, dut_name=dut_name, bw="20") - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2556", name="WIFI-2556") - @pytest.mark.bw20Mhz - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - def test_client_wpa2_personal_5g(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, get_configuration): - """Throughput Across Bw VLAN Mode - pytest -m "throughput_across_bw_test and VLAN and wpa2_personal and fiveg" - """ - profile_data = setup_params_general_40Mhz["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_5G", - vlan_id=vlan, dut_name=dut_name, bw="20") - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - -setup_params_general_40Mhz = { - "mode": "VLAN", - "ssid_modes": { - "wpa2_personal": [ - {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something"}, - {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], - "security_key": "something"}]}, - "rf": { - "is5GHz": {"channelBandwidth": "is40MHz"}, - "is5GHzL": {"channelBandwidth": "is40MHz"}, - "is5GHzU": {"channelBandwidth": "is40MHz"}}, - "radius": False -} - - -@allure.feature("VLAN MODE CLIENT CONNECTIVITY") -@allure.parent_suite("Throughput Benchmark Test: Throughput across channel-width Tests : WPA2 Personal Security") -@allure.suite("VLAN Mode") -@allure.sub_suite("40Mhz Channel Bandwidth") -@pytest.mark.parametrize( - 'setup_configuration', - [setup_params_general_40Mhz], - indirect=True, - scope="class" -) -@pytest.mark.usefixtures("setup_configuration") -class TestThroughputAcrossBw40MhzVLAN(object): - """Throughput Across Bw VLAN Mode - pytest -m "throughput_across_bw_test and VLAN" - """ - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2557", name="WIFI-2557") - @pytest.mark.bw40Mhz - @pytest.mark.wpa2_personal - @pytest.mark.twog - def test_client_wpa2_personal_2g(self, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Across Bw VLAN Mode - pytest -m "throughput_across_bw_test and VLAN and wpa2_personal and twog" - """ - profile_data = setup_params_general_80Mhz["ssid_modes"]["wpa2_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "open" - mode = "VLAN" - band = "twog" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_2G", - vlan_id=vlan, dut_name=dut_name, bw="40") - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2557", name="WIFI-2557") - @pytest.mark.bw40Mhz - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - def test_client_wpa2_personal_5g(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, get_configuration): - """Throughput Across Bw VLAN Mode - pytest -m "throughput_across_bw_test and VLAN and wpa2_personal and fiveg" - """ - profile_data = setup_params_general_80Mhz["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_5G", - vlan_id=vlan, dut_name=dut_name, bw="40") - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - -setup_params_general_80Mhz = { - "mode": "VLAN", - "ssid_modes": { - "wpa2_personal": [ - {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something"}, - {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], - "security_key": "something"}]}, - "rf": { - "is5GHz": {"channelBandwidth": "is80MHz"}, - "is5GHzL": {"channelBandwidth": "is80MHz"}, - "is5GHzU": {"channelBandwidth": "is80MHz"}}, - "radius": False -} - - -@allure.feature("VLAN MODE CLIENT CONNECTIVITY") -@allure.parent_suite("Throughput Benchmark Test: Throughput across channel-width Tests : WPA2 Personal Security") -@allure.suite("VLAN Mode") -@allure.sub_suite("80Mhz Channel Bandwidth") -@pytest.mark.parametrize( - 'setup_configuration', - [setup_params_general_80Mhz], - indirect=True, - scope="class" -) -@pytest.mark.usefixtures("setup_configuration") -class TestThroughputAcrossBw80MhzVLAN(object): - """Throughput Across Bw VLAN Mode - pytest -m "throughput_across_bw_test and VLAN" - """ - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2558", name="WIFI-2558") - @pytest.mark.bw80Mhz - @pytest.mark.wpa2_personal - @pytest.mark.twog - def test_client_wpa2_personal_2g(self, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Across Bw VLAN Mode - pytest -m "throughput_across_bw_test and VLAN and wpa2_personal and twog" - """ - profile_data = setup_params_general_80Mhz["ssid_modes"]["wpa2_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "open" - mode = "VLAN" - band = "twog" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_2G", - vlan_id=vlan, dut_name=dut_name, bw="80") - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2558", name="WIFI-2558") - @pytest.mark.bw80Mhz - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - def test_client_wpa2_personal_5g(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, get_configuration): - """Throughput Across Bw VLAN Mode - pytest -m "throughput_across_bw_test and VLAN and wpa2_personal and fiveg" - """ - profile_data = setup_params_general_80Mhz["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_5G", - vlan_id=vlan, dut_name=dut_name, bw="80") - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - -setup_params_general_160Mhz = { - "mode": "VLAN", - "ssid_modes": { - "wpa2_personal": [ - {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something"}, - {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], - "security_key": "something"}]}, - "rf": { - "is5GHz": {"channelBandwidth": "is160MHz"}, - "is5GHzL": {"channelBandwidth": "is160MHz"}, - "is5GHzU": {"channelBandwidth": "is160MHz"}}, - "radius": False -} - - -@allure.feature("VLAN MODE CLIENT CONNECTIVITY") -@allure.parent_suite("Throughput Benchmark Test: Throughput across channel-width Tests : WPA2 Personal Security") -@allure.suite("VLAN Mode") -@allure.sub_suite("160Mhz Channel Bandwidth") -@pytest.mark.parametrize( - 'setup_configuration', - [setup_params_general_160Mhz], - indirect=True, - scope="class" -) -@pytest.mark.usefixtures("setup_configuration") -class TestThroughputAcrossBw160MhzVLAN(object): - """Throughput Across Bw VLAN Mode - pytest -m "throughput_across_bw_test and VLAN" - """ - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2559", name="WIFI-2559") - @pytest.mark.bw160Mhz - @pytest.mark.wpa2_personal - @pytest.mark.twog - def test_client_wpa2_personal_2g(self, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Across Bw VLAN Mode - pytest -m "throughput_across_bw_test and VLAN and wpa2_personal and twog" - """ - profile_data = setup_params_general_160Mhz["ssid_modes"]["wpa2_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "open" - mode = "VLAN" - band = "twog" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_2G", - vlan_id=vlan, dut_name=dut_name, bw="160") - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2559", name="WIFI-2559") - @pytest.mark.bw160Mhz - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - def test_client_wpa2_personal_5g(self, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, get_configuration): - """Throughput Across Bw VLAN Mode - pytest -m "throughput_across_bw_test and VLAN and wpa2_personal and fiveg" - """ - profile_data = setup_params_general_160Mhz["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_5G", - vlan_id=vlan, dut_name=dut_name, bw="160") - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - entries = os.listdir("../reports/" + report_name + '/') - pdf = False - for i in entries: - if ".pdf" in i: - pdf = i - if pdf: - allure.attach.file(source="../reports/" + report_name + "/" + pdf, - name=get_configuration["access_point"][0]["model"] + "_dataplane") - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/__init__.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/open_security/__init__.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/open_security/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/open_security/test_bridge_mode.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/open_security/test_bridge_mode.py deleted file mode 100644 index 4e6c8a2a432..00000000000 --- a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/open_security/test_bridge_mode.py +++ /dev/null @@ -1,648 +0,0 @@ -""" - - Performance Test: Throughput vs Various Pkt Size Test: Bridge Mode - pytest -m "throughput_vs_pkt and Bridge" - -""" -import os -import pytest -import allure - -pytestmark = [pytest.mark.throughput_vs_pkt, pytest.mark.Bridge, pytest.mark.open,] - # pytest.mark.usefixtures("setup_test_run")] - -setup_params_general = { - "mode": "BRIDGE", - "ssid_modes": { - "open": [{"ssid_name": "ssid_open_2g", "appliedRadios": ["2G"]}, - {"ssid_name": "ssid_open_5g", "appliedRadios": ["5G"]}]}, - "rf": {}, - "radius": False -} - - -@allure.feature("BRIDGE MODE CLIENT CONNECTIVITY") -@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : Open Security") -@allure.suite("Bridge Mode") -@allure.sub_suite("2.4GHz Band") -@pytest.mark.parametrize( - 'setup_configuration', - [setup_params_general], - indirect=True, - scope="class" -) -@pytest.mark.usefixtures("setup_configuration") -class TestThroughputVsPktBridge2G(object): - """Throughput vs Various Pkt Size Test Bridge mode - pytest -m "throughput_vs_pkt and Bridge" - """ - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") - @pytest.mark.open - @pytest.mark.twog - @pytest.mark.pkt60 - - def test_client_open_pkt_60_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes Bridge Mode - pytest -m "throughput_vs_pkt and Bridge and open and twog and pkt60" - """ - profile_data = setup_params_general["ssid_modes"]["open"][0] - ssid_name = profile_data["ssid_name"] - security = "open" - mode = "BRIDGE" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut #create dut - raw_lines = [['pkts: 60'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_PKT_60_OPEN_2G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") - @pytest.mark.open - @pytest.mark.twog - @pytest.mark.pkt142 - def test_client_open_pkt_142_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes Bridge Mode - pytest -m "throughput_vs_pkt and Bridge and open and twog and pkt142" - """ - profile_data = setup_params_general["ssid_modes"]["open"][0] - ssid_name = profile_data["ssid_name"] - - security = "open" - mode = "BRIDGE" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 142'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_PKT_142_OPEN_2G", - vlan_id=vlan, dut_name=dut_name,raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") - @pytest.mark.open - @pytest.mark.twog - @pytest.mark.pkt256 - def test_client_open_pkt_256_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes Bridge Mode - pytest -m "throughput_vs_pkt and Bridge and open and twog" - """ - profile_data = setup_params_general["ssid_modes"]["open"][0] - ssid_name = profile_data["ssid_name"] - - security = "open" - mode = "BRIDGE" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 256'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PER_PKT_256_OPEN_2G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") - @pytest.mark.open - @pytest.mark.twog - @pytest.mark.pkt512 - def test_client_open_pkt_512_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes Bridge Mode - pytest -m "throughput_vs_pkt and Bridge and open and twog" - """ - profile_data = setup_params_general["ssid_modes"]["open"][0] - ssid_name = profile_data["ssid_name"] - - security = "open" - mode = "BRIDGE" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 512'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_PKT_512_OPEN_2G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") - @pytest.mark.open - @pytest.mark.twog - @pytest.mark.pkt1024 - def test_client_open_pkt_1024_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes Bridge Mode - pytest -m "throughput_vs_pkt and Bridge and open and twog" - """ - profile_data = setup_params_general["ssid_modes"]["open"][0] - ssid_name = profile_data["ssid_name"] - - security = "open" - mode = "BRIDGE" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 1024'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_PKT_1024_OPEN_2G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") - @pytest.mark.open - @pytest.mark.twog - @pytest.mark.pktMTU - def test_client_open_pkt_MTU_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes Bridge Mode - pytest -m "throughput_vs_pkt and Bridge and open and twog" - """ - profile_data = setup_params_general["ssid_modes"]["open"][0] - ssid_name = profile_data["ssid_name"] - - security = "open" - mode = "BRIDGE" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: MTU'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_PKT_MTU_OPEN_2G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - -setup_params_5g = { - "mode": "BRIDGE", - "ssid_modes": { - "open": [{"ssid_name": "ssid_open_2g", "appliedRadios": ["2G"]}, - {"ssid_name": "ssid_open_5g", "appliedRadios": ["5G"]}]}, - "rf": {}, - "radius": False -} - - -@allure.feature("BRIDGE MODE CLIENT CONNECTIVITY") -@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : Open Security") -@allure.suite("Bridge Mode") -@allure.sub_suite("5GHz Band") -@pytest.mark.parametrize( - 'setup_configuration', - [setup_params_5g], - indirect=True, - scope="class" -) -@pytest.mark.usefixtures("setup_configuration") -class TestThroughputVsPktBridge5G(object): - """Throughput vs Various Pkt Size Test Bridge mode - pytest -m "throughput_vs_pkt and Bridge" - """ - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") - @pytest.mark.open - @pytest.mark.fiveg - @pytest.mark.pkt60 - def test_client_open_pkt_60_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes Bridge Mode - pytest -m "throughput_vs_pkt and Bridge and open and fiveg" - """ - profile_data = setup_params_5g["ssid_modes"]["open"][1] - ssid_name = profile_data["ssid_name"] - - security = "open" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 60'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_PKT_60_OPEN_5G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") - @pytest.mark.open - @pytest.mark.fiveg - @pytest.mark.pkt142 - def test_client_open_pkt_142_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes Bridge Mode - pytest -m "throughput_vs_pkt and Bridge and open and fiveg" - """ - profile_data = setup_params_5g["ssid_modes"]["open"][1] - ssid_name = profile_data["ssid_name"] - - security = "open" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 142'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_PKT_142_OPEN_5G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") - @pytest.mark.open - @pytest.mark.fiveg - @pytest.mark.pkt256 - def test_client_open_pkt_256_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes Bridge Mode - pytest -m "throughput_vs_pkt and Bridge and open and fiveg" - """ - profile_data = setup_params_5g["ssid_modes"]["open"][1] - ssid_name = profile_data["ssid_name"] - - security = "open" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 256'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_PKT_256_OPEN_5G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") - @pytest.mark.open - @pytest.mark.fiveg - @pytest.mark.pkt512 - def test_client_open_pkt_512_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes Bridge Mode - pytest -m "throughput_vs_pkt and Bridge and open and fiveg" - """ - profile_data = setup_params_5g["ssid_modes"]["open"][1] - ssid_name = profile_data["ssid_name"] - - security = "open" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 512'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_PKT_512_OPEN_5G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") - @pytest.mark.open - @pytest.mark.fiveg - @pytest.mark.pkt1024 - def test_client_open_pkt_1024_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes Bridge Mode - pytest -m "throughput_vs_pkt and Bridge and open and fiveg" - """ - profile_data = setup_params_5g["ssid_modes"]["open"][1] - ssid_name = profile_data["ssid_name"] - - security = "open" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 1024'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_PKT_1024_OPEN_5G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") - @pytest.mark.open - @pytest.mark.fiveg - @pytest.mark.pktMTU - def test_client_open_pkt_MTU_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes Bridge Mode - pytest -m "throughput_vs_pkt and Bridge and open and fiveg" - """ - profile_data = setup_params_5g["ssid_modes"]["open"][1] - ssid_name = profile_data["ssid_name"] - - security = "open" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: MTU'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_PKT_MTU_OPEN_5G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/open_security/test_nat_mode.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/open_security/test_nat_mode.py deleted file mode 100644 index 8ff8b1a6195..00000000000 --- a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/open_security/test_nat_mode.py +++ /dev/null @@ -1,639 +0,0 @@ -""" - - Performance Test: Throughput vs Various Pkt Size Test: NAT Mode - pytest -m "throughput_vs_pkt and NAT" - -""" -import os -import pytest -import allure - -pytestmark = [pytest.mark.throughput_vs_pkt, pytest.mark.nat, pytest.mark.open,] - # pytest.mark.usefixtures("setup_test_run")] - -setup_params_general = { - "mode": "NAT", - "ssid_modes": { - "open": [{"ssid_name": "ssid_open_2g", "appliedRadios": ["2G"]}, - {"ssid_name": "ssid_open_5g", "appliedRadios": ["5G"]}]}, - "rf": {}, - "radius": False -} - - -@allure.feature("NAT MODE CLIENT CONNECTIVITY") -@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : Open Security") -@allure.suite("NAT Mode") -@allure.sub_suite("2.4GHz Band") -@pytest.mark.parametrize( - 'setup_configuration', - [setup_params_general], - indirect=True, - scope="class" -) -@pytest.mark.usefixtures("setup_configuration") -class TestThroughputVsPktNAT2G(object): - """Throughput vs Various Pkt Size Test NAT mode - pytest -m "throughput_vs_pkt and NAT" - """ - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") - @pytest.mark.open - @pytest.mark.twog - @pytest.mark.pkt60 - def test_client_open_pkt_60_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes nat Mode - pytest -m "throughput_vs_pkt and nat and open and twog and pkt60" - """ - profile_data = setup_params_general["ssid_modes"]["open"][0] - ssid_name = profile_data["ssid_name"] - security = "open" - mode = "NAT" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 60'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - dut_name = create_lanforge_chamberview_dut - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_PKT_60_OPEN_2G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") - @pytest.mark.open - @pytest.mark.twog - @pytest.mark.pkt142 - def test_client_open_pkt_142_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes nat Mode - pytest -m "throughput_vs_pkt and nat and open and twog and pkt142" - """ - profile_data = setup_params_general["ssid_modes"]["open"][0] - ssid_name = profile_data["ssid_name"] - - security = "open" - mode = "NAT" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 142'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_PKT_142_OPEN_2G", - vlan_id=vlan, dut_name=dut_name,raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") - @pytest.mark.open - @pytest.mark.twog - @pytest.mark.pkt256 - def test_client_open_pkt_256_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes nat Mode - pytest -m "throughput_vs_pkt and nat and open and twog and pkt256" - """ - profile_data = setup_params_general["ssid_modes"]["open"][0] - ssid_name = profile_data["ssid_name"] - - security = "open" - mode = "NAT" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 256'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PER_PKT_256_OPEN_2G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") - @pytest.mark.open - @pytest.mark.twog - @pytest.mark.pkt512 - def test_client_open_pkt_512_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes nat Mode - pytest -m "throughput_vs_pkt and nat and open and twog and pkt512" - """ - profile_data = setup_params_general["ssid_modes"]["open"][0] - ssid_name = profile_data["ssid_name"] - - security = "open" - mode = "NAT" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 512'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_PKT_512_OPEN_2G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") - @pytest.mark.open - @pytest.mark.twog - @pytest.mark.pkt1024 - def test_client_open_pkt_1024_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes nat Mode - pytest -m "throughput_vs_pkt and nat and open and twog and pkt1024" - """ - profile_data = setup_params_general["ssid_modes"]["open"][0] - ssid_name = profile_data["ssid_name"] - - security = "open" - mode = "NAT" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 1024'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_PKT_1024_OPEN_2G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") - @pytest.mark.open - @pytest.mark.twog - @pytest.mark.pktMTU - def test_client_open_pkt_MTU_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes nat Mode - pytest -m "throughput_vs_pkt and nat and open and twog and pktMTU" - """ - profile_data = setup_params_general["ssid_modes"]["open"][0] - ssid_name = profile_data["ssid_name"] - - security = "open" - mode = "NAT" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: MTU'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_PKT_MTU_OPEN_2G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - -setup_params_5g = { - "mode": "NAT", - "ssid_modes": { - "open": [{"ssid_name": "ssid_open_2g", "appliedRadios": ["2G"]}, - {"ssid_name": "ssid_open_5g", "appliedRadios": ["5G"]}]}, - "rf": {}, - "radius": False -} - - -@allure.feature("NAT MODE CLIENT CONNECTIVITY") -@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : Open Security") -@allure.suite("NAT Mode") -@allure.sub_suite("5GHz Band") -@pytest.mark.parametrize( - 'setup_configuration', - [setup_params_5g], - indirect=True, - scope="class" -) -@pytest.mark.usefixtures("setup_configuration") -class TestThroughputVsPktNAT5G(object): - """Throughput vs Various Pkt Size Test NAT mode - pytest -m "throughput_vs_pkt and NAT" - """ - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") - @pytest.mark.open - @pytest.mark.fiveg - @pytest.mark.pkt60 - def test_client_open_pkt_60_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes nat Mode - pytest -m "throughput_vs_pkt and nat and open and fiveg and pkt60" - """ - profile_data = setup_params_5g["ssid_modes"]["open"][1] - ssid_name = profile_data["ssid_name"] - - security = "open" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 60'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_PKT_60_OPEN_5G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") - @pytest.mark.open - @pytest.mark.fiveg - @pytest.mark.pkt142 - def test_client_open_pkt_142_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes nat Mode - pytest -m "throughput_vs_pkt and nat and open and fiveg and pkt142" - """ - profile_data = setup_params_5g["ssid_modes"]["open"][1] - ssid_name = profile_data["ssid_name"] - - security = "open" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 142'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_PKT_142_OPEN_5G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") - @pytest.mark.open - @pytest.mark.fiveg - @pytest.mark.pkt256 - def test_client_open_pkt_256_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes nat Mode - pytest -m "throughput_vs_pkt and nat and open and fiveg and pkt256" - """ - profile_data = setup_params_5g["ssid_modes"]["open"][1] - ssid_name = profile_data["ssid_name"] - - security = "open" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 256'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_PKT_256_OPEN_5G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") - @pytest.mark.open - @pytest.mark.fiveg - @pytest.mark.pkt512 - def test_client_open_pkt_512_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes nat Mode - pytest -m "throughput_vs_pkt and nat and open and fiveg and pkt512" - """ - profile_data = setup_params_5g["ssid_modes"]["open"][1] - ssid_name = profile_data["ssid_name"] - - security = "open" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 512'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_PKT_512_OPEN_5G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") - @pytest.mark.open - @pytest.mark.fiveg - @pytest.mark.pkt1024 - def test_client_open_pkt_1024_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes nat Mode - pytest -m "throughput_vs_pkt and nat and open and fiveg and pkt1024" - """ - profile_data = setup_params_5g["ssid_modes"]["open"][1] - ssid_name = profile_data["ssid_name"] - - security = "open" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 1024'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_PKT_1024_OPEN_5G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") - @pytest.mark.open - @pytest.mark.fiveg - @pytest.mark.pktMTU - def test_client_open_pkt_MTU_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes nat Mode - pytest -m "throughput_vs_pkt and nat and open and fiveg and pktMTU" - """ - profile_data = setup_params_5g["ssid_modes"]["open"][1] - ssid_name = profile_data["ssid_name"] - - security = "open" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: MTU'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_PKT_MTU_OPEN_5G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/open_security/test_vlan_mode.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/open_security/test_vlan_mode.py deleted file mode 100644 index 5e8bf5d42bf..00000000000 --- a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/open_security/test_vlan_mode.py +++ /dev/null @@ -1,638 +0,0 @@ -""" - - Performance Test: Throughput vs Various Pkt Size Test: VLAN Mode - pytest -m "throughput_vs_pkt and VLAN" - -""" -import os -import pytest -import allure - -pytestmark = [pytest.mark.throughput_vs_pkt, pytest.mark.vlan, pytest.mark.open,] - # pytest.mark.usefixtures("setup_test_run")] - -setup_params_general = { - "mode": "VLAN", - "ssid_modes": { - "open": [{"ssid_name": "ssid_open_2g", "appliedRadios": ["2G"], "vlan": 100}, - {"ssid_name": "ssid_open_5g", "appliedRadios": ["5G"], "vlan": 100}]}, - "rf": {}, - "radius": False -} - - -@allure.feature("VLAN MODE CLIENT CONNECTIVITY") -@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : Open Security") -@allure.suite("VLAN Mode") -@allure.sub_suite("2.4GHz Band") -@pytest.mark.parametrize( - 'setup_configuration', - [setup_params_general], - indirect=True, - scope="class" -) -@pytest.mark.usefixtures("setup_configuration") -class TestThroughputVsPktVLAN2G(object): - """Throughput vs Various Pkt Size Test VLAN mode - pytest -m "throughput_vs_pkt and VLAN" - """ - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") - @pytest.mark.open - @pytest.mark.twog - @pytest.mark.pkt60 - def test_client_open_pkt_60_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes VLAN MODE - pytest -m "throughput_vs_pkt and vlan and open and twog and pkt60" - """ - profile_data = setup_params_general["ssid_modes"]["open"][0] - ssid_name = profile_data["ssid_name"] - security = "open" - mode = "VLAN" - band = "twog" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 60'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_2G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") - @pytest.mark.open - @pytest.mark.twog - @pytest.mark.pkt142 - def test_client_open_pkt_142_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes VLAN MODE - pytest -m "throughput_vs_pkt and vlan and open and twog and pkt142" - """ - profile_data = setup_params_general["ssid_modes"]["open"][0] - ssid_name = profile_data["ssid_name"] - - security = "open" - mode = "VLAN" - band = "twog" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 142'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_2G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") - @pytest.mark.open - @pytest.mark.twog - @pytest.mark.pkt256 - def test_client_open_pkt_256_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes VLAN MODE - pytest -m "throughput_vs_pkt and vlan and open and twog and pkt256" - """ - profile_data = setup_params_general["ssid_modes"]["open"][0] - ssid_name = profile_data["ssid_name"] - - security = "open" - mode = "VLAN" - band = "twog" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 256'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_2G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") - @pytest.mark.open - @pytest.mark.twog - @pytest.mark.pkt512 - def test_client_open_pkt_512_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes VLAN MODE - pytest -m "throughput_vs_pkt and vlan and open and twog and pkt512" - """ - profile_data = setup_params_general["ssid_modes"]["open"][0] - ssid_name = profile_data["ssid_name"] - - security = "open" - mode = "VLAN" - band = "twog" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 512'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_2G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") - @pytest.mark.open - @pytest.mark.twog - @pytest.mark.pkt1024 - def test_client_open_pkt_1024_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes VLAN MODE - pytest -m "throughput_vs_pkt and vlan and open and twog and pkt1024" - """ - profile_data = setup_params_general["ssid_modes"]["open"][0] - ssid_name = profile_data["ssid_name"] - - security = "open" - mode = "VLAN" - band = "twog" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 1024'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_2G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") - @pytest.mark.open - @pytest.mark.twog - @pytest.mark.pktMTU - def test_client_open_pkt_MTU_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes VLAN MODE - pytest -m "throughput_vs_pkt and vlan and open and twog and pktMTU" - """ - profile_data = setup_params_general["ssid_modes"]["open"][0] - ssid_name = profile_data["ssid_name"] - - security = "open" - mode = "VLAN" - band = "twog" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: MTU'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_2G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - -setup_params_5g = { - "mode": "VLAN", - "ssid_modes": { - "open": [{"ssid_name": "ssid_open_2g", "appliedRadios": ["2G"], "vlan": 100}, - {"ssid_name": "ssid_open_5g", "appliedRadios": ["5G"], "vlan": 100}]}, - "rf": {}, - "radius": False -} - - -@allure.feature("VLAN MODE CLIENT CONNECTIVITY") -@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : Open Security") -@allure.suite("VLAN Mode") -@allure.sub_suite("5GHz Band") -@pytest.mark.parametrize( - 'setup_configuration', - [setup_params_5g], - indirect=True, - scope="class" -) -@pytest.mark.usefixtures("setup_configuration") -class TestThroughputVsPktVLAN5G(object): - """Throughput vs Various Pkt Size Test VLAN mode - pytest -m "throughput_vs_pkt and VLAN" - """ - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") - @pytest.mark.open - @pytest.mark.fiveg - @pytest.mark.pkt60 - def test_client_open_pkt_60_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes VLAN MODE - pytest -m "throughput_vs_pkt and vlan and open and fiveg and pkt60" - """ - profile_data = setup_params_5g["ssid_modes"]["open"][1] - ssid_name = profile_data["ssid_name"] - - security = "open" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 60'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_PKT_60_OPEN_5G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") - @pytest.mark.open - @pytest.mark.fiveg - @pytest.mark.pkt142 - def test_client_open_pkt_142_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes VLAN MODE - pytest -m "throughput_vs_pkt and vlan and open and fiveg and pkt142" - """ - profile_data = setup_params_5g["ssid_modes"]["open"][1] - ssid_name = profile_data["ssid_name"] - - security = "open" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 142'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_PKT_142_OPEN_5G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") - @pytest.mark.open - @pytest.mark.fiveg - @pytest.mark.pkt256 - def test_client_open_pkt_256_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes VLAN MODE - pytest -m "throughput_vs_pkt and vlan and open and fiveg and pkt256" - """ - profile_data = setup_params_5g["ssid_modes"]["open"][1] - ssid_name = profile_data["ssid_name"] - - security = "open" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 256'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_PKT_256_OPEN_5G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") - @pytest.mark.open - @pytest.mark.fiveg - @pytest.mark.pkt512 - def test_client_open_pkt_512_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes VLAN MODE - pytest -m "throughput_vs_pkt and vlan and open and fiveg and pkt512" - """ - profile_data = setup_params_5g["ssid_modes"]["open"][1] - ssid_name = profile_data["ssid_name"] - - security = "open" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 512'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_PKT_512_OPEN_5G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") - @pytest.mark.open - @pytest.mark.fiveg - @pytest.mark.pkt1024 - def test_client_open_pkt_1024_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes VLAN Mode - pytest -m "throughput_vs_pkt and VLAN and open and fiveg" - """ - profile_data = setup_params_5g["ssid_modes"]["open"][1] - ssid_name = profile_data["ssid_name"] - - security = "open" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 1024'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_PKT_1024_OPEN_5G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") - @pytest.mark.open - @pytest.mark.fiveg - @pytest.mark.pktMTU - def test_client_open_pkt_MTU_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes VLAN Mode - pytest -m "throughput_vs_pkt and VLAN and open and fiveg" - """ - profile_data = setup_params_5g["ssid_modes"]["open"][1] - ssid_name = profile_data["ssid_name"] - - security = "open" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: MTU'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_PKT_MTU_OPEN_5G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa2_security/__init__.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa2_security/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa2_security/test_bridge_mode.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa2_security/test_bridge_mode.py deleted file mode 100644 index efc8bb65d12..00000000000 --- a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa2_security/test_bridge_mode.py +++ /dev/null @@ -1,643 +0,0 @@ -""" - - Performance Test: Throughput vs Various Pkt Size Test: Bridge Mode - pytest -m "throughput_vs_pkt and Bridge" - -""" -import os -import pytest -import allure - -pytestmark = [pytest.mark.throughput_vs_pkt, pytest.mark.Bridge, pytest.mark.wpa2,] - # pytest.mark.usefixtures("setup_test_run")] - -setup_params_general = { - "mode": "BRIDGE", - "ssid_modes": { - "wpa2_personal": [ - {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something"}, - {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], - "security_key": "something"}]}, - "rf": {}, - "radius": False -} - - -@allure.feature("BRIDGE MODE CLIENT CONNECTIVITY") -@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : WPA2 Personal Security") -@allure.suite("Bridge Mode") -@allure.sub_suite("2.4GHz Band") -@pytest.mark.parametrize( - 'setup_configuration', - [setup_params_general], - indirect=True, - scope="class" -) -@pytest.mark.usefixtures("setup_configuration") -@pytest.mark.wpa2 -class TestThroughputVsPktWpa2Bridge2G(object): - """Throughput vs Various Pkt Size Test Bridge mode - pytest -m "throughput_vs_pkt and Bridge" - """ - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") - @pytest.mark.wpa2_personal - @pytest.mark.twog - @pytest.mark.pkt60 - def test_client_wpa2_personal_bridge_pkt_60_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes Bridge Mode - pytest -m "throughput_vs_pkt and Bridge and wpa2_personal and twog and pkt60" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "BRIDGE" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 60'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_2G_60", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") - @pytest.mark.wpa2_personal - @pytest.mark.twogr - @pytest.mark.pkt142 - def test_client_wpa2_personal_bridge_pkt_142_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes Bridge Mode - pytest -m "throughput_vs_pkt and Bridge and wpa2_personal and twog and pkt142" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "BRIDGE" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 142'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_2G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") - @pytest.mark.wpa2_personal - @pytest.mark.twog - @pytest.mark.pkt256 - def test_client_wpa2_personal_bridge_pkt_256_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes Bridge Mode - pytest -m "throughput_vs_pkt and Bridge and wpa2_personal and twog and pkt256" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "BRIDGE" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 256'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_2G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") - @pytest.mark.wpa2_personal - @pytest.mark.twog - @pytest.mark.pkt512 - def test_client_wpa2_personal_bridge_pkt_512_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes Bridge Mode - pytest -m "throughput_vs_pkt and Bridge and wpa2_personal and twog and pkt512" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "BRIDGE" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 512'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_2G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") - @pytest.mark.wpa2_personal - @pytest.mark.twog - @pytest.mark.pkt1024 - def test_client_wpa2_personal_bridge_pkt_1024_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes Bridge Mode - pytest -m "throughput_vs_pkt and Bridge and wpa2_personal and twog and pkt1024" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "BRIDGE" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 1024'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_2G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") - @pytest.mark.wpa2_personal - @pytest.mark.twog - @pytest.mark.pktMTU - def test_client_wpa2_personal_bridge_pkt_MTU_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes Bridge Mode - pytest -m "throughput_vs_pkt and Bridge and wpa2_personal and twog and pktMTU" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "BRIDGE" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: MTU'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_2G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - -setup_params_5g = { - "mode": "BRIDGE", - "ssid_modes": { - "wpa2_personal": [ - {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something"}, - {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], - "security_key": "something"}]}, - "rf": {}, - "radius": False -} - - -@allure.feature("BRIDGE MODE CLIENT CONNECTIVITY") -@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : WPA2 Personal Security") -@allure.suite("Bridge Mode") -@allure.sub_suite("5GHz Band") -@pytest.mark.parametrize( - 'setup_configuration', - [setup_params_5g], - indirect=True, - scope="class" -) -@pytest.mark.usefixtures("setup_configuration") -@pytest.mark.wpa2 -class TestThroughputVsPktWpa2Bridge5G(object): - """Throughput vs Various Pkt Size Test Bridge mode - pytest -m "throughput_vs_pkt and Bridge" - """ - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.pkt60 - def test_client_wpa2_personal_bridge_pkt_60_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes Bridge Mode - pytest -m "throughput_vs_pkt and Bridge and wpa2_personal and fiveg and pkt60" - """ - profile_data = setup_params_5g["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 60'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_5G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") - @pytest.mark.fiveg - @pytest.mark.pkt142 - def test_client_wpa2_personal_bridge_pkt_142_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes Bridge Mode - pytest -m "throughput_vs_pkt and Bridge and wpa2_personal and fiveg and pkt142" - """ - profile_data = setup_params_5g["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 142'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_5G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.pkt256 - def test_client_wpa2_personal_bridge_pkt_256_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes Bridge Mode - pytest -m "throughput_vs_pkt and Bridge and wpa2_personal and fiveg and pkt256" - """ - profile_data = setup_params_5g["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 256'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_5G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.pkt512 - def test_client_wpa2_personal_bridge_pkt_512_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes Bridge Mode - pytest -m "throughput_vs_pkt and Bridge and wpa2_personal and fiveg and pkt512" - """ - profile_data = setup_params_5g["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 512'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_5G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.pkt1024 - def test_client_wpa2_personal_bridge_pkt_1024_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes Bridge Mode - pytest -m "throughput_vs_pkt and Bridge and wpa2_personal and fiveg and pkt1024" - """ - profile_data = setup_params_5g["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 1024'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_5G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.pktMTU - def test_client_wpa2_personal_bridge_pkt_MTU_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes Bridge Mode - pytest -m "throughput_vs_pkt and Bridge and wpa2_personal and fiveg and pktMTU" - """ - profile_data = setup_params_5g["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: MTU'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_5G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa2_security/test_nat_mode.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa2_security/test_nat_mode.py deleted file mode 100644 index 0ef78eb6d2e..00000000000 --- a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa2_security/test_nat_mode.py +++ /dev/null @@ -1,653 +0,0 @@ -""" - - Performance Test: Throughput vs Various Pkt Size Test : Nat Mode - pytest -m "throughput_vs_pkt and nat" - -""" -import os -import pytest -import allure - -pytestmark = [pytest.mark.throughput_vs_pkt, pytest.mark.nat, pytest.mark.wpa2] - - -setup_params_general = { - "mode": "NAT", - "ssid_modes": { - "wpa2_personal": [ - {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something"}, - {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], - "security_key": "something"}]}, - "rf": {}, - "radius": False -} - - -@allure.feature("NAT MODE CLIENT CONNECTIVITY") -@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : WPA2 Personal Security") -@allure.suite("NAT Mode") -@allure.sub_suite("2.4GHz Band") -@pytest.mark.parametrize( - 'setup_configuration', - [setup_params_general], - indirect=True, - scope="class" -) -@pytest.mark.usefixtures("setup_configuration") -class TestThroughputVsPktWpa2Nat2G(object): - """Throughput vs Various Pkt Size Test nat mode - pytest -m "throughput_vs_pkt and nat" - """ - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") - @pytest.mark.wpa2_personal - @pytest.mark.twog - @pytest.mark.pkt60 - def test_client_wpa2_personal_nat_pkt_60_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes Nat Mode - pytest -m "throughput_vs_pkt and Nat and wpa2_personal and twog and pkt60" - """ - profile_data = setup_params_5g["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "NAT" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 60'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_2G_60", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") - @pytest.mark.wpa2_personal - @pytest.mark.twog - @pytest.mark.pkt142 - def test_client_wpa2_personal_nat_pkt_142_2g(self, lf_tools, lf_test, station_names_twog, - create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes Nat Mode - pytest -m "throughput_vs_pkt and Nat and wpa2_personal and twog and pkt142" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "NAT" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 142'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_2G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") - @pytest.mark.wpa2_personal - @pytest.mark.twog - @pytest.mark.pkt256 - def test_client_wpa2_personal_nat_pkt_256_2g(self, lf_tools, lf_test, station_names_twog, - create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes Nat Mode - pytest -m "throughput_vs_pkt and Nat and wpa2_personal and twog and pkt256" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "NAT" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 256'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_2G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") - @pytest.mark.wpa2_personal - @pytest.mark.twog - @pytest.mark.pkt512 - def test_client_wpa2_personal_nat_pkt_512_2g(self, lf_tools, lf_test, station_names_twog, - create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes Nat Mode - pytest -m "throughput_vs_pkt and Nat and wpa2_personal and twog and pkt512" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "NAT" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 512'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_2G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") - @pytest.mark.wpa2_personal - @pytest.mark.twog - @pytest.mark.pkt1024 - def test_client_wpa2_personal_nat_pkt_1024_2g(self, lf_tools, lf_test, station_names_twog, - create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes Nat Mode - pytest -m "throughput_vs_pkt and Nat and wpa2_personal and twog and pkt1024" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "NAT" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 1024'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_2G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") - @pytest.mark.wpa2_personal - @pytest.mark.twog - @pytest.mark.pktMTU - def test_client_wpa2_personal_nat_pkt_MTU_2g(self, lf_tools, lf_test, station_names_twog, - create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes Nat Mode - pytest -m "throughput_vs_pkt and Nat and wpa2_personal and twog and pktMTU" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "NAT" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: MTU'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_2G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - -setup_params_5g = { - "mode": "NAT", - "ssid_modes": { - "wpa2_personal": [ - {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something"}, - {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], - "security_key": "something"}]}, - "rf": {}, - "radius": False -} - - -@allure.feature("NAT MODE CLIENT CONNECTIVITY") -@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : WPA2 Personal Security") -@allure.suite("NAT Mode") -@allure.sub_suite("5GHz Band") -@pytest.mark.parametrize( - 'setup_configuration', - [setup_params_5g], - indirect=True, - scope="class" -) -@pytest.mark.usefixtures("setup_configuration") -class TestThroughputVsPktWpa2Nat5G(object): - """Throughput vs Various Pkt Size Test nat mode - pytest -m "throughput_vs_pkt and nat" - """ - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.pkt60 - def test_client_wpa2_personal_nat_pkt_60_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes nat Mode - pytest -m "throughput_vs_pkt and nat and wpa2 and fiveg and pkt60" - """ - profile_data = setup_params_5g["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 60'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_5G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.pkt142 - def test_client_wpa2_personal_nat_pkt_142_5g(self, lf_tools, lf_test, station_names_fiveg, - create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes nat Mode - pytest -m "throughput_vs_pkt and nat and wpa2 and fiveg and pkt142" - """ - profile_data = setup_params_5g["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 142'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_5G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.pkt256 - def test_client_wpa2_personal_nat_pkt_256_5g(self, lf_tools, lf_test, station_names_fiveg, - create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes nat Mode - pytest -m "throughput_vs_pkt and nat and wpa2 and fiveg and pkt256" - """ - profile_data = setup_params_5g["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 256'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_5G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.pkt512 - def test_client_wpa2_personal_nat_pkt_512_5g(self, lf_tools, lf_test, station_names_fiveg, - create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes nat Mode - pytest -m "throughput_vs_pkt and nat and wpa2 and fiveg and pkt512" - """ - profile_data = setup_params_5g["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 512'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_5G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.pkt1024 - def test_client_wpa2_personal_nat_pkt_1024_5g(self, lf_tools, lf_test, station_names_fiveg, - create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes nat Mode - pytest -m "throughput_vs_pkt and nat and wpa2 and fiveg and pkt1024" - """ - profile_data = setup_params_5g["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 1024'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security,passkey=security_key, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_5G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.pktMTU - def test_client_wpa2_personal_nat_pkt_MTU_5g(self, lf_tools, lf_test, station_names_fiveg, - create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes nat Mode - pytest -m "throughput_vs_pkt and nat and wpa2 and fiveg and pktMTU" - """ - profile_data = setup_params_5g["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: MTU'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_5G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False \ No newline at end of file diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa2_security/test_vlan_mode.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa2_security/test_vlan_mode.py deleted file mode 100644 index 51146492b4d..00000000000 --- a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa2_security/test_vlan_mode.py +++ /dev/null @@ -1,653 +0,0 @@ -""" - - Performance Test: Throughput vs Various Pkt Size Test: VLAN MODE - pytest -m "throughput_vs_pkt and vlan" - -""" -import os -import pytest -import allure - -pytestmark = [pytest.mark.throughput_vs_pkt, pytest.mark.vlan, pytest.mark.wpa2] - -setup_params_general = { - "mode": "VLAN", - "ssid_modes": { - "wpa2_personal": [ - {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something", "vlan": 100}, - {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something", "vlan": 100}]}, - "rf": {}, - "radius": False -} - - -@allure.feature("VLAN MODE CLIENT CONNECTIVITY") -@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : WPA2 Personal Security") -@allure.suite("VLAN Mode") -@allure.sub_suite("2.4GHz Band") -@pytest.mark.parametrize( - 'setup_configuration', - [setup_params_general], - indirect=True, - scope="class" -) -@pytest.mark.usefixtures("setup_configuration") -class TestThroughputVsPktWpa2Vlan2G(object): - """Throughput vs Various Pkt Size Test Vlan mode - pytest -m "throughput_vs_pkt and vlan" - """ - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") - @pytest.mark.wpa2_personal - @pytest.mark.twog - @pytest.mark.pkt60 - def test_client_wpa2_personal_vlan_pkt_60_2g(self, lf_tools, lf_test, station_names_twog, - create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes Vlan Mode - pytest -m "throughput_vs_pkt and Vlan and wpa2 and twog and pkt60" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "VLAN" - band = "twog" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 60'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_2G_60", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") - @pytest.mark.wpa2_personal - @pytest.mark.twog - @pytest.mark.pkt142 - def test_client_wpa2_personal_vlan_pkt_142_2g(self, lf_tools, lf_test, station_names_twog, - create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes Vlan Mode - pytest -m "throughput_vs_pkt and Vlan and wpa2 and twog and pkt142" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "VLAN" - band = "twog" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 142'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_2G_60", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") - @pytest.mark.wpa2_personal - @pytest.mark.twog - @pytest.mark.pkt256 - def test_client_wpa2_personal_vlan_pkt_256_2g(self, lf_tools, lf_test, station_names_twog, - create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes Vlan Mode - pytest -m "throughput_vs_pkt and Vlan and wpa2 and twog and pkt256" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "VLAN" - band = "twog" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 256'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_2G_60", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") - @pytest.mark.wpa2_personal - @pytest.mark.twog - @pytest.mark.pkt512 - def test_client_wpa2_personal_vlan_pkt_512_2g(self, lf_tools, lf_test, station_names_twog, - create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes Vlan Mode - pytest -m "throughput_vs_pkt and Vlan and wpa2 and twog and pkt512" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "VLAN" - band = "twog" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 512'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_2G_60", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") - @pytest.mark.wpa2_personal - @pytest.mark.twog - @pytest.mark.pkt1024 - def test_client_wpa2_personal_vlan_pkt_1024_2g(self, lf_tools, lf_test, station_names_twog, - create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes Vlan Mode - pytest -m "throughput_vs_pkt and Vlan and wpa2 and twog and pkt1024" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "VLAN" - band = "twog" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 1024'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_2G_60", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") - @pytest.mark.wpa2_personal - @pytest.mark.twog - @pytest.mark.pktMTU - def test_client_wpa2_personal_vlan_pkt_MTU_2g(self, lf_tools, lf_test, station_names_twog, - create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes Vlan Mode - pytest -m "throughput_vs_pkt and Vlan and wpa2 and twog and pktMTU" - """ - profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "VLAN" - band = "twog" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: MTU'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_2G_60", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - -setup_params_5g = { - "mode": "VLAN", - "ssid_modes": { - "wpa2_personal": [ - {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something", "vlan": 100}, - {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something", "vlan": 100}]}, - "rf": {}, - "radius": False -} - - -@allure.feature("VLAN MODE CLIENT CONNECTIVITY") -@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : WPA2 Personal Security") -@allure.suite("VLAN Mode") -@allure.sub_suite("5Hz Band") -@pytest.mark.parametrize( - 'setup_configuration', - [setup_params_5g], - indirect=True, - scope="class" -) -@pytest.mark.usefixtures("setup_configuration") -class TestThroughputVsPktWpa2Vlan5g(object): - """Throughput vs Various Pkt Size Test Vlan mode - pytest -m "throughput_vs_pkt and vlan" - """ - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.pkt60 - def test_client_wpa2_personal_vlan_pkt_60_5g(self, lf_tools, lf_test, station_names_fiveg, - create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes Vlan Mode - pytest -m "throughput_vs_pkt and Vlan and wpa2 and fiveg and pkt60" - """ - profile_data = setup_params_5g["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 60'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_2G_60", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.pkt142 - def test_client_wpa2_personal_vlan_pkt_142_5g(self, lf_tools, lf_test, station_names_fiveg, - create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes Vlan Mode - pytest -m "throughput_vs_pkt and Vlan and wpa2 and fiveg and pkt142" - """ - profile_data = setup_params_5g["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 142'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_2G_60", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.pkt256 - def test_client_wpa2_personal_vlan_pkt_256_5g(self, lf_tools, lf_test, station_names_fiveg, - create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes Vlan Mode - pytest -m "throughput_vs_pkt and Vlan and wpa2 and fiveg and pkt256" - """ - profile_data = setup_params_5g["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 256'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_2G_60", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.pkt512 - def test_client_wpa2_personal_vlan_pkt_512_5g(self, lf_tools, lf_test, station_names_fiveg, - create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes Vlan Mode - pytest -m "throughput_vs_pkt and Vlan and wpa2 and fiveg and pkt512" - """ - profile_data = setup_params_5g["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 512'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_2G_60", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.pkt1024 - def test_client_wpa2_personal_vlan_pkt_1024_5g(self, lf_tools, lf_test, station_names_fiveg, - create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes Vlan Mode - pytest -m "throughput_vs_pkt and Vlan and wpa2 and fiveg and pkt1024" - """ - profile_data = setup_params_5g["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 1024'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_2G_60", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") - @pytest.mark.wpa2_personal - @pytest.mark.fiveg - @pytest.mark.pktMTU - def test_client_wpa2_personal_vlan_pkt_MTU_5g(self, lf_tools, lf_test, station_names_fiveg, - create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes Vlan Mode - pytest -m "throughput_vs_pkt and Vlan and wpa2 and fiveg and pktMTU" - """ - profile_data = setup_params_5g["ssid_modes"]["wpa2_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa2" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: MTU'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_DPT_WPA2_2G_60", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa3_security/__init__.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa3_security/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa3_security/test_bridge_mode.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa3_security/test_bridge_mode.py deleted file mode 100644 index 040ee9a62fd..00000000000 --- a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa3_security/test_bridge_mode.py +++ /dev/null @@ -1,644 +0,0 @@ -""" - - Performance Test: Throughput vs Various Pkt Size Test: Bridge Mode - pytest -m "throughput_vs_pkt and bridge" - -""" -import os -import pytest -import allure - -pytestmark = [pytest.mark.throughput_vs_pkt, pytest.mark.Bridge, pytest.mark.wpa3,] - # pytest.mark.usefixtures("setup_test_run")] - -setup_params_general = { - "mode": "BRIDGE", - "ssid_modes": { - "wpa3_personal": [ - {"ssid_name": "ssid_wpa3_p_2g", "appliedRadios": ["2G"], "security_key": "something"}, - {"ssid_name": "ssid_wpa3_p_5g", "appliedRadios": ["5G"], - "security_key": "something"}]}, - - "rf": {}, - "radius": False -} - - -@allure.feature("BRIDGE MODE CLIENT CONNECTIVITY") -@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : WPA3 Personal Security") -@allure.suite("Bridge Mode") -@allure.sub_suite("2.4GHz Band") -@pytest.mark.parametrize( - 'setup_configuration', - [setup_params_general], - indirect=True, - scope="class" -) -@pytest.mark.usefixtures("setup_configuration") -class TestThroughputVsPktWpa3Bridge2G(object): - """Throughput vs Various Pkt Size Test Bridge mode - pytest -m "throughput_vs_pkt and bridge" - """ - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") - @pytest.mark.wpa3_personal - @pytest.mark.twog - @pytest.mark.pkt60 - def test_client_wpa3_personal_pkt_bridge_60_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes Bridge Mode - pytest -m "throughput_vs_pkt and bridge and wpa3_personal and twog and pkt60" - """ - profile_data = setup_params_general["ssid_modes"]["wpa3_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa3" - mode = "BRIDGE" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 60'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA3_2G_60", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") - @pytest.mark.wpa3_personal - @pytest.mark.twog - @pytest.mark.pkt142 - def test_client_wpa3_personal_pkt_bridge_142_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes Bridge Mode - pytest -m "throughput_vs_pkt and bridge and wpa3_personal and twog and pkt142" - """ - profile_data = setup_params_general["ssid_modes"]["wpa3_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa3" - mode = "BRIDGE" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 142'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA3_2G_142", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") - @pytest.mark.wpa3_personal - @pytest.mark.twog - @pytest.mark.pkt256 - def test_client_wpa3_personal_pkt_bridge_256_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes Bridge Mode - pytest -m "throughput_vs_pkt and bridge and wpa3_personal and twog and pkt256" - """ - profile_data = setup_params_general["ssid_modes"]["wpa3_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa3" - mode = "BRIDGE" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 256'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA3_2G_256", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") - @pytest.mark.wpa3_personal - @pytest.mark.twog - @pytest.mark.pkt512 - def test_client_wpa3_personal_pkt_bridge_512_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes Bridge Mode - pytest -m "throughput_vs_pkt and bridge and wpa3_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa3_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa3" - mode = "BRIDGE" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 512'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA3_2G_512", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") - @pytest.mark.wpa3_personal - @pytest.mark.twog - @pytest.mark.pkt1024 - def test_client_wpa3_personal_pkt_bridge_1024_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes Bridge Mode - pytest -m "throughput_vs_pkt and bridge and wpa3_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa3_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa3" - mode = "BRIDGE" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 1024'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA3_2G_1024", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") - @pytest.mark.wpa3_personal - @pytest.mark.twog - @pytest.mark.pktMTU - def test_client_wpa3_personal_pkt_bridge_MTU_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes Bridge Mode - pytest -m "throughput_vs_pkt and bridge and wpa3_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa3_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa3" - mode = "BRIDGE" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: MTU'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA3_2G_MTU", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - -setup_params_5g = { - "mode": "BRIDGE", - "ssid_modes": { - "wpa3_personal": [ - {"ssid_name": "ssid_wpa3_p_2g", "appliedRadios": ["2G"], "security_key": "something"}, - {"ssid_name": "ssid_wpa3_p_5g", "appliedRadios": ["5G"], - "security_key": "something"}]}, - "rf": {}, - "radius": False -} - - -@allure.feature("BRIDGE MODE CLIENT CONNECTIVITY") -@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : WPA3 Personal Security") -@allure.suite("Bridge Mode") -@allure.sub_suite("5GHz Band") -@pytest.mark.parametrize( - 'setup_configuration', - [setup_params_5g], - indirect=True, - scope="class" -) -@pytest.mark.usefixtures("setup_configuration") -class TestThroughputVsPktBridgeWpa35G(object): - """Throughput vs Various Pkt Size Test Bridge mode - pytest -m "throughput_vs_pkt and bridge" - """ - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") - @pytest.mark.wpa3_personal - @pytest.mark.fiveg - @pytest.mark.pkt60 - def test_client_wpa3_personal_pkt_bridge_60_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes Bridge Mode - pytest -m "throughput_vs_pkt and bridge and wpa3_personal and fiveg" - """ - profile_data = setup_params_5g["ssid_modes"]["wpa3_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa3" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 60'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_THRU_PKT_WPA3_5G_60", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") - @pytest.mark.wpa3_personal - @pytest.mark.fiveg - @pytest.mark.pkt142 - def test_client_wpa3_personal_pkt_bridge_142_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes Bridge Mode - pytest -m "throughput_vs_pkt and bridge and wpa3_personal and fiveg" - """ - profile_data = setup_params_5g["ssid_modes"]["wpa3_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa3" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 142'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_THRU_PKT_WPA3_5G_142", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") - @pytest.mark.wpa3_personal - @pytest.mark.fiveg - @pytest.mark.pkt256 - def test_client_wpa3_personal_pkt_bridge_256_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes Bridge Mode - pytest -m "throughput_vs_pkt and bridge and wpa3_personal and fiveg" - """ - profile_data = setup_params_5g["ssid_modes"]["wpa3_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa3" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 256'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_THRU_PKT_WPA3_5G_256", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") - @pytest.mark.wpa3_personal - @pytest.mark.fiveg - @pytest.mark.pkt512 - def test_client_wpa3_personal_pkt_bridge_512_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes Bridge Mode - pytest -m "throughput_vs_pkt and bridge and wpa3_personal and fiveg" - """ - profile_data = setup_params_5g["ssid_modes"]["wpa3_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa3" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 512'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_THRU_PKT_WPA3_5G_512", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") - @pytest.mark.wpa3_personal - @pytest.mark.fiveg - @pytest.mark.pkt1024 - def test_client_wpa3_personal_pkt_bridge_1024_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes Bridge Mode - pytest -m "throughput_vs_pkt and bridge and wpa3_personal and fiveg" - """ - profile_data = setup_params_5g["ssid_modes"]["wpa3_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa3" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 1024'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_THRU_PKT_WPA3_5G_1024", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") - @pytest.mark.wpa3_personal - @pytest.mark.fiveg - @pytest.mark.pktMTU - def test_client_wpa3_personal_pkt_bridge_MTU_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes Bridge Mode - pytest -m "throughput_vs_pkt and bridge and wpa3_personal and fiveg" - """ - profile_data = setup_params_5g["ssid_modes"]["wpa3_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa3" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: MTU'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_THRU_PKT_WPA3_5G_MTU", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa3_security/test_nat_mode.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa3_security/test_nat_mode.py deleted file mode 100644 index 7d07fbbc2d3..00000000000 --- a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa3_security/test_nat_mode.py +++ /dev/null @@ -1,655 +0,0 @@ -""" - - Performance Test: Throughput vs Various Pkt Size Test: NAT Mode - pytest -m "throughput_vs_pkt and NAT" - -""" -import os -import pytest -import allure - -pytestmark = [pytest.mark.throughput_vs_pkt, pytest.mark.nat, pytest.mark.wpa3,] - # pytest.mark.usefixtures("setup_test_run")] - -setup_params_general = { - "mode": "NAT", - "ssid_modes": { - "wpa3_personal": [ - {"ssid_name": "ssid_wpa3_p_2g", "appliedRadios": ["2G"], "security_key": "something"}, - {"ssid_name": "ssid_wpa3_p_5g", "appliedRadios": ["5G"], - "security_key": "something"}]}, - - "rf": {}, - "radius": False -} - - -@allure.feature("NAT MODE CLIENT CONNECTIVITY") -@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : WPA3 Personal Security") -@allure.suite("NAT Mode") -@allure.sub_suite("2.4GHz Band") -@pytest.mark.parametrize( - 'setup_configuration', - [setup_params_general], - indirect=True, - scope="class" -) -@pytest.mark.usefixtures("setup_configuration") -class TestThroughputVsPktWpa3Nat2G(object): - """Throughput vs Various Pkt Size Test nat mode - pytest -m "throughput_vs_pkt and nat" - """ - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") - @pytest.mark.wpa3_personal - @pytest.mark.twog - @pytest.mark.pkt60 - def test_client_wpa3_personal_nat_pkt_60_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes nat Mode - pytest -m "throughput_vs_pkt and nat and wpa3_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa3_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa3" - mode = "NAT" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 60'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA3_2G_60", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") - @pytest.mark.wpa3_personal - @pytest.mark.twog - @pytest.mark.pkt142 - def test_client_wpa3_personal_nat_pkt_142_2g(self, lf_tools, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes nat Mode - pytest -m "throughput_vs_pkt and nat and wpa3_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa3_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa3" - mode = "NAT" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 142'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA3_2G_142", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") - @pytest.mark.wpa3_personal - @pytest.mark.twog - @pytest.mark.pkt256 - def test_client_wpa3_personal_nat_pkt_256_2g(self, lf_tools, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes nat Mode - pytest -m "throughput_vs_pkt and nat and wpa3_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa3_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa3" - mode = "NAT" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 256'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA3_2G_256", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") - @pytest.mark.wpa3_personal - @pytest.mark.twog - @pytest.mark.pkt512 - def test_client_wpa3_personal_nat_pkt_512_2g(self, lf_tools, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes nat Mode - pytest -m "throughput_vs_pkt and nat and wpa3_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa3_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa3" - mode = "NAT" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 512'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA3_2G_512", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") - @pytest.mark.wpa3_personal - @pytest.mark.twog - @pytest.mark.pkt1024 - def test_client_wpa3_personal_nat_pkt_1024_2g(self, lf_tools, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes nat Mode - pytest -m "throughput_vs_pkt and nat and wpa3_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa3_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa3" - mode = "NAT" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 1024'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA3_2G_1024", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") - @pytest.mark.wpa3_personal - @pytest.mark.twog - @pytest.mark.pktMTU - def test_client_wpa3_personal_nat_pkt_MTU_2g(self, lf_tools, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes nat Mode - pytest -m "throughput_vs_pkt and nat and wpa3_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa3_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa3" - mode = "NAT" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: MTU'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA3_2G_MTU", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - -setup_params_5g = { - "mode": "NAT", - "ssid_modes": { - "wpa3_personal": [ - {"ssid_name": "ssid_wpa3_p_2g", "appliedRadios": ["2G"], "security_key": "something"}, - {"ssid_name": "ssid_wpa3_p_5g", "appliedRadios": ["5G"], - "security_key": "something"}]}, - "rf": {}, - "radius": False -} - - -@allure.feature("NAT MODE CLIENT CONNECTIVITY") -@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : WPA3 Personal Security") -@allure.suite("NAT Mode") -@allure.sub_suite("5GHz Band") -@pytest.mark.parametrize( - 'setup_configuration', - [setup_params_5g], - indirect=True, - scope="class" -) -@pytest.mark.usefixtures("setup_configuration") -class TestThroughputVsPktWpa3Nat5G(object): - """Throughput vs Various Pkt Size Test nat mode - pytest -m "throughput_vs_pkt and nat" - """ - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") - @pytest.mark.wpa3_personal - @pytest.mark.fiveg - @pytest.mark.pkt60 - def test_client_wpa3_personal_nat_pkt_60_5g(self, lf_tools, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes nat Mode - pytest -m "throughput_vs_pkt and nat and wpa3_personal and fiveg" - """ - profile_data = setup_params_5g["ssid_modes"]["wpa3_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa3" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 60'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_THRU_PKT_WPA3_5G_60", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") - @pytest.mark.wpa3_personal - @pytest.mark.fiveg - @pytest.mark.pkt142 - def test_client_wpa3_personal_nat_pkt_142_5g(self, lf_tools, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes nat Mode - pytest -m "throughput_vs_pkt and nat and wpa3_personal and fiveg" - """ - profile_data = setup_params_5g["ssid_modes"]["wpa3_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa3" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 142'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_THRU_PKT_WPA3_5G_142", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") - @pytest.mark.wpa3_personal - @pytest.mark.fiveg - @pytest.mark.pkt256 - def test_client_wpa3_personal_nat_pkt_256_5g(self, lf_tools, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes nat Mode - pytest -m "throughput_vs_pkt and nat and wpa3_personal and fiveg" - """ - profile_data = setup_params_5g["ssid_modes"]["wpa3_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa3" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 256'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_THRU_PKT_WPA3_5G_256", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") - @pytest.mark.wpa3_personal - @pytest.mark.fiveg - @pytest.mark.pkt512 - def test_client_wpa3_personal_nat_pkt_512_5g(self, lf_tools, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes nat Mode - pytest -m "throughput_vs_pkt and nat and wpa3_personal and fiveg" - """ - profile_data = setup_params_5g["ssid_modes"]["wpa3_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa3" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 512'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_THRU_PKT_WPA3_5G_512", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") - @pytest.mark.wpa3_personal - @pytest.mark.fiveg - @pytest.mark.pkt1024 - def test_client_wpa3_personal_nat_pkt_1024_5g(self, lf_tools, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes nat Mode - pytest -m "throughput_vs_pkt and nat and wpa3_personal and fiveg" - """ - profile_data = setup_params_5g["ssid_modes"]["wpa3_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa3" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 1024'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_THRU_PKT_WPA3_5G_1024", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") - @pytest.mark.wpa3_personal - @pytest.mark.fiveg - @pytest.mark.pktMTU - def test_client_wpa3_personal_nat_pkt_MTU_5g(self, lf_tools, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes nat Mode - pytest -m "throughput_vs_pkt and nat and wpa3_personal and fiveg" - """ - profile_data = setup_params_5g["ssid_modes"]["wpa3_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa3" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: MTU'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_THRU_PKT_WPA3_5G_MTU", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa3_security/test_vlan_mode.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa3_security/test_vlan_mode.py deleted file mode 100644 index 20332b5fa6a..00000000000 --- a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa3_security/test_vlan_mode.py +++ /dev/null @@ -1,654 +0,0 @@ -""" - - Performance Test: Throughput vs Various Pkt Size Test: VLAN Mode - pytest -m "throughput_vs_pkt and VLAN" - -""" -import os -import pytest -import allure - -pytestmark = [pytest.mark.throughput_vs_pkt, pytest.mark.vlan, pytest.mark.wpa3,] - # pytest.mark.usefixtures("setup_test_run")] - -setup_params_general = { - "mode": "VLAN", - "ssid_modes": { - "wpa3_personal": [ - {"ssid_name": "ssid_wpa3_p_2g", "appliedRadios": ["2G"], "security_key": "something", "vlan": 100}, - {"ssid_name": "ssid_wpa3_p_5g", "appliedRadios": ["5G"], "security_key": "something", "vlan": 100}]}, - - "rf": {}, - "radius": False -} - - -@allure.feature("VLAN MODE CLIENT CONNECTIVITY") -@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : WPA3 Personal Security") -@allure.suite("VLAN Mode") -@allure.sub_suite("2.4GHz Band") -@pytest.mark.parametrize( - 'setup_configuration', - [setup_params_general], - indirect=True, - scope="class" -) -@pytest.mark.usefixtures("setup_configuration") -class TestThroughputVsPktWpa3Vlan2G(object): - """Throughput vs Various Pkt Size Test vlan mode - pytest -m "throughput_vs_pkt and vlan" - """ - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") - @pytest.mark.wpa3_personal - @pytest.mark.twog - @pytest.mark.pkt60 - def test_client_wpa3_personal_pkt_vlan_60_2g(self, lf_tools, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes VLAN Mode - pytest -m "throughput_vs_pkt and VLAN and wpa3_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa3_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa3" - mode = "VLAN" - band = "twog" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 60'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA3_2G_60", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") - @pytest.mark.wpa3_personal - @pytest.mark.twog - @pytest.mark.pkt142 - def test_client_wpa3_personal_pkt_vlan_142_2g(self, lf_tools, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes VLAN Mode - pytest -m "throughput_vs_pkt and VLAN and wpa3_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa3_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa3" - mode = "VLAN" - band = "twog" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 142'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA3_2G_142", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") - @pytest.mark.wpa3_personal - @pytest.mark.twog - @pytest.mark.pkt256 - def test_client_wpa3_personal_pkt_vlan_256_2g(self, lf_tools, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes VLAN Mode - pytest -m "throughput_vs_pkt and VLAN and wpa3_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa3_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa3" - mode = "VLAN" - band = "twog" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 256'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA3_2G_256", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") - @pytest.mark.wpa3_personal - @pytest.mark.twog - @pytest.mark.pkt512 - def test_client_wpa3_personal_pkt_vlan_512_2g(self, lf_tools, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes VLAN Mode - pytest -m "throughput_vs_pkt and VLAN and wpa3_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa3_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa3" - mode = "VLAN" - band = "twog" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 512'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA3_2G_512", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") - @pytest.mark.wpa3_personal - @pytest.mark.twog - @pytest.mark.pkt1024 - def test_client_wpa3_personal_pkt_vlan_1024_2g(self, lf_tools, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes VLAN Mode - pytest -m "throughput_vs_pkt and VLAN and wpa3_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa3_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa3" - mode = "VLAN" - band = "twog" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 1024'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA3_2G_1024", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") - @pytest.mark.wpa3_personal - @pytest.mark.twog - @pytest.mark.pktMTU - def test_client_wpa3_personal_pkt_vlan_MTU_2g(self, lf_tools, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes VLAN Mode - pytest -m "throughput_vs_pkt and VLAN and wpa3_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa3_personal"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa3" - mode = "VLAN" - band = "twog" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: MTU'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_DPT_WPA3_2G_MTU", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - -setup_params_5g = { - "mode": "VLAN", - "ssid_modes": { - "wpa3_personal": [ - {"ssid_name": "ssid_wpa3_p_2g", "appliedRadios": ["2G"], "security_key": "something", "vlan": 100}, - {"ssid_name": "ssid_wpa3_p_5g", "appliedRadios": ["5G"], "security_key": "something", "vlan": 100}]}, - "rf": {}, - "radius": False -} - - -@allure.feature("VLAN MODE CLIENT CONNECTIVITY") -@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : WPA3 Personal Security") -@allure.suite("VLAN Mode") -@allure.sub_suite("5GHz Band") -@pytest.mark.parametrize( - 'setup_configuration', - [setup_params_5g], - indirect=True, - scope="class" -) -@pytest.mark.usefixtures("setup_configuration") -class TestThroughputVsPktWpa3Vlan5G(object): - """Throughput vs Various Pkt Size Test vlan mode - pytest -m "throughput_vs_pkt and vlan" - """ - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") - @pytest.mark.wpa3_personal - @pytest.mark.fiveg - @pytest.mark.pkt60 - def test_client_wpa3_personal_pkt_vlan_60_5g(self, lf_tools, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes VLAN Mode - pytest -m "throughput_vs_pkt and VLAN and wpa3_personal and fiveg" - """ - profile_data = setup_params_5g["ssid_modes"]["wpa3_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa3" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 60'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_THRU_PKT_WPA3_5G_60", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") - @pytest.mark.wpa3_personal - @pytest.mark.fiveg - @pytest.mark.pkt142 - def test_client_wpa3_personal_pkt_vlan_142_5g(self, lf_tools, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes VLAN Mode - pytest -m "throughput_vs_pkt and VLAN and wpa3_personal and fiveg" - """ - profile_data = setup_params_5g["ssid_modes"]["wpa3_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa3" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 142'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_THRU_PKT_WPA3_5G_142", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") - @pytest.mark.wpa3_personal - @pytest.mark.fiveg - @pytest.mark.pkt256 - def test_client_wpa3_personal_pkt_vlan_256_5g(self, lf_tools, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes VLAN Mode - pytest -m "throughput_vs_pkt and VLAN and wpa3_personal and fiveg" - """ - profile_data = setup_params_5g["ssid_modes"]["wpa3_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa3" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 256'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_THRU_PKT_WPA3_5G_256", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") - @pytest.mark.wpa3_personal - @pytest.mark.fiveg - @pytest.mark.pkt512 - def test_client_wpa3_personal_pkt_vlan_512_5g(self, lf_tools, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes VLAN Mode - pytest -m "throughput_vs_pkt and VLAN and wpa3_personal and fiveg" - """ - profile_data = setup_params_5g["ssid_modes"]["wpa3_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa3" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 512'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_THRU_PKT_WPA3_5G_512", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") - @pytest.mark.wpa3_personal - @pytest.mark.fiveg - @pytest.mark.pkt1024 - def test_client_wpa3_personal_pkt_vlan_1024_5g(self, lf_tools, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes VLAN Mode - pytest -m "throughput_vs_pkt and VLAN and wpa3_personal and fiveg" - """ - profile_data = setup_params_5g["ssid_modes"]["wpa3_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa3" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 1024'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_THRU_PKT_WPA3_5G_1024", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") - @pytest.mark.wpa3_personal - @pytest.mark.fiveg - @pytest.mark.pktMTU - def test_client_wpa3_personal_pkt_vlan_MTU_5g(self, lf_tools, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes VLAN Mode - pytest -m "throughput_vs_pkt and VLAN and wpa3_personal and fiveg" - """ - profile_data = setup_params_5g["ssid_modes"]["wpa3_personal"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa3" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: MTU'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_THRU_PKT_WPA3_5G_MTU", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa_security/__init__.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa_security/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa_security/test_bridge_mode.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa_security/test_bridge_mode.py deleted file mode 100644 index df3980dea46..00000000000 --- a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa_security/test_bridge_mode.py +++ /dev/null @@ -1,651 +0,0 @@ -""" - - Performance Test: Throughput vs Various Pkt Size Test: BRIDGE MODE - pytest -m "throughput_vs_pkt and Bridge" - -""" -import os -import pytest -import allure - -pytestmark = [pytest.mark.throughput_vs_pkt, pytest.mark.Bridge, pytest.mark.wpa] - - -setup_params_general = { - "mode": "BRIDGE", - "ssid_modes": { - "wpa": [{"ssid_name": "ssid_wpa_2g", "appliedRadios": ["2G"], "security_key": "something"}, - {"ssid_name": "ssid_wpa_5g", "appliedRadios": ["5G"], - "security_key": "something"}]}, - "rf": {}, - "radius": False -} - - -@allure.feature("BRIDGE MODE CLIENT CONNECTIVITY") -@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : WPA Security") -@allure.suite("Bridge Mode") -@allure.sub_suite("2.4GHz Band") -@pytest.mark.parametrize( - 'setup_configuration', - [setup_params_general], - indirect=True, - scope="class" -) -@pytest.mark.usefixtures("setup_configuration") -class TestThroughputVsPktWpaBridge2G(object): - """Throughput vs Various Pkt Size Test BRIDGE MODE - pytest -m "throughput_vs_pkt and Bridge" - """ - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") - @pytest.mark.wpa_personal - @pytest.mark.twog - @pytest.mark.pkt60 - def test_client_wpa_personal_bridge_pkt_60_2g(self, lf_tools, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes BRIDGE MODE - pytest -m "throughput_vs_pkt and Bridge and wpa_personal and twog and pkt60" - """ - profile_data = setup_params_general["ssid_modes"]["wpa"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa" - mode = "BRIDGE" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 60'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_THRU_PKT_WPA_2G_60", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") - @pytest.mark.wpa_personal - @pytest.mark.twog - @pytest.mark.pkt142 - def test_client_wpa_personal_bridge_pkt_142_2g(self, lf_tools, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes BRIDGE MODE - pytest -m "throughput_vs_pkt and Bridge and wpa_personal and twog and pkt142" - """ - profile_data = setup_params_general["ssid_modes"]["wpa"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa" - mode = "BRIDGE" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 142'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_THRU_PKT_WPA_2G_142", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") - @pytest.mark.wpa_personal - @pytest.mark.twog - @pytest.mark.pkt256 - def test_client_wpa_personal_bridge_pkt_256_2g(self, lf_tools, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes BRIDGE MODE - pytest -m "throughput_vs_pkt and Bridge and wpa_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa" - mode = "BRIDGE" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 256'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_THRU_PKT_WPA_2G_256", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") - @pytest.mark.wpa_personal - @pytest.mark.twog - @pytest.mark.pkt512 - def test_client_wpa_personal_bridge_pkt_512_2g(self, lf_tools, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes BRIDGE MODE - pytest -m "throughput_vs_pkt and Bridge and wpa_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa" - mode = "BRIDGE" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 512'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_THRU_PKT_WPA_2G_512", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") - @pytest.mark.wpa_personal - @pytest.mark.twog - @pytest.mark.pkt1024 - def test_client_wpa_personal_bridge_pkt_1024_2g(self, lf_tools, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes BRIDGE MODE - pytest -m "throughput_vs_pkt and Bridge and wpa_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa" - mode = "BRIDGE" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 1024'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_THRU_PKT_WPA_2G_1024", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") - @pytest.mark.wpa_personal - @pytest.mark.twog - @pytest.mark.pktMTU - def test_client_wpa_personal_bridge_pkt_MTU_2g(self, lf_tools, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes BRIDGE MODE - pytest -m "throughput_vs_pkt and Bridge and wpa_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa" - mode = "BRIDGE" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: MTU'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_THRU_PKT_WPA_2G_MTU", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - -setup_params_5g = { - "mode": "BRIDGE", - "ssid_modes": { - "wpa": [{"ssid_name": "ssid_wpa_2g", "appliedRadios": ["2G"], "security_key": "something"}, - {"ssid_name": "ssid_wpa_5g", "appliedRadios": ["5G"], - "security_key": "something"}]}, - - "rf": {}, - "radius": False -} - - -@allure.feature("BRIDGE MODE CLIENT CONNECTIVITY") -@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : WPA Security") -@allure.suite("Bridge Mode") -@allure.sub_suite("5GHz Band") -@pytest.mark.parametrize( - 'setup_configuration', - [setup_params_5g], - indirect=True, - scope="class" -) -@pytest.mark.usefixtures("setup_configuration") -class TestThroughputVsPktWpaBridge5G(object): - """Throughput vs Various Pkt Size Test BRIDGE MODE - pytest -m "throughput_vs_pkt and Bridge" - """ - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") - @pytest.mark.wpa_personal - @pytest.mark.fiveg - @pytest.mark.pkt60 - def test_client_wpa_personal_bridge_pkt_60_5g(self, lf_tools, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes BRIDGE MODE - pytest -m "throughput_vs_pkt and Bridge and wpa_personal and fiveg" - """ - profile_data = setup_params_5g["ssid_modes"]["wpa"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 60'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_THRU_PKT_WPA_5G_60", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") - @pytest.mark.wpa_personal - @pytest.mark.fiveg - @pytest.mark.pkt142 - def test_client_wpa_personal_bridge_pkt_142_5g(self, lf_tools, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes BRIDGE MODE - pytest -m "throughput_vs_pkt and Bridge and wpa_personal and fiveg" - """ - profile_data = setup_params_5g["ssid_modes"]["wpa"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 142'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_THRU_PKT_WPA_5G_142", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") - @pytest.mark.wpa_personal - @pytest.mark.fiveg - @pytest.mark.pkt256 - def test_client_wpa_personal_bridge_pkt_256_5g(self, lf_tools, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes BRIDGE MODE - pytest -m "throughput_vs_pkt and Bridge and wpa_personal and fiveg" - """ - profile_data = setup_params_5g["ssid_modes"]["wpa"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 256'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_THRU_PKT_WPA_5G_256", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") - @pytest.mark.wpa_personal - @pytest.mark.fiveg - @pytest.mark.pkt512 - def test_client_wpa_personal_bridge_pkt_512_5g(self, lf_tools, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes BRIDGE MODE - pytest -m "throughput_vs_pkt and Bridge and wpa_personal and fiveg" - """ - profile_data = setup_params_5g["ssid_modes"]["wpa"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 512'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_THRU_PKT_WPA_5G_512", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") - @pytest.mark.wpa_personal - @pytest.mark.fiveg - @pytest.mark.pkt1024 - def test_client_wpa_personal_bridge_pkt_1024_5g(self, lf_tools, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes BRIDGE MODE - pytest -m "throughput_vs_pkt and Bridge and wpa_personal and fiveg" - """ - profile_data = setup_params_5g["ssid_modes"]["wpa"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 1024'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_THRU_PKT_WPA_5G_1024", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") - @pytest.mark.wpa_personal - @pytest.mark.fiveg - @pytest.mark.pktMTU - def test_client_wpa_personal_bridge_pkt_MTU_5g(self, lf_tools, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes BRIDGE MODE - pytest -m "throughput_vs_pkt and Bridge and wpa_personal and fiveg" - """ - profile_data = setup_params_5g["ssid_modes"]["wpa"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa" - mode = "BRIDGE" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: MTU'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_THRU_PKT_WPA_5G_MTU", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa_security/test_nat_mode.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa_security/test_nat_mode.py deleted file mode 100644 index f9502eee072..00000000000 --- a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa_security/test_nat_mode.py +++ /dev/null @@ -1,645 +0,0 @@ -""" - - Performance Test: Throughput vs Various Pkt Size Test: NAT MODE - pytest -m "throughput_vs_pkt and NAT" - -""" -import os -import pytest -import allure - -pytestmark = [pytest.mark.throughput_vs_pkt, pytest.mark.nat, pytest.mark.wpa,] - # pytest.mark.usefixtures("setup_test_run")] - -setup_params_general = { - "mode": "NAT", - "ssid_modes": { - "wpa": [{"ssid_name": "ssid_wpa_2g", "appliedRadios": ["2G"], "security_key": "something"}, - {"ssid_name": "ssid_wpa_5g", "appliedRadios": ["5G"], - "security_key": "something"}]}, - - "rf": {}, - "radius": False -} - - -@allure.feature("NAT MODE CLIENT CONNECTIVITY") -@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : WPA Security") -@allure.suite("NAT Mode") -@allure.sub_suite("2.4GHz Band") -@pytest.mark.parametrize( - 'setup_configuration', - [setup_params_general], - indirect=True, - scope="class" -) -@pytest.mark.usefixtures("setup_configuration") -@pytest.mark.wpa -class TestThroughputVsPktWpaNat2G(object): - """Throughput vs Various Pkt Size Test nat mode - pytest -m "throughput_vs_pkt and nat" - """ - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") - @pytest.mark.wpa_personal - @pytest.mark.twog - @pytest.mark.pkt60 - def test_client_wpa_personal_pkt_60_2g(self, lf_tools, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes nat Mode - pytest -m "throughput_vs_pkt and nat and wpa_personal and twog and pkt60" - """ - profile_data = setup_params_general["ssid_modes"]["wpa"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa" - mode = "NAT" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 60'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_THRU_PKT_WPA_2G_60", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") - @pytest.mark.wpa_personal - @pytest.mark.twog - @pytest.mark.pkt142 - def test_client_wpa_personal_pkt_142_2g(self, lf_tools, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes nat Mode - pytest -m "throughput_vs_pkt and nat and wpa_personal and twog and pkt142" - """ - profile_data = setup_params_general["ssid_modes"]["wpa"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa" - mode = "NAT" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 142'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_THRU_PKT_WPA_2G_142", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") - @pytest.mark.wpa_personal - @pytest.mark.twog - @pytest.mark.pkt256 - def test_client_wpa_personal_pkt_256_2g(self, lf_tools, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes nat Mode - pytest -m "throughput_vs_pkt and nat and wpa_personal and twog and pkt256" - """ - profile_data = setup_params_general["ssid_modes"]["wpa"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa" - mode = "NAT" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 256'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_THRU_PKT_WPA_2G_256", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") - @pytest.mark.wpa_personal - @pytest.mark.twog - @pytest.mark.pkt512 - def test_client_wpa_personal_pkt_512_2g(self, lf_tools, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes nat Mode - pytest -m "throughput_vs_pkt and nat and wpa_personal and twog and pkt512" - """ - profile_data = setup_params_general["ssid_modes"]["wpa"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa" - mode = "NAT" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 512'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_THRU_PKT_WPA_2G_512", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") - @pytest.mark.wpa_personal - @pytest.mark.twog - @pytest.mark.pkt1024 - def test_client_wpa_personal_pkt_1024_2g(self, lf_tools, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes nat Mode - pytest -m "throughput_vs_pkt and nat and wpa_personal and twog and pkt1024" - """ - profile_data = setup_params_general["ssid_modes"]["wpa"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa" - mode = "NAT" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 1024'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_THRU_PKT_WPA_2G_1024", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") - @pytest.mark.wpa_personal - @pytest.mark.twog - @pytest.mark.pktMTU - def test_client_wpa_personal_pkt_MTU_2g(self, lf_tools, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes nat Mode - pytest -m "throughput_vs_pkt and nat and wpa_personal and twog and pktMTU" - """ - profile_data = setup_params_general["ssid_modes"]["wpa"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa" - mode = "NAT" - band = "twog" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: MTU'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_THRU_PKT_WPA_2G_MTU", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - -setup_params_5g = { - "mode": "NAT", - "ssid_modes": { - "wpa_personal": [{"ssid_name": "ssid_wpa_2g", "appliedRadios": ["2G"], "security_key": "something"}, - {"ssid_name": "ssid_wpa_5g", "appliedRadios": ["5G"], - "security_key": "something"}]}, - - "rf": {}, - "radius": False -} - - -@allure.feature("NAT MODE CLIENT CONNECTIVITY") -@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : WPA Security") -@allure.suite("NAT Mode") -@allure.sub_suite("5GHz Band") -@pytest.mark.parametrize( - 'setup_configuration', - [setup_params_5g], - indirect=True, - scope="class" -) -@pytest.mark.usefixtures("setup_configuration") -@pytest.mark.wpa -class TestThroughputVsPktWpaNat5G(object): - """Throughput vs Various Pkt Size Test nat mode - pytest -m "throughput_vs_pkt and nat" - """ - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") - @pytest.mark.wpa_personal - @pytest.mark.fiveg - @pytest.mark.pkt60 - def test_client_wpa_personal_pkt_60_5g(self, lf_tools, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes nat Mode - pytest -m "throughput_vs_pkt and nat and wpa_personal and fiveg and pkt60" - """ - profile_data = setup_params_5g["ssid_modes"]["wpa"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 60'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_THRU_PKT_WPA_5G_60", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") - @pytest.mark.wpa_personal - @pytest.mark.fiveg - @pytest.mark.pkt142 - def test_client_wpa_personal_pkt_142_5g(self, lf_tools, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes nat Mode - pytest -m "throughput_vs_pkt and nat and wpa_personal and fiveg and pkt142" - """ - profile_data = setup_params_5g["ssid_modes"]["wpa"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 142'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_THRU_PKT_WPA_5G_142", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") - @pytest.mark.wpa_personal - @pytest.mark.fiveg - @pytest.mark.pkt256 - def test_client_wpa_personal_pkt_256_5g(self, lf_tools, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes nat Mode - pytest -m "throughput_vs_pkt and nat and wpa_personal and fiveg and pkt256" - """ - profile_data = setup_params_5g["ssid_modes"]["wpa"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 256'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_THRU_PKT_WPA_5G_256", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") - @pytest.mark.wpa_personal - @pytest.mark.fiveg - @pytest.mark.pkt512 - def test_client_wpa_personal_pkt_512_5g(self, lf_tools, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes nat Mode - pytest -m "throughput_vs_pkt and nat and wpa_personal and fiveg and pkt512" - """ - profile_data = setup_params_5g["ssid_modes"]["wpa"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 512'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_THRU_PKT_WPA_5G_512", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") - @pytest.mark.wpa_personal - @pytest.mark.fiveg - @pytest.mark.pkt1024 - def test_client_wpa_personal_pkt_1024_5g(self, lf_tools, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes nat Mode - pytest -m "throughput_vs_pkt and nat and wpa_personal and fiveg and pkt1024" - """ - profile_data = setup_params_5g["ssid_modes"]["wpa"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 1024'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_THRU_PKT_WPA_5G_1024", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") - @pytest.mark.wpa_personal - @pytest.mark.fiveg - @pytest.mark.pktMTU - def test_client_wpa_personal_pkt_MTU_5g(self, lf_tools, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes nat Mode - pytest -m "throughput_vs_pkt and nat and wpa_personal and fiveg and pktMTU" - """ - profile_data = setup_params_5g["ssid_modes"]["wpa"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa" - mode = "NAT" - band = "fiveg" - vlan = 1 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: MTU'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_THRU_PKT_WPA_5G_MTU", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa_security/test_vlan_mode.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa_security/test_vlan_mode.py deleted file mode 100644 index 4215f3375fe..00000000000 --- a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa_security/test_vlan_mode.py +++ /dev/null @@ -1,651 +0,0 @@ -""" - - Performance Test: Throughput vs Various Pkt Size Test: VLAN MODE - pytest -m "throughput_vs_pkt and VLAN" - -""" -import os -import pytest -import allure - -pytestmark = [pytest.mark.throughput_vs_pkt, pytest.mark.vlan, pytest.mark.wpa,] - # pytest.mark.usefixtures("setup_test_run")] - -setup_params_general = { - "mode": "VLAN", - "ssid_modes": { - "wpa": [{"ssid_name": "ssid_wpa_2g", "appliedRadios": ["2G"], "security_key": "something", "vlan": 100}, - {"ssid_name": "ssid_wpa_5g", "appliedRadios": ["5G"], "security_key": "something", "vlan": 100}]}, - - "rf": {}, - "radius": False -} - - -@allure.feature("VLAN MODE CLIENT CONNECTIVITY") -@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : WPA Security") -@allure.suite("VLAN Mode") -@allure.sub_suite("2.4GHz Band") -@pytest.mark.parametrize( - 'setup_configuration', - [setup_params_general], - indirect=True, - scope="class" -) -@pytest.mark.usefixtures("setup_configuration") -class TestThroughputVsPktVLANWpa2G(object): - """Throughput vs Various Pkt Size Test VLAN MODE - pytest -m "throughput_vs_pkt and VLAN" - """ - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") - @pytest.mark.wpa_personal - @pytest.mark.twog - @pytest.mark.pkt60 - def test_client_wpa_personal_pkt_60_2g(self, lf_tools, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes VLAN MODE - pytest -m "throughput_vs_pkt and VLAN and wpa_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa" - mode = "VLAN" - band = "twog" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 60'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_THRU_PKT_WPA_2G_60", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") - @pytest.mark.wpa_personal - @pytest.mark.twog - @pytest.mark.pkt142 - def test_client_wpa_personal_pkt_142_2g(self, lf_tools, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes VLAN MODE - pytest -m "throughput_vs_pkt and VLAN and wpa_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa" - mode = "VLAN" - band = "twog" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 142'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_THRU_PKT_WPA_2G_142", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") - @pytest.mark.wpa_personal - @pytest.mark.twog - @pytest.mark.pkt256 - def test_client_wpa_personal_pkt_256_2g(self, lf_tools, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes VLAN MODE - pytest -m "throughput_vs_pkt and VLAN and wpa_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa" - mode = "VLAN" - band = "twog" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 256'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_THRU_PKT_WPA_2G_256", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") - @pytest.mark.wpa_personal - @pytest.mark.twog - @pytest.mark.pkt512 - def test_client_wpa_personal_pkt_512_2g(self, lf_tools, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes VLAN MODE - pytest -m "throughput_vs_pkt and VLAN and wpa_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa" - mode = "VLAN" - band = "twog" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 512'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_THRU_PKT_WPA_2G_512", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") - @pytest.mark.wpa_personal - @pytest.mark.twog - @pytest.mark.pkt1024 - def test_client_wpa_personal_pkt_1024_2g(self, lf_tools, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes VLAN MODE - pytest -m "throughput_vs_pkt and VLAN and wpa_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa" - mode = "VLAN" - band = "twog" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 1024'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_THRU_PKT_WPA_2G_1024", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") - @pytest.mark.wpa_personal - @pytest.mark.twog - @pytest.mark.pktMTU - def test_client_wpa_personal_pkt_MTU_2g(self, lf_tools, - lf_test, station_names_twog, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes VLAN MODE - pytest -m "throughput_vs_pkt and VLAN and wpa_personal and twog" - """ - profile_data = setup_params_general["ssid_modes"]["wpa"][0] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa" - mode = "VLAN" - band = "twog" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: MTU'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, - instance_name="TIP_PERF_THRU_PKT_WPA_2G_MTU", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_twog) - assert station - else: - assert False - - -setup_params_5g = { - "mode": "VLAN", - "ssid_modes": { - "wpa": [{"ssid_name": "ssid_wpa_2g", "appliedRadios": ["2G"], "security_key": "something", "vlan": 100}, - {"ssid_name": "ssid_wpa_5g", "appliedRadios": ["5G"], "security_key": "something", "vlan": 100}]}, - "rf": {}, - "radius": False -} - - -@allure.feature("VLAN MODE CLIENT CONNECTIVITY") -@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : WPA Security") -@allure.suite("VLAN Mode") -@allure.sub_suite("5GHz Band") -@pytest.mark.parametrize( - 'setup_configuration', - [setup_params_5g], - indirect=True, - scope="class" -) -@pytest.mark.usefixtures("setup_configuration") -class TestThroughputVsPktVLANWpa5G(object): - """Throughput vs Various Pkt Size Test VLAN MODE - pytest -m "throughput_vs_pkt and VLAN" - """ - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") - @pytest.mark.wpa_personal - @pytest.mark.fiveg - @pytest.mark.pkt60 - def test_client_wpa_personal_pkt_60_5g(self, lf_tools, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes VLAN MODE - pytest -m "throughput_vs_pkt and vlan and wpa_personal and fiveg" """ - profile_data = setup_params_5g["ssid_modes"]["wpa"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 60'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_THRU_PKT_WPA_VLAN_5G_60", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") - @pytest.mark.wpa_personal - @pytest.mark.fiveg - @pytest.mark.pkt142 - def test_client_wpa_personal_pkt_142_5g(self, lf_tools, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes VLAN MODE - pytest -m "throughput_vs_pkt and vlan and wpa_personal and fiveg" - """ - profile_data = setup_params_5g["ssid_modes"]["wpa"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 142'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_THRU_PKT_WPA_VLAN_5G_142", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") - @pytest.mark.wpa_personal - @pytest.mark.fiveg - @pytest.mark.pkt256 - def test_client_wpa_personal_pkt_256_5g(self, lf_tools, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes VLAN MODE - pytest -m "throughput_vs_pkt and vlan and wpa_personal and fiveg" - """ - profile_data = setup_params_5g["ssid_modes"]["wpa"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 256'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_THRU_PKT_WPA_VLAN_5G", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") - @pytest.mark.wpa_personal - @pytest.mark.fiveg - @pytest.mark.pkt512 - def test_client_wpa_personal_pkt_512_5g(self, lf_tools, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes VLAN MODE - pytest -m "throughput_vs_pkt and vlan and wpa_personal and fiveg" - """ - profile_data = setup_params_5g["ssid_modes"]["wpa"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 512'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_THRU_PKT_WPA_VLAN_5G_512", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") - @pytest.mark.wpa_personal - @pytest.mark.fiveg - @pytest.mark.pkt1024 - def test_client_wpa_personal_pkt_1024_5g(self, lf_tools, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes VLAN MODE - pytest -m "throughput_vs_pkt and vlan and wpa_personal and fiveg" - """ - profile_data = setup_params_5g["ssid_modes"]["wpa"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: 1024'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_THRU_PKT_WPA_VLAN_5G_1024", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False - - @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") - @pytest.mark.wpa_personal - @pytest.mark.fiveg - @pytest.mark.pktMTU - def test_client_wpa_personal_pkt_MTU_5g(self, lf_tools, - lf_test, station_names_fiveg, create_lanforge_chamberview_dut, - get_configuration): - """Throughput Vs Pkt Sizes VLAN MODE - pytest -m "throughput_vs_pkt and vlan and wpa_personal and fiveg" - """ - profile_data = setup_params_5g["ssid_modes"]["wpa"][1] - ssid_name = profile_data["ssid_name"] - security_key = profile_data["security_key"] - security = "wpa" - mode = "VLAN" - band = "fiveg" - vlan = 100 - dut_name = create_lanforge_chamberview_dut - raw_lines = [['pkts: MTU'], - ['directions: DUT Transmit;DUT Receive'], - ['traffic_types: UDP;TCP'], ["show_3s: 1"], - ["show_ll_graphs: 1"], ["show_log: 1"]] - # if ssid_name not in get_vif_state: - # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) - # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") - station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, - mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan) - - if station: - dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, - instance_name="TIP_PERF_THRU_PKT_WPA_VLAN_5G_MTU", - vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) - report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] - # entries = os.listdir("../reports/" + report_name + '/') - # pdf = False - # for i in entries: - # if ".pdf" in i: - # pdf = i - # if pdf: - # allure.attach.file(source="../reports/" + report_name + "/" + pdf, - # name=get_configuration["access_point"][0]["model"] + "_dataplane") - lf_tools.attach_report_graphs(report_name=report_name) - print("Test Completed... Cleaning up Stations") - lf_test.Client_disconnect(station_name=station_names_fiveg) - assert station - else: - assert False From a36f1b12b9fd328a054202eae41c66945ecb8eba Mon Sep 17 00:00:00 2001 From: jitendracandela Date: Mon, 29 Apr 2024 16:55:15 +0530 Subject: [PATCH 16/16] Restored Multi Station Throughput tests and Throughput Benchmark tests that were removed in the last commit. Signed-off-by: jitendracandela --- .../multi_station_throughput/__init__.py | 0 .../wpa2_personal/__init__.py | 0 .../wpa2_personal/bridge_mode/__init__.py | 0 .../bridge_mode/test_multi_sta_thpt_2g.py | 1000 ++++++++++ .../bridge_mode/test_mutli_sta_thpt_5g.py | 1023 ++++++++++ .../wpa2_personal/nat_mode/__init__.py | 0 .../nat_mode/test_multi_sta_thpt_2g.py | 986 ++++++++++ .../nat_mode/test_mutli_sta_thpt_5g.py | 1009 ++++++++++ .../wpa2_personal/vlan_mode/__init__.py | 0 .../vlan_mode/test_multi_sta_thpt_2g.py | 986 ++++++++++ .../vlan_mode/test_mutli_sta_thpt_5g.py | 1009 ++++++++++ .../throughput_benchmark/__init__.py | 0 .../__init__.py | 0 .../wpa2_personal/__init__.py | 0 .../wpa2_personal/test_bridge_mode.py | 1654 ++++++++++++++++ .../wpa2_personal/test_nat_mode.py | 1647 ++++++++++++++++ .../wpa2_personal/test_vlan_mode.py | 1658 +++++++++++++++++ .../throughput_across_channel_bw/__init__.py | 0 .../test_bridge_mode.py | 420 +++++ .../test_nat_mode.py | 423 +++++ .../test_vlan_mode.py | 462 +++++ .../__init__.py | 0 .../open_security/__init__.py | 0 .../open_security/test_bridge_mode.py | 648 +++++++ .../open_security/test_nat_mode.py | 639 +++++++ .../open_security/test_vlan_mode.py | 638 +++++++ .../wpa2_security/__init__.py | 0 .../wpa2_security/test_bridge_mode.py | 643 +++++++ .../wpa2_security/test_nat_mode.py | 653 +++++++ .../wpa2_security/test_vlan_mode.py | 653 +++++++ .../wpa3_security/__init__.py | 0 .../wpa3_security/test_bridge_mode.py | 644 +++++++ .../wpa3_security/test_nat_mode.py | 655 +++++++ .../wpa3_security/test_vlan_mode.py | 654 +++++++ .../wpa_security/__init__.py | 0 .../wpa_security/test_bridge_mode.py | 651 +++++++ .../wpa_security/test_nat_mode.py | 645 +++++++ .../wpa_security/test_vlan_mode.py | 651 +++++++ 38 files changed, 20051 insertions(+) create mode 100644 tests/e2e/basic/performance_tests/multi_station_throughput/__init__.py create mode 100644 tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/__init__.py create mode 100644 tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/bridge_mode/__init__.py create mode 100644 tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/bridge_mode/test_multi_sta_thpt_2g.py create mode 100644 tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/bridge_mode/test_mutli_sta_thpt_5g.py create mode 100644 tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/nat_mode/__init__.py create mode 100644 tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/nat_mode/test_multi_sta_thpt_2g.py create mode 100644 tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/nat_mode/test_mutli_sta_thpt_5g.py create mode 100644 tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/vlan_mode/__init__.py create mode 100644 tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/vlan_mode/test_multi_sta_thpt_2g.py create mode 100644 tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/vlan_mode/test_mutli_sta_thpt_5g.py create mode 100644 tests/e2e/basic/performance_tests/throughput_benchmark/__init__.py create mode 100644 tests/e2e/basic/performance_tests/throughput_benchmark/tcp_udp_upstream_downstream_bidirection_throughput_test/__init__.py create mode 100644 tests/e2e/basic/performance_tests/throughput_benchmark/tcp_udp_upstream_downstream_bidirection_throughput_test/wpa2_personal/__init__.py create mode 100644 tests/e2e/basic/performance_tests/throughput_benchmark/tcp_udp_upstream_downstream_bidirection_throughput_test/wpa2_personal/test_bridge_mode.py create mode 100644 tests/e2e/basic/performance_tests/throughput_benchmark/tcp_udp_upstream_downstream_bidirection_throughput_test/wpa2_personal/test_nat_mode.py create mode 100644 tests/e2e/basic/performance_tests/throughput_benchmark/tcp_udp_upstream_downstream_bidirection_throughput_test/wpa2_personal/test_vlan_mode.py create mode 100644 tests/e2e/basic/performance_tests/throughput_benchmark/throughput_across_channel_bw/__init__.py create mode 100644 tests/e2e/basic/performance_tests/throughput_benchmark/throughput_across_channel_bw/test_bridge_mode.py create mode 100644 tests/e2e/basic/performance_tests/throughput_benchmark/throughput_across_channel_bw/test_nat_mode.py create mode 100644 tests/e2e/basic/performance_tests/throughput_benchmark/throughput_across_channel_bw/test_vlan_mode.py create mode 100644 tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/__init__.py create mode 100644 tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/open_security/__init__.py create mode 100644 tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/open_security/test_bridge_mode.py create mode 100644 tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/open_security/test_nat_mode.py create mode 100644 tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/open_security/test_vlan_mode.py create mode 100644 tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa2_security/__init__.py create mode 100644 tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa2_security/test_bridge_mode.py create mode 100644 tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa2_security/test_nat_mode.py create mode 100644 tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa2_security/test_vlan_mode.py create mode 100644 tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa3_security/__init__.py create mode 100644 tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa3_security/test_bridge_mode.py create mode 100644 tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa3_security/test_nat_mode.py create mode 100644 tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa3_security/test_vlan_mode.py create mode 100644 tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa_security/__init__.py create mode 100644 tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa_security/test_bridge_mode.py create mode 100644 tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa_security/test_nat_mode.py create mode 100644 tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa_security/test_vlan_mode.py diff --git a/tests/e2e/basic/performance_tests/multi_station_throughput/__init__.py b/tests/e2e/basic/performance_tests/multi_station_throughput/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/__init__.py b/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/bridge_mode/__init__.py b/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/bridge_mode/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/bridge_mode/test_multi_sta_thpt_2g.py b/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/bridge_mode/test_multi_sta_thpt_2g.py new file mode 100644 index 00000000000..8d84476545e --- /dev/null +++ b/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/bridge_mode/test_multi_sta_thpt_2g.py @@ -0,0 +1,1000 @@ +""" + + Multi Station throughput vs Packet Size test: Bridge Mode + pytest -m "multi_sta_thpt and wpa2_personal and bridge and twog" + +""" + +import os +import allure +import pytest + +pytestmark = [pytest.mark.performance, pytest.mark.multi_sta_thpt, pytest.mark.wpa2_personal, pytest.mark.bridge, + pytest.mark.twog] + +setup_params_general = { + "mode": "BRIDGE", + "ssid_modes": { + "wpa2_personal": [ + {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something"}]}, + "rf": {}, + "radius": False +} + + +@allure.suite("performance") +@allure.feature("BRIDGE MODE WPA2 PERSONAL Multi_Station_Throughput") +@allure.parent_suite("Multi Station Throughput Test") +@allure.suite("WPA2 Personal Security") +@allure.sub_suite("Bridge Mode") +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class TestMultiStaThptbridge(object): + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_bridge_udp_dl_2g_1", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3631") + def test_mstathpt_wpa2p_bridge_udp_dl_2g_1(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and bridge and wpa2_personal and twog" + """ + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "BRIDGE" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200,512,1024,MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], + ['tput_multi_udp:1'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_bridge_1", raw_line=raw_lines, + vlan_id=vlan, dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_bridge_tcp_dl_2g_2", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3633") + def test_mstathpt_wpa2p_bridge_tcp_dl_2g_2(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and bridge and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "BRIDGE" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], + ['pkt_loss_thresh:500000'], + ['frame_sizes:200,512,1024,MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], + ['tput_multi_udp:0'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_bridge_2", + raw_line=raw_lines, + vlan_id=vlan, dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, + pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_bridge_udp_ul_2g_3", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3635") + def test_mstathpt_wpa2p_bridge_udp_ul_2g_3(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and bridge and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "BRIDGE" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200,512,1024,MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], + ['tput_multi_udp:1'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_bridge_3", raw_line=raw_lines, + vlan_id=vlan, dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_bridge_tcp_ul_2g_4", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3637") + def test_mstathpt_wpa2p_bridge_tcp_ul_2g_4(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and bridge and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "BRIDGE" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200,512,1024,MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], + ['tput_multi_udp:0'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_bridge_4", raw_line=raw_lines, + vlan_id=vlan, dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.multi_sta_perf_throughput + @pytest.mark.tcp_udp_ul_dl + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_bridge_udp_dl_2g_5", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3639") + def test_mstathpt_wpa2p_bridge_udp_dl_2g_5(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and bridge and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "BRIDGE" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200,512,1024,MTU'], ['capacities:MAX'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], + ['tput_multi_udp:1'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_bridge_5", raw_line=raw_lines, + vlan_id=vlan, dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.multi_sta_perf_throughput + @pytest.mark.tcp_udp_ul_dl + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_bridge_tcp_dl_2g_6", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3641") + def test_mstathpt_wpa2p_bridge_tcp_dl_2g_6(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and bridge and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "BRIDGE" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200,512,1024,MTU'], ['capacities:MAX'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], + ['tput_multi_udp:0'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_bridge_6", raw_line=raw_lines, + vlan_id=vlan, dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.multi_sta_perf_throughput + @pytest.mark.tcp_udp_ul_dl + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_bridge_udp_ul_2g_7", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3643") + def test_mstathpt_wpa2p_bridge_udp_ul_2g_7(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and bridge and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "BRIDGE" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200,512,1024,MTU'], ['capacities:MAX'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], + ['tput_multi_udp:1'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_bridge_7", raw_line=raw_lines, + vlan_id=vlan, dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.multi_sta_perf_throughput + @pytest.mark.tcp_udp_ul_dl + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_bridge_tcp_ul_2g_8", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3645") + def test_mstathpt_wpa2p_bridge_tcp_ul_2g_8(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and bridge and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "BRIDGE" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200,512,1024,MTU'], ['capacities:MAX'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], + ['tput_multi_udp:0'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_bridge_8", raw_line=raw_lines, + vlan_id=vlan, dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_bridge_udp_dl_2g_9", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3781") + def test_mstathpt_wpa2p_bridge_udp_dl_2g_9(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and bridge and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "BRIDGE" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200,512'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], + ['tput_multi_udp:1'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_bridge_9", raw_line=raw_lines, + vlan_id=vlan, dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_bridge_tcp_dl_2g_10", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3783") + def test_mstathpt_wpa2p_bridge_tcp_dl_2g_10(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and bridge and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "BRIDGE" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], + ['tput_multi_udp:0'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_bridge_10", + raw_line=raw_lines, + vlan_id=vlan, dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_bridge_udp_ul_2g_11", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3786") + def test_mstathpt_wpa2p_bridge_udp_ul_2g_11(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and bridge and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "BRIDGE" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], + ['tput_multi_udp:1'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_bridge_11", + raw_line=raw_lines, + vlan_id=vlan, dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_bridge_tcp_ul_2g_12", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3788") + def test_mstathpt_wpa2p_bridge_tcp_ul_2g_12(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and bridge and wpa2_personal and twog" + """ + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "BRIDGE" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], + ['tput_multi_udp:0'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_bridge_12", + raw_line=raw_lines, + vlan_id=vlan, dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_bridge_udp_dl_2g_13", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3790") + def test_mstathpt_wpa2p_bridge_udp_dl_2g_13(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and bridge and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "BRIDGE" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:512'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], + ['tput_multi_udp:1'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_bridge_13", + raw_line=raw_lines, + vlan_id=vlan, dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_bridge_tcp_dl_2g_14", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3793") + def test_mstathpt_wpa2p_bridge_tcp_dl_2g_14(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and bridge and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "BRIDGE" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:512'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], + ['tput_multi_udp:0'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_bridge_14", + raw_line=raw_lines, + vlan_id=vlan, dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_bridge_udp_ul_2g_15", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3798") + def test_mstathpt_wpa2p_bridge_udp_ul_2g_15(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and bridge and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "BRIDGE" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:512'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], + ['tput_multi_udp:1'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_bridge_15", + raw_line=raw_lines, + vlan_id=vlan, dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_bridge_tcp_ul_2g_16", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3800") + def test_mstathpt_wpa2p_bridge_tcp_ul_2g_16(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and bridge and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "BRIDGE" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:512'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], + ['tput_multi_udp:0'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_bridge_16", + raw_line=raw_lines, + vlan_id=vlan, dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_bridge_udp_dl_2g_17", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3802") + def test_mstathpt_wpa2p_bridge_udp_dl_2g_17(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and bridge and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "BRIDGE" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:1024'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], + ['tput_multi_udp:1'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_bridge_17", + raw_line=raw_lines, + vlan_id=vlan, dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_bridge_tcp_dl_2g_18", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3804") + def test_mstathpt_wpa2p_bridge_tcp_dl_2g_18(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and bridge and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "BRIDGE" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:1024'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], + ['tput_multi_udp:0'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_bridge_18", + raw_line=raw_lines, + vlan_id=vlan, dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_bridge_udp_ul_2g_19", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3806") + def test_mstathpt_wpa2p_bridge_udp_ul_2g_19(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and bridge and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "BRIDGE" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:1024'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], + ['tput_multi_udp:1'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_bridge_19", + raw_line=raw_lines, + vlan_id=vlan, dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_bridge_tcp_ul_2g_20", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3810") + def test_mstathpt_wpa2p_bridge_tcp_ul_2g_20(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and bridge and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "BRIDGE" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:1024'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], + ['tput_multi_udp:0'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_bridge_20", + raw_line=raw_lines, + vlan_id=vlan, dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_bridge_udp_dl_2g_21", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3812") + def test_mstathpt_wpa2p_bridge_udp_dl_2g_21(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and bridge and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "BRIDGE" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], + ['tput_multi_udp:1'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_bridge_21", + raw_line=raw_lines, + vlan_id=vlan, dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_bridge_tcp_dl_2g_22", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3815") + def test_mstathpt_wpa2p_bridge_tcp_dl_2g_22(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and bridge and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "BRIDGE" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], + ['tput_multi_udp:0'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_bridge_22", + raw_line=raw_lines, + vlan_id=vlan, dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_bridge_udp_ul_2g_23", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3817") + def test_mstathpt_wpa2p_bridge_udp_ul_2g_23(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and bridge and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "BRIDGE" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], + ['tput_multi_udp:1'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_bridge_23", + raw_line=raw_lines, + vlan_id=vlan, dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_bridge_tcp_ul_2g_24", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3819") + def test_mstathpt_wpa2p_bridge_tcp_ul_2g_24(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and bridge and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "BRIDGE" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], + ['tput_multi_udp:0'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_bridge_24", + raw_line=raw_lines, + vlan_id=vlan, dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True diff --git a/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/bridge_mode/test_mutli_sta_thpt_5g.py b/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/bridge_mode/test_mutli_sta_thpt_5g.py new file mode 100644 index 00000000000..9738701d7d0 --- /dev/null +++ b/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/bridge_mode/test_mutli_sta_thpt_5g.py @@ -0,0 +1,1023 @@ +""" + + Multi Station throughput vs Packet Size test: Bridge Mode + pytest -m "multi_sta_thpt and wpa2_personal and bridge and fiveg" + +""" + +import os +import allure +import pytest + +pytestmark = [pytest.mark.performance, pytest.mark.multi_sta_thpt, pytest.mark.wpa2_personal, pytest.mark.bridge, + pytest.mark.fiveg] + +setup_params_general = { + "mode": "BRIDGE", + "ssid_modes": { + "wpa2_personal": [ + {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something"}]}, + "rf": {}, + "radius": False +} + + +@allure.suite("performance") +@allure.feature("BRIDGE MODE WPA2 PERSONAL Multi_Station_Throughput") +@allure.parent_suite("Multi Station Throughput Test") +@allure.suite("WPA2 Personal Security") +@allure.sub_suite("Bridge Mode") +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class TestMultiStaThptbridge(object): + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_bridge_udp_dl_5g_1", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3632") + def test_mstathpt_wpa2p_bridge_udp_dl_5g_1(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and bridge and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "BRIDGE" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID's NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200,512,1024,MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], + ['tput_multi_udp:1'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_bridge_1", raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_bridge_tcp_dl_5g_2", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3634") + def test_mstathpt_wpa2p_bridge_tcp_dl_5g_2(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and bridge and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "BRIDGE" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID's NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], + ['pkt_loss_thresh:500000'], + ['frame_sizes:200,512,1024,MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], + ['tput_multi_udp:0'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_bridge_2", + raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, + pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_bridge_udp_ul_5g_3", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3636") + def test_mstathpt_wpa2p_bridge_udp_ul_5g_3(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and bridge and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "BRIDGE" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID's NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200,512,1024,MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], + ['tput_multi_udp:1'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_bridge_3", raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_bridge_tcp_ul_5g_4", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3638") + def test_mstathpt_wpa2p_bridge_tcp_ul_5g_4(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and bridge and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "BRIDGE" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID's NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200,512,1024,MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], + ['tput_multi_udp:0'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_bridge_4", raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.multi_sta_perf_throughput + @pytest.mark.tcp_udp_ul_dl + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_bridge_udp_dl_5g_5", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3640") + def test_mstathpt_wpa2p_bridge_udp_dl_5g_5(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and bridge and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "BRIDGE" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID's NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200,512,1024,MTU'], ['capacities:MAX'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], + ['tput_multi_udp:1'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_bridge_5", raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.multi_sta_perf_throughput + @pytest.mark.tcp_udp_ul_dl + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_bridge_tcp_dl_5g_6", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3642") + def test_mstathpt_wpa2p_bridge_tcp_dl_5g_6(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and bridge and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "BRIDGE" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID's NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200,512,1024,MTU'], ['capacities:MAX'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], + ['tput_multi_udp:0'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_bridge_6", raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.multi_sta_perf_throughput + @pytest.mark.tcp_udp_ul_dl + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_bridge_udp_ul_5g_7", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3644") + def test_mstathpt_wpa2p_bridge_udp_ul_5g_7(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and bridge and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "BRIDGE" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID's NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200,512,1024,MTU'], ['capacities:MAX'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], + ['tput_multi_udp:1'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_bridge_7", raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.multi_sta_perf_throughput + @pytest.mark.tcp_udp_ul_dl + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_bridge_tcp_ul_5g_8", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3646") + def test_mstathpt_wpa2p_bridge_tcp_ul_5g_8(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and bridge and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "BRIDGE" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID's NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200,512,1024,MTU'], ['capacities:MAX'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], + ['tput_multi_udp:0'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_bridge_8", raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_bridge_udp_dl_5g_9", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3782") + def test_mstathpt_wpa2p_bridge_udp_dl_5g_9(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and bridge and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "BRIDGE" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID's NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200,512'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], + ['tput_multi_udp:1'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_bridge_9", raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_bridge_tcp_dl_5g_10", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3784") + def test_mstathpt_wpa2p_bridge_tcp_dl_5g_10(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and bridge and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "BRIDGE" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID's NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], + ['tput_multi_udp:0'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_bridge_10", + raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_bridge_udp_ul_5g_11", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3787") + def test_mstathpt_wpa2p_bridge_udp_ul_5g_11(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and bridge and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "BRIDGE" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID's NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], + ['tput_multi_udp:1'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_bridge_11", + raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_bridge_udp_ul_5g_12", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3789") + def test_mstathpt_wpa2p_bridge_tcp_ul_5g_12(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and bridge and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "BRIDGE" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID's NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], + ['tput_multi_udp:0'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_bridge_12", + raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_bridge_udp_dl_5g_13", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3792") + def test_mstathpt_wpa2p_bridge_udp_dl_5g_13(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and bridge and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "BRIDGE" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID's NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:512'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], + ['tput_multi_udp:1'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_bridge_13", + raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_bridge_tcp_dl_5g_14", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3794") + def test_mstathpt_wpa2p_bridge_tcp_dl_5g_14(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and bridge and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "BRIDGE" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID's NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:512'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], + ['tput_multi_udp:0'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_bridge_14", + raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_bridge_udp_ul_5g_15", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3799") + def test_mstathpt_wpa2p_bridge_udp_ul_5g_15(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and bridge and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "BRIDGE" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID's NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:512'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], + ['tput_multi_udp:1'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_bridge_15", + raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_bridge_tcp_ul_5g_16", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3801") + def test_mstathpt_wpa2p_bridge_tcp_ul_5g_16(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and bridge and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "BRIDGE" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID's NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:512'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], + ['tput_multi_udp:0'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_bridge_16", + raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_bridge_udp_dl_5g_17", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3803") + def test_mstathpt_wpa2p_bridge_udp_ul_5g_17(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and bridge and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "BRIDGE" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID's NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:1024'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], + ['tput_multi_udp:1'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_bridge_17", + raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_bridge_tcp_dl_5g_18", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3805") + def test_mstathpt_wpa2p_bridge_tcp_dl_5g_18(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and bridge and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "BRIDGE" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID's NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:1024'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], + ['tput_multi_udp:0'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_bridge_18", + raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_bridge_udp_ul_5g_19", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3807") + def test_mstathpt_wpa2p_bridge_udp_ul_5g_19(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and bridge and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "BRIDGE" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID's NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:1024'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], + ['tput_multi_udp:1'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_bridge_19", + raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_bridge_tcp_ul_5g_20", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3811") + def test_mstathpt_wpa2p_bridge_tcp_ul_5g_20(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and bridge and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "BRIDGE" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID's NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:1024'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], + ['tput_multi_udp:0'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_bridge_20", + raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_bridge_udp_dl_5g_21", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3813") + def test_mstathpt_wpa2p_bridge_udp_dl_5g_21(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and bridge and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "BRIDGE" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID's NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], + ['tput_multi_udp:1'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_bridge_21", + raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_bridge_tcp_dl_5g_22", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3816") + def test_mstathpt_wpa2p_bridge_tcp_dl_5g_22(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and bridge and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "BRIDGE" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID's NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], + ['tput_multi_udp:0'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_bridge_22", + raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_bridge_udp_ul_5g_23", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3818") + def test_mstathpt_wpa2p_bridge_udp_ul_5g_23(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and bridge and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "BRIDGE" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID's NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], + ['tput_multi_udp:1'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_bridge_23", + raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_bridge_tcp_ul_5g_24", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3820") + def test_mstathpt_wpa2p_bridge_tcp_ul_5g_24(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and bridge and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "BRIDGE" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID's NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], + ['tput_multi_udp:0'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_bridge_24", + raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True diff --git a/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/nat_mode/__init__.py b/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/nat_mode/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/nat_mode/test_multi_sta_thpt_2g.py b/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/nat_mode/test_multi_sta_thpt_2g.py new file mode 100644 index 00000000000..d635f456144 --- /dev/null +++ b/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/nat_mode/test_multi_sta_thpt_2g.py @@ -0,0 +1,986 @@ +""" + + Multi Station throughput vs Packet Size test: Nat Mode + pytest -m "multi_sta_thpt and wpa2_personal and nat and twog" + +""" + +import os +import allure +import pytest + +pytestmark = [pytest.mark.performance, pytest.mark.multi_sta_thpt, pytest.mark.wpa2_personal, pytest.mark.nat, + pytest.mark.twog] + +setup_params_general = { + "mode": "NAT", + "ssid_modes": { + "wpa2_personal": [ + {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something"}]}, + "rf": {}, + "radius": False +} + + +@allure.suite("performance") +@allure.feature("NAT MODE WPA2 PERSONAL Multi Station Throughput") +@allure.parent_suite("Multi Station Throughput Test") +@allure.suite("WPA2 Personal Security") +@allure.sub_suite("NAT Mode") +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class TestMultiStaThptnat(object): + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_nat_udp_dl_2g_1", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3631") + def test_mstathpt_wpa2p_nat_udp_dl_2g_1(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and nat and wpa2_personal and twog" + """ + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "NAT" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200,512,1024,MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], + ['tput_multi_udp:1'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_nat_1", raw_line=raw_lines, + vlan_id=vlan, dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_nat_tcp_dl_2g_2", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3633") + def test_mstathpt_wpa2p_nat_tcp_dl_2g_2(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and nat and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "NAT" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], + ['pkt_loss_thresh:500000'], + ['frame_sizes:200,512,1024,MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], + ['tput_multi_udp:0'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_nat_2", + raw_line=raw_lines, + vlan_id=vlan, dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, + pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_nat_udp_ul_2g_3", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3635") + def test_mstathpt_wpa2p_nat_udp_ul_2g_3(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and nat and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "NAT" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200,512,1024,MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], + ['tput_multi_udp:1'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_nat_3", raw_line=raw_lines, + vlan_id=vlan, dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_nat_tcp_ul_2g_4", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3637") + def test_mstathpt_wpa2p_nat_tcp_ul_2g_4(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and nat and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "NAT" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200,512,1024,MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], + ['tput_multi_udp:0'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_nat_4", raw_line=raw_lines, + vlan_id=vlan, dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.multi_sta_perf_throughput + @pytest.mark.tcp_udp_ul_dl + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_nat_udp_dl_2g_5", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3639") + def test_mstathpt_wpa2p_nat_udp_dl_2g_5(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and nat and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "NAT" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200,512,1024,MTU'], ['capacities:MAX'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], + ['tput_multi_udp:1'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_nat_5", raw_line=raw_lines, + vlan_id=vlan, dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.multi_sta_perf_throughput + @pytest.mark.tcp_udp_ul_dl + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_nat_tcp_dl_2g_6", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3641") + def test_mstathpt_wpa2p_nat_tcp_dl_2g_6(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and nat and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "NAT" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200,512,1024,MTU'], ['capacities:MAX'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], + ['tput_multi_udp:0'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_nat_6", raw_line=raw_lines, + vlan_id=vlan, dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.multi_sta_perf_throughput + @pytest.mark.tcp_udp_ul_dl + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_nat_udp_ul_2g_7", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3643") + def test_mstathpt_wpa2p_nat_udp_ul_2g_7(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and nat and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "NAT" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200,512,1024,MTU'], ['capacities:MAX'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], + ['tput_multi_udp:1'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_nat_7", raw_line=raw_lines, + vlan_id=vlan, dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.multi_sta_perf_throughput + @pytest.mark.tcp_udp_ul_dl + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_nat_tcp_ul_2g_8", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3645") + def test_mstathpt_wpa2p_nat_tcp_ul_2g_8(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and nat and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "NAT" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200,512,1024,MTU'], ['capacities:MAX'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], + ['tput_multi_udp:0'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_nat_8", raw_line=raw_lines, + vlan_id=vlan, dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_nat_udp_dl_2g_9", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3781") + def test_mstathpt_wpa2p_nat_udp_dl_2g_9(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and nat and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "NAT" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200,512'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], + ['tput_multi_udp:1'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_nat_9", raw_line=raw_lines, + vlan_id=vlan, dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_nat_tcp_dl_2g_10", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3783") + def test_mstathpt_wpa2p_nat_tcp_dl_2g_10(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and nat and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "NAT" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], + ['tput_multi_udp:0'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_nat_10", raw_line=raw_lines, + vlan_id=vlan, dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_nat_udp_ul_2g_11", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3786") + def test_mstathpt_wpa2p_nat_udp_ul_2g_11(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and nat and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "NAT" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], + ['tput_multi_udp:1'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_nat_11", raw_line=raw_lines, + vlan_id=vlan, dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_nat_tcp_ul_2g_12", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3788") + def test_mstathpt_wpa2p_nat_tcp_ul_2g_12(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and nat and wpa2_personal and twog" + """ + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "NAT" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], + ['tput_multi_udp:0'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_nat_12", raw_line=raw_lines, + vlan_id=vlan, dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_nat_udp_dl_2g_13", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3790") + def test_mstathpt_wpa2p_nat_udp_dl_2g_13(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and nat and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "NAT" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:512'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], + ['tput_multi_udp:1'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_nat_13", raw_line=raw_lines, + vlan_id=vlan, dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_nat_tcp_dl_2g_14", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3793") + def test_mstathpt_wpa2p_nat_tcp_dl_2g_14(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and nat and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "NAT" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:512'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], + ['tput_multi_udp:0'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_nat_14", raw_line=raw_lines, + vlan_id=vlan, dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_nat_udp_ul_2g_15", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3798") + def test_mstathpt_wpa2p_nat_udp_ul_2g_15(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and nat and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "NAT" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:512'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], + ['tput_multi_udp:1'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_nat_15", raw_line=raw_lines, + vlan_id=vlan, dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_nat_tcp_ul_2g_16", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3800") + def test_mstathpt_wpa2p_nat_tcp_ul_2g_16(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and nat and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "NAT" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:512'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], + ['tput_multi_udp:0'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_nat_16", raw_line=raw_lines, + vlan_id=vlan, dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_nat_udp_dl_2g_17", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3802") + def test_mstathpt_wpa2p_nat_udp_dl_2g_17(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and nat and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "NAT" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:1024'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], + ['tput_multi_udp:1'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_nat_17", raw_line=raw_lines, + vlan_id=vlan, dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_nat_tcp_dl_2g_18", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3804") + def test_mstathpt_wpa2p_nat_tcp_dl_2g_18(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and nat and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "NAT" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:1024'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], + ['tput_multi_udp:0'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_nat_18", raw_line=raw_lines, + vlan_id=vlan, dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_nat_udp_ul_2g_19", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3806") + def test_mstathpt_wpa2p_nat_udp_ul_2g_19(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and nat and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "NAT" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:1024'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], + ['tput_multi_udp:1'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_nat_19", raw_line=raw_lines, + vlan_id=vlan, dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_nat_tcp_ul_2g_20", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3810") + def test_mstathpt_wpa2p_nat_tcp_ul_2g_20(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and nat and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "NAT" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:1024'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], + ['tput_multi_udp:0'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_nat_20", raw_line=raw_lines, + vlan_id=vlan, dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_nat_udp_dl_2g_21", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3812") + def test_mstathpt_wpa2p_nat_udp_dl_2g_21(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and nat and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "NAT" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], + ['tput_multi_udp:1'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_nat_21", raw_line=raw_lines, + vlan_id=vlan, dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_nat_tcp_dl_2g_22", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3815") + def test_mstathpt_wpa2p_nat_tcp_dl_2g_22(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and nat and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "NAT" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], + ['tput_multi_udp:0'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_nat_22", raw_line=raw_lines, + vlan_id=vlan, dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_nat_udp_ul_2g_23", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3817") + def test_mstathpt_wpa2p_nat_udp_ul_2g_23(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and nat and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "NAT" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], + ['tput_multi_udp:1'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_nat_23", raw_line=raw_lines, + vlan_id=vlan, dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_nat_tcp_ul_2g_24", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3819") + def test_mstathpt_wpa2p_nat_tcp_ul_2g_24(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and nat and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "NAT" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], + ['tput_multi_udp:0'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_nat_24", raw_line=raw_lines, + vlan_id=vlan, dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True diff --git a/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/nat_mode/test_mutli_sta_thpt_5g.py b/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/nat_mode/test_mutli_sta_thpt_5g.py new file mode 100644 index 00000000000..24ac769766f --- /dev/null +++ b/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/nat_mode/test_mutli_sta_thpt_5g.py @@ -0,0 +1,1009 @@ +""" + + Multi Station throughput vs Packet Size test: NAT Mode + pytest -m "multi_sta_thpt and wpa2_personal and nat and fiveg" + +""" + +import os +import allure +import pytest + +pytestmark = [pytest.mark.performance, pytest.mark.multi_sta_thpt, pytest.mark.wpa2_personal, pytest.mark.nat, + pytest.mark.fiveg] + +setup_params_general = { + "mode": "NAT", + "ssid_modes": { + "wpa2_personal": [ + {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something"}]}, + "rf": {}, + "radius": False +} + + +@allure.suite("performance") +@allure.feature("NAT MODE WPA2 PERSONAL Multi Station Throughput") +@allure.parent_suite("Multi Station Throughput Test") +@allure.suite("WPA2 Personal Security") +@allure.sub_suite("NAT Mode") +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class TestMultiStaThptnat(object): + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_nat_udp_dl_5g_1", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3632") + def test_mstathpt_wpa2p_nat_udp_dl_5g_1(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and nat and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "NAT" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200,512,1024,MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], + ['tput_multi_udp:1'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_nat_1", raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_nat_tcp_dl_5g_2", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3634") + def test_mstathpt_wpa2p_nat_tcp_dl_5g_2(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and nat and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "NAT" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], + ['pkt_loss_thresh:500000'], + ['frame_sizes:200,512,1024,MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], + ['tput_multi_udp:0'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_nat_2", + raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, + pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_nat_udp_ul_5g_3", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3636") + def test_mstathpt_wpa2p_nat_udp_ul_5g_3(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and nat and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "NAT" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200,512,1024,MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], + ['tput_multi_udp:1'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_nat_3", raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_nat_tcp_ul_5g_4", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3638") + def test_mstathpt_wpa2p_nat_tcp_ul_5g_4(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and nat and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "NAT" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200,512,1024,MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], + ['tput_multi_udp:0'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_nat_4", raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.multi_sta_perf_throughput + @pytest.mark.tcp_udp_ul_dl + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_nat_udp_dl_5g_5", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3640") + def test_mstathpt_wpa2p_nat_udp_dl_5g_5(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and nat and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "NAT" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200,512,1024,MTU'], ['capacities:MAX'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], + ['tput_multi_udp:1'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_nat_5", raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.multi_sta_perf_throughput + @pytest.mark.tcp_udp_ul_dl + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_nat_tcp_dl_5g_6", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3642") + def test_mstathpt_wpa2p_nat_tcp_dl_5g_6(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and nat and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "NAT" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200,512,1024,MTU'], ['capacities:MAX'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], + ['tput_multi_udp:0'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_nat_6", raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.multi_sta_perf_throughput + @pytest.mark.tcp_udp_ul_dl + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_nat_udp_ul_5g_7", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3644") + def test_mstathpt_wpa2p_nat_udp_ul_5g_7(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and nat and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "NAT" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200,512,1024,MTU'], ['capacities:MAX'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], + ['tput_multi_udp:1'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_nat_7", raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.multi_sta_perf_throughput + @pytest.mark.tcp_udp_ul_dl + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_nat_tcp_ul_5g_8", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3646") + def test_mstathpt_wpa2p_nat_tcp_ul_5g_8(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and nat and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "NAT" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200,512,1024,MTU'], ['capacities:MAX'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], + ['tput_multi_udp:0'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_nat_8", raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + # @pytest.mark.twog + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_nat_udp_dl_5g_9", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3782") + def test_mstathpt_wpa2p_nat_udp_dl_5g_9(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and nat and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "NAT" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200,512'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], + ['tput_multi_udp:1'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_nat_9", raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_nat_tcp_dl_5g_10", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3784") + def test_mstathpt_wpa2p_nat_tcp_dl_5g_10(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and nat and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "NAT" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], + ['tput_multi_udp:0'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_nat_10", raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_nat_udp_ul_5g_11", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3787") + def test_mstathpt_wpa2p_nat_udp_ul_5g_11(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and nat and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "NAT" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], + ['tput_multi_udp:1'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_nat_11", raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_nat_udp_ul_5g_12", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3789") + def test_mstathpt_wpa2p_nat_tcp_ul_5g_12(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and nat and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "NAT" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], + ['tput_multi_udp:0'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_nat_12", raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_nat_udp_dl_5g_13", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3792") + def test_mstathpt_wpa2p_nat_udp_dl_5g_13(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and nat and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "NAT" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:512'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], + ['tput_multi_udp:1'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_nat_13", raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_nat_tcp_dl_5g_14", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3794") + def test_mstathpt_wpa2p_nat_tcp_dl_5g_14(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and nat and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "NAT" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:512'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], + ['tput_multi_udp:0'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_nat_14", raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_nat_udp_ul_5g_15", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3799") + def test_mstathpt_wpa2p_nat_udp_ul_5g_15(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and nat and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "NAT" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:512'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], + ['tput_multi_udp:1'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_nat_15", raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_nat_tcp_ul_5g_16", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3801") + def test_mstathpt_wpa2p_nat_tcp_ul_5g_16(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and nat and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "NAT" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:512'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], + ['tput_multi_udp:0'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_nat_16", raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_nat_udp_dl_5g_17", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3803") + def test_mstathpt_wpa2p_nat_udp_ul_5g_17(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and nat and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "NAT" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:1024'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], + ['tput_multi_udp:1'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_nat_17", raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_nat_tcp_dl_5g_18", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3805") + def test_mstathpt_wpa2p_nat_tcp_dl_5g_18(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and nat and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "NAT" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:1024'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], + ['tput_multi_udp:0'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_nat_18", raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_nat_udp_ul_5g_19", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3807") + def test_mstathpt_wpa2p_nat_udp_ul_5g_19(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and nat and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "NAT" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:1024'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], + ['tput_multi_udp:1'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_nat_19", raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_nat_tcp_ul_5g_20", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3811") + def test_mstathpt_wpa2p_nat_tcp_ul_5g_20(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and nat and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "NAT" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:1024'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], + ['tput_multi_udp:0'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_nat_20", raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_nat_udp_dl_5g_21", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3813") + def test_mstathpt_wpa2p_nat_udp_dl_5g_21(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and nat and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "NAT" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], + ['tput_multi_udp:1'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_nat_21", raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_nat_tcp_dl_5g_22", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3816") + def test_mstathpt_wpa2p_nat_tcp_dl_5g_22(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and nat and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "NAT" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], + ['tput_multi_udp:0'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_nat_22", raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_nat_udp_ul_5g_23", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3818") + def test_mstathpt_wpa2p_nat_udp_ul_5g_23(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and nat and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "NAT" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], + ['tput_multi_udp:1'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_nat_23", raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_nat_tcp_ul_5g_24", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3820") + def test_mstathpt_wpa2p_nat_tcp_ul_5g_24(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and nat and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "NAT" + vlan = 1 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], + ['tput_multi_udp:0'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_nat_24", raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True diff --git a/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/vlan_mode/__init__.py b/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/vlan_mode/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/vlan_mode/test_multi_sta_thpt_2g.py b/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/vlan_mode/test_multi_sta_thpt_2g.py new file mode 100644 index 00000000000..64828cd359e --- /dev/null +++ b/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/vlan_mode/test_multi_sta_thpt_2g.py @@ -0,0 +1,986 @@ +""" + + Multi Station throughput vs Packet Size test: vlan Mode + pytest -m "multi_sta_thpt and wpa2_personal and vlan and twog" + +""" + +import os +import allure +import pytest + +pytestmark = [pytest.mark.performance, pytest.mark.multi_sta_thpt, pytest.mark.wpa2_personal, pytest.mark.vlan, + pytest.mark.twog] + +setup_params_general = { + "mode": "VLAN", + "ssid_modes": { + "wpa2_personal": [ + {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something", "vlan": 100}]}, + "rf": {}, + "radius": False +} + + +@allure.suite("performance") +@allure.feature("VLAN Mode WPA2 PERSONAL Multi Station Throughput") +@allure.parent_suite("Multi Station Throughput Test") +@allure.suite("WPA2 Personal Security") +@allure.sub_suite("VLAN Mode") +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class TestMultiStaThptvlan(object): + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_dl_2g_1", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3631") + def test_mstathpt_wpa2p_vlan_udp_dl_2g_1(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and vlan and wpa2_personal and twog" + """ + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "VLAN" + + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200,512,1024,MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], + ['tput_multi_udp:1'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_vlan_1", raw_line=raw_lines, + dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_dl_2g_2", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3633") + def test_mstathpt_wpa2p_vlan_tcp_dl_2g_2(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and vlan and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "VLAN" + + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], + ['pkt_loss_thresh:500000'], + ['frame_sizes:200,512,1024,MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], + ['tput_multi_udp:0'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_vlan_2", + raw_line=raw_lines, + dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, + pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_ul_2g_3", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3635") + def test_mstathpt_wpa2p_vlan_udp_ul_2g_3(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and vlan and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "VLAN" + + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200,512,1024,MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], + ['tput_multi_udp:1'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_vlan_3", raw_line=raw_lines, + dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_ul_2g_4", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3637") + def test_mstathpt_wpa2p_vlan_tcp_ul_2g_4(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and vlan and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "VLAN" + + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200,512,1024,MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], + ['tput_multi_udp:0'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_vlan_4", raw_line=raw_lines, + dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.multi_sta_perf_throughput + @pytest.mark.tcp_udp_ul_dl + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_dl_2g_5", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3639") + def test_mstathpt_wpa2p_vlan_udp_dl_2g_5(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and vlan and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "VLAN" + + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200,512,1024,MTU'], ['capacities:MAX'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], + ['tput_multi_udp:1'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_vlan_5", raw_line=raw_lines, + dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.multi_sta_perf_throughput + @pytest.mark.tcp_udp_ul_dl + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_dl_2g_6", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3641") + def test_mstathpt_wpa2p_vlan_tcp_dl_2g_6(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and vlan and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "VLAN" + + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200,512,1024,MTU'], ['capacities:MAX'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], + ['tput_multi_udp:0'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_vlan_6", raw_line=raw_lines, + dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.multi_sta_perf_throughput + @pytest.mark.tcp_udp_ul_dl + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_ul_2g_7", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3643") + def test_mstathpt_wpa2p_vlan_udp_ul_2g_7(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and vlan and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "VLAN" + + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200,512,1024,MTU'], ['capacities:MAX'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], + ['tput_multi_udp:1'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_vlan_7", raw_line=raw_lines, + dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.multi_sta_perf_throughput + @pytest.mark.tcp_udp_ul_dl + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_ul_2g_8", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3645") + def test_mstathpt_wpa2p_vlan_tcp_ul_2g_8(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and vlan and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "VLAN" + + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200,512,1024,MTU'], ['capacities:MAX'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], + ['tput_multi_udp:0'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_vlan_8", raw_line=raw_lines, + dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_dl_2g_9", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3781") + def test_mstathpt_wpa2p_vlan_udp_dl_2g_9(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and vlan and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "VLAN" + + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200,512'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], + ['tput_multi_udp:1'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_vlan_9", raw_line=raw_lines, + dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_dl_2g_10", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3783") + def test_mstathpt_wpa2p_vlan_tcp_dl_2g_10(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and vlan and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "VLAN" + + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], + ['tput_multi_udp:0'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_vlan_10", raw_line=raw_lines, + dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_ul_2g_11", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3786") + def test_mstathpt_wpa2p_vlan_udp_ul_2g_11(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and vlan and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "VLAN" + + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], + ['tput_multi_udp:1'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_vlan_11", raw_line=raw_lines, + dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_ul_2g_12", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3788") + def test_mstathpt_wpa2p_vlan_tcp_ul_2g_12(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and vlan and wpa2_personal and twog" + """ + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "VLAN" + + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], + ['tput_multi_udp:0'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_vlan_12", raw_line=raw_lines, + dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_dl_2g_13", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3790") + def test_mstathpt_wpa2p_vlan_udp_dl_2g_13(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and vlan and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "VLAN" + + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:512'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], + ['tput_multi_udp:1'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_vlan_13", raw_line=raw_lines, + dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_dl_2g_14", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3793") + def test_mstathpt_wpa2p_vlan_tcp_dl_2g_14(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and vlan and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "VLAN" + + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:512'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], + ['tput_multi_udp:0'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_vlan_14", raw_line=raw_lines, + dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_ul_2g_15", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3798") + def test_mstathpt_wpa2p_vlan_udp_ul_2g_15(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and vlan and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "VLAN" + + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:512'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], + ['tput_multi_udp:1'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_vlan_15", raw_line=raw_lines, + dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_ul_2g_16", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3800") + def test_mstathpt_wpa2p_vlan_tcp_ul_2g_16(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and vlan and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "VLAN" + + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:512'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], + ['tput_multi_udp:0'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_vlan_16", raw_line=raw_lines, + dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_dl_2g_17", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3802") + def test_mstathpt_wpa2p_vlan_udp_dl_2g_17(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and vlan and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "VLAN" + + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:1024'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], + ['tput_multi_udp:1'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_vlan_17", raw_line=raw_lines, + dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_dl_2g_18", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3804") + def test_mstathpt_wpa2p_vlan_tcp_dl_2g_18(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and vlan and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "VLAN" + + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:1024'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], + ['tput_multi_udp:0'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_vlan_18", raw_line=raw_lines, + dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_ul_2g_19", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3806") + def test_mstathpt_wpa2p_vlan_udp_ul_2g_19(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and vlan and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "VLAN" + + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:1024'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], + ['tput_multi_udp:1'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_vlan_19", raw_line=raw_lines, + dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_ul_2g_20", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3810") + def test_mstathpt_wpa2p_vlan_tcp_ul_2g_20(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and vlan and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "VLAN" + + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:1024'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], + ['tput_multi_udp:0'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_vlan_20", raw_line=raw_lines, + dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_dl_2g_21", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3812") + def test_mstathpt_wpa2p_vlan_udp_dl_2g_21(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and vlan and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "VLAN" + + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], + ['tput_multi_udp:1'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_vlan_21", raw_line=raw_lines, + dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_dl_2g_22", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3815") + def test_mstathpt_wpa2p_vlan_tcp_dl_2g_22(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and vlan and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "VLAN" + + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], + ['tput_multi_udp:0'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_vlan_22", raw_line=raw_lines, + dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_ul_2g_23", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3817") + def test_mstathpt_wpa2p_vlan_udp_ul_2g_23(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and vlan and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "VLAN" + + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], + ['tput_multi_udp:1'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_vlan_23", raw_line=raw_lines, + dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_ul_2g_24", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3819") + def test_mstathpt_wpa2p_vlan_tcp_ul_2g_24(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and vlan and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + ssid_2G = profile_data[0]["ssid_name"] + + dut_name = create_lanforge_chamberview_dut + mode = "VLAN" + + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + + if lf_tools.dut_idx_mapping[i][3] == "2G": + dut_2g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_2g) + if ssid_2G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_5:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:10'], ['pkt_loss_thresh:500000'], + ['frame_sizes:MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], + ['tput_multi_udp:0'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G=ssid_2G, ssid_5G="", + instance_name="multistathpt_instance_wpa2p_2g_vlan_24", raw_line=raw_lines, + dut_5g="", dut_2g=dut_2g) + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True diff --git a/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/vlan_mode/test_mutli_sta_thpt_5g.py b/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/vlan_mode/test_mutli_sta_thpt_5g.py new file mode 100644 index 00000000000..3421505687e --- /dev/null +++ b/tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/vlan_mode/test_mutli_sta_thpt_5g.py @@ -0,0 +1,1009 @@ +""" + + Multi Station throughput vs Packet Size test: VLAN Mode + pytest -m "multi_sta_thpt and wpa2_personal and vlan and fiveg" + +""" + +import os +import allure +import pytest + +pytestmark = [pytest.mark.performance, pytest.mark.multi_sta_thpt, pytest.mark.wpa2_personal, pytest.mark.vlan, + pytest.mark.fiveg] + +setup_params_general = { + "mode": "VLAN", + "ssid_modes": { + "wpa2_personal": [ + {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something", "vlan": 100}]}, + "rf": {}, + "radius": False +} + + +@allure.suite("performance") +@allure.feature("VLAN Mode WPA2 PERSONAL Multi Station Throughput") +@allure.parent_suite("Multi Station Throughput Test") +@allure.suite("WPA2 Personal Security") +@allure.sub_suite("VLAN Mode") +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class TestMultiStaThptvlan(object): + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_dl_5g_1", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3632") + def test_mstathpt_wpa2p_vlan_udp_dl_5g_1(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "VLAN" + vlan = 100 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200,512,1024,MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], + ['tput_multi_udp:1'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_vlan_1", raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_dl_5g_2", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3634") + def test_mstathpt_wpa2p_vlan_tcp_dl_5g_2(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "VLAN" + vlan = 100 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], + ['pkt_loss_thresh:500000'], + ['frame_sizes:200,512,1024,MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], + ['tput_multi_udp:0'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_vlan", + raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, + pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_ul_5g_3", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3636") + def test_mstathpt_wpa2p_vlan_udp_ul_5g_3(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "VLAN" + vlan = 100 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200,512,1024,MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], + ['tput_multi_udp:1'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_vlan", raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_ul_5g_4", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3638") + def test_mstathpt_wpa2p_vlan_tcp_ul_5g_4(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "VLAN" + vlan = 100 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200,512,1024,MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], + ['tput_multi_udp:0'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_vlan_4", raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.multi_sta_perf_throughput + @pytest.mark.tcp_udp_ul_dl + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_dl_5g_5", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3640") + def test_mstathpt_wpa2p_vlan_udp_dl_5g_5(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "VLAN" + vlan = 100 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200,512,1024,MTU'], ['capacities:MAX'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], + ['tput_multi_udp:1'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_vlan_5", raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.multi_sta_perf_throughput + @pytest.mark.tcp_udp_ul_dl + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_dl_5g_6", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3642") + def test_mstathpt_wpa2p_vlan_tcp_dl_5g_6(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "VLAN" + vlan = 100 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200,512,1024,MTU'], ['capacities:MAX'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], + ['tput_multi_udp:0'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_vlan_6", raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.multi_sta_perf_throughput + @pytest.mark.tcp_udp_ul_dl + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_ul_5g_7", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3644") + def test_mstathpt_wpa2p_vlan_udp_ul_5g_7(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "VLAN" + vlan = 100 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200,512,1024,MTU'], ['capacities:MAX'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], + ['tput_multi_udp:1'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_vlan_7", raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.multi_sta_perf_throughput + @pytest.mark.tcp_udp_ul_dl + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_ul_5g_8", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3646") + def test_mstathpt_wpa2p_vlan_tcp_ul_5g_8(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "VLAN" + vlan = 100 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200,512,1024,MTU'], ['capacities:MAX'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], + ['tput_multi_udp:0'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_vlan_8", raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + # @pytest.mark.twog + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_dl_5g_9", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3782") + def test_mstathpt_wpa2p_vlan_udp_dl_5g_9(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "VLAN" + vlan = 100 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200,512'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], + ['tput_multi_udp:1'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_vlan_9", raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_dl_5g_10", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3784") + def test_mstathpt_wpa2p_vlan_tcp_dl_5g_10(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "VLAN" + vlan = 100 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], + ['tput_multi_udp:0'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_vlan_10", raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_ul_5g_11", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3787") + def test_mstathpt_wpa2p_vlan_udp_ul_5g_11(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "VLAN" + vlan = 100 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], + ['tput_multi_udp:1'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_vlan_11", raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_ul_5g_12", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3789") + def test_mstathpt_wpa2p_vlan_tcp_ul_5g_12(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "VLAN" + vlan = 100 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:200'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], + ['tput_multi_udp:0'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_vlan_12", raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_dl_5g_13", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3792") + def test_mstathpt_wpa2p_vlan_udp_dl_5g_13(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "VLAN" + vlan = 100 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:512'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], + ['tput_multi_udp:1'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_vlan_13", raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_dl_5g_14", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3794") + def test_mstathpt_wpa2p_vlan_tcp_dl_5g_14(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "VLAN" + vlan = 100 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:512'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], + ['tput_multi_udp:0'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_vlan_14", raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_ul_5g_15", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3799") + def test_mstathpt_wpa2p_vlan_udp_ul_5g_15(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "VLAN" + vlan = 100 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:512'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], + ['tput_multi_udp:1'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_vlan_15", raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_ul_5g_16", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3801") + def test_mstathpt_wpa2p_vlan_tcp_ul_5g_16(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "VLAN" + vlan = 100 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:512'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], + ['tput_multi_udp:0'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_vlan_16", raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_dl_5g_17", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3803") + def test_mstathpt_wpa2p_vlan_udp_ul_5g_17(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "VLAN" + vlan = 100 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:1024'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], + ['tput_multi_udp:1'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_vlan_17", raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_dl_5g_18", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3805") + def test_mstathpt_wpa2p_vlan_tcp_dl_5g_18(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "VLAN" + vlan = 100 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:1024'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], + ['tput_multi_udp:0'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_vlan_18", raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_ul_5g_19", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3807") + def test_mstathpt_wpa2p_vlan_udp_ul_5g_19(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "VLAN" + vlan = 100 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:1024'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], + ['tput_multi_udp:1'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_vlan_19", raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_ul_5g_20", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3811") + def test_mstathpt_wpa2p_vlan_tcp_ul_5g_20(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "VLAN" + vlan = 100 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:1024'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], + ['tput_multi_udp:0'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_vlan_20", raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_dl_5g_21", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3813") + def test_mstathpt_wpa2p_vlan_udp_dl_5g_21(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "VLAN" + vlan = 100 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'], + ['tput_multi_udp:1'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_vlan_21", raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_dl_5g_22", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3816") + def test_mstathpt_wpa2p_vlan_tcp_dl_5g_22(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "VLAN" + vlan = 100 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'], + ['tput_multi_udp:0'], ['tput_multi_ul:0']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_vlan_22", raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_ul_5g_23", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3818") + def test_mstathpt_wpa2p_vlan_udp_ul_5g_23(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "VLAN" + vlan = 100 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'], + ['tput_multi_udp:1'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_vlan_23", raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_ul_5g_24", + url="https://telecominfraproject.atlassian.net/browse/WIFI-3820") + def test_mstathpt_wpa2p_vlan_tcp_ul_5g_24(self, lf_tools, + create_lanforge_chamberview_dut, lf_test, get_configuration): + """ + pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg" + + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"] + + ssid_5G = profile_data[0]["ssid_name"] + dut_name = create_lanforge_chamberview_dut + mode = "VLAN" + vlan = 100 + print(lf_tools.dut_idx_mapping) + dut_5g = "" + dut_2g = "" + for i in lf_tools.dut_idx_mapping: + if lf_tools.dut_idx_mapping[i][3] == "5G": + dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4] + print(dut_5g) + + if ssid_5G not in get_vif_state: + allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'], + ['frame_sizes:MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'], + ['tput_multi_udp:0'], ['tput_multi_ul:1']] + + msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G, + instance_name="multistathpt_instance_wpa2p_5g_vlan_24", raw_line=raw_lines, + vlan_id=vlan, dut_5g=dut_5g, dut_2g="") + + report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test") + assert True diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/__init__.py b/tests/e2e/basic/performance_tests/throughput_benchmark/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/tcp_udp_upstream_downstream_bidirection_throughput_test/__init__.py b/tests/e2e/basic/performance_tests/throughput_benchmark/tcp_udp_upstream_downstream_bidirection_throughput_test/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/tcp_udp_upstream_downstream_bidirection_throughput_test/wpa2_personal/__init__.py b/tests/e2e/basic/performance_tests/throughput_benchmark/tcp_udp_upstream_downstream_bidirection_throughput_test/wpa2_personal/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/tcp_udp_upstream_downstream_bidirection_throughput_test/wpa2_personal/test_bridge_mode.py b/tests/e2e/basic/performance_tests/throughput_benchmark/tcp_udp_upstream_downstream_bidirection_throughput_test/wpa2_personal/test_bridge_mode.py new file mode 100644 index 00000000000..55b3cccec1d --- /dev/null +++ b/tests/e2e/basic/performance_tests/throughput_benchmark/tcp_udp_upstream_downstream_bidirection_throughput_test/wpa2_personal/test_bridge_mode.py @@ -0,0 +1,1654 @@ +""" + + Performance Test: throughput test under various combinations: Bridge Mode + pytest -m "throughput_benchmark_test and bridge" -s -vvv --skip-testrail --testbed=basic-01 + + +""" +import os +import time + +import pytest +import allure + + +pytestmark = [pytest.mark.performance, pytest.mark.throughput_benchmark_test, pytest.mark.bridge] # pytest.mark.usefixtures("setup_test_run")] + +setup_params_general = { + "mode": "BRIDGE", + "ssid_modes": { + "wpa2_personal": [ + {"ssid_name": "ssid_wpa2_2g", + "appliedRadios": ["2G"], + "security_key": "something"}, + {"ssid_name": "ssid_wpa2_5g", + "appliedRadios": ["5G"], + "security_key": "something"}]}, + "rf": { + "is5GHz": {"channelBandwidth": "is20MHz"}, + "is5GHzL": {"channelBandwidth": "is20MHz"}, + "is5GHzU": {"channelBandwidth": "is20MHz"} + }, + "radius": False +} + + +@allure.feature("BRIDGE MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: TCP/UDP Upstream/Downstream/Bidirectional Traffic Tests : " + "WPA2 Personal Security") +@allure.suite("Bridge Mode") +@allure.sub_suite("20Mhz Channel Bandwidth") +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +@pytest.mark.Mhz20 +class TestThroughputUnderCombinationsBridge20MHz(object): + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @pytest.mark.upstream + @pytest.mark.nss2 + @pytest.mark.udp + def test_client_wpa2_personal_2g_up_nss2_udp(self, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Dataplane THroughput Bridge Mode + pytest -m "throughput_benchmark_test and bridge and wpa2_personal and twog and upstream " + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "BRIDGE" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: UDP'], + ['bandw_options: 20'], ['spatial_streams: 2']] + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP1_PERF_DPT_WPA2_2G_bridge", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.upstream + @pytest.mark.nss2 + @pytest.mark.udp + def test_client_wpa2_personal_5g_up_nss2_udp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: UDP'], + ['bandw_options: 20'], ['spatial_streams: 2']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_bridge", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @pytest.mark.downstream + @pytest.mark.nss2 + @pytest.mark.udp + def test_client_wpa2_personal_2g_down_nss2_udp(self, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Dataplane THroughput Bridge Mode + pytest -m "throughput_benchmark_test and bridge and wpa2_personal and twog and downstream " + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "BRIDGE" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: UDP'], + ['bandw_options: 20'], ['spatial_streams: 2']] + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_2G_down_bridge", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.downstream + @pytest.mark.nss2 + @pytest.mark.udp + def test_client_wpa2_personal_5g_down_nss2_udp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: UDP'], + ['bandw_options: 20'], ['spatial_streams: 2']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G__down_bridge", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @pytest.mark.bidirectional + @pytest.mark.nss2 + @pytest.mark.udp + def test_client_wpa2_personal_2g_bi_nss2_udp(self, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Dataplane THroughput Bridge Mode + pytest -m "throughput_benchmark_test and bridge and wpa2_personal and twog and bidirectional " + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "BRIDGE" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: UDP'], + ['bandw_options: 20'], ['spatial_streams: 2']] + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_2G_bidirectional_bridge", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.bidirectional + @pytest.mark.nss2 + @pytest.mark.udp + def test_client_wpa2_personal_5g_bi_nss2_udp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: UDP'], + ['bandw_options: 20'], ['spatial_streams: 2']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_bi_nss2_udp_bridge", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @pytest.mark.upstream + @pytest.mark.nss2 + @pytest.mark.tcp + def test_client_wpa2_personal_2g_up_nss2_tcp(self, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Dataplane THroughput Bridge Mode + pytest -m "throughput_benchmark_test and bridge and wpa2_personal and twog and upstream and tcp " + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "BRIDGE" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: TCP'], + ['bandw_options: 20'], ['spatial_streams: 2']] + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_2G__up_nss2_tcp_bridge", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.upstream + @pytest.mark.nss2 + @pytest.mark.tcp + def test_client_wpa2_personal_5g_up_nss2_tcp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: TCP'], + ['bandw_options: 20'], ['spatial_streams: 2']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G__up_nss2_tcp_bridge", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @pytest.mark.downstream + @pytest.mark.nss2 + @pytest.mark.tcp + def test_client_wpa2_personal_2g_down_nss2_tcp(self, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Dataplane THroughput Bridge Mode + pytest -m "throughput_benchmark_test and bridge and wpa2_personal and twog and downstream and tcp" + jira-WIFI-2564 + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "BRIDGE" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: TCP'], + ['bandw_options: 20'], ['spatial_streams: 2']] + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_2G__down_nss2_tcp_bridge", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.downstream + @pytest.mark.nss2 + @pytest.mark.tcp + def test_client_wpa2_personal_5g_down_nss2_tcp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: TCP'], + ['bandw_options: 20'], ['spatial_streams: 2']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G__down_nss2_tcp_bridge", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @pytest.mark.bidirectional + @pytest.mark.nss2 + @pytest.mark.tcp + def test_client_wpa2_personal_2g_bi_nss2_tcp(self, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Dataplane THroughput Bridge Mode + pytest -m "throughput_benchmark_test and bridge and wpa2_personal and twog and bidirectional " + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "BRIDGE" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: TCP'], + ['bandw_options: 20'], ['spatial_streams: 2']] + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_2G__bi_nss2_tcp_bridge", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.bidirectional + @pytest.mark.nss2 + @pytest.mark.tcp + def test_client_wpa2_personal_5g_bi_nss2_tcp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: TCP'], + ['bandw_options: 20'], ['spatial_streams: 2']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G__bi_nss2_tcp_bridge", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + +setup_params_general = { + "mode": "BRIDGE", + "ssid_modes": { + "wpa2_personal": [ + {"ssid_name": "ssid_wpa2_2g", + "appliedRadios": ["2G"], + "security_key": "something"}, + {"ssid_name": "ssid_wpa2_5g", + "appliedRadios": ["5G"], + "security_key": "something"}]}, + "rf": { + "is5GHz": {"channelBandwidth": "is80MHz"}, + "is5GHzL": {"channelBandwidth": "is80MHz"}, + "is5GHzU": {"channelBandwidth": "is80MHz"} + }, + "radius": False +} + + +@allure.feature("BRIDGE MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: TCP/UDP Upstream/Downstream/Bidirectional Traffic Tests : " + "WPA2 Personal Security") +@allure.suite("Bridge Mode") +@allure.sub_suite("80Mhz Channel Bandwidth") +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +@pytest.mark.Mhz80 +class TestThroughputUnderCombinationsBridge80MHz(object): + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.upstream + @pytest.mark.nss2 + @pytest.mark.udp + def test_client_wpa2_personal_5g_up_nss2_udp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Dataplane THroughput Bridge Mode + pytest -m "throughput_benchmark_test and bridge and Mhz80 and wpa2_personal and fiveg and upstream and nss2 and udp " + jira-wifi-2566 + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: UDP'], + ['bandw_options: 80'], ['spatial_streams: 2']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_80__up_nss2_udp_bridge", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.downstream + @pytest.mark.nss2 + @pytest.mark.udp + def test_client_wpa2_personal_5g_down_nss2_udp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Dataplane THroughput Bridge Mode + pytest -m "throughput_benchmark_test and bridge and Mhz80 and wpa2_personal and fiveg and downstream and nss2 and udp " + jira-wifi-2567 + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: UDP'], + ['bandw_options: 80'], ['spatial_streams: 2']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_80__down_nss2_udp_bridge", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.bidirectional + @pytest.mark.nss2 + @pytest.mark.udp + def test_client_wpa2_personal_5g_bi_nss2_udp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: UDP'], + ['bandw_options: 80'], ['spatial_streams: 2']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_80__bi_nss2_udp_bridge", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.upstream + @pytest.mark.nss2 + @pytest.mark.tcp + def test_client_wpa2_personal_5g_up_nss2_tcp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: TCP'], + ['bandw_options: 80'], ['spatial_streams: 2']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_80_up_nss2_tcp_bridge", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.downstream + @pytest.mark.nss2 + @pytest.mark.tcp + def test_client_wpa2_personal_5g_down_nss2_tcp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: TCP'], + ['bandw_options: 80'], ['spatial_streams: 2']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_80_down_nss2_tcp_bridge", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.bidirectional + @pytest.mark.nss2 + @pytest.mark.tcp + def test_client_wpa2_personal_2g_bi_nss2_tcp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Dataplane THroughput Bridge Mode + pytest -m "throughput_benchmark_test and bridge and wpa2_personal and twog and bidirectional " + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: TCP'], + ['bandw_options: 80'], ['spatial_streams: 2']] + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_2G_80_bi_nss2_tcp_bridge", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.upstream + @pytest.mark.nss3 + @pytest.mark.udp + def test_client_wpa2_personal_5g_up_nss3_udp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Dataplane THroughput Bridge Mode + pytest -m "throughput_benchmark_test and bridge and Mhz80 and wpa2_personal and fiveg and upstream and nss2 and udp and nss3" + jira-wifi-2572 + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: UDP'], + ['bandw_options: 80'], ['spatial_streams: 3']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_80__up_nss3_udp_bridge", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.downstream + @pytest.mark.nss3 + @pytest.mark.udp + def test_client_wpa2_personal_5g_down_nss3_udp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Dataplane THroughput Bridge Mode + pytest -m "throughput_benchmark_test and bridge and Mhz80 and wpa2_personal and fiveg and downstream and nss2 and udp and nss3 " + jira-wifi-2573 + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: UDP'], + ['bandw_options: 80'], ['spatial_streams: 3']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_80__down_nss3_udp_bridge", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.bidirectional + @pytest.mark.nss3 + @pytest.mark.udp + def test_client_wpa2_personal_5g_bi_nss3_udp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: UDP'], + ['bandw_options: 80'], ['spatial_streams: 3']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_80__bi_nss3_udp_bridge", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.upstream + @pytest.mark.nss3 + @pytest.mark.tcp + def test_client_wpa2_personal_5g_up_nss3_tcp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: TCP'], + ['bandw_options: 80'], ['spatial_streams: 3']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_80__up_nss3_tcp_bridge", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.downstream + @pytest.mark.nss3 + @pytest.mark.tcp + def test_client_wpa2_personal_5g_down_nss3_tcp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: TCP'], + ['bandw_options: 80'], ['spatial_streams: 3']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_80_down_nss3_tcp_bridge", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.bidirectional + @pytest.mark.nss3 + @pytest.mark.tcp + def test_client_wpa2_personal_5g_bi_nss3_tcp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: TCP'], + ['bandw_options: 80'], ['spatial_streams: 3']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_80_bi_nss3_tcp_bridge", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + +setup_params_general = { + "mode": "BRIDGE", + "ssid_modes": { + "wpa2_personal": [ + {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something"}, + {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], + "security_key": "something"}]}, + "rf": { + "is5GHz": {"channelBandwidth": "is160MHz"}, + "is5GHzL": {"channelBandwidth": "is160MHz"}, + "is5GHzU": {"channelBandwidth": "is160MHz"} + }, + "radius": False +} + + +@allure.feature("BRIDGE MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: TCP/UDP Upstream/Downstream/Bidirectional Traffic Tests : " + "WPA2 Personal Security") +@allure.suite("Bridge Mode") +@allure.sub_suite("160Mhz Channel Bandwidth") +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +@pytest.mark.Mhz160 +class TestThroughputUnderCombinationsBridge160MHz(object): + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.upstream + @pytest.mark.nss3 + @pytest.mark.udp + def test_client_wpa2_personal_5g_up_nss3_udp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Dataplane THroughput Bridge Mode + pytest -m "throughput_benchmark_test and bridge and Mhz80 and wpa2_personal and fiveg and upstream and nss2 and udp " + jira-wifi-2578 + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: UDP'], + ['bandw_options: 160'], ['spatial_streams: 3']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_160_up_nss3_udp_bridge", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.downstream + @pytest.mark.nss3 + @pytest.mark.udp + def test_client_wpa2_personal_5g_down_nss3_udp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Dataplane THroughput Bridge Mode + pytest -m "throughput_benchmark_test and bridge and Mhz80 and wpa2_personal and fiveg and downstream and nss2 and udp " + jira-wifi-2567 + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: UDP'], + ['bandw_options: 160'], ['spatial_streams: 3']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_160_down_nss3_udp_bridge", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.bidirectional + @pytest.mark.nss3 + @pytest.mark.udp + def test_client_wpa2_personal_5g_bi_nss3_udp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: UDP'], + ['bandw_options: 160'], ['spatial_streams: 3']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_160_bi_nss3_udp_bridge", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.upstream + @pytest.mark.nss3 + @pytest.mark.tcp + def test_client_wpa2_personal_5g_up_nss3_tcp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: TCP'], + ['bandw_options: 160'], ['spatial_streams: 3']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_160_up_nss3_tcp_bridge", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.upstream + @pytest.mark.nss4 + @pytest.mark.udp + def test_client_wpa2_personal_5g_up_nss4_udp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: UDP'], + ['bandw_options: 160'], ['spatial_streams: 4']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_160_up_nss4_udp_bridge", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.downstream + @pytest.mark.nss4 + @pytest.mark.udp + def test_client_wpa2_personal_5g_down_nss4_udp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Dataplane THroughput Bridge Mode + pytest -m "throughput_benchmark_test and bridge and Mhz80 and wpa2_personal and fiveg and downstream and nss2 and udp " + jira-wifi-2567 + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: UDP'], + ['bandw_options: 160'], ['spatial_streams: 4']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_160_down_nss4_udp_bridge", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.bidirectional + @pytest.mark.nss4 + @pytest.mark.udp + def test_client_wpa2_personal_5g_bi_nss4_udp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: UDP'], + ['bandw_options: 160'], ['spatial_streams: 4']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_160_bi_nss4_udp_bridge", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.upstream + @pytest.mark.nss4 + @pytest.mark.tcp + def test_client_wpa2_personal_5g_up_nss4_tcp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: TCP'], + ['bandw_options: 160'], ['spatial_streams: 4']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_160_up_nss4_tcp_bridge", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.downstream + @pytest.mark.nss4 + @pytest.mark.tcp + def test_client_wpa2_personal_5g_down_nss4_tcp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: TCP'], + ['bandw_options: 160'], ['spatial_streams: 4']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_160_down_nss4_tcp_bridge", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.bidirectional + @pytest.mark.nss4 + @pytest.mark.tcp + def test_client_wpa2_personal_5g_bi_nss4_tcp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: TCP'], + ['bandw_options: 160'], ['spatial_streams: 4']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_160_bi_nss4_tcp_bridge", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/tcp_udp_upstream_downstream_bidirection_throughput_test/wpa2_personal/test_nat_mode.py b/tests/e2e/basic/performance_tests/throughput_benchmark/tcp_udp_upstream_downstream_bidirection_throughput_test/wpa2_personal/test_nat_mode.py new file mode 100644 index 00000000000..71bd4897033 --- /dev/null +++ b/tests/e2e/basic/performance_tests/throughput_benchmark/tcp_udp_upstream_downstream_bidirection_throughput_test/wpa2_personal/test_nat_mode.py @@ -0,0 +1,1647 @@ +""" + + Performance Test: throughput test under various combinations: NAT Mode + pytest -m "throughput_benchmark_test and NAT" -s -vvv --skip-testrail --testbed=basic-01 + + +""" +import os +import time + +import pytest +import allure + +pytestmark = [pytest.mark.throughput_benchmark_test, pytest.mark.nat] + +setup_params_general = { + "mode": "NAT", + "ssid_modes": { + "wpa2_personal": [ + {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something"}, + {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], + "security_key": "something"}]}, + "rf": { + "is5GHz": {"channelBandwidth": "is20MHz"}, + "is5GHzL": {"channelBandwidth": "is20MHz"}, + "is5GHzU": {"channelBandwidth": "is20MHz"} + }, + "radius": False +} + + +@allure.feature("NAT MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: TCP/UDP Upstream/Downstream/Bidirectional Traffic Tests : " + "WPA2 Personal Security") +@allure.suite("NAT Mode") +@allure.sub_suite("20Mhz Channel Bandwidth") +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +@pytest.mark.Mhz20 +class TestThroughputUnderCombinationsNAT20MHz(object): + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @pytest.mark.upstream + @pytest.mark.nss2 + @pytest.mark.udp + def test_client_wpa2_personal_2g_up_nss2_udp(self, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Dataplane THroughput NAT Mode + pytest -m "throughput_benchmark_test and NAT and wpa2_personal and twog and upstream " + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "NAT" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: UDP'], + ['bandw_options: 20'], ['spatial_streams: 2']] + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP1_PERF_DPT_WPA2_2G_NAT", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.upstream + @pytest.mark.nss2 + @pytest.mark.udp + def test_client_wpa2_personal_5g_up_nss2_udp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: UDP'], + ['bandw_options: 20'], ['spatial_streams: 2']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_NAT", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @pytest.mark.downstream + @pytest.mark.nss2 + @pytest.mark.udp + def test_client_wpa2_personal_2g_down_nss2_udp(self, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Dataplane THroughput NAT Mode + pytest -m "throughput_benchmark_test and NAT and wpa2_personal and twog and downstream " + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "NAT" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: UDP'], + ['bandw_options: 20'], ['spatial_streams: 2']] + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_2G_down_NAT", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.downstream + @pytest.mark.nss2 + @pytest.mark.udp + def test_client_wpa2_personal_5g_down_nss2_udp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: UDP'], + ['bandw_options: 20'], ['spatial_streams: 2']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G__down_NAT", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @pytest.mark.bidirectional + @pytest.mark.nss2 + @pytest.mark.udp + def test_client_wpa2_personal_2g_bi_nss2_udp(self, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Dataplane THroughput NAT Mode + pytest -m "throughput_benchmark_test and NAT and wpa2_personal and twog and bidirectional " + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "NAT" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: UDP'], + ['bandw_options: 20'], ['spatial_streams: 2']] + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_2G_bidirectional_NAT", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.bidirectional + @pytest.mark.nss2 + @pytest.mark.udp + def test_client_wpa2_personal_5g_bi_nss2_udp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: UDP'], + ['bandw_options: 20'], ['spatial_streams: 2']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_bi_nss2_udp_NAT", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @pytest.mark.upstream + @pytest.mark.nss2 + @pytest.mark.tcp + def test_client_wpa2_personal_2g_up_nss2_tcp(self, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Dataplane THroughput NAT Mode + pytest -m "throughput_benchmark_test and NAT and wpa2_personal and twog and upstream and tcp " + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "NAT" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: TCP'], + ['bandw_options: 20'], ['spatial_streams: 2']] + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_2G__up_nss2_tcp_NAT", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.upstream + @pytest.mark.nss2 + @pytest.mark.tcp + def test_client_wpa2_personal_5g_up_nss2_tcp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: TCP'], + ['bandw_options: 20'], ['spatial_streams: 2']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G__up_nss2_tcp_NAT", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @pytest.mark.downstream + @pytest.mark.nss2 + @pytest.mark.tcp + def test_client_wpa2_personal_2g_down_nss2_tcp(self, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Dataplane THroughput NAT Mode + pytest -m "throughput_benchmark_test and NAT and wpa2_personal and twog and downstream and tcp" + jira-WIFI-2564 + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "NAT" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: TCP'], + ['bandw_options: 20'], ['spatial_streams: 2']] + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_2G__down_nss2_tcp_NAT", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.downstream + @pytest.mark.nss2 + @pytest.mark.tcp + def test_client_wpa2_personal_5g_down_nss2_tcp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: TCP'], + ['bandw_options: 20'], ['spatial_streams: 2']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G__down_nss2_tcp_NAT", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @pytest.mark.bidirectional + @pytest.mark.nss2 + @pytest.mark.tcp + def test_client_wpa2_personal_2g_bi_nss2_tcp(self, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Dataplane THroughput NAT Mode + pytest -m "throughput_benchmark_test and NAT and wpa2_personal and twog and bidirectional " + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "NAT" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: TCP'], + ['bandw_options: 20'], ['spatial_streams: 2']] + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_2G__bi_nss2_tcp_NAT", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.bidirectional + @pytest.mark.nss2 + @pytest.mark.tcp + def test_client_wpa2_personal_5g_bi_nss2_tcp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: TCP'], + ['bandw_options: 20'], ['spatial_streams: 2']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G__bi_nss2_tcp_NAT", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + +setup_params_general = { + "mode": "NAT", + "ssid_modes": { + "wpa2_personal": [ + {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something"}, + {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], + "security_key": "something"}]}, + "rf": { + "is5GHz": {"channelBandwidth": "is80MHz"}, + "is5GHzL": {"channelBandwidth": "is80MHz"}, + "is5GHzU": {"channelBandwidth": "is80MHz"} + }, + "radius": False +} + + +@allure.feature("NAT MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: TCP/UDP Upstream/Downstream/Bidirectional Traffic Tests : " + "WPA2 Personal Security") +@allure.suite("NAT Mode") +@allure.sub_suite("80Mhz Channel Bandwidth") +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +@pytest.mark.Mhz80 +class TestThroughputUnderCombinationsNAT80MHz(object): + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.upstream + @pytest.mark.nss2 + @pytest.mark.udp + def test_client_wpa2_personal_5g_up_nss2_udp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Dataplane THroughput NAT Mode + pytest -m "throughput_benchmark_test and NAT and Mhz80 and wpa2_personal and fiveg and upstream and nss2 and udp " + jira-wifi-2566 + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: UDP'], + ['bandw_options: 80'], ['spatial_streams: 2']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_80__up_nss2_udp_NAT", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.downstream + @pytest.mark.nss2 + @pytest.mark.udp + def test_client_wpa2_personal_5g_down_nss2_udp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Dataplane THroughput NAT Mode + pytest -m "throughput_benchmark_test and NAT and Mhz80 and wpa2_personal and fiveg and downstream and nss2 and udp " + jira-wifi-2567 + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: UDP'], + ['bandw_options: 80'], ['spatial_streams: 2']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_80__down_nss2_udp_NAT", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.bidirectional + @pytest.mark.nss2 + @pytest.mark.udp + def test_client_wpa2_personal_5g_bi_nss2_udp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: UDP'], + ['bandw_options: 80'], ['spatial_streams: 2']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_80__bi_nss2_udp_NAT", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.upstream + @pytest.mark.nss2 + @pytest.mark.tcp + def test_client_wpa2_personal_5g_up_nss2_tcp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: TCP'], + ['bandw_options: 80'], ['spatial_streams: 2']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_80_up_nss2_tcp_NAT", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.downstream + @pytest.mark.nss2 + @pytest.mark.tcp + def test_client_wpa2_personal_5g_down_nss2_tcp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: TCP'], + ['bandw_options: 80'], ['spatial_streams: 2']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_80_down_nss2_tcp_NAT", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.bidirectional + @pytest.mark.nss2 + @pytest.mark.tcp + def test_client_wpa2_personal_2g_bi_nss2_tcp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Dataplane THroughput NAT Mode + pytest -m "throughput_benchmark_test and NAT and wpa2_personal and twog and bidirectional " + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: TCP'], + ['bandw_options: 80'], ['spatial_streams: 2']] + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_2G_80_bi_nss2_tcp_NAT", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.upstream + @pytest.mark.nss3 + @pytest.mark.udp + def test_client_wpa2_personal_5g_up_nss3_udp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Dataplane THroughput NAT Mode + pytest -m "throughput_benchmark_test and NAT and Mhz80 and wpa2_personal and fiveg and upstream and nss2 and udp and nss3" + jira-wifi-2572 + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: UDP'], + ['bandw_options: 80'], ['spatial_streams: 3']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_80__up_nss3_udp_NAT", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.downstream + @pytest.mark.nss3 + @pytest.mark.udp + def test_client_wpa2_personal_5g_down_nss3_udp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Dataplane THroughput NAT Mode + pytest -m "throughput_benchmark_test and NAT and Mhz80 and wpa2_personal and fiveg and downstream and nss2 and udp and nss3 " + jira-wifi-2573 + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: UDP'], + ['bandw_options: 80'], ['spatial_streams: 3']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_80__down_nss3_udp_NAT", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.bidirectional + @pytest.mark.nss3 + @pytest.mark.udp + def test_client_wpa2_personal_5g_bi_nss3_udp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: UDP'], + ['bandw_options: 80'], ['spatial_streams: 3']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_80__bi_nss3_udp_NAT", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.upstream + @pytest.mark.nss3 + @pytest.mark.tcp + def test_client_wpa2_personal_5g_up_nss3_tcp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: TCP'], + ['bandw_options: 80'], ['spatial_streams: 3']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_80__up_nss3_tcp_NAT", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.downstream + @pytest.mark.nss3 + @pytest.mark.tcp + def test_client_wpa2_personal_5g_down_nss3_tcp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: TCP'], + ['bandw_options: 80'], ['spatial_streams: 3']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_80_down_nss3_tcp_NAT", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.bidirectional + @pytest.mark.nss3 + @pytest.mark.tcp + def test_client_wpa2_personal_5g_bi_nss3_tcp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: TCP'], + ['bandw_options: 80'], ['spatial_streams: 3']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_80_bi_nss3_tcp_NAT", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + +setup_params_general = { + "mode": "NAT", + "ssid_modes": { + "wpa2_personal": [ + {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something"}, + {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], + "security_key": "something"}]}, + "rf": { + "is5GHz": {"channelBandwidth": "is160MHz"}, + "is5GHzL": {"channelBandwidth": "is160MHz"}, + "is5GHzU": {"channelBandwidth": "is160MHz"} + }, + "radius": False +} + + +@allure.feature("NAT MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: TCP/UDP Upstream/Downstream/Bidirectional Traffic Tests : " + "WPA2 Personal Security") +@allure.suite("NAT Mode") +@allure.sub_suite("160Mhz Channel Bandwidth") +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +@pytest.mark.Mhz160 +class TestThroughputUnderCombinationsNAT160MHz(object): + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.upstream + @pytest.mark.nss3 + @pytest.mark.udp + def test_client_wpa2_personal_5g_up_nss3_udp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Dataplane THroughput NAT Mode + pytest -m "throughput_benchmark_test and NAT and Mhz80 and wpa2_personal and fiveg and upstream and nss2 and udp " + jira-wifi-2578 + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: UDP'], + ['bandw_options: 160'], ['spatial_streams: 3']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_160_up_nss3_udp_NAT", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.downstream + @pytest.mark.nss3 + @pytest.mark.udp + def test_client_wpa2_personal_5g_down_nss3_udp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Dataplane THroughput NAT Mode + pytest -m "throughput_benchmark_test and NAT and Mhz80 and wpa2_personal and fiveg and downstream and nss2 and udp " + jira-wifi-2567 + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: UDP'], + ['bandw_options: 160'], ['spatial_streams: 3']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_160_down_nss3_udp_NAT", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.bidirectional + @pytest.mark.nss3 + @pytest.mark.udp + def test_client_wpa2_personal_5g_bi_nss3_udp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: UDP'], + ['bandw_options: 160'], ['spatial_streams: 3']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_160_bi_nss3_udp_NAT", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.upstream + @pytest.mark.nss3 + @pytest.mark.tcp + def test_client_wpa2_personal_5g_up_nss3_tcp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: TCP'], + ['bandw_options: 160'], ['spatial_streams: 3']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_160_up_nss3_tcp_NAT", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.upstream + @pytest.mark.nss4 + @pytest.mark.udp + def test_client_wpa2_personal_5g_up_nss4_udp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: UDP'], + ['bandw_options: 160'], ['spatial_streams: 4']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_160_up_nss4_udp_NAT", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.downstream + @pytest.mark.nss4 + @pytest.mark.udp + def test_client_wpa2_personal_5g_down_nss4_udp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Dataplane THroughput NAT Mode + pytest -m "throughput_benchmark_test and NAT and Mhz80 and wpa2_personal and fiveg and downstream and nss2 and udp " + jira-wifi-2567 + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: UDP'], + ['bandw_options: 160'], ['spatial_streams: 4']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_160_down_nss4_udp_NAT", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.bidirectional + @pytest.mark.nss4 + @pytest.mark.udp + def test_client_wpa2_personal_5g_bi_nss4_udp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: UDP'], + ['bandw_options: 160'], ['spatial_streams: 4']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_160_bi_nss4_udp_NAT", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.upstream + @pytest.mark.nss4 + @pytest.mark.tcp + def test_client_wpa2_personal_5g_up_nss4_tcp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: TCP'], + ['bandw_options: 160'], ['spatial_streams: 4']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_160_up_nss4_tcp_NAT", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.downstream + @pytest.mark.nss4 + @pytest.mark.tcp + def test_client_wpa2_personal_5g_down_nss4_tcp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: TCP'], + ['bandw_options: 160'], ['spatial_streams: 4']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_160_down_nss4_tcp_NAT", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.bidirectional + @pytest.mark.nss4 + @pytest.mark.tcp + def test_client_wpa2_personal_5g_bi_nss4_tcp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: TCP'], + ['bandw_options: 160'], ['spatial_streams: 4']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_160_bi_nss4_tcp_NAT", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/tcp_udp_upstream_downstream_bidirection_throughput_test/wpa2_personal/test_vlan_mode.py b/tests/e2e/basic/performance_tests/throughput_benchmark/tcp_udp_upstream_downstream_bidirection_throughput_test/wpa2_personal/test_vlan_mode.py new file mode 100644 index 00000000000..94fa350a1fb --- /dev/null +++ b/tests/e2e/basic/performance_tests/throughput_benchmark/tcp_udp_upstream_downstream_bidirection_throughput_test/wpa2_personal/test_vlan_mode.py @@ -0,0 +1,1658 @@ +""" + + Performance Test: throughput test under various combinations: VLAN Mode + pytest -m "throughput_benchmark_test and VLAN" -s -vvv --skip-testrail --testbed=basic-01 + + +""" +import os +import time + +import pytest +import allure + +pytestmark = [pytest.mark.throughput_benchmark_test, pytest.mark.vlan] + +setup_params_general = { + "mode": "VLAN", + "ssid_modes": { + "wpa2_personal": [ + {"ssid_name": "ssid_wpa2_2g", + "appliedRadios": ["2G"], + "security_key": "something", + "vlan": 100}, + {"ssid_name": "ssid_wpa2_5g", + "appliedRadios": ["5G"], + "security_key": "something", + "vlan": 100}]}, + "rf": { + "is5GHz": {"channelBandwidth": "is20MHz"}, + "is5GHzL": {"channelBandwidth": "is20MHz"}, + "is5GHzU": {"channelBandwidth": "is20MHz"} + }, + "radius": False +} + + +@allure.feature("VLAN MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: TCP/UDP Upstream/Downstream/Bidirectional Traffic Tests : " + "WPA2 Personal Security") +@allure.suite("VLAN Mode") +@allure.sub_suite("20Mhz Channel Bandwidth") +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +@pytest.mark.Mhz20 +class TestThroughputUnderCombinationsVLAN20MHz(object): + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @pytest.mark.upstream + @pytest.mark.nss2 + @pytest.mark.udp + def test_client_wpa2_personal_2g_up_nss2_udp(self, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Dataplane THroughput VLAN Mode + pytest -m "throughput_benchmark_test and VLAN and wpa2_personal and twog and upstream " + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "VLAN" + band = "twog" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: UDP'], + ['bandw_options: 20'], ['spatial_streams: 2']] + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP1_PERF_DPT_WPA2_2G_VLAN", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.upstream + @pytest.mark.nss2 + @pytest.mark.udp + def test_client_wpa2_personal_5g_up_nss2_udp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: UDP'], + ['bandw_options: 20'], ['spatial_streams: 2']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_VLAN", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @pytest.mark.downstream + @pytest.mark.nss2 + @pytest.mark.udp + def test_client_wpa2_personal_2g_down_nss2_udp(self, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Dataplane THroughput VLAN Mode + pytest -m "throughput_benchmark_test and VLAN and wpa2_personal and twog and downstream " + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "VLAN" + band = "twog" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: UDP'], + ['bandw_options: 20'], ['spatial_streams: 2']] + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_2G_down_VLAN", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.downstream + @pytest.mark.nss2 + @pytest.mark.udp + def test_client_wpa2_personal_5g_down_nss2_udp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: UDP'], + ['bandw_options: 20'], ['spatial_streams: 2']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G__down_VLAN", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @pytest.mark.bidirectional + @pytest.mark.nss2 + @pytest.mark.udp + def test_client_wpa2_personal_2g_bi_nss2_udp(self, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Dataplane THroughput VLAN Mode + pytest -m "throughput_benchmark_test and VLAN and wpa2_personal and twog and bidirectional " + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "VLAN" + band = "twog" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: UDP'], + ['bandw_options: 20'], ['spatial_streams: 2']] + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_2G_bidirectional_VLAN", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.bidirectional + @pytest.mark.nss2 + @pytest.mark.udp + def test_client_wpa2_personal_5g_bi_nss2_udp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: UDP'], + ['bandw_options: 20'], ['spatial_streams: 2']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_bi_nss2_udp_VLAN", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @pytest.mark.upstream + @pytest.mark.nss2 + @pytest.mark.tcp + def test_client_wpa2_personal_2g_up_nss2_tcp(self, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Dataplane THroughput VLAN Mode + pytest -m "throughput_benchmark_test and VLAN and wpa2_personal and twog and upstream and tcp " + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "VLAN" + band = "twog" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: TCP'], + ['bandw_options: 20'], ['spatial_streams: 2']] + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_2G__up_nss2_tcp_VLAN", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.upstream + @pytest.mark.nss2 + @pytest.mark.tcp + def test_client_wpa2_personal_5g_up_nss2_tcp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: TCP'], + ['bandw_options: 20'], ['spatial_streams: 2']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G__up_nss2_tcp_VLAN", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @pytest.mark.downstream + @pytest.mark.nss2 + @pytest.mark.tcp + def test_client_wpa2_personal_2g_down_nss2_tcp(self, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Dataplane THroughput VLAN Mode + pytest -m "throughput_benchmark_test and VLAN and wpa2_personal and twog and downstream and tcp" + jira-WIFI-2564 + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "VLAN" + band = "twog" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: TCP'], + ['bandw_options: 20'], ['spatial_streams: 2']] + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_2G__down_nss2_tcp_VLAN", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.downstream + @pytest.mark.nss2 + @pytest.mark.tcp + def test_client_wpa2_personal_5g_down_nss2_tcp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: TCP'], + ['bandw_options: 20'], ['spatial_streams: 2']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G__down_nss2_tcp_VLAN", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @pytest.mark.bidirectional + @pytest.mark.nss2 + @pytest.mark.tcp + def test_client_wpa2_personal_2g_bi_nss2_tcp(self, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Dataplane THroughput VLAN Mode + pytest -m "throughput_benchmark_test and VLAN and wpa2_personal and twog and bidirectional " + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "VLAN" + band = "twog" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: TCP'], + ['bandw_options: 20'], ['spatial_streams: 2']] + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_2G__bi_nss2_tcp_VLAN", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.bidirectional + @pytest.mark.nss2 + @pytest.mark.tcp + def test_client_wpa2_personal_5g_bi_nss2_tcp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: TCP'], + ['bandw_options: 20'], ['spatial_streams: 2']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G__bi_nss2_tcp_VLAN", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + +setup_params_general = { + "mode": "VLAN", + "ssid_modes": { + "wpa2_personal": [ + {"ssid_name": "ssid_wpa2_2g", + "appliedRadios": ["2G"], + "security_key": "something", + "vlan": 100}, + {"ssid_name": "ssid_wpa2_5g", + "appliedRadios": ["5G"], + "security_key": "something", + "vlan": 100}]}, + "rf": { + "is5GHz": {"channelBandwidth": "is80MHz"}, + "is5GHzL": {"channelBandwidth": "is80MHz"}, + "is5GHzU": {"channelBandwidth": "is80MHz"} + }, + "radius": False +} + + +@allure.feature("VLAN MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: TCP/UDP Upstream/Downstream/Bidirectional Traffic Tests : " + "WPA2 Personal Security") +@allure.suite("VLAN Mode") +@allure.sub_suite("80Mhz Channel Bandwidth") +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +@pytest.mark.Mhz80 +class TestThroughputUnderCombinationsVLAN80MHz(object): + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.upstream + @pytest.mark.nss2 + @pytest.mark.udp + def test_client_wpa2_personal_5g_up_nss2_udp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Dataplane THroughput VLAN Mode + pytest -m "throughput_benchmark_test and VLAN and Mhz80 and wpa2_personal and fiveg and upstream and nss2 and udp " + jira-wifi-2566 + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: UDP'], + ['bandw_options: 80'], ['spatial_streams: 2']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_80__up_nss2_udp_VLAN", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.downstream + @pytest.mark.nss2 + @pytest.mark.udp + def test_client_wpa2_personal_5g_down_nss2_udp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Dataplane THroughput VLAN Mode + pytest -m "throughput_benchmark_test and VLAN and Mhz80 and wpa2_personal and fiveg and downstream and nss2 and udp " + jira-wifi-2567 + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: UDP'], + ['bandw_options: 80'], ['spatial_streams: 2']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_80__down_nss2_udp_VLAN", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.bidirectional + @pytest.mark.nss2 + @pytest.mark.udp + def test_client_wpa2_personal_5g_bi_nss2_udp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: UDP'], + ['bandw_options: 80'], ['spatial_streams: 2']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_80__bi_nss2_udp_VLAN", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.upstream + @pytest.mark.nss2 + @pytest.mark.tcp + def test_client_wpa2_personal_5g_up_nss2_tcp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: TCP'], + ['bandw_options: 80'], ['spatial_streams: 2']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_80_up_nss2_tcp_VLAN", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.downstream + @pytest.mark.nss2 + @pytest.mark.tcp + def test_client_wpa2_personal_5g_down_nss2_tcp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: TCP'], + ['bandw_options: 80'], ['spatial_streams: 2']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_80_down_nss2_tcp_VLAN", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.bidirectional + @pytest.mark.nss2 + @pytest.mark.tcp + def test_client_wpa2_personal_2g_bi_nss2_tcp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Dataplane THroughput VLAN Mode + pytest -m "throughput_benchmark_test and VLAN and wpa2_personal and twog and bidirectional " + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: TCP'], + ['bandw_options: 80'], ['spatial_streams: 2']] + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_2G_80_bi_nss2_tcp_VLAN", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.upstream + @pytest.mark.nss3 + @pytest.mark.udp + def test_client_wpa2_personal_5g_up_nss3_udp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Dataplane THroughput VLAN Mode + pytest -m "throughput_benchmark_test and VLAN and Mhz80 and wpa2_personal and fiveg and upstream and nss2 and udp and nss3" + jira-wifi-2572 + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: UDP'], + ['bandw_options: 80'], ['spatial_streams: 3']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_80__up_nss3_udp_VLAN", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.downstream + @pytest.mark.nss3 + @pytest.mark.udp + def test_client_wpa2_personal_5g_down_nss3_udp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Dataplane THroughput VLAN Mode + pytest -m "throughput_benchmark_test and VLAN and Mhz80 and wpa2_personal and fiveg and downstream and nss2 and udp and nss3 " + jira-wifi-2573 + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: UDP'], + ['bandw_options: 80'], ['spatial_streams: 3']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_80__down_nss3_udp_VLAN", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.bidirectional + @pytest.mark.nss3 + @pytest.mark.udp + def test_client_wpa2_personal_5g_bi_nss3_udp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: UDP'], + ['bandw_options: 80'], ['spatial_streams: 3']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_80__bi_nss3_udp_VLAN", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.upstream + @pytest.mark.nss3 + @pytest.mark.tcp + def test_client_wpa2_personal_5g_up_nss3_tcp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: TCP'], + ['bandw_options: 80'], ['spatial_streams: 3']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_80__up_nss3_tcp_VLAN", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.downstream + @pytest.mark.nss3 + @pytest.mark.tcp + def test_client_wpa2_personal_5g_down_nss3_tcp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: TCP'], + ['bandw_options: 80'], ['spatial_streams: 3']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_80_down_nss3_tcp_VLAN", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.bidirectional + @pytest.mark.nss3 + @pytest.mark.tcp + def test_client_wpa2_personal_5g_bi_nss3_tcp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: TCP'], + ['bandw_options: 80'], ['spatial_streams: 3']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_80_bi_nss3_tcp_VLAN", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + +setup_params_general = { + "mode": "VLAN", + "ssid_modes": { + "wpa2_personal": [ + {"ssid_name": "ssid_wpa2_5g", + "appliedRadios": ["5G"], + "security_key": "something", + "vlan": 100}]}, + "rf": { + "is5GHz": {"channelBandwidth": "is160MHz"}, + "is5GHzL": {"channelBandwidth": "is160MHz"}, + "is5GHzU": {"channelBandwidth": "is160MHz"} + }, + "radius": False +} + + +@allure.feature("VLAN MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: TCP/UDP Upstream/Downstream/Bidirectional Traffic Tests : " + "WPA2 Personal Security") +@allure.suite("VLAN Mode") +@allure.sub_suite("160Mhz Channel Bandwidth") +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +@pytest.mark.Mhz160 +class TestThroughputUnderCombinationsVLAN160MHz(object): + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.upstream + @pytest.mark.nss3 + @pytest.mark.udp + def test_client_wpa2_personal_5g_up_nss3_udp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Dataplane THroughput VLAN Mode + pytest -m "throughput_benchmark_test and VLAN and Mhz80 and wpa2_personal and fiveg and upstream and nss2 and udp " + jira-wifi-2578 + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: UDP'], + ['bandw_options: 160'], ['spatial_streams: 3']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_160_up_nss3_udp_VLAN", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.downstream + @pytest.mark.nss3 + @pytest.mark.udp + def test_client_wpa2_personal_5g_down_nss3_udp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Dataplane THroughput VLAN Mode + pytest -m "throughput_benchmark_test and VLAN and Mhz80 and wpa2_personal and fiveg and downstream and nss2 and udp " + jira-wifi-2567 + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: UDP'], + ['bandw_options: 160'], ['spatial_streams: 3']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_160_down_nss3_udp_VLAN", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.bidirectional + @pytest.mark.nss3 + @pytest.mark.udp + def test_client_wpa2_personal_5g_bi_nss3_udp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: UDP'], + ['bandw_options: 160'], ['spatial_streams: 3']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_160_bi_nss3_udp_VLAN", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.upstream + @pytest.mark.nss3 + @pytest.mark.tcp + def test_client_wpa2_personal_5g_up_nss3_tcp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: TCP'], + ['bandw_options: 160'], ['spatial_streams: 3']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_160_up_nss3_tcp_VLAN", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.upstream + @pytest.mark.nss4 + @pytest.mark.udp + def test_client_wpa2_personal_5g_up_nss4_udp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: UDP'], + ['bandw_options: 160'], ['spatial_streams: 4']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_160_up_nss4_udp_VLAN", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.downstream + @pytest.mark.nss4 + @pytest.mark.udp + def test_client_wpa2_personal_5g_down_nss4_udp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Dataplane THroughput VLAN Mode + pytest -m "throughput_benchmark_test and VLAN and Mhz80 and wpa2_personal and fiveg and downstream and nss2 and udp " + jira-wifi-2567 + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: UDP'], + ['bandw_options: 160'], ['spatial_streams: 4']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_160_down_nss4_udp_VLAN", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.bidirectional + @pytest.mark.nss4 + @pytest.mark.udp + def test_client_wpa2_personal_5g_bi_nss4_udp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: UDP'], + ['bandw_options: 160'], ['spatial_streams: 4']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_160_bi_nss4_udp_VLAN", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.upstream + @pytest.mark.nss4 + @pytest.mark.tcp + def test_client_wpa2_personal_5g_up_nss4_tcp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Receive'], ['traffic_types: TCP'], + ['bandw_options: 160'], ['spatial_streams: 4']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_160_up_nss4_tcp_VLAN", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.downstream + @pytest.mark.nss4 + @pytest.mark.tcp + def test_client_wpa2_personal_5g_down_nss4_tcp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit'], ['traffic_types: TCP'], + ['bandw_options: 160'], ['spatial_streams: 4']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_160_down_nss4_tcp_VLAN", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.bidirectional + @pytest.mark.nss4 + @pytest.mark.tcp + def test_client_wpa2_personal_5g_bi_nss4_tcp(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + print("station", station) + + val = [['pkts: 60'], ['cust_pkt_sz: 88 '], ['directions: DUT Transmit;DUT Receive'], ['traffic_types: TCP'], + ['bandw_options: 160'], ['spatial_streams: 4']] + + if station: + time.sleep(3) + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP3_DPT_WPA2_5G_160_bi_nss4_tcp_VLAN", + vlan_id=vlan, dut_name=dut_name, raw_lines=val) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_across_channel_bw/__init__.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_across_channel_bw/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_across_channel_bw/test_bridge_mode.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_across_channel_bw/test_bridge_mode.py new file mode 100644 index 00000000000..b0180e083de --- /dev/null +++ b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_across_channel_bw/test_bridge_mode.py @@ -0,0 +1,420 @@ +""" + + Performance Test: Throughput Across Bandwidth Test: Bridge Mode + pytest -m "throughput_across_bw_test and Bridge" + +""" +import os +import pytest +import allure + +pytestmark = [pytest.mark.throughput_across_bw_test, pytest.mark.bridge] +raw_lines = [['pkts: %s' % 1], + ['directions: DUT Transmit;DUT Receive'], + ['bandw_options: %s' % 1], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + +setup_params_general_20Mhz = { + "mode": "BRIDGE", + "ssid_modes": { + "wpa2_personal": [ + {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something"}, + {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], + "security_key": "something"}]}, + "rf": { + "5G": { + "channel-width": 20, + }, + "2G": { + "channel-width": 20, + } + }, + "radius": False +} + + +@allure.feature("BRIDGE MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput across channel-width Tests : WPA2 Personal Security") +@allure.suite("Bridge Mode") +@allure.sub_suite("20Mhz Channel Bandwidth") +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general_20Mhz], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class TestThroughputAcrossBw20MhzBRIDGE(object): + """Throughput Across Bw Bridge Mode + pytest -m "throughput_across_bw_test and Bridge" + """ + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2556", name="WIFI-2556") + @pytest.mark.bw20Mhz + @pytest.mark.wpa2_personal + @pytest.mark.twog + def test_client_wpa2_personal_2g(self, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Across Bw Bridge Mode + pytest -m "throughput_across_bw_test and Bridge and wpa2_personal and twog" + """ + profile_data = setup_params_general_20Mhz["ssid_modes"]["wpa2_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "open" + mode = "BRIDGE" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_2G", + vlan_id=vlan, dut_name=dut_name, bw="20") + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2556", name="WIFI-2556") + @pytest.mark.bw20Mhz + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + def test_client_wpa2_personal_5g(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, get_configuration): + """Throughput Across Bw Bridge Mode + pytest -m "throughput_across_bw_test and Bridge and wpa2_personal and fiveg" + """ + profile_data = setup_params_general_20Mhz["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_5G", + vlan_id=vlan, dut_name=dut_name, bw="20") + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + +setup_params_general_40Mhz = { + "mode": "BRIDGE", + "ssid_modes": { + "wpa2_personal": [ + {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something"}, + {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], + "security_key": "something"}]}, + "rf": { + "5G": { + "channel-width": 40, + }, + "2G": { + "channel-width": 40, + } + }, + "radius": False +} + + +@allure.feature("BRIDGE MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput across channel-width Tests : WPA2 Personal Security") +@allure.suite("Bridge Mode") +@allure.sub_suite("40Mhz Channel Bandwidth") +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general_40Mhz], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class TestThroughputAcrossBw40MhzBRIDGE(object): + """Throughput Across Bw Bridge Mode + pytest -m "throughput_across_bw_test and Bridge" + """ + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2557", name="WIFI-2557") + @pytest.mark.bw40Mhz + @pytest.mark.wpa2_personal + @pytest.mark.twog + def test_client_wpa2_personal_2g(self, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Across Bw Bridge Mode + pytest -m "throughput_across_bw_test and Bridge and wpa2_personal and twog" + """ + profile_data = setup_params_general_40Mhz["ssid_modes"]["wpa2_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "open" + mode = "BRIDGE" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_2G", + vlan_id=vlan, dut_name=dut_name, bw="40") + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2557", name="WIFI-2557") + @pytest.mark.bw40Mhz + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + def test_client_wpa2_personal_5g(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, get_configuration): + """Throughput Across Bw Bridge Mode + pytest -m "throughput_across_bw_test and Bridge and wpa2_personal and fiveg" + """ + profile_data = setup_params_general_40Mhz["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_5G", + vlan_id=vlan, dut_name=dut_name, bw="40") + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + +setup_params_general_80Mhz = { + "mode": "BRIDGE", + "ssid_modes": { + "wpa2_personal": [ + {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something"}]}, + "rf": { + "5G": { + "channel-width": 80, + } + }, + "radius": False +} + + +@allure.feature("BRIDGE MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput across channel-width Tests : WPA2 Personal Security") +@allure.suite("Bridge Mode") +@allure.sub_suite("80Mhz Channel Bandwidth") +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general_80Mhz], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class TestThroughputAcrossBw80MhzBRIDGE(object): + """Throughput Across Bw Bridge Mode + pytest -m "throughput_across_bw_test and Bridge" + """ + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2558", name="WIFI-2558") + @pytest.mark.bw80Mhz + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + def test_client_wpa2_personal_5g(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, get_configuration): + """Throughput Across Bw Bridge Mode + pytest -m "throughput_across_bw_test and Bridge and wpa2_personal and fiveg" + """ + profile_data = setup_params_general_80Mhz["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_5G", + vlan_id=vlan, dut_name=dut_name, bw="80") + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-9742", name="WIFI-9742") + @pytest.mark.bw80Mhz + @pytest.mark.wpa2_personal + @pytest.mark.mmm + @pytest.mark.tcp_download + def test_client_wpa2_BRIDGE_tcp_dl_80Mhz(self, lf_tools, get_apnos_max_clients, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """ Wifi Capacity Test BRIDGE mode + pytest -m "wifi_capacity_test and BRIDGE and wpa2_personal and twog" + """ + lf_tools.reset_scenario() + profile_data = setup_params_general_80Mhz["ssid_modes"]["wpa2_personal"][0] + ssid_name = profile_data["ssid_name"] + mode = "BRIDGE" + vlan = 1 + max = int(get_apnos_max_clients[0]) + sets = [["DUT_NAME", lf_tools.dut_name]] + print("sets", sets) + # lf_tools.add_stations(band="2G", num_stations=1, dut=lf_tools.dut_name, ssid_name=ssid_name) + # lf_tools.add_stations(band="5G", num_stations=1, dut=lf_tools.dut_name, ssid_name=ssid_name) + lf_tools.add_stations(band="ax", num_stations=1, dut=lf_tools.dut_name, ssid_name=ssid_name) + lf_tools.Chamber_View() + influx_tags = "wifi-capacity-tcp-download-bridge-wpa2-80Mhz-AX" + wct_obj = lf_test.wifi_capacity(instance_name="test_client_wpa2_BRIDGE_tcp_dl", mode=mode, vlan_id=vlan, + download_rate="1.5Gbps", batch_size="1", + influx_tags=influx_tags, sets=sets, + upload_rate="0", protocol="TCP-IPv4", duration="60000", move_to_influx=True) + + report_name = wct_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + + lf_tools.attach_report_graphs(report_name=report_name) + lf_tools.attach_report_kpi(report_name=report_name) + + assert True + +setup_params_general_160Mhz = { + "mode": "BRIDGE", + "ssid_modes": { + "wpa2_personal": [ + {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something"}]}, + "rf": { + "5G": { + "channel-width": 160, + } + }, + "radius": False +} + + +@allure.feature("BRIDGE MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput across channel-width Tests : WPA2 Personal Security") +@allure.suite("Bridge Mode") +@allure.sub_suite("160Mhz Channel Bandwidth") +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general_160Mhz], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class TestThroughputAcrossBw160MhzBRIDGE(object): + """Throughput Across Bw Bridge Mode + pytest -m "throughput_across_bw_test and Bridge" + """ + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2559", name="WIFI-2559") + @pytest.mark.bw160Mhz + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + def test_client_wpa2_personal_5g(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, get_configuration): + """Throughput Across Bw Bridge Mode + pytest -m "throughput_across_bw_test and Bridge and wpa2_personal and fiveg" + """ + profile_data = setup_params_general_160Mhz["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_5G", + vlan_id=vlan, dut_name=dut_name, bw="160") + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_across_channel_bw/test_nat_mode.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_across_channel_bw/test_nat_mode.py new file mode 100644 index 00000000000..47e8a323b21 --- /dev/null +++ b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_across_channel_bw/test_nat_mode.py @@ -0,0 +1,423 @@ +""" + + Performance Test: Throughput Across Bandwidth Test: NAT Mode + pytest -m "throughput_across_bw_test and NAT" + +""" +import os +import pytest +import allure + +pytestmark = [pytest.mark.throughput_across_bw_test, pytest.mark.nat] +raw_lines = [['pkts: %s' % 1], + ['directions: DUT Transmit;DUT Receive'], + ['bandw_options: %s' % 1], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + +setup_params_general_20Mhz = { + "mode": "NAT", + "ssid_modes": { + "wpa2_personal": [ + {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something"}, + {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], + "security_key": "something"}]}, + "rf": { + "5G": { + "channel-width": 20, + }, + "2G": { + "channel-width": 20, + } + }, + "radius": False +} + + +@allure.feature("NAT MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput across channel-width Tests : WPA2 Personal Security") +@allure.suite("NAT Mode") +@allure.sub_suite("20Mhz Channel Bandwidth") +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general_20Mhz], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class TestThroughputAcrossBw20MhzNAT(object): + """Throughput Across Bw NAT Mode + pytest -m "throughput_across_bw_test and NAT" + """ + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2556", name="WIFI-2556") + @pytest.mark.bw20Mhz + @pytest.mark.wpa2_personal + @pytest.mark.twog + def test_client_wpa2_personal_2g(self, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Across Bw NAT Mode + pytest -m "throughput_across_bw_test and NAT and wpa2_personal and twog" + """ + profile_data = setup_params_general_20Mhz["ssid_modes"]["wpa2_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "open" + mode = "NAT" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_2G", + vlan_id=vlan, dut_name=dut_name, bw="20") + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2556", name="WIFI-2556") + @pytest.mark.bw20Mhz + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + def test_client_wpa2_personal_5g(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, get_configuration): + """Throughput Across Bw NAT Mode + pytest -m "throughput_across_bw_test and NAT and wpa2_personal and fiveg" + """ + profile_data = setup_params_general_20Mhz["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_5G", + vlan_id=vlan, dut_name=dut_name, bw="20") + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + +setup_params_general_40Mhz = { + "mode": "NAT", + "ssid_modes": { + "wpa2_personal": [ + {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something"}, + {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], + "security_key": "something"}]}, + "rf": { + "5G": { + "channel-width": 40, + }, + "2G": { + "channel-width": 40, + } + }, + "radius": False +} + + +@allure.feature("NAT MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput across channel-width Tests : WPA2 Personal Security") +@allure.suite("NAT Mode") +@allure.sub_suite("40Mhz Channel Bandwidth") +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general_40Mhz], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class TestThroughputAcrossBw40MhzNAT(object): + """Throughput Across Bw NAT Mode + pytest -m "throughput_across_bw_test and NAT" + """ + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2557", name="WIFI-2557") + @pytest.mark.bw40Mhz + @pytest.mark.wpa2_personal + @pytest.mark.twog + def test_client_wpa2_personal_2g(self, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Across Bw NAT Mode + pytest -m "throughput_across_bw_test and NAT and wpa2_personal and twog" + """ + profile_data = setup_params_general_40Mhz["ssid_modes"]["wpa2_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "open" + mode = "NAT" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_2G", + vlan_id=vlan, dut_name=dut_name, bw="40") + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2557", name="WIFI-2557") + @pytest.mark.bw40Mhz + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + def test_client_wpa2_personal_5g(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, get_configuration): + """Throughput Across Bw NAT Mode + pytest -m "throughput_across_bw_test and NAT and wpa2_personal and fiveg" + """ + profile_data = setup_params_general_40Mhz["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_5G", + vlan_id=vlan, dut_name=dut_name, bw="40") + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + +setup_params_general_80Mhz = { + "mode": "NAT", + "ssid_modes": { + "wpa2_personal": [ + {"ssid_name": "ssid_wpa2_5g_nat", "appliedRadios": ["5G"], "security_key": "something"}]}, + "rf": { + "5G": { + "channel-width": 80, + } + }, + "radius": False +} + + +@allure.feature("NAT MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput across channel-width Tests : WPA2 Personal Security") +@allure.suite("NAT Mode") +@allure.sub_suite("80Mhz Channel Bandwidth") +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general_80Mhz], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class TestThroughputAcrossBw80MhzNAT(object): + """Throughput Across Bw NAT Mode + pytest -m "throughput_across_bw_test and NAT" + """ + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2558", name="WIFI-2558") + @pytest.mark.bw80Mhz + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + def test_client_wpa2_personal_5g(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, get_configuration): + """Throughput Across Bw NAT Mode + pytest -m "throughput_across_bw_test and NAT and wpa2_personal and fiveg" + """ + profile_data = setup_params_general_80Mhz["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_5G", + vlan_id=vlan, dut_name=dut_name, bw="80") + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-9743", name="WIFI-9743") + @pytest.mark.bw80Mhz + @pytest.mark.wpa2_personal + @pytest.mark.mmm + @pytest.mark.tcp_download + def test_client_wpa2_NAT_tcp_dl_80Mhz(self, lf_tools, get_apnos_max_clients, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "wifi_capacity_test and NAT and wpa2_personal and twog" + """ + lf_tools.reset_scenario() + profile_data = setup_params_general_80Mhz["ssid_modes"]["wpa2_personal"][0] + ssid_name = profile_data["ssid_name"] + mode = "NAT" + vlan = 1 + max = int(get_apnos_max_clients[0]) + sets = [["DUT_NAME", lf_tools.dut_name]] + print("sets", sets) + #lf_tools.add_stations(band="2G", num_stations=max, dut=lf_tools.dut_name, ssid_name=ssid_name) + #lf_tools.add_stations(band="5G", num_stations=max, dut=lf_tools.dut_name, ssid_name=ssid_name) + lf_tools.add_stations(band="ax", num_stations=1, dut=lf_tools.dut_name, ssid_name=ssid_name) + lf_tools.Chamber_View() + influx_tags = "wifi-capacity-tcp-download-nat-wpa2-80Mhz-AX" + wct_obj = lf_test.wifi_capacity(instance_name="test_client_wpa2_NAT_tcp_dl", mode=mode, vlan_id=vlan, + download_rate="1.5Gbps", batch_size="1", + influx_tags=influx_tags, sets=sets, + upload_rate="0", protocol="TCP-IPv4", duration="60000", move_to_influx=True) + + report_name = wct_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + + lf_tools.attach_report_graphs(report_name=report_name) + lf_tools.attach_report_kpi(report_name=report_name) + + assert True + + +setup_params_general_160Mhz = { + "mode": "NAT", + "ssid_modes": { + "wpa2_personal": [ + {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something"}]}, + "rf": { + "5G": { + "channel-width": 160, + } + }, + "radius": False +} + + +@allure.feature("NAT MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput across channel-width Tests : WPA2 Personal Security") +@allure.suite("NAT Mode") +@allure.sub_suite("160Mhz Channel Bandwidth") +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general_160Mhz], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class TestThroughputAcrossBw160MhzNAT(object): + """Throughput Across Bw NAT Mode + pytest -m "throughput_across_bw_test and NAT" + """ + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2559", name="WIFI-2559") + @pytest.mark.bw160Mhz + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + def test_client_wpa2_personal_5g(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, get_configuration): + """Throughput Across Bw NAT Mode + pytest -m "throughput_across_bw_test and NAT and wpa2_personal and fiveg" + """ + profile_data = setup_params_general_160Mhz["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_5G", + vlan_id=vlan, dut_name=dut_name, bw="160") + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_across_channel_bw/test_vlan_mode.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_across_channel_bw/test_vlan_mode.py new file mode 100644 index 00000000000..448b872cd47 --- /dev/null +++ b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_across_channel_bw/test_vlan_mode.py @@ -0,0 +1,462 @@ +""" + + Performance Test: Throughput Across Bandwidth Test: VLAN Mode + pytest -m "throughput_across_bw_test and VLAN" + +""" +import os +import pytest +import allure + +pytestmark = [pytest.mark.throughput_across_bw_test, pytest.mark.vlan] +raw_lines = [['pkts: %s' % 1], + ['directions: DUT Transmit;DUT Receive'], + ['bandw_options: %s' % 1], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + +setup_params_general_20Mhz = { + "mode": "VLAN", + "ssid_modes": { + "wpa2_personal": [ + {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something"}, + {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], + "security_key": "something"}]}, + "rf": { + "is5GHz": {"channelBandwidth": "is20MHz"}, + "is5GHzL": {"channelBandwidth": "is20MHz"}, + "is5GHzU": {"channelBandwidth": "is20MHz"}}, + "radius": False +} + + +@allure.feature("VLAN MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput across channel-width Tests : WPA2 Personal Security") +@allure.suite("VLAN Mode") +@allure.sub_suite("20Mhz Channel Bandwidth") +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general_20Mhz], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class TestThroughputAcrossBw20MhzVLAN(object): + """Throughput Across Bw VLAN Mode + pytest -m "throughput_across_bw_test and VLAN" + """ + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2556", name="WIFI-2556") + @pytest.mark.bw20Mhz + @pytest.mark.wpa2_personal + @pytest.mark.twog + def test_client_wpa2_personal_2g(self, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Across Bw VLAN Mode + pytest -m "throughput_across_bw_test and VLAN and wpa2_personal and twog" + """ + profile_data = setup_params_general_20Mhz["ssid_modes"]["wpa2_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "open" + mode = "VLAN" + band = "twog" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_2G", + vlan_id=vlan, dut_name=dut_name, bw="20") + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2556", name="WIFI-2556") + @pytest.mark.bw20Mhz + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + def test_client_wpa2_personal_5g(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, get_configuration): + """Throughput Across Bw VLAN Mode + pytest -m "throughput_across_bw_test and VLAN and wpa2_personal and fiveg" + """ + profile_data = setup_params_general_40Mhz["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_5G", + vlan_id=vlan, dut_name=dut_name, bw="20") + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + +setup_params_general_40Mhz = { + "mode": "VLAN", + "ssid_modes": { + "wpa2_personal": [ + {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something"}, + {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], + "security_key": "something"}]}, + "rf": { + "is5GHz": {"channelBandwidth": "is40MHz"}, + "is5GHzL": {"channelBandwidth": "is40MHz"}, + "is5GHzU": {"channelBandwidth": "is40MHz"}}, + "radius": False +} + + +@allure.feature("VLAN MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput across channel-width Tests : WPA2 Personal Security") +@allure.suite("VLAN Mode") +@allure.sub_suite("40Mhz Channel Bandwidth") +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general_40Mhz], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class TestThroughputAcrossBw40MhzVLAN(object): + """Throughput Across Bw VLAN Mode + pytest -m "throughput_across_bw_test and VLAN" + """ + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2557", name="WIFI-2557") + @pytest.mark.bw40Mhz + @pytest.mark.wpa2_personal + @pytest.mark.twog + def test_client_wpa2_personal_2g(self, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Across Bw VLAN Mode + pytest -m "throughput_across_bw_test and VLAN and wpa2_personal and twog" + """ + profile_data = setup_params_general_80Mhz["ssid_modes"]["wpa2_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "open" + mode = "VLAN" + band = "twog" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_2G", + vlan_id=vlan, dut_name=dut_name, bw="40") + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2557", name="WIFI-2557") + @pytest.mark.bw40Mhz + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + def test_client_wpa2_personal_5g(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, get_configuration): + """Throughput Across Bw VLAN Mode + pytest -m "throughput_across_bw_test and VLAN and wpa2_personal and fiveg" + """ + profile_data = setup_params_general_80Mhz["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_5G", + vlan_id=vlan, dut_name=dut_name, bw="40") + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + +setup_params_general_80Mhz = { + "mode": "VLAN", + "ssid_modes": { + "wpa2_personal": [ + {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something"}, + {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], + "security_key": "something"}]}, + "rf": { + "is5GHz": {"channelBandwidth": "is80MHz"}, + "is5GHzL": {"channelBandwidth": "is80MHz"}, + "is5GHzU": {"channelBandwidth": "is80MHz"}}, + "radius": False +} + + +@allure.feature("VLAN MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput across channel-width Tests : WPA2 Personal Security") +@allure.suite("VLAN Mode") +@allure.sub_suite("80Mhz Channel Bandwidth") +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general_80Mhz], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class TestThroughputAcrossBw80MhzVLAN(object): + """Throughput Across Bw VLAN Mode + pytest -m "throughput_across_bw_test and VLAN" + """ + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2558", name="WIFI-2558") + @pytest.mark.bw80Mhz + @pytest.mark.wpa2_personal + @pytest.mark.twog + def test_client_wpa2_personal_2g(self, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Across Bw VLAN Mode + pytest -m "throughput_across_bw_test and VLAN and wpa2_personal and twog" + """ + profile_data = setup_params_general_80Mhz["ssid_modes"]["wpa2_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "open" + mode = "VLAN" + band = "twog" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_2G", + vlan_id=vlan, dut_name=dut_name, bw="80") + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2558", name="WIFI-2558") + @pytest.mark.bw80Mhz + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + def test_client_wpa2_personal_5g(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, get_configuration): + """Throughput Across Bw VLAN Mode + pytest -m "throughput_across_bw_test and VLAN and wpa2_personal and fiveg" + """ + profile_data = setup_params_general_80Mhz["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_5G", + vlan_id=vlan, dut_name=dut_name, bw="80") + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + +setup_params_general_160Mhz = { + "mode": "VLAN", + "ssid_modes": { + "wpa2_personal": [ + {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something"}, + {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], + "security_key": "something"}]}, + "rf": { + "is5GHz": {"channelBandwidth": "is160MHz"}, + "is5GHzL": {"channelBandwidth": "is160MHz"}, + "is5GHzU": {"channelBandwidth": "is160MHz"}}, + "radius": False +} + + +@allure.feature("VLAN MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput across channel-width Tests : WPA2 Personal Security") +@allure.suite("VLAN Mode") +@allure.sub_suite("160Mhz Channel Bandwidth") +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general_160Mhz], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class TestThroughputAcrossBw160MhzVLAN(object): + """Throughput Across Bw VLAN Mode + pytest -m "throughput_across_bw_test and VLAN" + """ + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2559", name="WIFI-2559") + @pytest.mark.bw160Mhz + @pytest.mark.wpa2_personal + @pytest.mark.twog + def test_client_wpa2_personal_2g(self, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Across Bw VLAN Mode + pytest -m "throughput_across_bw_test and VLAN and wpa2_personal and twog" + """ + profile_data = setup_params_general_160Mhz["ssid_modes"]["wpa2_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "open" + mode = "VLAN" + band = "twog" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_2G", + vlan_id=vlan, dut_name=dut_name, bw="160") + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2559", name="WIFI-2559") + @pytest.mark.bw160Mhz + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + def test_client_wpa2_personal_5g(self, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, get_configuration): + """Throughput Across Bw VLAN Mode + pytest -m "throughput_across_bw_test and VLAN and wpa2_personal and fiveg" + """ + profile_data = setup_params_general_160Mhz["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + passkey=security_key, mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_5G", + vlan_id=vlan, dut_name=dut_name, bw="160") + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + entries = os.listdir("../reports/" + report_name + '/') + pdf = False + for i in entries: + if ".pdf" in i: + pdf = i + if pdf: + allure.attach.file(source="../reports/" + report_name + "/" + pdf, + name=get_configuration["access_point"][0]["model"] + "_dataplane") + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/__init__.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/open_security/__init__.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/open_security/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/open_security/test_bridge_mode.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/open_security/test_bridge_mode.py new file mode 100644 index 00000000000..4e6c8a2a432 --- /dev/null +++ b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/open_security/test_bridge_mode.py @@ -0,0 +1,648 @@ +""" + + Performance Test: Throughput vs Various Pkt Size Test: Bridge Mode + pytest -m "throughput_vs_pkt and Bridge" + +""" +import os +import pytest +import allure + +pytestmark = [pytest.mark.throughput_vs_pkt, pytest.mark.Bridge, pytest.mark.open,] + # pytest.mark.usefixtures("setup_test_run")] + +setup_params_general = { + "mode": "BRIDGE", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_2g", "appliedRadios": ["2G"]}, + {"ssid_name": "ssid_open_5g", "appliedRadios": ["5G"]}]}, + "rf": {}, + "radius": False +} + + +@allure.feature("BRIDGE MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : Open Security") +@allure.suite("Bridge Mode") +@allure.sub_suite("2.4GHz Band") +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class TestThroughputVsPktBridge2G(object): + """Throughput vs Various Pkt Size Test Bridge mode + pytest -m "throughput_vs_pkt and Bridge" + """ + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") + @pytest.mark.open + @pytest.mark.twog + @pytest.mark.pkt60 + + def test_client_open_pkt_60_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes Bridge Mode + pytest -m "throughput_vs_pkt and Bridge and open and twog and pkt60" + """ + profile_data = setup_params_general["ssid_modes"]["open"][0] + ssid_name = profile_data["ssid_name"] + security = "open" + mode = "BRIDGE" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut #create dut + raw_lines = [['pkts: 60'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_PKT_60_OPEN_2G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") + @pytest.mark.open + @pytest.mark.twog + @pytest.mark.pkt142 + def test_client_open_pkt_142_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes Bridge Mode + pytest -m "throughput_vs_pkt and Bridge and open and twog and pkt142" + """ + profile_data = setup_params_general["ssid_modes"]["open"][0] + ssid_name = profile_data["ssid_name"] + + security = "open" + mode = "BRIDGE" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 142'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_PKT_142_OPEN_2G", + vlan_id=vlan, dut_name=dut_name,raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") + @pytest.mark.open + @pytest.mark.twog + @pytest.mark.pkt256 + def test_client_open_pkt_256_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes Bridge Mode + pytest -m "throughput_vs_pkt and Bridge and open and twog" + """ + profile_data = setup_params_general["ssid_modes"]["open"][0] + ssid_name = profile_data["ssid_name"] + + security = "open" + mode = "BRIDGE" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 256'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PER_PKT_256_OPEN_2G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") + @pytest.mark.open + @pytest.mark.twog + @pytest.mark.pkt512 + def test_client_open_pkt_512_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes Bridge Mode + pytest -m "throughput_vs_pkt and Bridge and open and twog" + """ + profile_data = setup_params_general["ssid_modes"]["open"][0] + ssid_name = profile_data["ssid_name"] + + security = "open" + mode = "BRIDGE" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 512'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_PKT_512_OPEN_2G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") + @pytest.mark.open + @pytest.mark.twog + @pytest.mark.pkt1024 + def test_client_open_pkt_1024_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes Bridge Mode + pytest -m "throughput_vs_pkt and Bridge and open and twog" + """ + profile_data = setup_params_general["ssid_modes"]["open"][0] + ssid_name = profile_data["ssid_name"] + + security = "open" + mode = "BRIDGE" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 1024'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_PKT_1024_OPEN_2G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") + @pytest.mark.open + @pytest.mark.twog + @pytest.mark.pktMTU + def test_client_open_pkt_MTU_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes Bridge Mode + pytest -m "throughput_vs_pkt and Bridge and open and twog" + """ + profile_data = setup_params_general["ssid_modes"]["open"][0] + ssid_name = profile_data["ssid_name"] + + security = "open" + mode = "BRIDGE" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: MTU'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_PKT_MTU_OPEN_2G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + +setup_params_5g = { + "mode": "BRIDGE", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_2g", "appliedRadios": ["2G"]}, + {"ssid_name": "ssid_open_5g", "appliedRadios": ["5G"]}]}, + "rf": {}, + "radius": False +} + + +@allure.feature("BRIDGE MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : Open Security") +@allure.suite("Bridge Mode") +@allure.sub_suite("5GHz Band") +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_5g], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class TestThroughputVsPktBridge5G(object): + """Throughput vs Various Pkt Size Test Bridge mode + pytest -m "throughput_vs_pkt and Bridge" + """ + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") + @pytest.mark.open + @pytest.mark.fiveg + @pytest.mark.pkt60 + def test_client_open_pkt_60_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes Bridge Mode + pytest -m "throughput_vs_pkt and Bridge and open and fiveg" + """ + profile_data = setup_params_5g["ssid_modes"]["open"][1] + ssid_name = profile_data["ssid_name"] + + security = "open" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 60'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_PKT_60_OPEN_5G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") + @pytest.mark.open + @pytest.mark.fiveg + @pytest.mark.pkt142 + def test_client_open_pkt_142_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes Bridge Mode + pytest -m "throughput_vs_pkt and Bridge and open and fiveg" + """ + profile_data = setup_params_5g["ssid_modes"]["open"][1] + ssid_name = profile_data["ssid_name"] + + security = "open" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 142'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_PKT_142_OPEN_5G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") + @pytest.mark.open + @pytest.mark.fiveg + @pytest.mark.pkt256 + def test_client_open_pkt_256_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes Bridge Mode + pytest -m "throughput_vs_pkt and Bridge and open and fiveg" + """ + profile_data = setup_params_5g["ssid_modes"]["open"][1] + ssid_name = profile_data["ssid_name"] + + security = "open" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 256'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_PKT_256_OPEN_5G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") + @pytest.mark.open + @pytest.mark.fiveg + @pytest.mark.pkt512 + def test_client_open_pkt_512_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes Bridge Mode + pytest -m "throughput_vs_pkt and Bridge and open and fiveg" + """ + profile_data = setup_params_5g["ssid_modes"]["open"][1] + ssid_name = profile_data["ssid_name"] + + security = "open" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 512'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_PKT_512_OPEN_5G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") + @pytest.mark.open + @pytest.mark.fiveg + @pytest.mark.pkt1024 + def test_client_open_pkt_1024_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes Bridge Mode + pytest -m "throughput_vs_pkt and Bridge and open and fiveg" + """ + profile_data = setup_params_5g["ssid_modes"]["open"][1] + ssid_name = profile_data["ssid_name"] + + security = "open" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 1024'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_PKT_1024_OPEN_5G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") + @pytest.mark.open + @pytest.mark.fiveg + @pytest.mark.pktMTU + def test_client_open_pkt_MTU_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes Bridge Mode + pytest -m "throughput_vs_pkt and Bridge and open and fiveg" + """ + profile_data = setup_params_5g["ssid_modes"]["open"][1] + ssid_name = profile_data["ssid_name"] + + security = "open" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: MTU'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_PKT_MTU_OPEN_5G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/open_security/test_nat_mode.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/open_security/test_nat_mode.py new file mode 100644 index 00000000000..8ff8b1a6195 --- /dev/null +++ b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/open_security/test_nat_mode.py @@ -0,0 +1,639 @@ +""" + + Performance Test: Throughput vs Various Pkt Size Test: NAT Mode + pytest -m "throughput_vs_pkt and NAT" + +""" +import os +import pytest +import allure + +pytestmark = [pytest.mark.throughput_vs_pkt, pytest.mark.nat, pytest.mark.open,] + # pytest.mark.usefixtures("setup_test_run")] + +setup_params_general = { + "mode": "NAT", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_2g", "appliedRadios": ["2G"]}, + {"ssid_name": "ssid_open_5g", "appliedRadios": ["5G"]}]}, + "rf": {}, + "radius": False +} + + +@allure.feature("NAT MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : Open Security") +@allure.suite("NAT Mode") +@allure.sub_suite("2.4GHz Band") +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class TestThroughputVsPktNAT2G(object): + """Throughput vs Various Pkt Size Test NAT mode + pytest -m "throughput_vs_pkt and NAT" + """ + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") + @pytest.mark.open + @pytest.mark.twog + @pytest.mark.pkt60 + def test_client_open_pkt_60_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes nat Mode + pytest -m "throughput_vs_pkt and nat and open and twog and pkt60" + """ + profile_data = setup_params_general["ssid_modes"]["open"][0] + ssid_name = profile_data["ssid_name"] + security = "open" + mode = "NAT" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 60'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + dut_name = create_lanforge_chamberview_dut + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_PKT_60_OPEN_2G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") + @pytest.mark.open + @pytest.mark.twog + @pytest.mark.pkt142 + def test_client_open_pkt_142_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes nat Mode + pytest -m "throughput_vs_pkt and nat and open and twog and pkt142" + """ + profile_data = setup_params_general["ssid_modes"]["open"][0] + ssid_name = profile_data["ssid_name"] + + security = "open" + mode = "NAT" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 142'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_PKT_142_OPEN_2G", + vlan_id=vlan, dut_name=dut_name,raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") + @pytest.mark.open + @pytest.mark.twog + @pytest.mark.pkt256 + def test_client_open_pkt_256_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes nat Mode + pytest -m "throughput_vs_pkt and nat and open and twog and pkt256" + """ + profile_data = setup_params_general["ssid_modes"]["open"][0] + ssid_name = profile_data["ssid_name"] + + security = "open" + mode = "NAT" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 256'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PER_PKT_256_OPEN_2G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") + @pytest.mark.open + @pytest.mark.twog + @pytest.mark.pkt512 + def test_client_open_pkt_512_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes nat Mode + pytest -m "throughput_vs_pkt and nat and open and twog and pkt512" + """ + profile_data = setup_params_general["ssid_modes"]["open"][0] + ssid_name = profile_data["ssid_name"] + + security = "open" + mode = "NAT" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 512'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_PKT_512_OPEN_2G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") + @pytest.mark.open + @pytest.mark.twog + @pytest.mark.pkt1024 + def test_client_open_pkt_1024_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes nat Mode + pytest -m "throughput_vs_pkt and nat and open and twog and pkt1024" + """ + profile_data = setup_params_general["ssid_modes"]["open"][0] + ssid_name = profile_data["ssid_name"] + + security = "open" + mode = "NAT" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 1024'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_PKT_1024_OPEN_2G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") + @pytest.mark.open + @pytest.mark.twog + @pytest.mark.pktMTU + def test_client_open_pkt_MTU_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes nat Mode + pytest -m "throughput_vs_pkt and nat and open and twog and pktMTU" + """ + profile_data = setup_params_general["ssid_modes"]["open"][0] + ssid_name = profile_data["ssid_name"] + + security = "open" + mode = "NAT" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: MTU'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_PKT_MTU_OPEN_2G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + +setup_params_5g = { + "mode": "NAT", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_2g", "appliedRadios": ["2G"]}, + {"ssid_name": "ssid_open_5g", "appliedRadios": ["5G"]}]}, + "rf": {}, + "radius": False +} + + +@allure.feature("NAT MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : Open Security") +@allure.suite("NAT Mode") +@allure.sub_suite("5GHz Band") +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_5g], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class TestThroughputVsPktNAT5G(object): + """Throughput vs Various Pkt Size Test NAT mode + pytest -m "throughput_vs_pkt and NAT" + """ + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") + @pytest.mark.open + @pytest.mark.fiveg + @pytest.mark.pkt60 + def test_client_open_pkt_60_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes nat Mode + pytest -m "throughput_vs_pkt and nat and open and fiveg and pkt60" + """ + profile_data = setup_params_5g["ssid_modes"]["open"][1] + ssid_name = profile_data["ssid_name"] + + security = "open" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 60'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_PKT_60_OPEN_5G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") + @pytest.mark.open + @pytest.mark.fiveg + @pytest.mark.pkt142 + def test_client_open_pkt_142_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes nat Mode + pytest -m "throughput_vs_pkt and nat and open and fiveg and pkt142" + """ + profile_data = setup_params_5g["ssid_modes"]["open"][1] + ssid_name = profile_data["ssid_name"] + + security = "open" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 142'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_PKT_142_OPEN_5G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") + @pytest.mark.open + @pytest.mark.fiveg + @pytest.mark.pkt256 + def test_client_open_pkt_256_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes nat Mode + pytest -m "throughput_vs_pkt and nat and open and fiveg and pkt256" + """ + profile_data = setup_params_5g["ssid_modes"]["open"][1] + ssid_name = profile_data["ssid_name"] + + security = "open" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 256'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_PKT_256_OPEN_5G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") + @pytest.mark.open + @pytest.mark.fiveg + @pytest.mark.pkt512 + def test_client_open_pkt_512_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes nat Mode + pytest -m "throughput_vs_pkt and nat and open and fiveg and pkt512" + """ + profile_data = setup_params_5g["ssid_modes"]["open"][1] + ssid_name = profile_data["ssid_name"] + + security = "open" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 512'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_PKT_512_OPEN_5G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") + @pytest.mark.open + @pytest.mark.fiveg + @pytest.mark.pkt1024 + def test_client_open_pkt_1024_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes nat Mode + pytest -m "throughput_vs_pkt and nat and open and fiveg and pkt1024" + """ + profile_data = setup_params_5g["ssid_modes"]["open"][1] + ssid_name = profile_data["ssid_name"] + + security = "open" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 1024'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_PKT_1024_OPEN_5G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") + @pytest.mark.open + @pytest.mark.fiveg + @pytest.mark.pktMTU + def test_client_open_pkt_MTU_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes nat Mode + pytest -m "throughput_vs_pkt and nat and open and fiveg and pktMTU" + """ + profile_data = setup_params_5g["ssid_modes"]["open"][1] + ssid_name = profile_data["ssid_name"] + + security = "open" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: MTU'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_PKT_MTU_OPEN_5G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/open_security/test_vlan_mode.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/open_security/test_vlan_mode.py new file mode 100644 index 00000000000..5e8bf5d42bf --- /dev/null +++ b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/open_security/test_vlan_mode.py @@ -0,0 +1,638 @@ +""" + + Performance Test: Throughput vs Various Pkt Size Test: VLAN Mode + pytest -m "throughput_vs_pkt and VLAN" + +""" +import os +import pytest +import allure + +pytestmark = [pytest.mark.throughput_vs_pkt, pytest.mark.vlan, pytest.mark.open,] + # pytest.mark.usefixtures("setup_test_run")] + +setup_params_general = { + "mode": "VLAN", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_2g", "appliedRadios": ["2G"], "vlan": 100}, + {"ssid_name": "ssid_open_5g", "appliedRadios": ["5G"], "vlan": 100}]}, + "rf": {}, + "radius": False +} + + +@allure.feature("VLAN MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : Open Security") +@allure.suite("VLAN Mode") +@allure.sub_suite("2.4GHz Band") +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class TestThroughputVsPktVLAN2G(object): + """Throughput vs Various Pkt Size Test VLAN mode + pytest -m "throughput_vs_pkt and VLAN" + """ + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") + @pytest.mark.open + @pytest.mark.twog + @pytest.mark.pkt60 + def test_client_open_pkt_60_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes VLAN MODE + pytest -m "throughput_vs_pkt and vlan and open and twog and pkt60" + """ + profile_data = setup_params_general["ssid_modes"]["open"][0] + ssid_name = profile_data["ssid_name"] + security = "open" + mode = "VLAN" + band = "twog" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 60'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_2G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") + @pytest.mark.open + @pytest.mark.twog + @pytest.mark.pkt142 + def test_client_open_pkt_142_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes VLAN MODE + pytest -m "throughput_vs_pkt and vlan and open and twog and pkt142" + """ + profile_data = setup_params_general["ssid_modes"]["open"][0] + ssid_name = profile_data["ssid_name"] + + security = "open" + mode = "VLAN" + band = "twog" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 142'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_2G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") + @pytest.mark.open + @pytest.mark.twog + @pytest.mark.pkt256 + def test_client_open_pkt_256_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes VLAN MODE + pytest -m "throughput_vs_pkt and vlan and open and twog and pkt256" + """ + profile_data = setup_params_general["ssid_modes"]["open"][0] + ssid_name = profile_data["ssid_name"] + + security = "open" + mode = "VLAN" + band = "twog" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 256'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_2G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") + @pytest.mark.open + @pytest.mark.twog + @pytest.mark.pkt512 + def test_client_open_pkt_512_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes VLAN MODE + pytest -m "throughput_vs_pkt and vlan and open and twog and pkt512" + """ + profile_data = setup_params_general["ssid_modes"]["open"][0] + ssid_name = profile_data["ssid_name"] + + security = "open" + mode = "VLAN" + band = "twog" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 512'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_2G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") + @pytest.mark.open + @pytest.mark.twog + @pytest.mark.pkt1024 + def test_client_open_pkt_1024_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes VLAN MODE + pytest -m "throughput_vs_pkt and vlan and open and twog and pkt1024" + """ + profile_data = setup_params_general["ssid_modes"]["open"][0] + ssid_name = profile_data["ssid_name"] + + security = "open" + mode = "VLAN" + band = "twog" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 1024'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_2G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") + @pytest.mark.open + @pytest.mark.twog + @pytest.mark.pktMTU + def test_client_open_pkt_MTU_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes VLAN MODE + pytest -m "throughput_vs_pkt and vlan and open and twog and pktMTU" + """ + profile_data = setup_params_general["ssid_modes"]["open"][0] + ssid_name = profile_data["ssid_name"] + + security = "open" + mode = "VLAN" + band = "twog" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: MTU'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_2G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + +setup_params_5g = { + "mode": "VLAN", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_2g", "appliedRadios": ["2G"], "vlan": 100}, + {"ssid_name": "ssid_open_5g", "appliedRadios": ["5G"], "vlan": 100}]}, + "rf": {}, + "radius": False +} + + +@allure.feature("VLAN MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : Open Security") +@allure.suite("VLAN Mode") +@allure.sub_suite("5GHz Band") +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_5g], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class TestThroughputVsPktVLAN5G(object): + """Throughput vs Various Pkt Size Test VLAN mode + pytest -m "throughput_vs_pkt and VLAN" + """ + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") + @pytest.mark.open + @pytest.mark.fiveg + @pytest.mark.pkt60 + def test_client_open_pkt_60_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes VLAN MODE + pytest -m "throughput_vs_pkt and vlan and open and fiveg and pkt60" + """ + profile_data = setup_params_5g["ssid_modes"]["open"][1] + ssid_name = profile_data["ssid_name"] + + security = "open" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 60'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_PKT_60_OPEN_5G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") + @pytest.mark.open + @pytest.mark.fiveg + @pytest.mark.pkt142 + def test_client_open_pkt_142_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes VLAN MODE + pytest -m "throughput_vs_pkt and vlan and open and fiveg and pkt142" + """ + profile_data = setup_params_5g["ssid_modes"]["open"][1] + ssid_name = profile_data["ssid_name"] + + security = "open" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 142'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_PKT_142_OPEN_5G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") + @pytest.mark.open + @pytest.mark.fiveg + @pytest.mark.pkt256 + def test_client_open_pkt_256_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes VLAN MODE + pytest -m "throughput_vs_pkt and vlan and open and fiveg and pkt256" + """ + profile_data = setup_params_5g["ssid_modes"]["open"][1] + ssid_name = profile_data["ssid_name"] + + security = "open" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 256'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_PKT_256_OPEN_5G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") + @pytest.mark.open + @pytest.mark.fiveg + @pytest.mark.pkt512 + def test_client_open_pkt_512_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes VLAN MODE + pytest -m "throughput_vs_pkt and vlan and open and fiveg and pkt512" + """ + profile_data = setup_params_5g["ssid_modes"]["open"][1] + ssid_name = profile_data["ssid_name"] + + security = "open" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 512'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_PKT_512_OPEN_5G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") + @pytest.mark.open + @pytest.mark.fiveg + @pytest.mark.pkt1024 + def test_client_open_pkt_1024_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes VLAN Mode + pytest -m "throughput_vs_pkt and VLAN and open and fiveg" + """ + profile_data = setup_params_5g["ssid_modes"]["open"][1] + ssid_name = profile_data["ssid_name"] + + security = "open" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 1024'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_PKT_1024_OPEN_5G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2546", name="WIFI-2546") + @pytest.mark.open + @pytest.mark.fiveg + @pytest.mark.pktMTU + def test_client_open_pkt_MTU_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes VLAN Mode + pytest -m "throughput_vs_pkt and VLAN and open and fiveg" + """ + profile_data = setup_params_5g["ssid_modes"]["open"][1] + ssid_name = profile_data["ssid_name"] + + security = "open" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: MTU'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_PKT_MTU_OPEN_5G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa2_security/__init__.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa2_security/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa2_security/test_bridge_mode.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa2_security/test_bridge_mode.py new file mode 100644 index 00000000000..efc8bb65d12 --- /dev/null +++ b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa2_security/test_bridge_mode.py @@ -0,0 +1,643 @@ +""" + + Performance Test: Throughput vs Various Pkt Size Test: Bridge Mode + pytest -m "throughput_vs_pkt and Bridge" + +""" +import os +import pytest +import allure + +pytestmark = [pytest.mark.throughput_vs_pkt, pytest.mark.Bridge, pytest.mark.wpa2,] + # pytest.mark.usefixtures("setup_test_run")] + +setup_params_general = { + "mode": "BRIDGE", + "ssid_modes": { + "wpa2_personal": [ + {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something"}, + {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], + "security_key": "something"}]}, + "rf": {}, + "radius": False +} + + +@allure.feature("BRIDGE MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : WPA2 Personal Security") +@allure.suite("Bridge Mode") +@allure.sub_suite("2.4GHz Band") +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +@pytest.mark.wpa2 +class TestThroughputVsPktWpa2Bridge2G(object): + """Throughput vs Various Pkt Size Test Bridge mode + pytest -m "throughput_vs_pkt and Bridge" + """ + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") + @pytest.mark.wpa2_personal + @pytest.mark.twog + @pytest.mark.pkt60 + def test_client_wpa2_personal_bridge_pkt_60_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes Bridge Mode + pytest -m "throughput_vs_pkt and Bridge and wpa2_personal and twog and pkt60" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "BRIDGE" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 60'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_2G_60", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") + @pytest.mark.wpa2_personal + @pytest.mark.twogr + @pytest.mark.pkt142 + def test_client_wpa2_personal_bridge_pkt_142_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes Bridge Mode + pytest -m "throughput_vs_pkt and Bridge and wpa2_personal and twog and pkt142" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "BRIDGE" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 142'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_2G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") + @pytest.mark.wpa2_personal + @pytest.mark.twog + @pytest.mark.pkt256 + def test_client_wpa2_personal_bridge_pkt_256_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes Bridge Mode + pytest -m "throughput_vs_pkt and Bridge and wpa2_personal and twog and pkt256" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "BRIDGE" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 256'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_2G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") + @pytest.mark.wpa2_personal + @pytest.mark.twog + @pytest.mark.pkt512 + def test_client_wpa2_personal_bridge_pkt_512_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes Bridge Mode + pytest -m "throughput_vs_pkt and Bridge and wpa2_personal and twog and pkt512" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "BRIDGE" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 512'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_2G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") + @pytest.mark.wpa2_personal + @pytest.mark.twog + @pytest.mark.pkt1024 + def test_client_wpa2_personal_bridge_pkt_1024_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes Bridge Mode + pytest -m "throughput_vs_pkt and Bridge and wpa2_personal and twog and pkt1024" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "BRIDGE" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 1024'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_2G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") + @pytest.mark.wpa2_personal + @pytest.mark.twog + @pytest.mark.pktMTU + def test_client_wpa2_personal_bridge_pkt_MTU_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes Bridge Mode + pytest -m "throughput_vs_pkt and Bridge and wpa2_personal and twog and pktMTU" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "BRIDGE" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: MTU'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_2G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + +setup_params_5g = { + "mode": "BRIDGE", + "ssid_modes": { + "wpa2_personal": [ + {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something"}, + {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], + "security_key": "something"}]}, + "rf": {}, + "radius": False +} + + +@allure.feature("BRIDGE MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : WPA2 Personal Security") +@allure.suite("Bridge Mode") +@allure.sub_suite("5GHz Band") +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_5g], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +@pytest.mark.wpa2 +class TestThroughputVsPktWpa2Bridge5G(object): + """Throughput vs Various Pkt Size Test Bridge mode + pytest -m "throughput_vs_pkt and Bridge" + """ + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.pkt60 + def test_client_wpa2_personal_bridge_pkt_60_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes Bridge Mode + pytest -m "throughput_vs_pkt and Bridge and wpa2_personal and fiveg and pkt60" + """ + profile_data = setup_params_5g["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 60'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_5G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") + @pytest.mark.fiveg + @pytest.mark.pkt142 + def test_client_wpa2_personal_bridge_pkt_142_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes Bridge Mode + pytest -m "throughput_vs_pkt and Bridge and wpa2_personal and fiveg and pkt142" + """ + profile_data = setup_params_5g["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 142'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_5G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.pkt256 + def test_client_wpa2_personal_bridge_pkt_256_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes Bridge Mode + pytest -m "throughput_vs_pkt and Bridge and wpa2_personal and fiveg and pkt256" + """ + profile_data = setup_params_5g["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 256'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_5G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.pkt512 + def test_client_wpa2_personal_bridge_pkt_512_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes Bridge Mode + pytest -m "throughput_vs_pkt and Bridge and wpa2_personal and fiveg and pkt512" + """ + profile_data = setup_params_5g["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 512'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_5G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.pkt1024 + def test_client_wpa2_personal_bridge_pkt_1024_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes Bridge Mode + pytest -m "throughput_vs_pkt and Bridge and wpa2_personal and fiveg and pkt1024" + """ + profile_data = setup_params_5g["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 1024'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_5G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.pktMTU + def test_client_wpa2_personal_bridge_pkt_MTU_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes Bridge Mode + pytest -m "throughput_vs_pkt and Bridge and wpa2_personal and fiveg and pktMTU" + """ + profile_data = setup_params_5g["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: MTU'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_5G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa2_security/test_nat_mode.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa2_security/test_nat_mode.py new file mode 100644 index 00000000000..0ef78eb6d2e --- /dev/null +++ b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa2_security/test_nat_mode.py @@ -0,0 +1,653 @@ +""" + + Performance Test: Throughput vs Various Pkt Size Test : Nat Mode + pytest -m "throughput_vs_pkt and nat" + +""" +import os +import pytest +import allure + +pytestmark = [pytest.mark.throughput_vs_pkt, pytest.mark.nat, pytest.mark.wpa2] + + +setup_params_general = { + "mode": "NAT", + "ssid_modes": { + "wpa2_personal": [ + {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something"}, + {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], + "security_key": "something"}]}, + "rf": {}, + "radius": False +} + + +@allure.feature("NAT MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : WPA2 Personal Security") +@allure.suite("NAT Mode") +@allure.sub_suite("2.4GHz Band") +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class TestThroughputVsPktWpa2Nat2G(object): + """Throughput vs Various Pkt Size Test nat mode + pytest -m "throughput_vs_pkt and nat" + """ + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") + @pytest.mark.wpa2_personal + @pytest.mark.twog + @pytest.mark.pkt60 + def test_client_wpa2_personal_nat_pkt_60_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes Nat Mode + pytest -m "throughput_vs_pkt and Nat and wpa2_personal and twog and pkt60" + """ + profile_data = setup_params_5g["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "NAT" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 60'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_2G_60", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") + @pytest.mark.wpa2_personal + @pytest.mark.twog + @pytest.mark.pkt142 + def test_client_wpa2_personal_nat_pkt_142_2g(self, lf_tools, lf_test, station_names_twog, + create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes Nat Mode + pytest -m "throughput_vs_pkt and Nat and wpa2_personal and twog and pkt142" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "NAT" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 142'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_2G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") + @pytest.mark.wpa2_personal + @pytest.mark.twog + @pytest.mark.pkt256 + def test_client_wpa2_personal_nat_pkt_256_2g(self, lf_tools, lf_test, station_names_twog, + create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes Nat Mode + pytest -m "throughput_vs_pkt and Nat and wpa2_personal and twog and pkt256" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "NAT" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 256'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_2G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") + @pytest.mark.wpa2_personal + @pytest.mark.twog + @pytest.mark.pkt512 + def test_client_wpa2_personal_nat_pkt_512_2g(self, lf_tools, lf_test, station_names_twog, + create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes Nat Mode + pytest -m "throughput_vs_pkt and Nat and wpa2_personal and twog and pkt512" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "NAT" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 512'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_2G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") + @pytest.mark.wpa2_personal + @pytest.mark.twog + @pytest.mark.pkt1024 + def test_client_wpa2_personal_nat_pkt_1024_2g(self, lf_tools, lf_test, station_names_twog, + create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes Nat Mode + pytest -m "throughput_vs_pkt and Nat and wpa2_personal and twog and pkt1024" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "NAT" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 1024'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_2G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") + @pytest.mark.wpa2_personal + @pytest.mark.twog + @pytest.mark.pktMTU + def test_client_wpa2_personal_nat_pkt_MTU_2g(self, lf_tools, lf_test, station_names_twog, + create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes Nat Mode + pytest -m "throughput_vs_pkt and Nat and wpa2_personal and twog and pktMTU" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "NAT" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: MTU'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_2G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + +setup_params_5g = { + "mode": "NAT", + "ssid_modes": { + "wpa2_personal": [ + {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something"}, + {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], + "security_key": "something"}]}, + "rf": {}, + "radius": False +} + + +@allure.feature("NAT MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : WPA2 Personal Security") +@allure.suite("NAT Mode") +@allure.sub_suite("5GHz Band") +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_5g], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class TestThroughputVsPktWpa2Nat5G(object): + """Throughput vs Various Pkt Size Test nat mode + pytest -m "throughput_vs_pkt and nat" + """ + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.pkt60 + def test_client_wpa2_personal_nat_pkt_60_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes nat Mode + pytest -m "throughput_vs_pkt and nat and wpa2 and fiveg and pkt60" + """ + profile_data = setup_params_5g["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 60'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_5G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.pkt142 + def test_client_wpa2_personal_nat_pkt_142_5g(self, lf_tools, lf_test, station_names_fiveg, + create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes nat Mode + pytest -m "throughput_vs_pkt and nat and wpa2 and fiveg and pkt142" + """ + profile_data = setup_params_5g["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 142'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_5G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.pkt256 + def test_client_wpa2_personal_nat_pkt_256_5g(self, lf_tools, lf_test, station_names_fiveg, + create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes nat Mode + pytest -m "throughput_vs_pkt and nat and wpa2 and fiveg and pkt256" + """ + profile_data = setup_params_5g["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 256'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_5G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.pkt512 + def test_client_wpa2_personal_nat_pkt_512_5g(self, lf_tools, lf_test, station_names_fiveg, + create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes nat Mode + pytest -m "throughput_vs_pkt and nat and wpa2 and fiveg and pkt512" + """ + profile_data = setup_params_5g["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 512'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_5G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.pkt1024 + def test_client_wpa2_personal_nat_pkt_1024_5g(self, lf_tools, lf_test, station_names_fiveg, + create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes nat Mode + pytest -m "throughput_vs_pkt and nat and wpa2 and fiveg and pkt1024" + """ + profile_data = setup_params_5g["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 1024'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security,passkey=security_key, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_5G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.pktMTU + def test_client_wpa2_personal_nat_pkt_MTU_5g(self, lf_tools, lf_test, station_names_fiveg, + create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes nat Mode + pytest -m "throughput_vs_pkt and nat and wpa2 and fiveg and pktMTU" + """ + profile_data = setup_params_5g["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: MTU'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_5G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False \ No newline at end of file diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa2_security/test_vlan_mode.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa2_security/test_vlan_mode.py new file mode 100644 index 00000000000..51146492b4d --- /dev/null +++ b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa2_security/test_vlan_mode.py @@ -0,0 +1,653 @@ +""" + + Performance Test: Throughput vs Various Pkt Size Test: VLAN MODE + pytest -m "throughput_vs_pkt and vlan" + +""" +import os +import pytest +import allure + +pytestmark = [pytest.mark.throughput_vs_pkt, pytest.mark.vlan, pytest.mark.wpa2] + +setup_params_general = { + "mode": "VLAN", + "ssid_modes": { + "wpa2_personal": [ + {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something", "vlan": 100}, + {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something", "vlan": 100}]}, + "rf": {}, + "radius": False +} + + +@allure.feature("VLAN MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : WPA2 Personal Security") +@allure.suite("VLAN Mode") +@allure.sub_suite("2.4GHz Band") +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class TestThroughputVsPktWpa2Vlan2G(object): + """Throughput vs Various Pkt Size Test Vlan mode + pytest -m "throughput_vs_pkt and vlan" + """ + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") + @pytest.mark.wpa2_personal + @pytest.mark.twog + @pytest.mark.pkt60 + def test_client_wpa2_personal_vlan_pkt_60_2g(self, lf_tools, lf_test, station_names_twog, + create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes Vlan Mode + pytest -m "throughput_vs_pkt and Vlan and wpa2 and twog and pkt60" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "VLAN" + band = "twog" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 60'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_2G_60", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") + @pytest.mark.wpa2_personal + @pytest.mark.twog + @pytest.mark.pkt142 + def test_client_wpa2_personal_vlan_pkt_142_2g(self, lf_tools, lf_test, station_names_twog, + create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes Vlan Mode + pytest -m "throughput_vs_pkt and Vlan and wpa2 and twog and pkt142" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "VLAN" + band = "twog" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 142'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_2G_60", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") + @pytest.mark.wpa2_personal + @pytest.mark.twog + @pytest.mark.pkt256 + def test_client_wpa2_personal_vlan_pkt_256_2g(self, lf_tools, lf_test, station_names_twog, + create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes Vlan Mode + pytest -m "throughput_vs_pkt and Vlan and wpa2 and twog and pkt256" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "VLAN" + band = "twog" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 256'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_2G_60", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") + @pytest.mark.wpa2_personal + @pytest.mark.twog + @pytest.mark.pkt512 + def test_client_wpa2_personal_vlan_pkt_512_2g(self, lf_tools, lf_test, station_names_twog, + create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes Vlan Mode + pytest -m "throughput_vs_pkt and Vlan and wpa2 and twog and pkt512" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "VLAN" + band = "twog" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 512'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_2G_60", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") + @pytest.mark.wpa2_personal + @pytest.mark.twog + @pytest.mark.pkt1024 + def test_client_wpa2_personal_vlan_pkt_1024_2g(self, lf_tools, lf_test, station_names_twog, + create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes Vlan Mode + pytest -m "throughput_vs_pkt and Vlan and wpa2 and twog and pkt1024" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "VLAN" + band = "twog" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 1024'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_2G_60", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") + @pytest.mark.wpa2_personal + @pytest.mark.twog + @pytest.mark.pktMTU + def test_client_wpa2_personal_vlan_pkt_MTU_2g(self, lf_tools, lf_test, station_names_twog, + create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes Vlan Mode + pytest -m "throughput_vs_pkt and Vlan and wpa2 and twog and pktMTU" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "VLAN" + band = "twog" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: MTU'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_2G_60", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + +setup_params_5g = { + "mode": "VLAN", + "ssid_modes": { + "wpa2_personal": [ + {"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something", "vlan": 100}, + {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something", "vlan": 100}]}, + "rf": {}, + "radius": False +} + + +@allure.feature("VLAN MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : WPA2 Personal Security") +@allure.suite("VLAN Mode") +@allure.sub_suite("5Hz Band") +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_5g], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class TestThroughputVsPktWpa2Vlan5g(object): + """Throughput vs Various Pkt Size Test Vlan mode + pytest -m "throughput_vs_pkt and vlan" + """ + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.pkt60 + def test_client_wpa2_personal_vlan_pkt_60_5g(self, lf_tools, lf_test, station_names_fiveg, + create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes Vlan Mode + pytest -m "throughput_vs_pkt and Vlan and wpa2 and fiveg and pkt60" + """ + profile_data = setup_params_5g["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 60'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_2G_60", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.pkt142 + def test_client_wpa2_personal_vlan_pkt_142_5g(self, lf_tools, lf_test, station_names_fiveg, + create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes Vlan Mode + pytest -m "throughput_vs_pkt and Vlan and wpa2 and fiveg and pkt142" + """ + profile_data = setup_params_5g["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 142'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_2G_60", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.pkt256 + def test_client_wpa2_personal_vlan_pkt_256_5g(self, lf_tools, lf_test, station_names_fiveg, + create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes Vlan Mode + pytest -m "throughput_vs_pkt and Vlan and wpa2 and fiveg and pkt256" + """ + profile_data = setup_params_5g["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 256'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_2G_60", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.pkt512 + def test_client_wpa2_personal_vlan_pkt_512_5g(self, lf_tools, lf_test, station_names_fiveg, + create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes Vlan Mode + pytest -m "throughput_vs_pkt and Vlan and wpa2 and fiveg and pkt512" + """ + profile_data = setup_params_5g["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 512'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_2G_60", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.pkt1024 + def test_client_wpa2_personal_vlan_pkt_1024_5g(self, lf_tools, lf_test, station_names_fiveg, + create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes Vlan Mode + pytest -m "throughput_vs_pkt and Vlan and wpa2 and fiveg and pkt1024" + """ + profile_data = setup_params_5g["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 1024'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_2G_60", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2547", name="WIFI-2547") + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @pytest.mark.pktMTU + def test_client_wpa2_personal_vlan_pkt_MTU_5g(self, lf_tools, lf_test, station_names_fiveg, + create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes Vlan Mode + pytest -m "throughput_vs_pkt and Vlan and wpa2 and fiveg and pktMTU" + """ + profile_data = setup_params_5g["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: MTU'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_DPT_WPA2_2G_60", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa3_security/__init__.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa3_security/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa3_security/test_bridge_mode.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa3_security/test_bridge_mode.py new file mode 100644 index 00000000000..040ee9a62fd --- /dev/null +++ b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa3_security/test_bridge_mode.py @@ -0,0 +1,644 @@ +""" + + Performance Test: Throughput vs Various Pkt Size Test: Bridge Mode + pytest -m "throughput_vs_pkt and bridge" + +""" +import os +import pytest +import allure + +pytestmark = [pytest.mark.throughput_vs_pkt, pytest.mark.Bridge, pytest.mark.wpa3,] + # pytest.mark.usefixtures("setup_test_run")] + +setup_params_general = { + "mode": "BRIDGE", + "ssid_modes": { + "wpa3_personal": [ + {"ssid_name": "ssid_wpa3_p_2g", "appliedRadios": ["2G"], "security_key": "something"}, + {"ssid_name": "ssid_wpa3_p_5g", "appliedRadios": ["5G"], + "security_key": "something"}]}, + + "rf": {}, + "radius": False +} + + +@allure.feature("BRIDGE MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : WPA3 Personal Security") +@allure.suite("Bridge Mode") +@allure.sub_suite("2.4GHz Band") +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class TestThroughputVsPktWpa3Bridge2G(object): + """Throughput vs Various Pkt Size Test Bridge mode + pytest -m "throughput_vs_pkt and bridge" + """ + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") + @pytest.mark.wpa3_personal + @pytest.mark.twog + @pytest.mark.pkt60 + def test_client_wpa3_personal_pkt_bridge_60_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes Bridge Mode + pytest -m "throughput_vs_pkt and bridge and wpa3_personal and twog and pkt60" + """ + profile_data = setup_params_general["ssid_modes"]["wpa3_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa3" + mode = "BRIDGE" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 60'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA3_2G_60", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") + @pytest.mark.wpa3_personal + @pytest.mark.twog + @pytest.mark.pkt142 + def test_client_wpa3_personal_pkt_bridge_142_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes Bridge Mode + pytest -m "throughput_vs_pkt and bridge and wpa3_personal and twog and pkt142" + """ + profile_data = setup_params_general["ssid_modes"]["wpa3_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa3" + mode = "BRIDGE" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 142'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA3_2G_142", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") + @pytest.mark.wpa3_personal + @pytest.mark.twog + @pytest.mark.pkt256 + def test_client_wpa3_personal_pkt_bridge_256_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes Bridge Mode + pytest -m "throughput_vs_pkt and bridge and wpa3_personal and twog and pkt256" + """ + profile_data = setup_params_general["ssid_modes"]["wpa3_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa3" + mode = "BRIDGE" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 256'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA3_2G_256", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") + @pytest.mark.wpa3_personal + @pytest.mark.twog + @pytest.mark.pkt512 + def test_client_wpa3_personal_pkt_bridge_512_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes Bridge Mode + pytest -m "throughput_vs_pkt and bridge and wpa3_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa3_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa3" + mode = "BRIDGE" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 512'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA3_2G_512", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") + @pytest.mark.wpa3_personal + @pytest.mark.twog + @pytest.mark.pkt1024 + def test_client_wpa3_personal_pkt_bridge_1024_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes Bridge Mode + pytest -m "throughput_vs_pkt and bridge and wpa3_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa3_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa3" + mode = "BRIDGE" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 1024'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA3_2G_1024", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") + @pytest.mark.wpa3_personal + @pytest.mark.twog + @pytest.mark.pktMTU + def test_client_wpa3_personal_pkt_bridge_MTU_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes Bridge Mode + pytest -m "throughput_vs_pkt and bridge and wpa3_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa3_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa3" + mode = "BRIDGE" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: MTU'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA3_2G_MTU", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + +setup_params_5g = { + "mode": "BRIDGE", + "ssid_modes": { + "wpa3_personal": [ + {"ssid_name": "ssid_wpa3_p_2g", "appliedRadios": ["2G"], "security_key": "something"}, + {"ssid_name": "ssid_wpa3_p_5g", "appliedRadios": ["5G"], + "security_key": "something"}]}, + "rf": {}, + "radius": False +} + + +@allure.feature("BRIDGE MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : WPA3 Personal Security") +@allure.suite("Bridge Mode") +@allure.sub_suite("5GHz Band") +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_5g], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class TestThroughputVsPktBridgeWpa35G(object): + """Throughput vs Various Pkt Size Test Bridge mode + pytest -m "throughput_vs_pkt and bridge" + """ + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") + @pytest.mark.wpa3_personal + @pytest.mark.fiveg + @pytest.mark.pkt60 + def test_client_wpa3_personal_pkt_bridge_60_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes Bridge Mode + pytest -m "throughput_vs_pkt and bridge and wpa3_personal and fiveg" + """ + profile_data = setup_params_5g["ssid_modes"]["wpa3_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa3" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 60'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_THRU_PKT_WPA3_5G_60", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") + @pytest.mark.wpa3_personal + @pytest.mark.fiveg + @pytest.mark.pkt142 + def test_client_wpa3_personal_pkt_bridge_142_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes Bridge Mode + pytest -m "throughput_vs_pkt and bridge and wpa3_personal and fiveg" + """ + profile_data = setup_params_5g["ssid_modes"]["wpa3_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa3" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 142'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_THRU_PKT_WPA3_5G_142", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") + @pytest.mark.wpa3_personal + @pytest.mark.fiveg + @pytest.mark.pkt256 + def test_client_wpa3_personal_pkt_bridge_256_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes Bridge Mode + pytest -m "throughput_vs_pkt and bridge and wpa3_personal and fiveg" + """ + profile_data = setup_params_5g["ssid_modes"]["wpa3_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa3" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 256'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_THRU_PKT_WPA3_5G_256", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") + @pytest.mark.wpa3_personal + @pytest.mark.fiveg + @pytest.mark.pkt512 + def test_client_wpa3_personal_pkt_bridge_512_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes Bridge Mode + pytest -m "throughput_vs_pkt and bridge and wpa3_personal and fiveg" + """ + profile_data = setup_params_5g["ssid_modes"]["wpa3_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa3" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 512'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_THRU_PKT_WPA3_5G_512", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") + @pytest.mark.wpa3_personal + @pytest.mark.fiveg + @pytest.mark.pkt1024 + def test_client_wpa3_personal_pkt_bridge_1024_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes Bridge Mode + pytest -m "throughput_vs_pkt and bridge and wpa3_personal and fiveg" + """ + profile_data = setup_params_5g["ssid_modes"]["wpa3_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa3" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 1024'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_THRU_PKT_WPA3_5G_1024", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") + @pytest.mark.wpa3_personal + @pytest.mark.fiveg + @pytest.mark.pktMTU + def test_client_wpa3_personal_pkt_bridge_MTU_5g(self, lf_tools, lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes Bridge Mode + pytest -m "throughput_vs_pkt and bridge and wpa3_personal and fiveg" + """ + profile_data = setup_params_5g["ssid_modes"]["wpa3_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa3" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: MTU'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_THRU_PKT_WPA3_5G_MTU", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa3_security/test_nat_mode.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa3_security/test_nat_mode.py new file mode 100644 index 00000000000..7d07fbbc2d3 --- /dev/null +++ b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa3_security/test_nat_mode.py @@ -0,0 +1,655 @@ +""" + + Performance Test: Throughput vs Various Pkt Size Test: NAT Mode + pytest -m "throughput_vs_pkt and NAT" + +""" +import os +import pytest +import allure + +pytestmark = [pytest.mark.throughput_vs_pkt, pytest.mark.nat, pytest.mark.wpa3,] + # pytest.mark.usefixtures("setup_test_run")] + +setup_params_general = { + "mode": "NAT", + "ssid_modes": { + "wpa3_personal": [ + {"ssid_name": "ssid_wpa3_p_2g", "appliedRadios": ["2G"], "security_key": "something"}, + {"ssid_name": "ssid_wpa3_p_5g", "appliedRadios": ["5G"], + "security_key": "something"}]}, + + "rf": {}, + "radius": False +} + + +@allure.feature("NAT MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : WPA3 Personal Security") +@allure.suite("NAT Mode") +@allure.sub_suite("2.4GHz Band") +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class TestThroughputVsPktWpa3Nat2G(object): + """Throughput vs Various Pkt Size Test nat mode + pytest -m "throughput_vs_pkt and nat" + """ + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") + @pytest.mark.wpa3_personal + @pytest.mark.twog + @pytest.mark.pkt60 + def test_client_wpa3_personal_nat_pkt_60_2g(self, lf_tools, lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes nat Mode + pytest -m "throughput_vs_pkt and nat and wpa3_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa3_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa3" + mode = "NAT" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 60'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA3_2G_60", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") + @pytest.mark.wpa3_personal + @pytest.mark.twog + @pytest.mark.pkt142 + def test_client_wpa3_personal_nat_pkt_142_2g(self, lf_tools, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes nat Mode + pytest -m "throughput_vs_pkt and nat and wpa3_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa3_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa3" + mode = "NAT" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 142'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA3_2G_142", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") + @pytest.mark.wpa3_personal + @pytest.mark.twog + @pytest.mark.pkt256 + def test_client_wpa3_personal_nat_pkt_256_2g(self, lf_tools, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes nat Mode + pytest -m "throughput_vs_pkt and nat and wpa3_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa3_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa3" + mode = "NAT" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 256'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA3_2G_256", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") + @pytest.mark.wpa3_personal + @pytest.mark.twog + @pytest.mark.pkt512 + def test_client_wpa3_personal_nat_pkt_512_2g(self, lf_tools, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes nat Mode + pytest -m "throughput_vs_pkt and nat and wpa3_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa3_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa3" + mode = "NAT" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 512'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA3_2G_512", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") + @pytest.mark.wpa3_personal + @pytest.mark.twog + @pytest.mark.pkt1024 + def test_client_wpa3_personal_nat_pkt_1024_2g(self, lf_tools, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes nat Mode + pytest -m "throughput_vs_pkt and nat and wpa3_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa3_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa3" + mode = "NAT" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 1024'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA3_2G_1024", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") + @pytest.mark.wpa3_personal + @pytest.mark.twog + @pytest.mark.pktMTU + def test_client_wpa3_personal_nat_pkt_MTU_2g(self, lf_tools, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes nat Mode + pytest -m "throughput_vs_pkt and nat and wpa3_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa3_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa3" + mode = "NAT" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: MTU'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA3_2G_MTU", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + +setup_params_5g = { + "mode": "NAT", + "ssid_modes": { + "wpa3_personal": [ + {"ssid_name": "ssid_wpa3_p_2g", "appliedRadios": ["2G"], "security_key": "something"}, + {"ssid_name": "ssid_wpa3_p_5g", "appliedRadios": ["5G"], + "security_key": "something"}]}, + "rf": {}, + "radius": False +} + + +@allure.feature("NAT MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : WPA3 Personal Security") +@allure.suite("NAT Mode") +@allure.sub_suite("5GHz Band") +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_5g], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class TestThroughputVsPktWpa3Nat5G(object): + """Throughput vs Various Pkt Size Test nat mode + pytest -m "throughput_vs_pkt and nat" + """ + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") + @pytest.mark.wpa3_personal + @pytest.mark.fiveg + @pytest.mark.pkt60 + def test_client_wpa3_personal_nat_pkt_60_5g(self, lf_tools, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes nat Mode + pytest -m "throughput_vs_pkt and nat and wpa3_personal and fiveg" + """ + profile_data = setup_params_5g["ssid_modes"]["wpa3_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa3" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 60'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_THRU_PKT_WPA3_5G_60", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") + @pytest.mark.wpa3_personal + @pytest.mark.fiveg + @pytest.mark.pkt142 + def test_client_wpa3_personal_nat_pkt_142_5g(self, lf_tools, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes nat Mode + pytest -m "throughput_vs_pkt and nat and wpa3_personal and fiveg" + """ + profile_data = setup_params_5g["ssid_modes"]["wpa3_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa3" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 142'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_THRU_PKT_WPA3_5G_142", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") + @pytest.mark.wpa3_personal + @pytest.mark.fiveg + @pytest.mark.pkt256 + def test_client_wpa3_personal_nat_pkt_256_5g(self, lf_tools, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes nat Mode + pytest -m "throughput_vs_pkt and nat and wpa3_personal and fiveg" + """ + profile_data = setup_params_5g["ssid_modes"]["wpa3_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa3" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 256'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_THRU_PKT_WPA3_5G_256", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") + @pytest.mark.wpa3_personal + @pytest.mark.fiveg + @pytest.mark.pkt512 + def test_client_wpa3_personal_nat_pkt_512_5g(self, lf_tools, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes nat Mode + pytest -m "throughput_vs_pkt and nat and wpa3_personal and fiveg" + """ + profile_data = setup_params_5g["ssid_modes"]["wpa3_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa3" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 512'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_THRU_PKT_WPA3_5G_512", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") + @pytest.mark.wpa3_personal + @pytest.mark.fiveg + @pytest.mark.pkt1024 + def test_client_wpa3_personal_nat_pkt_1024_5g(self, lf_tools, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes nat Mode + pytest -m "throughput_vs_pkt and nat and wpa3_personal and fiveg" + """ + profile_data = setup_params_5g["ssid_modes"]["wpa3_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa3" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 1024'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_THRU_PKT_WPA3_5G_1024", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") + @pytest.mark.wpa3_personal + @pytest.mark.fiveg + @pytest.mark.pktMTU + def test_client_wpa3_personal_nat_pkt_MTU_5g(self, lf_tools, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes nat Mode + pytest -m "throughput_vs_pkt and nat and wpa3_personal and fiveg" + """ + profile_data = setup_params_5g["ssid_modes"]["wpa3_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa3" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: MTU'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_THRU_PKT_WPA3_5G_MTU", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa3_security/test_vlan_mode.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa3_security/test_vlan_mode.py new file mode 100644 index 00000000000..20332b5fa6a --- /dev/null +++ b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa3_security/test_vlan_mode.py @@ -0,0 +1,654 @@ +""" + + Performance Test: Throughput vs Various Pkt Size Test: VLAN Mode + pytest -m "throughput_vs_pkt and VLAN" + +""" +import os +import pytest +import allure + +pytestmark = [pytest.mark.throughput_vs_pkt, pytest.mark.vlan, pytest.mark.wpa3,] + # pytest.mark.usefixtures("setup_test_run")] + +setup_params_general = { + "mode": "VLAN", + "ssid_modes": { + "wpa3_personal": [ + {"ssid_name": "ssid_wpa3_p_2g", "appliedRadios": ["2G"], "security_key": "something", "vlan": 100}, + {"ssid_name": "ssid_wpa3_p_5g", "appliedRadios": ["5G"], "security_key": "something", "vlan": 100}]}, + + "rf": {}, + "radius": False +} + + +@allure.feature("VLAN MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : WPA3 Personal Security") +@allure.suite("VLAN Mode") +@allure.sub_suite("2.4GHz Band") +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class TestThroughputVsPktWpa3Vlan2G(object): + """Throughput vs Various Pkt Size Test vlan mode + pytest -m "throughput_vs_pkt and vlan" + """ + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") + @pytest.mark.wpa3_personal + @pytest.mark.twog + @pytest.mark.pkt60 + def test_client_wpa3_personal_pkt_vlan_60_2g(self, lf_tools, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes VLAN Mode + pytest -m "throughput_vs_pkt and VLAN and wpa3_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa3_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa3" + mode = "VLAN" + band = "twog" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 60'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA3_2G_60", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") + @pytest.mark.wpa3_personal + @pytest.mark.twog + @pytest.mark.pkt142 + def test_client_wpa3_personal_pkt_vlan_142_2g(self, lf_tools, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes VLAN Mode + pytest -m "throughput_vs_pkt and VLAN and wpa3_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa3_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa3" + mode = "VLAN" + band = "twog" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 142'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA3_2G_142", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") + @pytest.mark.wpa3_personal + @pytest.mark.twog + @pytest.mark.pkt256 + def test_client_wpa3_personal_pkt_vlan_256_2g(self, lf_tools, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes VLAN Mode + pytest -m "throughput_vs_pkt and VLAN and wpa3_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa3_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa3" + mode = "VLAN" + band = "twog" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 256'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA3_2G_256", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") + @pytest.mark.wpa3_personal + @pytest.mark.twog + @pytest.mark.pkt512 + def test_client_wpa3_personal_pkt_vlan_512_2g(self, lf_tools, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes VLAN Mode + pytest -m "throughput_vs_pkt and VLAN and wpa3_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa3_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa3" + mode = "VLAN" + band = "twog" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 512'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA3_2G_512", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") + @pytest.mark.wpa3_personal + @pytest.mark.twog + @pytest.mark.pkt1024 + def test_client_wpa3_personal_pkt_vlan_1024_2g(self, lf_tools, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes VLAN Mode + pytest -m "throughput_vs_pkt and VLAN and wpa3_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa3_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa3" + mode = "VLAN" + band = "twog" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 1024'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA3_2G_1024", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") + @pytest.mark.wpa3_personal + @pytest.mark.twog + @pytest.mark.pktMTU + def test_client_wpa3_personal_pkt_vlan_MTU_2g(self, lf_tools, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes VLAN Mode + pytest -m "throughput_vs_pkt and VLAN and wpa3_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa3_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa3" + mode = "VLAN" + band = "twog" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: MTU'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_DPT_WPA3_2G_MTU", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + +setup_params_5g = { + "mode": "VLAN", + "ssid_modes": { + "wpa3_personal": [ + {"ssid_name": "ssid_wpa3_p_2g", "appliedRadios": ["2G"], "security_key": "something", "vlan": 100}, + {"ssid_name": "ssid_wpa3_p_5g", "appliedRadios": ["5G"], "security_key": "something", "vlan": 100}]}, + "rf": {}, + "radius": False +} + + +@allure.feature("VLAN MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : WPA3 Personal Security") +@allure.suite("VLAN Mode") +@allure.sub_suite("5GHz Band") +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_5g], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class TestThroughputVsPktWpa3Vlan5G(object): + """Throughput vs Various Pkt Size Test vlan mode + pytest -m "throughput_vs_pkt and vlan" + """ + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") + @pytest.mark.wpa3_personal + @pytest.mark.fiveg + @pytest.mark.pkt60 + def test_client_wpa3_personal_pkt_vlan_60_5g(self, lf_tools, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes VLAN Mode + pytest -m "throughput_vs_pkt and VLAN and wpa3_personal and fiveg" + """ + profile_data = setup_params_5g["ssid_modes"]["wpa3_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa3" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 60'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_THRU_PKT_WPA3_5G_60", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") + @pytest.mark.wpa3_personal + @pytest.mark.fiveg + @pytest.mark.pkt142 + def test_client_wpa3_personal_pkt_vlan_142_5g(self, lf_tools, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes VLAN Mode + pytest -m "throughput_vs_pkt and VLAN and wpa3_personal and fiveg" + """ + profile_data = setup_params_5g["ssid_modes"]["wpa3_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa3" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 142'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_THRU_PKT_WPA3_5G_142", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") + @pytest.mark.wpa3_personal + @pytest.mark.fiveg + @pytest.mark.pkt256 + def test_client_wpa3_personal_pkt_vlan_256_5g(self, lf_tools, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes VLAN Mode + pytest -m "throughput_vs_pkt and VLAN and wpa3_personal and fiveg" + """ + profile_data = setup_params_5g["ssid_modes"]["wpa3_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa3" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 256'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_THRU_PKT_WPA3_5G_256", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") + @pytest.mark.wpa3_personal + @pytest.mark.fiveg + @pytest.mark.pkt512 + def test_client_wpa3_personal_pkt_vlan_512_5g(self, lf_tools, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes VLAN Mode + pytest -m "throughput_vs_pkt and VLAN and wpa3_personal and fiveg" + """ + profile_data = setup_params_5g["ssid_modes"]["wpa3_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa3" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 512'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_THRU_PKT_WPA3_5G_512", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") + @pytest.mark.wpa3_personal + @pytest.mark.fiveg + @pytest.mark.pkt1024 + def test_client_wpa3_personal_pkt_vlan_1024_5g(self, lf_tools, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes VLAN Mode + pytest -m "throughput_vs_pkt and VLAN and wpa3_personal and fiveg" + """ + profile_data = setup_params_5g["ssid_modes"]["wpa3_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa3" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 1024'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_THRU_PKT_WPA3_5G_1024", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2549", name="WIFI-2549") + @pytest.mark.wpa3_personal + @pytest.mark.fiveg + @pytest.mark.pktMTU + def test_client_wpa3_personal_pkt_vlan_MTU_5g(self, lf_tools, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes VLAN Mode + pytest -m "throughput_vs_pkt and VLAN and wpa3_personal and fiveg" + """ + profile_data = setup_params_5g["ssid_modes"]["wpa3_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa3" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: MTU'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_THRU_PKT_WPA3_5G_MTU", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa_security/__init__.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa_security/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa_security/test_bridge_mode.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa_security/test_bridge_mode.py new file mode 100644 index 00000000000..df3980dea46 --- /dev/null +++ b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa_security/test_bridge_mode.py @@ -0,0 +1,651 @@ +""" + + Performance Test: Throughput vs Various Pkt Size Test: BRIDGE MODE + pytest -m "throughput_vs_pkt and Bridge" + +""" +import os +import pytest +import allure + +pytestmark = [pytest.mark.throughput_vs_pkt, pytest.mark.Bridge, pytest.mark.wpa] + + +setup_params_general = { + "mode": "BRIDGE", + "ssid_modes": { + "wpa": [{"ssid_name": "ssid_wpa_2g", "appliedRadios": ["2G"], "security_key": "something"}, + {"ssid_name": "ssid_wpa_5g", "appliedRadios": ["5G"], + "security_key": "something"}]}, + "rf": {}, + "radius": False +} + + +@allure.feature("BRIDGE MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : WPA Security") +@allure.suite("Bridge Mode") +@allure.sub_suite("2.4GHz Band") +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class TestThroughputVsPktWpaBridge2G(object): + """Throughput vs Various Pkt Size Test BRIDGE MODE + pytest -m "throughput_vs_pkt and Bridge" + """ + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") + @pytest.mark.wpa_personal + @pytest.mark.twog + @pytest.mark.pkt60 + def test_client_wpa_personal_bridge_pkt_60_2g(self, lf_tools, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes BRIDGE MODE + pytest -m "throughput_vs_pkt and Bridge and wpa_personal and twog and pkt60" + """ + profile_data = setup_params_general["ssid_modes"]["wpa"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa" + mode = "BRIDGE" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 60'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_THRU_PKT_WPA_2G_60", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") + @pytest.mark.wpa_personal + @pytest.mark.twog + @pytest.mark.pkt142 + def test_client_wpa_personal_bridge_pkt_142_2g(self, lf_tools, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes BRIDGE MODE + pytest -m "throughput_vs_pkt and Bridge and wpa_personal and twog and pkt142" + """ + profile_data = setup_params_general["ssid_modes"]["wpa"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa" + mode = "BRIDGE" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 142'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_THRU_PKT_WPA_2G_142", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") + @pytest.mark.wpa_personal + @pytest.mark.twog + @pytest.mark.pkt256 + def test_client_wpa_personal_bridge_pkt_256_2g(self, lf_tools, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes BRIDGE MODE + pytest -m "throughput_vs_pkt and Bridge and wpa_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa" + mode = "BRIDGE" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 256'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_THRU_PKT_WPA_2G_256", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") + @pytest.mark.wpa_personal + @pytest.mark.twog + @pytest.mark.pkt512 + def test_client_wpa_personal_bridge_pkt_512_2g(self, lf_tools, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes BRIDGE MODE + pytest -m "throughput_vs_pkt and Bridge and wpa_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa" + mode = "BRIDGE" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 512'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_THRU_PKT_WPA_2G_512", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") + @pytest.mark.wpa_personal + @pytest.mark.twog + @pytest.mark.pkt1024 + def test_client_wpa_personal_bridge_pkt_1024_2g(self, lf_tools, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes BRIDGE MODE + pytest -m "throughput_vs_pkt and Bridge and wpa_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa" + mode = "BRIDGE" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 1024'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_THRU_PKT_WPA_2G_1024", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") + @pytest.mark.wpa_personal + @pytest.mark.twog + @pytest.mark.pktMTU + def test_client_wpa_personal_bridge_pkt_MTU_2g(self, lf_tools, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes BRIDGE MODE + pytest -m "throughput_vs_pkt and Bridge and wpa_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa" + mode = "BRIDGE" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: MTU'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_THRU_PKT_WPA_2G_MTU", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + +setup_params_5g = { + "mode": "BRIDGE", + "ssid_modes": { + "wpa": [{"ssid_name": "ssid_wpa_2g", "appliedRadios": ["2G"], "security_key": "something"}, + {"ssid_name": "ssid_wpa_5g", "appliedRadios": ["5G"], + "security_key": "something"}]}, + + "rf": {}, + "radius": False +} + + +@allure.feature("BRIDGE MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : WPA Security") +@allure.suite("Bridge Mode") +@allure.sub_suite("5GHz Band") +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_5g], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class TestThroughputVsPktWpaBridge5G(object): + """Throughput vs Various Pkt Size Test BRIDGE MODE + pytest -m "throughput_vs_pkt and Bridge" + """ + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") + @pytest.mark.wpa_personal + @pytest.mark.fiveg + @pytest.mark.pkt60 + def test_client_wpa_personal_bridge_pkt_60_5g(self, lf_tools, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes BRIDGE MODE + pytest -m "throughput_vs_pkt and Bridge and wpa_personal and fiveg" + """ + profile_data = setup_params_5g["ssid_modes"]["wpa"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 60'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_THRU_PKT_WPA_5G_60", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") + @pytest.mark.wpa_personal + @pytest.mark.fiveg + @pytest.mark.pkt142 + def test_client_wpa_personal_bridge_pkt_142_5g(self, lf_tools, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes BRIDGE MODE + pytest -m "throughput_vs_pkt and Bridge and wpa_personal and fiveg" + """ + profile_data = setup_params_5g["ssid_modes"]["wpa"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 142'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_THRU_PKT_WPA_5G_142", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") + @pytest.mark.wpa_personal + @pytest.mark.fiveg + @pytest.mark.pkt256 + def test_client_wpa_personal_bridge_pkt_256_5g(self, lf_tools, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes BRIDGE MODE + pytest -m "throughput_vs_pkt and Bridge and wpa_personal and fiveg" + """ + profile_data = setup_params_5g["ssid_modes"]["wpa"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 256'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_THRU_PKT_WPA_5G_256", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") + @pytest.mark.wpa_personal + @pytest.mark.fiveg + @pytest.mark.pkt512 + def test_client_wpa_personal_bridge_pkt_512_5g(self, lf_tools, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes BRIDGE MODE + pytest -m "throughput_vs_pkt and Bridge and wpa_personal and fiveg" + """ + profile_data = setup_params_5g["ssid_modes"]["wpa"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 512'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_THRU_PKT_WPA_5G_512", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") + @pytest.mark.wpa_personal + @pytest.mark.fiveg + @pytest.mark.pkt1024 + def test_client_wpa_personal_bridge_pkt_1024_5g(self, lf_tools, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes BRIDGE MODE + pytest -m "throughput_vs_pkt and Bridge and wpa_personal and fiveg" + """ + profile_data = setup_params_5g["ssid_modes"]["wpa"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 1024'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_THRU_PKT_WPA_5G_1024", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") + @pytest.mark.wpa_personal + @pytest.mark.fiveg + @pytest.mark.pktMTU + def test_client_wpa_personal_bridge_pkt_MTU_5g(self, lf_tools, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes BRIDGE MODE + pytest -m "throughput_vs_pkt and Bridge and wpa_personal and fiveg" + """ + profile_data = setup_params_5g["ssid_modes"]["wpa"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: MTU'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_THRU_PKT_WPA_5G_MTU", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa_security/test_nat_mode.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa_security/test_nat_mode.py new file mode 100644 index 00000000000..f9502eee072 --- /dev/null +++ b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa_security/test_nat_mode.py @@ -0,0 +1,645 @@ +""" + + Performance Test: Throughput vs Various Pkt Size Test: NAT MODE + pytest -m "throughput_vs_pkt and NAT" + +""" +import os +import pytest +import allure + +pytestmark = [pytest.mark.throughput_vs_pkt, pytest.mark.nat, pytest.mark.wpa,] + # pytest.mark.usefixtures("setup_test_run")] + +setup_params_general = { + "mode": "NAT", + "ssid_modes": { + "wpa": [{"ssid_name": "ssid_wpa_2g", "appliedRadios": ["2G"], "security_key": "something"}, + {"ssid_name": "ssid_wpa_5g", "appliedRadios": ["5G"], + "security_key": "something"}]}, + + "rf": {}, + "radius": False +} + + +@allure.feature("NAT MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : WPA Security") +@allure.suite("NAT Mode") +@allure.sub_suite("2.4GHz Band") +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +@pytest.mark.wpa +class TestThroughputVsPktWpaNat2G(object): + """Throughput vs Various Pkt Size Test nat mode + pytest -m "throughput_vs_pkt and nat" + """ + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") + @pytest.mark.wpa_personal + @pytest.mark.twog + @pytest.mark.pkt60 + def test_client_wpa_personal_pkt_60_2g(self, lf_tools, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes nat Mode + pytest -m "throughput_vs_pkt and nat and wpa_personal and twog and pkt60" + """ + profile_data = setup_params_general["ssid_modes"]["wpa"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa" + mode = "NAT" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 60'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_THRU_PKT_WPA_2G_60", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") + @pytest.mark.wpa_personal + @pytest.mark.twog + @pytest.mark.pkt142 + def test_client_wpa_personal_pkt_142_2g(self, lf_tools, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes nat Mode + pytest -m "throughput_vs_pkt and nat and wpa_personal and twog and pkt142" + """ + profile_data = setup_params_general["ssid_modes"]["wpa"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa" + mode = "NAT" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 142'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_THRU_PKT_WPA_2G_142", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") + @pytest.mark.wpa_personal + @pytest.mark.twog + @pytest.mark.pkt256 + def test_client_wpa_personal_pkt_256_2g(self, lf_tools, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes nat Mode + pytest -m "throughput_vs_pkt and nat and wpa_personal and twog and pkt256" + """ + profile_data = setup_params_general["ssid_modes"]["wpa"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa" + mode = "NAT" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 256'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_THRU_PKT_WPA_2G_256", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") + @pytest.mark.wpa_personal + @pytest.mark.twog + @pytest.mark.pkt512 + def test_client_wpa_personal_pkt_512_2g(self, lf_tools, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes nat Mode + pytest -m "throughput_vs_pkt and nat and wpa_personal and twog and pkt512" + """ + profile_data = setup_params_general["ssid_modes"]["wpa"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa" + mode = "NAT" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 512'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_THRU_PKT_WPA_2G_512", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") + @pytest.mark.wpa_personal + @pytest.mark.twog + @pytest.mark.pkt1024 + def test_client_wpa_personal_pkt_1024_2g(self, lf_tools, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes nat Mode + pytest -m "throughput_vs_pkt and nat and wpa_personal and twog and pkt1024" + """ + profile_data = setup_params_general["ssid_modes"]["wpa"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa" + mode = "NAT" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 1024'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_THRU_PKT_WPA_2G_1024", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") + @pytest.mark.wpa_personal + @pytest.mark.twog + @pytest.mark.pktMTU + def test_client_wpa_personal_pkt_MTU_2g(self, lf_tools, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes nat Mode + pytest -m "throughput_vs_pkt and nat and wpa_personal and twog and pktMTU" + """ + profile_data = setup_params_general["ssid_modes"]["wpa"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa" + mode = "NAT" + band = "twog" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: MTU'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_THRU_PKT_WPA_2G_MTU", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + +setup_params_5g = { + "mode": "NAT", + "ssid_modes": { + "wpa_personal": [{"ssid_name": "ssid_wpa_2g", "appliedRadios": ["2G"], "security_key": "something"}, + {"ssid_name": "ssid_wpa_5g", "appliedRadios": ["5G"], + "security_key": "something"}]}, + + "rf": {}, + "radius": False +} + + +@allure.feature("NAT MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : WPA Security") +@allure.suite("NAT Mode") +@allure.sub_suite("5GHz Band") +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_5g], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +@pytest.mark.wpa +class TestThroughputVsPktWpaNat5G(object): + """Throughput vs Various Pkt Size Test nat mode + pytest -m "throughput_vs_pkt and nat" + """ + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") + @pytest.mark.wpa_personal + @pytest.mark.fiveg + @pytest.mark.pkt60 + def test_client_wpa_personal_pkt_60_5g(self, lf_tools, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes nat Mode + pytest -m "throughput_vs_pkt and nat and wpa_personal and fiveg and pkt60" + """ + profile_data = setup_params_5g["ssid_modes"]["wpa"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 60'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_THRU_PKT_WPA_5G_60", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") + @pytest.mark.wpa_personal + @pytest.mark.fiveg + @pytest.mark.pkt142 + def test_client_wpa_personal_pkt_142_5g(self, lf_tools, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes nat Mode + pytest -m "throughput_vs_pkt and nat and wpa_personal and fiveg and pkt142" + """ + profile_data = setup_params_5g["ssid_modes"]["wpa"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 142'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_THRU_PKT_WPA_5G_142", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") + @pytest.mark.wpa_personal + @pytest.mark.fiveg + @pytest.mark.pkt256 + def test_client_wpa_personal_pkt_256_5g(self, lf_tools, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes nat Mode + pytest -m "throughput_vs_pkt and nat and wpa_personal and fiveg and pkt256" + """ + profile_data = setup_params_5g["ssid_modes"]["wpa"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 256'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_THRU_PKT_WPA_5G_256", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") + @pytest.mark.wpa_personal + @pytest.mark.fiveg + @pytest.mark.pkt512 + def test_client_wpa_personal_pkt_512_5g(self, lf_tools, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes nat Mode + pytest -m "throughput_vs_pkt and nat and wpa_personal and fiveg and pkt512" + """ + profile_data = setup_params_5g["ssid_modes"]["wpa"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 512'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_THRU_PKT_WPA_5G_512", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") + @pytest.mark.wpa_personal + @pytest.mark.fiveg + @pytest.mark.pkt1024 + def test_client_wpa_personal_pkt_1024_5g(self, lf_tools, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes nat Mode + pytest -m "throughput_vs_pkt and nat and wpa_personal and fiveg and pkt1024" + """ + profile_data = setup_params_5g["ssid_modes"]["wpa"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 1024'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_THRU_PKT_WPA_5G_1024", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") + @pytest.mark.wpa_personal + @pytest.mark.fiveg + @pytest.mark.pktMTU + def test_client_wpa_personal_pkt_MTU_5g(self, lf_tools, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes nat Mode + pytest -m "throughput_vs_pkt and nat and wpa_personal and fiveg and pktMTU" + """ + profile_data = setup_params_5g["ssid_modes"]["wpa"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa" + mode = "NAT" + band = "fiveg" + vlan = 1 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: MTU'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_THRU_PKT_WPA_5G_MTU", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False diff --git a/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa_security/test_vlan_mode.py b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa_security/test_vlan_mode.py new file mode 100644 index 00000000000..4215f3375fe --- /dev/null +++ b/tests/e2e/basic/performance_tests/throughput_benchmark/throughput_vs_various_pkt_sizes/wpa_security/test_vlan_mode.py @@ -0,0 +1,651 @@ +""" + + Performance Test: Throughput vs Various Pkt Size Test: VLAN MODE + pytest -m "throughput_vs_pkt and VLAN" + +""" +import os +import pytest +import allure + +pytestmark = [pytest.mark.throughput_vs_pkt, pytest.mark.vlan, pytest.mark.wpa,] + # pytest.mark.usefixtures("setup_test_run")] + +setup_params_general = { + "mode": "VLAN", + "ssid_modes": { + "wpa": [{"ssid_name": "ssid_wpa_2g", "appliedRadios": ["2G"], "security_key": "something", "vlan": 100}, + {"ssid_name": "ssid_wpa_5g", "appliedRadios": ["5G"], "security_key": "something", "vlan": 100}]}, + + "rf": {}, + "radius": False +} + + +@allure.feature("VLAN MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : WPA Security") +@allure.suite("VLAN Mode") +@allure.sub_suite("2.4GHz Band") +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class TestThroughputVsPktVLANWpa2G(object): + """Throughput vs Various Pkt Size Test VLAN MODE + pytest -m "throughput_vs_pkt and VLAN" + """ + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") + @pytest.mark.wpa_personal + @pytest.mark.twog + @pytest.mark.pkt60 + def test_client_wpa_personal_pkt_60_2g(self, lf_tools, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes VLAN MODE + pytest -m "throughput_vs_pkt and VLAN and wpa_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa" + mode = "VLAN" + band = "twog" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 60'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_THRU_PKT_WPA_2G_60", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") + @pytest.mark.wpa_personal + @pytest.mark.twog + @pytest.mark.pkt142 + def test_client_wpa_personal_pkt_142_2g(self, lf_tools, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes VLAN MODE + pytest -m "throughput_vs_pkt and VLAN and wpa_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa" + mode = "VLAN" + band = "twog" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 142'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_THRU_PKT_WPA_2G_142", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") + @pytest.mark.wpa_personal + @pytest.mark.twog + @pytest.mark.pkt256 + def test_client_wpa_personal_pkt_256_2g(self, lf_tools, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes VLAN MODE + pytest -m "throughput_vs_pkt and VLAN and wpa_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa" + mode = "VLAN" + band = "twog" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 256'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_THRU_PKT_WPA_2G_256", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") + @pytest.mark.wpa_personal + @pytest.mark.twog + @pytest.mark.pkt512 + def test_client_wpa_personal_pkt_512_2g(self, lf_tools, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes VLAN MODE + pytest -m "throughput_vs_pkt and VLAN and wpa_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa" + mode = "VLAN" + band = "twog" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 512'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_THRU_PKT_WPA_2G_512", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") + @pytest.mark.wpa_personal + @pytest.mark.twog + @pytest.mark.pkt1024 + def test_client_wpa_personal_pkt_1024_2g(self, lf_tools, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes VLAN MODE + pytest -m "throughput_vs_pkt and VLAN and wpa_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa" + mode = "VLAN" + band = "twog" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 1024'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_THRU_PKT_WPA_2G_1024", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") + @pytest.mark.wpa_personal + @pytest.mark.twog + @pytest.mark.pktMTU + def test_client_wpa_personal_pkt_MTU_2g(self, lf_tools, + lf_test, station_names_twog, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes VLAN MODE + pytest -m "throughput_vs_pkt and VLAN and wpa_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa" + mode = "VLAN" + band = "twog" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: MTU'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_twog, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_twog, mode=mode, + instance_name="TIP_PERF_THRU_PKT_WPA_2G_MTU", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_twog) + assert station + else: + assert False + + +setup_params_5g = { + "mode": "VLAN", + "ssid_modes": { + "wpa": [{"ssid_name": "ssid_wpa_2g", "appliedRadios": ["2G"], "security_key": "something", "vlan": 100}, + {"ssid_name": "ssid_wpa_5g", "appliedRadios": ["5G"], "security_key": "something", "vlan": 100}]}, + "rf": {}, + "radius": False +} + + +@allure.feature("VLAN MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Throughput Benchmark Test: Throughput v/s Varying Packet Sizes Tests : WPA Security") +@allure.suite("VLAN Mode") +@allure.sub_suite("5GHz Band") +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_5g], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class TestThroughputVsPktVLANWpa5G(object): + """Throughput vs Various Pkt Size Test VLAN MODE + pytest -m "throughput_vs_pkt and VLAN" + """ + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") + @pytest.mark.wpa_personal + @pytest.mark.fiveg + @pytest.mark.pkt60 + def test_client_wpa_personal_pkt_60_5g(self, lf_tools, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes VLAN MODE + pytest -m "throughput_vs_pkt and vlan and wpa_personal and fiveg" """ + profile_data = setup_params_5g["ssid_modes"]["wpa"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 60'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_THRU_PKT_WPA_VLAN_5G_60", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") + @pytest.mark.wpa_personal + @pytest.mark.fiveg + @pytest.mark.pkt142 + def test_client_wpa_personal_pkt_142_5g(self, lf_tools, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes VLAN MODE + pytest -m "throughput_vs_pkt and vlan and wpa_personal and fiveg" + """ + profile_data = setup_params_5g["ssid_modes"]["wpa"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 142'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_THRU_PKT_WPA_VLAN_5G_142", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") + @pytest.mark.wpa_personal + @pytest.mark.fiveg + @pytest.mark.pkt256 + def test_client_wpa_personal_pkt_256_5g(self, lf_tools, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes VLAN MODE + pytest -m "throughput_vs_pkt and vlan and wpa_personal and fiveg" + """ + profile_data = setup_params_5g["ssid_modes"]["wpa"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 256'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_THRU_PKT_WPA_VLAN_5G", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") + @pytest.mark.wpa_personal + @pytest.mark.fiveg + @pytest.mark.pkt512 + def test_client_wpa_personal_pkt_512_5g(self, lf_tools, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes VLAN MODE + pytest -m "throughput_vs_pkt and vlan and wpa_personal and fiveg" + """ + profile_data = setup_params_5g["ssid_modes"]["wpa"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 512'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_THRU_PKT_WPA_VLAN_5G_512", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") + @pytest.mark.wpa_personal + @pytest.mark.fiveg + @pytest.mark.pkt1024 + def test_client_wpa_personal_pkt_1024_5g(self, lf_tools, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes VLAN MODE + pytest -m "throughput_vs_pkt and vlan and wpa_personal and fiveg" + """ + profile_data = setup_params_5g["ssid_modes"]["wpa"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: 1024'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_THRU_PKT_WPA_VLAN_5G_1024", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2548", name="WIFI-2548") + @pytest.mark.wpa_personal + @pytest.mark.fiveg + @pytest.mark.pktMTU + def test_client_wpa_personal_pkt_MTU_5g(self, lf_tools, + lf_test, station_names_fiveg, create_lanforge_chamberview_dut, + get_configuration): + """Throughput Vs Pkt Sizes VLAN MODE + pytest -m "throughput_vs_pkt and vlan and wpa_personal and fiveg" + """ + profile_data = setup_params_5g["ssid_modes"]["wpa"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa" + mode = "VLAN" + band = "fiveg" + vlan = 100 + dut_name = create_lanforge_chamberview_dut + raw_lines = [['pkts: MTU'], + ['directions: DUT Transmit;DUT Receive'], + ['traffic_types: UDP;TCP'], ["show_3s: 1"], + ["show_ll_graphs: 1"], ["show_log: 1"]] + # if ssid_name not in get_vif_state: + # allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state)) + # pytest.xfail("SSID NOT AVAILABLE IN VIF STATE") + station = lf_test.Client_Connect(ssid=ssid_name, security=security, passkey=security_key, + mode=mode, band=band, + station_name=station_names_fiveg, vlan_id=vlan) + + if station: + dp_obj = lf_test.dataplane(station_name=station_names_fiveg, mode=mode, + instance_name="TIP_PERF_THRU_PKT_WPA_VLAN_5G_MTU", + vlan_id=vlan, dut_name=dut_name, raw_lines=raw_lines) + report_name = dp_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + # entries = os.listdir("../reports/" + report_name + '/') + # pdf = False + # for i in entries: + # if ".pdf" in i: + # pdf = i + # if pdf: + # allure.attach.file(source="../reports/" + report_name + "/" + pdf, + # name=get_configuration["access_point"][0]["model"] + "_dataplane") + lf_tools.attach_report_graphs(report_name=report_name) + print("Test Completed... Cleaning up Stations") + lf_test.Client_disconnect(station_name=station_names_fiveg) + assert station + else: + assert False