Wifi 11977 (#758)

* Added proper parent suite, suite, sub suite and title for allure

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

* Changed mode NAT to NAT-WAN

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>
This commit is contained in:
jitendracandela
2022-12-21 13:24:21 +05:30
committed by GitHub
parent c98e79f515
commit 2eef6f7d32
4 changed files with 46 additions and 18 deletions

View File

@@ -1359,6 +1359,9 @@ setup_params_general_11 = {
@allure.feature("PEAK THROUGHPUT TESTS") @allure.feature("PEAK THROUGHPUT TESTS")
@allure.parent_suite("Throughput Benchmark Test")
@allure.suite("2.4 Ghz Band")
@allure.sub_suite("BRIDGE Mode")
@pytest.mark.channel_11 @pytest.mark.channel_11
@pytest.mark.parametrize( @pytest.mark.parametrize(
'setup_configuration', 'setup_configuration',
@@ -1376,11 +1379,8 @@ class Test40Mhz2GChannel11PeakThroughput(object):
@pytest.mark.tcp_download @pytest.mark.tcp_download
@pytest.mark.ow_sanity_lf @pytest.mark.ow_sanity_lf
@pytest.mark.performance @pytest.mark.performance
@allure.parent_suite("Throughput Benchmark Test")
@pytest.mark.channel_11 @pytest.mark.channel_11
@allure.suite("2.4 Ghz Band")
@allure.title("Single client TCP Download wifi capacity 40Mhz Bw") @allure.title("Single client TCP Download wifi capacity 40Mhz Bw")
@allure.sub_suite("BRIDGE Mode")
def test_client_wpa2_personal_bridge_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, def test_client_wpa2_personal_bridge_tcp_dl(self, get_test_library, get_dut_logs_per_test_case,
get_test_device_logs, num_stations, setup_configuration, get_test_device_logs, num_stations, setup_configuration,
check_connectivity): check_connectivity):
@@ -1400,6 +1400,7 @@ class Test40Mhz2GChannel11PeakThroughput(object):
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944")
@pytest.mark.udp_download @pytest.mark.udp_download
@pytest.mark.performance @pytest.mark.performance
@allure.title("Single client UDP Download wifi capacity 40Mhz Bw")
def test_client_wpa2_personal_bridge_udp_dl(self, get_test_library, get_dut_logs_per_test_case, def test_client_wpa2_personal_bridge_udp_dl(self, get_test_library, get_dut_logs_per_test_case,
get_test_device_logs, num_stations, setup_configuration): get_test_device_logs, num_stations, setup_configuration):
""" Wifi Capacity Test BRIDGE mode """ Wifi Capacity Test BRIDGE mode
@@ -1418,6 +1419,7 @@ class Test40Mhz2GChannel11PeakThroughput(object):
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943")
@pytest.mark.tcp_bidirectional @pytest.mark.tcp_bidirectional
@pytest.mark.performance @pytest.mark.performance
@allure.title("Single client TCP Bidirectional wifi capacity 40Mhz Bw")
def test_client_wpa2_personal_bridge_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, def test_client_wpa2_personal_bridge_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case,
get_test_device_logs, num_stations, setup_configuration): get_test_device_logs, num_stations, setup_configuration):
""" Wifi Capacity Test BRIDGE mode """ Wifi Capacity Test BRIDGE mode
@@ -1436,6 +1438,7 @@ class Test40Mhz2GChannel11PeakThroughput(object):
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946")
@pytest.mark.udp_bidirectional @pytest.mark.udp_bidirectional
@pytest.mark.performance @pytest.mark.performance
@allure.title("Single client UDP Bidirectional wifi capacity 40Mhz Bw")
def test_client_wpa2_personal_bridge_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, def test_client_wpa2_personal_bridge_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case,
get_test_device_logs, num_stations, setup_configuration): get_test_device_logs, num_stations, setup_configuration):
""" Wifi Capacity Test BRIDGE mode """ Wifi Capacity Test BRIDGE mode
@@ -1454,6 +1457,7 @@ class Test40Mhz2GChannel11PeakThroughput(object):
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942")
@pytest.mark.tcp_upload @pytest.mark.tcp_upload
@pytest.mark.performance @pytest.mark.performance
@allure.title("Single client TCP Upload wifi capacity 40Mhz Bw")
def test_client_wpa2_personal_bridge_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, def test_client_wpa2_personal_bridge_tcp_ul(self, get_test_library, get_dut_logs_per_test_case,
get_test_device_logs, num_stations, setup_configuration): get_test_device_logs, num_stations, setup_configuration):
""" Wifi Capacity Test BRIDGE mode """ Wifi Capacity Test BRIDGE mode
@@ -1472,6 +1476,7 @@ class Test40Mhz2GChannel11PeakThroughput(object):
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945")
@pytest.mark.udp_upload @pytest.mark.udp_upload
@pytest.mark.performance @pytest.mark.performance
@allure.title("Single client UDP Upload wifi capacity 40Mhz Bw")
def test_client_wpa2_personal_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_case, def test_client_wpa2_personal_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_case,
get_test_device_logs, num_stations, setup_configuration): get_test_device_logs, num_stations, setup_configuration):
""" Wifi Capacity Test BRIDGE mode """ Wifi Capacity Test BRIDGE mode

View File

@@ -28,6 +28,9 @@ setup_params_general1 = {
@allure.feature("PEAK THROUGHPUT TESTS") @allure.feature("PEAK THROUGHPUT TESTS")
@allure.parent_suite("Throughput Benchmark Test")
@allure.suite("5 Ghz Band")
@allure.sub_suite("BRIDGE Mode")
@pytest.mark.channel_36 @pytest.mark.channel_36
@pytest.mark.parametrize( @pytest.mark.parametrize(
'setup_configuration', 'setup_configuration',
@@ -45,10 +48,7 @@ class Test80Mhz5GChannel36PeakThroughput(object):
@pytest.mark.tcp_download @pytest.mark.tcp_download
@pytest.mark.ow_sanity_lf @pytest.mark.ow_sanity_lf
@pytest.mark.performance @pytest.mark.performance
@allure.parent_suite("Throughput Benchmark Test")
@allure.suite("5 Ghz Band")
@allure.title("Single client TCP Download wifi capacity 80Mhz Bw") @allure.title("Single client TCP Download wifi capacity 80Mhz Bw")
@allure.sub_suite("BRIDGE Mode")
def test_client_wpa2_bridge_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, 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, check_connectivity): get_test_device_logs, num_stations, setup_configuration, check_connectivity):
""" Single client TCP download Wifi Capacity Test 5GHz band 80MHz bandwidth wpa2 personal security BRIDGE mode """ Single client TCP download Wifi Capacity Test 5GHz band 80MHz bandwidth wpa2 personal security BRIDGE mode
@@ -67,6 +67,7 @@ class Test80Mhz5GChannel36PeakThroughput(object):
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944")
@pytest.mark.udp_download @pytest.mark.udp_download
@pytest.mark.performance @pytest.mark.performance
@allure.title("Single client UDP Download wifi capacity 80Mhz Bw")
def test_client_wpa2_bridge_udp_dl(self, get_test_library, get_dut_logs_per_test_case, 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): get_test_device_logs, num_stations, setup_configuration):
""" Wifi Capacity Test BRIDGE mode """ Wifi Capacity Test BRIDGE mode
@@ -86,6 +87,7 @@ class Test80Mhz5GChannel36PeakThroughput(object):
@pytest.mark.tcp_bidirectional @pytest.mark.tcp_bidirectional
@pytest.mark.performance @pytest.mark.performance
@pytest.mark.channel_36 @pytest.mark.channel_36
@allure.title("Single client TCP Bidirectional wifi capacity 80Mhz Bw")
def test_client_wpa2_bridge_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, 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): get_test_device_logs, num_stations, setup_configuration):
""" Wifi Capacity Test BRIDGE mode """ Wifi Capacity Test BRIDGE mode
@@ -103,6 +105,7 @@ class Test80Mhz5GChannel36PeakThroughput(object):
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946")
@pytest.mark.udp_bidirectional @pytest.mark.udp_bidirectional
@pytest.mark.performance @pytest.mark.performance
@allure.title("Single client UDP Bidirectional wifi capacity 80Mhz Bw")
def test_client_wpa2_bridge_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, 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): get_test_device_logs, num_stations, setup_configuration):
""" Wifi Capacity Test BRIDGE mode """ Wifi Capacity Test BRIDGE mode
@@ -121,6 +124,7 @@ class Test80Mhz5GChannel36PeakThroughput(object):
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942")
@pytest.mark.tcp_upload @pytest.mark.tcp_upload
@pytest.mark.performance @pytest.mark.performance
@allure.title("Single client TCP Upload wifi capacity 80Mhz Bw")
def test_client_wpa2_bridge_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, 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): get_test_device_logs, num_stations, setup_configuration):
""" Wifi Capacity Test BRIDGE mode """ Wifi Capacity Test BRIDGE mode
@@ -139,6 +143,7 @@ class Test80Mhz5GChannel36PeakThroughput(object):
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945")
@pytest.mark.udp_upload @pytest.mark.udp_upload
@pytest.mark.performance @pytest.mark.performance
@allure.title("Single client UDP Upload wifi capacity 80Mhz Bw")
def test_client_wpa2_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_case, 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): get_test_device_logs, num_stations, setup_configuration):
""" Wifi Capacity Test BRIDGE mode """ Wifi Capacity Test BRIDGE mode

View File

@@ -1348,6 +1348,9 @@ setup_params_general_11 = {
@allure.feature("PEAK THROUGHPUT TESTS") @allure.feature("PEAK THROUGHPUT TESTS")
@allure.parent_suite("Throughput Benchmark Test")
@allure.suite("2.4 Ghz Band")
@allure.sub_suite("NAT Mode")
@pytest.mark.channel_11 @pytest.mark.channel_11
@pytest.mark.parametrize( @pytest.mark.parametrize(
'setup_configuration', 'setup_configuration',
@@ -1364,6 +1367,7 @@ class Test20Mhz2GChannel11PeakThroughput(object):
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934")
@pytest.mark.tcp_download @pytest.mark.tcp_download
@pytest.mark.performance @pytest.mark.performance
@allure.title("Single client TCP Download wifi capacity 40Mhz Bw")
def test_client_wpa2_personal_nat_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, def test_client_wpa2_personal_nat_tcp_dl(self, get_test_library, get_dut_logs_per_test_case,
get_test_device_logs, num_stations, setup_configuration): get_test_device_logs, num_stations, setup_configuration):
""" Wifi Capacity Test NAT mode """ Wifi Capacity Test NAT mode
@@ -1371,7 +1375,7 @@ class Test20Mhz2GChannel11PeakThroughput(object):
""" """
profile_data = {"ssid_name": "ssid_wpa2_personal_2g_11", "appliedRadios": ["2G"], "security_key": "something"} profile_data = {"ssid_name": "ssid_wpa2_personal_2g_11", "appliedRadios": ["2G"], "security_key": "something"}
ssid_name = profile_data["ssid_name"] ssid_name = profile_data["ssid_name"]
mode = "NAT" mode = "NAT-WAN"
get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode,
download_rate="1Gbps", batch_size="1", download_rate="1Gbps", batch_size="1",
upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000",
@@ -1382,6 +1386,7 @@ class Test20Mhz2GChannel11PeakThroughput(object):
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944")
@pytest.mark.udp_download @pytest.mark.udp_download
@pytest.mark.performance @pytest.mark.performance
@allure.title("Single client UDP Download wifi capacity 40Mhz Bw")
def test_client_wpa2_personal_nat_udp_dl(self, get_test_library, get_dut_logs_per_test_case, def test_client_wpa2_personal_nat_udp_dl(self, get_test_library, get_dut_logs_per_test_case,
get_test_device_logs, num_stations, setup_configuration): get_test_device_logs, num_stations, setup_configuration):
""" Wifi Capacity Test NAT mode """ Wifi Capacity Test NAT mode
@@ -1389,7 +1394,7 @@ class Test20Mhz2GChannel11PeakThroughput(object):
""" """
profile_data = {"ssid_name": "ssid_wpa2_personal_2g_11", "appliedRadios": ["2G"], "security_key": "something"} profile_data = {"ssid_name": "ssid_wpa2_personal_2g_11", "appliedRadios": ["2G"], "security_key": "something"}
ssid_name = profile_data["ssid_name"] ssid_name = profile_data["ssid_name"]
mode = "NAT" mode = "NAT-WAN"
get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode,
download_rate="1Gbps", batch_size="1", download_rate="1Gbps", batch_size="1",
upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000",
@@ -1400,6 +1405,7 @@ class Test20Mhz2GChannel11PeakThroughput(object):
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943")
@pytest.mark.tcp_bidirectional @pytest.mark.tcp_bidirectional
@pytest.mark.performance @pytest.mark.performance
@allure.title("Single client TCP Bidirectional wifi capacity 40Mhz Bw")
def test_client_wpa2_personal_nat_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, def test_client_wpa2_personal_nat_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case,
get_test_device_logs, num_stations, setup_configuration): get_test_device_logs, num_stations, setup_configuration):
""" Wifi Capacity Test NAT mode """ Wifi Capacity Test NAT mode
@@ -1407,7 +1413,7 @@ class Test20Mhz2GChannel11PeakThroughput(object):
""" """
profile_data = {"ssid_name": "ssid_wpa2_personal_2g_11", "appliedRadios": ["2G"], "security_key": "something"} profile_data = {"ssid_name": "ssid_wpa2_personal_2g_11", "appliedRadios": ["2G"], "security_key": "something"}
ssid_name = profile_data["ssid_name"] ssid_name = profile_data["ssid_name"]
mode = "NAT" mode = "NAT-WAN"
get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode,
download_rate="1Gbps", batch_size="1", download_rate="1Gbps", batch_size="1",
upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000",
@@ -1418,6 +1424,7 @@ class Test20Mhz2GChannel11PeakThroughput(object):
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946")
@pytest.mark.udp_bidirectional @pytest.mark.udp_bidirectional
@pytest.mark.performance @pytest.mark.performance
@allure.title("Single client UDP Bidirectional wifi capacity 40Mhz Bw")
def test_client_wpa2_personal_nat_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, def test_client_wpa2_personal_nat_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case,
get_test_device_logs, num_stations, setup_configuration): get_test_device_logs, num_stations, setup_configuration):
""" Wifi Capacity Test NAT mode """ Wifi Capacity Test NAT mode
@@ -1425,7 +1432,7 @@ class Test20Mhz2GChannel11PeakThroughput(object):
""" """
profile_data = {"ssid_name": "ssid_wpa2_personal_2g_11", "appliedRadios": ["2G"], "security_key": "something"} profile_data = {"ssid_name": "ssid_wpa2_personal_2g_11", "appliedRadios": ["2G"], "security_key": "something"}
ssid_name = profile_data["ssid_name"] ssid_name = profile_data["ssid_name"]
mode = "NAT" mode = "NAT-WAN"
get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_udp_bidirectional", mode=mode, get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_udp_bidirectional", mode=mode,
download_rate="1Gbps", batch_size="1", download_rate="1Gbps", batch_size="1",
upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000",
@@ -1436,6 +1443,7 @@ class Test20Mhz2GChannel11PeakThroughput(object):
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942")
@pytest.mark.tcp_upload @pytest.mark.tcp_upload
@pytest.mark.performance @pytest.mark.performance
@allure.title("Single client TCP Upload wifi capacity 40Mhz Bw")
def test_client_wpa2_personal_nat_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, def test_client_wpa2_personal_nat_tcp_ul(self, get_test_library, get_dut_logs_per_test_case,
get_test_device_logs, num_stations, setup_configuration): get_test_device_logs, num_stations, setup_configuration):
""" Wifi Capacity Test NAT mode """ Wifi Capacity Test NAT mode
@@ -1443,7 +1451,7 @@ class Test20Mhz2GChannel11PeakThroughput(object):
""" """
profile_data = {"ssid_name": "ssid_wpa2_personal_2g_11", "appliedRadios": ["2G"], "security_key": "something"} profile_data = {"ssid_name": "ssid_wpa2_personal_2g_11", "appliedRadios": ["2G"], "security_key": "something"}
ssid_name = profile_data["ssid_name"] ssid_name = profile_data["ssid_name"]
mode = "NAT" mode = "NAT-WAN"
get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_ul", mode=mode, get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_ul", mode=mode,
download_rate="0Gbps", batch_size="1", download_rate="0Gbps", batch_size="1",
upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000",
@@ -1454,6 +1462,7 @@ class Test20Mhz2GChannel11PeakThroughput(object):
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945")
@pytest.mark.udp_upload @pytest.mark.udp_upload
@pytest.mark.performance @pytest.mark.performance
@allure.title("Single client UDP Upload wifi capacity 40Mhz Bw")
def test_client_wpa2_personal_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_case, def test_client_wpa2_personal_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_case,
get_test_device_logs, num_stations, setup_configuration): get_test_device_logs, num_stations, setup_configuration):
""" Wifi Capacity Test NAT mode """ Wifi Capacity Test NAT mode
@@ -1461,7 +1470,7 @@ class Test20Mhz2GChannel11PeakThroughput(object):
""" """
profile_data = {"ssid_name": "ssid_wpa2_personal_2g_11", "appliedRadios": ["2G"], "security_key": "something"} profile_data = {"ssid_name": "ssid_wpa2_personal_2g_11", "appliedRadios": ["2G"], "security_key": "something"}
ssid_name = profile_data["ssid_name"] ssid_name = profile_data["ssid_name"]
mode = "NAT" mode = "NAT-WAN"
get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_udp_ul", mode=mode, get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_udp_ul", mode=mode,
download_rate="0Gbps", batch_size="1", download_rate="0Gbps", batch_size="1",
upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000",

View File

@@ -28,6 +28,9 @@ setup_params_general1 = {
@allure.feature("PEAK THROUGHPUT TESTS") @allure.feature("PEAK THROUGHPUT TESTS")
@allure.parent_suite("Throughput Benchmark Test")
@allure.suite("5 Ghz Band")
@allure.sub_suite("NAT Mode")
@pytest.mark.channel_36 @pytest.mark.channel_36
@pytest.mark.parametrize( @pytest.mark.parametrize(
'setup_configuration', 'setup_configuration',
@@ -44,6 +47,7 @@ class Test80Mhz5GChannel36PeakThroughput(object):
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934")
@pytest.mark.tcp_download @pytest.mark.tcp_download
@pytest.mark.performance @pytest.mark.performance
@allure.title("Single client TCP Download wifi capacity 80Mhz Bw")
def test_client_wpa2_nat_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, 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): get_test_device_logs, num_stations, setup_configuration):
""" Wifi Capacity Test NAT mode """ Wifi Capacity Test NAT mode
@@ -51,7 +55,7 @@ class Test80Mhz5GChannel36PeakThroughput(object):
""" """
profile_data = {"ssid_name": "ssid_wpa2_5g_36", "appliedRadios": ["5G"], "security_key": "something"} profile_data = {"ssid_name": "ssid_wpa2_5g_36", "appliedRadios": ["5G"], "security_key": "something"}
ssid_name = profile_data["ssid_name"] ssid_name = profile_data["ssid_name"]
mode = "NAT" mode = "NAT-WAN"
get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode,
download_rate="1Gbps", batch_size="1", download_rate="1Gbps", batch_size="1",
upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000",
@@ -62,6 +66,7 @@ class Test80Mhz5GChannel36PeakThroughput(object):
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944")
@pytest.mark.udp_download @pytest.mark.udp_download
@pytest.mark.performance @pytest.mark.performance
@allure.title("Single client UDP Download wifi capacity 80Mhz Bw")
def test_client_wpa2_nat_udp_dl(self, get_test_library, get_dut_logs_per_test_case, 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): get_test_device_logs, num_stations, setup_configuration):
""" Wifi Capacity Test NAT mode """ Wifi Capacity Test NAT mode
@@ -69,7 +74,7 @@ class Test80Mhz5GChannel36PeakThroughput(object):
""" """
profile_data = {"ssid_name": "ssid_wpa2_5g_36", "appliedRadios": ["5G"], "security_key": "something"} profile_data = {"ssid_name": "ssid_wpa2_5g_36", "appliedRadios": ["5G"], "security_key": "something"}
ssid_name = profile_data["ssid_name"] ssid_name = profile_data["ssid_name"]
mode = "NAT" mode = "NAT-WAN"
get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode,
download_rate="1Gbps", batch_size="1", download_rate="1Gbps", batch_size="1",
upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000",
@@ -80,6 +85,7 @@ class Test80Mhz5GChannel36PeakThroughput(object):
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943")
@pytest.mark.tcp_bidirectional @pytest.mark.tcp_bidirectional
@pytest.mark.performance @pytest.mark.performance
@allure.title("Single client TCP Bidirectional wifi capacity 80Mhz Bw")
def test_client_wpa2_nat_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, 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): get_test_device_logs, num_stations, setup_configuration):
""" Wifi Capacity Test NAT mode """ Wifi Capacity Test NAT mode
@@ -87,7 +93,7 @@ class Test80Mhz5GChannel36PeakThroughput(object):
""" """
profile_data = {"ssid_name": "ssid_wpa2_5g_36", "appliedRadios": ["5G"], "security_key": "something"} profile_data = {"ssid_name": "ssid_wpa2_5g_36", "appliedRadios": ["5G"], "security_key": "something"}
ssid_name = profile_data["ssid_name"] ssid_name = profile_data["ssid_name"]
mode = "NAT" mode = "NAT-WAN"
get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode,
download_rate="1Gbps", batch_size="1", download_rate="1Gbps", batch_size="1",
upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000",
@@ -98,6 +104,7 @@ class Test80Mhz5GChannel36PeakThroughput(object):
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946")
@pytest.mark.udp_bidirectional @pytest.mark.udp_bidirectional
@pytest.mark.performance @pytest.mark.performance
@allure.title("Single client UDP Bidirectional wifi capacity 80Mhz Bw")
def test_client_wpa2_nat_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, 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): get_test_device_logs, num_stations, setup_configuration):
""" Wifi Capacity Test NAT mode """ Wifi Capacity Test NAT mode
@@ -105,7 +112,7 @@ class Test80Mhz5GChannel36PeakThroughput(object):
""" """
profile_data = {"ssid_name": "ssid_wpa2_5g_36", "appliedRadios": ["5G"], "security_key": "something"} profile_data = {"ssid_name": "ssid_wpa2_5g_36", "appliedRadios": ["5G"], "security_key": "something"}
ssid_name = profile_data["ssid_name"] ssid_name = profile_data["ssid_name"]
mode = "NAT" mode = "NAT-WAN"
get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_bidirectional", mode=mode, get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_bidirectional", mode=mode,
download_rate="1Gbps", batch_size="1", download_rate="1Gbps", batch_size="1",
upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000",
@@ -116,6 +123,7 @@ class Test80Mhz5GChannel36PeakThroughput(object):
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942")
@pytest.mark.tcp_upload @pytest.mark.tcp_upload
@pytest.mark.performance @pytest.mark.performance
@allure.title("Single client TCP Upload wifi capacity 80Mhz Bw")
def test_client_wpa2_nat_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, 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): get_test_device_logs, num_stations, setup_configuration):
""" Wifi Capacity Test NAT mode """ Wifi Capacity Test NAT mode
@@ -123,7 +131,7 @@ class Test80Mhz5GChannel36PeakThroughput(object):
""" """
profile_data = {"ssid_name": "ssid_wpa2_5g_36", "appliedRadios": ["5G"], "security_key": "something"} profile_data = {"ssid_name": "ssid_wpa2_5g_36", "appliedRadios": ["5G"], "security_key": "something"}
ssid_name = profile_data["ssid_name"] ssid_name = profile_data["ssid_name"]
mode = "NAT" mode = "NAT-WAN"
get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_ul", mode=mode, get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_ul", mode=mode,
download_rate="0Gbps", batch_size="1", download_rate="0Gbps", batch_size="1",
upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000",
@@ -134,6 +142,7 @@ class Test80Mhz5GChannel36PeakThroughput(object):
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945")
@pytest.mark.udp_upload @pytest.mark.udp_upload
@pytest.mark.performance @pytest.mark.performance
@allure.title("Single client UDP Upload wifi capacity 80Mhz Bw")
def test_client_wpa2_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_case, 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): get_test_device_logs, num_stations, setup_configuration):
""" Wifi Capacity Test NAT mode """ Wifi Capacity Test NAT mode
@@ -141,7 +150,7 @@ class Test80Mhz5GChannel36PeakThroughput(object):
""" """
profile_data = {"ssid_name": "ssid_wpa2_5g_36", "appliedRadios": ["5G"], "security_key": "something"} profile_data = {"ssid_name": "ssid_wpa2_5g_36", "appliedRadios": ["5G"], "security_key": "something"}
ssid_name = profile_data["ssid_name"] ssid_name = profile_data["ssid_name"]
mode = "NAT" mode = "NAT-WAN"
get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_ul", mode=mode, get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_ul", mode=mode,
download_rate="0Gbps", batch_size="1", download_rate="0Gbps", batch_size="1",
upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000",