mirror of
https://github.com/Telecominfraproject/wlan-testing.git
synced 2026-01-27 10:23:37 +00:00
update: AX Capacity test plan as per new libs
Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>
This commit is contained in:
committed by
GitHub
parent
bfb417aeeb
commit
648401d5f2
@@ -1,15 +1,11 @@
|
||||
"""
|
||||
|
||||
Performance Test: AX Capacity Test : BRIDGE Mode
|
||||
pytest -m "wifi_capacity_test and BRIDGE"
|
||||
|
||||
pytest -m "wifi_capacity_ax and wpa2_personal and bridge"
|
||||
"""
|
||||
import os
|
||||
import pytest
|
||||
import allure
|
||||
|
||||
pytestmark = [pytest.mark.performance, pytest.mark.bridge, pytest.mark.wifi_capacity_ax]
|
||||
|
||||
pytestmark = [pytest.mark.performance, pytest.mark.bridge, pytest.mark.wifi_capacity_ax, pytest.mark.wpa2_personal]
|
||||
setup_params_general_5G = {
|
||||
"mode": "BRIDGE",
|
||||
"ssid_modes": {
|
||||
@@ -17,12 +13,21 @@ setup_params_general_5G = {
|
||||
{"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something"}
|
||||
]
|
||||
},
|
||||
"rf": {},
|
||||
"rf": {
|
||||
"5G": {
|
||||
"band": "5G",
|
||||
"channel-width": 80,
|
||||
"channel": 36
|
||||
}
|
||||
},
|
||||
"radius": False
|
||||
}
|
||||
|
||||
|
||||
@allure.feature("BRIDGE MODE CLIENT CONNECTIVITY")
|
||||
@allure.feature("Performance Test")
|
||||
@allure.parent_suite("AX Capacity Test")
|
||||
@allure.suite("5 GHz Band")
|
||||
@allure.sub_suite("BRIDGE Mode")
|
||||
@pytest.mark.parametrize(
|
||||
'setup_configuration',
|
||||
[setup_params_general_5G],
|
||||
@@ -30,154 +35,348 @@ setup_params_general_5G = {
|
||||
scope="class"
|
||||
)
|
||||
@pytest.mark.usefixtures("setup_configuration")
|
||||
@pytest.mark.wpa2_personal
|
||||
@pytest.mark.fiveg
|
||||
@pytest.mark.fiveg_band
|
||||
|
||||
class TestWifiCapacityBRIDGEModeAX5G(object):
|
||||
""" Wifi Capacity Test BRIDGE mode
|
||||
pytest -m "wifi_capacity_test and BRIDGE"
|
||||
"""
|
||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934")
|
||||
@pytest.mark.tcp_download
|
||||
def test_client_wpa2_BRIDGE_tcp_dl(self, lf_tools, setup_configuration,
|
||||
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"
|
||||
@allure.title("Single AX client TCP Download wifi capacity")
|
||||
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,
|
||||
get_lab_info, selected_testbed, check_connectivity):
|
||||
"""
|
||||
profile_data = setup_params_general_5G["ssid_modes"]["wpa2_personal"][0]
|
||||
ssid_name = profile_data["ssid_name"]
|
||||
mode = "BRIDGE"
|
||||
vlan = 1
|
||||
lf_tools.add_stations(band="ax", num_stations="max", dut=lf_tools.dut_name, ssid_name=ssid_name)
|
||||
lf_tools.Chamber_View()
|
||||
wct_obj = lf_test.wifi_capacity(instance_name="test_client_wpa2_BRIDGE_tcp_dl", mode=mode, vlan_id=vlan,
|
||||
download_rate="1Gbps",
|
||||
upload_rate="0", protocol="TCP-IPv4", duration="60000")
|
||||
Description:
|
||||
The test case examines the maximum performance of a DUT supporting 802.11ax clients in Bridge mode.
|
||||
This test focuses on stressing the DUT's capacity under the influence of 5Ghz TCP Download traffic.
|
||||
The 5Ghz station is configured for 80Mhz bandwidth and two spatial streams.
|
||||
|
||||
report_name = wct_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
|
||||
Markers:
|
||||
wifi_capacity_ax and wpa2_personal and bridge and fiveg and tcp_download
|
||||
|
||||
lf_tools.attach_report_graphs(report_name=report_name)
|
||||
print("Test Completed... Cleaning up Stations")
|
||||
Note:
|
||||
Please refer to the PDF report for detailed observations and analysis of the test results.
|
||||
"""
|
||||
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
|
||||
|
||||
get_test_library.ax_capacity_test(instance_name="test_client_wpa2_bridge_tcp_dl", dut_data=setup_configuration,
|
||||
dut_mode=dut_mode, protocol="TCP-IPv4", upload_rate="56Kbps",
|
||||
download_rate="10Gbps", num_stations={"5G": 1}, mode="BRIDGE")
|
||||
assert True
|
||||
|
||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944")
|
||||
@pytest.mark.udp_download
|
||||
def test_client_wpa2_BRIDGE_udp_dl(self, lf_tools,
|
||||
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"
|
||||
@allure.title("Single AX client UDP Download wifi capacity")
|
||||
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_lab_info, selected_testbed, check_connectivity):
|
||||
"""
|
||||
profile_data = setup_params_general_5G["ssid_modes"]["wpa2_personal"][0]
|
||||
ssid_name = profile_data["ssid_name"]
|
||||
mode = "BRIDGE"
|
||||
vlan = 1
|
||||
lf_tools.add_stations(band="ax", num_stations="max", dut=lf_tools.dut_name, ssid_name=ssid_name)
|
||||
lf_tools.Chamber_View()
|
||||
wct_obj = lf_test.wifi_capacity(instance_name="test_client_wpa2_BRIDGE_udp_dl", mode=mode, vlan_id=vlan,
|
||||
download_rate="1Gbps",
|
||||
upload_rate="0", protocol="UDP-IPv4", duration="60000")
|
||||
Description:
|
||||
The test case examines the maximum performance of a DUT supporting 802.11ax clients in Bridge mode.
|
||||
This test focuses on stressing the DUT's capacity under the influence of 5Ghz UDP Download traffic.
|
||||
The 5Ghz station is configured for 80Mhz bandwidth and two spatial streams.
|
||||
|
||||
report_name = wct_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
|
||||
Markers:
|
||||
wifi_capacity_ax and wpa2_personal and bridge and fiveg and udp_download
|
||||
|
||||
lf_tools.attach_report_graphs(report_name=report_name)
|
||||
print("Test Completed... Cleaning up Stations")
|
||||
Note:
|
||||
Please refer to the PDF report for detailed observations and analysis of the test results.
|
||||
"""
|
||||
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
|
||||
|
||||
get_test_library.ax_capacity_test(instance_name="test_client_wpa2_bridge_udp_dl", dut_data=setup_configuration,
|
||||
dut_mode=dut_mode, protocol="UDP-IPv4", upload_rate="56Kbps",
|
||||
download_rate="10Gbps", num_stations={"5G": 1}, mode="BRIDGE")
|
||||
assert True
|
||||
|
||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943")
|
||||
@pytest.mark.tcp_bidirectional
|
||||
def test_client_wpa2_BRIDGE_tcp_bidirectional(self, lf_tools,
|
||||
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"
|
||||
@allure.title("Single AX client TCP Bidirectional wifi capacity")
|
||||
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_lab_info, selected_testbed, check_connectivity):
|
||||
"""
|
||||
profile_data = setup_params_general_5G["ssid_modes"]["wpa2_personal"][0]
|
||||
ssid_name = profile_data["ssid_name"]
|
||||
mode = "BRIDGE"
|
||||
vlan = 1
|
||||
lf_tools.add_stations(band="ax", num_stations="max", dut=lf_tools.dut_name, ssid_name=ssid_name)
|
||||
lf_tools.Chamber_View()
|
||||
wct_obj = lf_test.wifi_capacity(instance_name="test_client_wpa2_BRIDGE_tcp_bi", mode=mode, vlan_id=vlan,
|
||||
download_rate="1Gbps",
|
||||
upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000")
|
||||
Description:
|
||||
The test case examines the maximum performance of a DUT supporting 802.11ax clients in Bridge mode.
|
||||
This test focuses on stressing the DUT's capacity under the influence of 5Ghz TCP Bidirectional traffic.
|
||||
The 5Ghz station is configured for 80Mhz bandwidth and two spatial streams.
|
||||
|
||||
report_name = wct_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
|
||||
Markers:
|
||||
wifi_capacity_ax and wpa2_personal and bridge and fiveg and tcp_bidirectional
|
||||
|
||||
lf_tools.attach_report_graphs(report_name=report_name)
|
||||
print("Test Completed... Cleaning up Stations")
|
||||
Note:
|
||||
Please refer to the PDF report for detailed observations and analysis of the test results.
|
||||
"""
|
||||
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
|
||||
|
||||
get_test_library.ax_capacity_test(instance_name="test_client_wpa2_bridge_tcp_bidirectional",
|
||||
dut_data=setup_configuration, dut_mode=dut_mode,
|
||||
protocol="TCP-IPv4", upload_rate="10Gbps", download_rate="10Gbps",
|
||||
num_stations={"5G": 1}, mode="BRIDGE")
|
||||
assert True
|
||||
|
||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946")
|
||||
@pytest.mark.udp_bidirectional
|
||||
def test_client_wpa2_BRIDGE_udp_bidirectional(self, lf_tools,
|
||||
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"
|
||||
@allure.title("Single AX client UDP Bidirectional wifi capacity")
|
||||
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_lab_info, selected_testbed, check_connectivity):
|
||||
"""
|
||||
profile_data = setup_params_general_5G["ssid_modes"]["wpa2_personal"][0]
|
||||
ssid_name = profile_data["ssid_name"]
|
||||
mode = "BRIDGE"
|
||||
vlan = 1
|
||||
lf_tools.add_stations(band="ax", num_stations="max", dut=lf_tools.dut_name, ssid_name=ssid_name)
|
||||
lf_tools.Chamber_View()
|
||||
wct_obj = lf_test.wifi_capacity(instance_name="test_client_wpa2_BRIDGE_udp_bi", mode=mode, vlan_id=vlan,
|
||||
download_rate="1Gbps",
|
||||
upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000")
|
||||
Description:
|
||||
The test case examines the maximum performance of a DUT supporting 802.11ax clients in Bridge mode.
|
||||
This test focuses on stressing the DUT's capacity under the influence of 5Ghz UDP Bidirectional traffic.
|
||||
The 5Ghz station is configured for 80Mhz bandwidth and two spatial streams.
|
||||
|
||||
report_name = wct_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
|
||||
Markers:
|
||||
wifi_capacity_ax and wpa2_personal and bridge and fiveg and udp_bidirectional
|
||||
|
||||
lf_tools.attach_report_graphs(report_name=report_name)
|
||||
print("Test Completed... Cleaning up Stations")
|
||||
Note:
|
||||
Please refer to the PDF report for detailed observations and analysis of the test results.
|
||||
"""
|
||||
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
|
||||
|
||||
get_test_library.ax_capacity_test(instance_name="test_client_wpa2_bridge_udp_bidirectional",
|
||||
dut_data=setup_configuration, dut_mode=dut_mode,
|
||||
protocol="UDP-IPv4", upload_rate="10Gbps", download_rate="10Gbps",
|
||||
num_stations={"5G": 1}, mode="BRIDGE")
|
||||
assert True
|
||||
|
||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942")
|
||||
@pytest.mark.tcp_upload
|
||||
def test_client_wpa2_BRIDGE_tcp_ul(self, lf_tools, setup_configuration,
|
||||
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"
|
||||
@allure.title("Single AX client TCP Upload wifi capacity")
|
||||
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_lab_info, selected_testbed, check_connectivity):
|
||||
"""
|
||||
profile_data = setup_params_general_5G["ssid_modes"]["wpa2_personal"][0]
|
||||
ssid_name = profile_data["ssid_name"]
|
||||
mode = "BRIDGE"
|
||||
vlan = 1
|
||||
lf_tools.add_stations(band="ax", num_stations="max", dut=lf_tools.dut_name, ssid_name=ssid_name)
|
||||
lf_tools.Chamber_View()
|
||||
wct_obj = lf_test.wifi_capacity(instance_name="test_client_wpa2_BRIDGE_tcp_ul", mode=mode, vlan_id=vlan,
|
||||
download_rate="0",
|
||||
upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000")
|
||||
Description:
|
||||
The test case examines the maximum performance of a DUT supporting 802.11ax clients in Bridge mode.
|
||||
This test focuses on stressing the DUT's capacity under the influence of 5Ghz TCP Upload traffic.
|
||||
The 5Ghz station is configured for 80Mhz bandwidth and two spatial streams.
|
||||
|
||||
report_name = wct_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
|
||||
Markers:
|
||||
wifi_capacity_ax and wpa2_personal and bridge and fiveg and tcp_upload
|
||||
|
||||
lf_tools.attach_report_graphs(report_name=report_name)
|
||||
print("Test Completed... Cleaning up Stations")
|
||||
Note:
|
||||
Please refer to the PDF report for detailed observations and analysis of the test results.
|
||||
"""
|
||||
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
|
||||
|
||||
get_test_library.ax_capacity_test(instance_name="test_client_wpa2_bridge_tcp_ul",
|
||||
dut_data=setup_configuration, dut_mode=dut_mode,
|
||||
protocol="TCP-IPv4", upload_rate="10Gbps", download_rate="56Kbps",
|
||||
num_stations={"5G": 1}, mode="BRIDGE")
|
||||
assert True
|
||||
|
||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945")
|
||||
@pytest.mark.udp_upload
|
||||
def test_client_wpa2_BRIDGE_udp_ul(self, lf_tools,
|
||||
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"
|
||||
@allure.title("Single AX client UDP Upload wifi capacity")
|
||||
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_lab_info, selected_testbed, check_connectivity):
|
||||
"""
|
||||
profile_data = setup_params_general_5G["ssid_modes"]["wpa2_personal"][0]
|
||||
ssid_name = profile_data["ssid_name"]
|
||||
mode = "BRIDGE"
|
||||
vlan = 1
|
||||
lf_tools.add_stations(band="ax", num_stations="max", dut=lf_tools.dut_name, ssid_name=ssid_name)
|
||||
lf_tools.Chamber_View()
|
||||
wct_obj = lf_test.wifi_capacity(instance_name="test_client_wpa2_BRIDGE_udp_dl", mode=mode, vlan_id=vlan,
|
||||
download_rate="0",
|
||||
upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000")
|
||||
Description:
|
||||
The test case examines the maximum performance of a DUT supporting 802.11ax clients in Bridge mode.
|
||||
This test focuses on stressing the DUT's capacity under the influence of 5Ghz UDP Upload traffic.
|
||||
The 5Ghz station is configured for 80Mhz bandwidth and two spatial streams.
|
||||
|
||||
report_name = wct_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
|
||||
Markers:
|
||||
wifi_capacity_ax and wpa2_personal and bridge and fiveg and udp_upload
|
||||
|
||||
lf_tools.attach_report_graphs(report_name=report_name)
|
||||
print("Test Completed... Cleaning up Stations")
|
||||
assert True
|
||||
Note:
|
||||
Please refer to the PDF report for detailed observations and analysis of the test results.
|
||||
"""
|
||||
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
|
||||
|
||||
get_test_library.ax_capacity_test(instance_name="test_client_wpa2_bridge_udp_ul",
|
||||
dut_data=setup_configuration, dut_mode=dut_mode,
|
||||
protocol="UDP-IPv4", upload_rate="10Gbps", download_rate="56Kbps",
|
||||
num_stations={"5G": 1}, mode="BRIDGE")
|
||||
assert True
|
||||
|
||||
|
||||
setup_params_general_2G = {
|
||||
"mode": "BRIDGE",
|
||||
"ssid_modes": {
|
||||
"wpa2_personal": [
|
||||
{"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something"}
|
||||
]
|
||||
},
|
||||
"rf": {
|
||||
"2G": {
|
||||
"band": "2G",
|
||||
"channel-width": 20,
|
||||
"channel": 6
|
||||
}
|
||||
},
|
||||
"radius": False
|
||||
}
|
||||
|
||||
|
||||
@allure.feature("Performance Test")
|
||||
@allure.parent_suite("AX Capacity Test")
|
||||
@allure.suite("2.4 GHz Band")
|
||||
@allure.sub_suite("BRIDGE Mode")
|
||||
@pytest.mark.parametrize(
|
||||
'setup_configuration',
|
||||
[setup_params_general_2G],
|
||||
indirect=True,
|
||||
scope="class"
|
||||
)
|
||||
@pytest.mark.usefixtures("setup_configuration")
|
||||
@pytest.mark.twog
|
||||
class TestWifiCapacityBRIDGEModeAX2G(object):
|
||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-13284", name="WIFI-13284")
|
||||
@pytest.mark.tcp_download
|
||||
@allure.title("Single AX client TCP Download wifi capacity")
|
||||
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,
|
||||
get_lab_info, selected_testbed, check_connectivity):
|
||||
"""
|
||||
Description:
|
||||
The test case examines the maximum performance of a DUT supporting 802.11ax clients in Bridge mode.
|
||||
This test focuses on stressing the DUT's capacity under the influence of 2.4Ghz TCP Download traffic.
|
||||
The 2.4Ghz station is configured for 20Mhz bandwidth and two spatial streams.
|
||||
|
||||
Markers:
|
||||
wifi_capacity_ax and wpa2_personal and bridge and twog and tcp_download
|
||||
|
||||
Note:
|
||||
Please refer to the PDF report for detailed observations and analysis of the test results.
|
||||
"""
|
||||
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
|
||||
|
||||
get_test_library.ax_capacity_test(instance_name="test_client_wpa2_bridge_tcp_dl",
|
||||
dut_data=setup_configuration, dut_mode=dut_mode,
|
||||
protocol="TCP-IPv4", upload_rate="56Kbps", download_rate="10Gbps",
|
||||
num_stations={"2G": 1}, mode="BRIDGE")
|
||||
assert True
|
||||
|
||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-13287", name="WIFI-13287")
|
||||
@pytest.mark.udp_download
|
||||
@allure.title("Single AX client UDP Download wifi capacity")
|
||||
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_lab_info, selected_testbed, check_connectivity):
|
||||
"""
|
||||
Description:
|
||||
The test case examines the maximum performance of a DUT supporting 802.11ax clients in Bridge mode.
|
||||
This test focuses on stressing the DUT's capacity under the influence of 2.4Ghz UDP Download traffic.
|
||||
The 2.4Ghz station is configured for 20Mhz bandwidth and two spatial streams.
|
||||
|
||||
Markers:
|
||||
wifi_capacity_ax and wpa2_personal and bridge and twog and udp_download
|
||||
|
||||
Note:
|
||||
Please refer to the PDF report for detailed observations and analysis of the test results.
|
||||
"""
|
||||
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
|
||||
|
||||
get_test_library.ax_capacity_test(instance_name="test_client_wpa2_bridge_udp_dl",
|
||||
dut_data=setup_configuration, dut_mode=dut_mode,
|
||||
protocol="UDP-IPv4", upload_rate="56Kbps", download_rate="10Gbps",
|
||||
num_stations={"2G": 1}, mode="BRIDGE")
|
||||
assert True
|
||||
|
||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-13286", name="WIFI-13286")
|
||||
@pytest.mark.tcp_bidirectional
|
||||
@allure.title("Single AX client TCP Bidirectional wifi capacity")
|
||||
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_lab_info, selected_testbed, check_connectivity):
|
||||
"""
|
||||
Description:
|
||||
The test case examines the maximum performance of a DUT supporting 802.11ax clients in Bridge mode.
|
||||
This test focuses on stressing the DUT's capacity under the influence of 2.4Ghz TCP Bidirectional traffic.
|
||||
The 2.4Ghz station is configured for 20Mhz bandwidth and two spatial streams.
|
||||
|
||||
Markers:
|
||||
wifi_capacity_ax and wpa2_personal and bridge and twog and tcp_bidirectional
|
||||
|
||||
Note:
|
||||
Please refer to the PDF report for detailed observations and analysis of the test results.
|
||||
"""
|
||||
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
|
||||
|
||||
get_test_library.ax_capacity_test(instance_name="test_client_wpa2_bridge_tcp_bidirectional",
|
||||
dut_data=setup_configuration,
|
||||
dut_mode=dut_mode,
|
||||
protocol="TCP-IPv4", upload_rate="10Gbps", download_rate="10Gbps",
|
||||
num_stations={"2G": 1}, mode="BRIDGE")
|
||||
assert True
|
||||
|
||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-13289", name="WIFI-13289")
|
||||
@pytest.mark.udp_bidirectional
|
||||
@allure.title("Single AX client UDP Bidirectional wifi capacity")
|
||||
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_lab_info, selected_testbed, check_connectivity):
|
||||
"""
|
||||
Description:
|
||||
The test case examines the maximum performance of a DUT supporting 802.11ax clients in Bridge mode.
|
||||
This test focuses on stressing the DUT's capacity under the influence of 2.4Ghz UDP Bidirectional traffic.
|
||||
The 2.4Ghz station is configured for 20Mhz bandwidth and two spatial streams.
|
||||
|
||||
Markers:
|
||||
wifi_capacity_ax and wpa2_personal and bridge and twog and udp_bidirectional
|
||||
|
||||
Note:
|
||||
Please refer to the PDF report for detailed observations and analysis of the test results.
|
||||
"""
|
||||
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
|
||||
|
||||
get_test_library.ax_capacity_test(instance_name="test_client_wpa2_bridge_udp_bidirectional",
|
||||
dut_data=setup_configuration,
|
||||
dut_mode=dut_mode,
|
||||
protocol="UDP-IPv4", upload_rate="10Gbps", download_rate="10Gbps",
|
||||
num_stations={"2G": 1}, mode="BRIDGE")
|
||||
assert True
|
||||
|
||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-13285", name="WIFI-13285")
|
||||
@pytest.mark.tcp_upload
|
||||
@allure.title("Single AX client TCP Upload wifi capacity")
|
||||
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_lab_info, selected_testbed, check_connectivity):
|
||||
"""
|
||||
Description:
|
||||
The test case examines the maximum performance of a DUT supporting 802.11ax clients in Bridge mode.
|
||||
This test focuses on stressing the DUT's capacity under the influence of 2.4Ghz TCP Upload traffic.
|
||||
The 2.4Ghz station is configured for 20Mhz bandwidth and two spatial streams.
|
||||
|
||||
Markers:
|
||||
wifi_capacity_ax and wpa2_personal and bridge and twog and tcp_upload
|
||||
|
||||
Note:
|
||||
Please refer to the PDF report for detailed observations and analysis of the test results.
|
||||
"""
|
||||
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
|
||||
|
||||
get_test_library.ax_capacity_test(instance_name="test_client_wpa2_bridge_tcp_ul",
|
||||
dut_data=setup_configuration, dut_mode=dut_mode,
|
||||
protocol="TCP-IPv4", upload_rate="10Gbps", download_rate="56Kbps",
|
||||
num_stations={"2G": 1}, mode="BRIDGE")
|
||||
assert True
|
||||
|
||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-13288", name="WIFI-13288")
|
||||
@pytest.mark.udp_upload
|
||||
@allure.title("Single AX client UDP Upload wifi capacity")
|
||||
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_lab_info, selected_testbed, check_connectivity):
|
||||
"""
|
||||
Description:
|
||||
The test case examines the maximum performance of a 2G-enabled DUT supporting 802.11ax clients in Bridge mode.
|
||||
This test focuses on stressing the DUT's capacity under the influence of 2.4Ghz UDP Upload traffic.
|
||||
The 2.4Ghz station is configured for 20Mhz bandwidth and two spatial streams.
|
||||
|
||||
Markers:
|
||||
wifi_capacity_ax and wpa2_personal and bridge and twog and udp_upload
|
||||
|
||||
Note:
|
||||
Please refer to the PDF report for detailed observations and analysis of the test results.
|
||||
"""
|
||||
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
|
||||
|
||||
get_test_library.ax_capacity_test(instance_name="test_client_wpa2_bridge_udp_ul",
|
||||
dut_data=setup_configuration, dut_mode=dut_mode,
|
||||
protocol="UDP-IPv4", upload_rate="10Gbps", download_rate="56Kbps",
|
||||
num_stations={"2G": 1}, mode="BRIDGE")
|
||||
assert True
|
||||
|
||||
@@ -1,14 +1,11 @@
|
||||
"""
|
||||
|
||||
Performance Test: Wifi Capacity Test : NAT Mode
|
||||
pytest -m "wifi_capacity_test and NAT"
|
||||
|
||||
Performance Test: AX Capacity Test : NAT Mode
|
||||
pytest -m "wifi_capacity_ax and wpa2_personal and nat"
|
||||
"""
|
||||
import os
|
||||
import pytest
|
||||
import allure
|
||||
|
||||
pytestmark = [pytest.mark.performance, pytest.mark.nat, pytest.mark.wifi_capacity_ax]
|
||||
pytestmark = [pytest.mark.performance, pytest.mark.nat, pytest.mark.wifi_capacity_ax, pytest.mark.wpa2_personal]
|
||||
setup_params_general_5G = {
|
||||
"mode": "NAT",
|
||||
"ssid_modes": {
|
||||
@@ -16,12 +13,21 @@ setup_params_general_5G = {
|
||||
{"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something"}
|
||||
]
|
||||
},
|
||||
"rf": {},
|
||||
"rf": {
|
||||
"5G": {
|
||||
"band": "5G",
|
||||
"channel-width": 80,
|
||||
"channel": 36
|
||||
}
|
||||
},
|
||||
"radius": False
|
||||
}
|
||||
|
||||
|
||||
@allure.feature("NAT MODE CLIENT CONNECTIVITY")
|
||||
@allure.feature("Performance Test")
|
||||
@allure.parent_suite("AX Capacity Test")
|
||||
@allure.suite("5 GHz Band")
|
||||
@allure.sub_suite("NAT Mode")
|
||||
@pytest.mark.parametrize(
|
||||
'setup_configuration',
|
||||
[setup_params_general_5G],
|
||||
@@ -29,154 +35,348 @@ setup_params_general_5G = {
|
||||
scope="class"
|
||||
)
|
||||
@pytest.mark.usefixtures("setup_configuration")
|
||||
@pytest.mark.wpa2_personal
|
||||
@pytest.mark.fiveg
|
||||
@pytest.mark.fiveg_band
|
||||
class TestWifiCapacityNATModeAX5G(object):
|
||||
""" Wifi Capacity Test NAT mode
|
||||
pytest -m "wifi_capacity_test and NAT"
|
||||
"""
|
||||
|
||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6947", name="WIFI-6947")
|
||||
@pytest.mark.tcp_download
|
||||
def test_client_wpa2_NAT_tcp_dl(self, lf_tools, setup_configuration,
|
||||
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"
|
||||
@allure.title("Single AX client TCP Download wifi capacity")
|
||||
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_lab_info, selected_testbed, check_connectivity):
|
||||
"""
|
||||
profile_data = setup_params_general_5G["ssid_modes"]["wpa2_personal"][0]
|
||||
ssid_name = profile_data["ssid_name"]
|
||||
mode = "NAT"
|
||||
vlan = 1
|
||||
lf_tools.add_stations(band="ax", num_stations="max", dut=lf_tools.dut_name, ssid_name=ssid_name)
|
||||
lf_tools.Chamber_View()
|
||||
wct_obj = lf_test.wifi_capacity(instance_name="test_client_wpa2_NAT_tcp_dl", mode=mode, vlan_id=vlan,
|
||||
download_rate="1Gbps",
|
||||
upload_rate="0", protocol="TCP-IPv4", duration="60000")
|
||||
Description:
|
||||
The test case examines the maximum performance of a DUT supporting 802.11ax clients in NAT mode.
|
||||
This test focuses on stressing the DUT's capacity under the influence of 5Ghz TCP Download traffic.
|
||||
The 5Ghz station is configured for 80Mhz bandwidth and two spatial streams.
|
||||
|
||||
report_name = wct_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
|
||||
Markers:
|
||||
wifi_capacity_ax and wpa2_personal and nat and fiveg and tcp_download
|
||||
|
||||
lf_tools.attach_report_graphs(report_name=report_name)
|
||||
print("Test Completed... Cleaning up Stations")
|
||||
Note:
|
||||
Please refer to the PDF report for detailed observations and analysis of the test results.
|
||||
"""
|
||||
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
|
||||
|
||||
get_test_library.ax_capacity_test(instance_name="test_client_wpa2_nat_tcp_dl",
|
||||
dut_data=setup_configuration, dut_mode=dut_mode,
|
||||
protocol="TCP-IPv4", upload_rate="56Kbps", download_rate="10Gbps",
|
||||
num_stations={"5G": 1}, mode="NAT-WAN")
|
||||
assert True
|
||||
|
||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6950", name="WIFI-6950")
|
||||
@pytest.mark.udp_download
|
||||
def test_client_wpa2_NAT_udp_dl(self, lf_tools,
|
||||
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"
|
||||
@allure.title("Single AX client UDP Download wifi capacity")
|
||||
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_lab_info, selected_testbed, check_connectivity):
|
||||
"""
|
||||
profile_data = setup_params_general_5G["ssid_modes"]["wpa2_personal"][0]
|
||||
ssid_name = profile_data["ssid_name"]
|
||||
mode = "NAT"
|
||||
vlan = 1
|
||||
lf_tools.add_stations(band="ax", num_stations="max", dut=lf_tools.dut_name, ssid_name=ssid_name)
|
||||
lf_tools.Chamber_View()
|
||||
wct_obj = lf_test.wifi_capacity(instance_name="test_client_wpa2_NAT_udp_dl", mode=mode, vlan_id=vlan,
|
||||
download_rate="1Gbps",
|
||||
upload_rate="0", protocol="UDP-IPv4", duration="60000")
|
||||
Description:
|
||||
The test case examines the maximum performance of a DUT supporting 802.11ax clients in NAT mode.
|
||||
This test focuses on stressing the DUT's capacity under the influence of 5Ghz UDP Download traffic.
|
||||
The 5Ghz station is configured for 80Mhz bandwidth and two spatial streams.
|
||||
|
||||
report_name = wct_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
|
||||
Markers:
|
||||
wifi_capacity_ax and wpa2_personal and nat and fiveg and udp_download
|
||||
|
||||
lf_tools.attach_report_graphs(report_name=report_name)
|
||||
print("Test Completed... Cleaning up Stations")
|
||||
Note:
|
||||
Please refer to the PDF report for detailed observations and analysis of the test results.
|
||||
"""
|
||||
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
|
||||
|
||||
get_test_library.ax_capacity_test(instance_name="test_client_wpa2_nat_tcp_dl",
|
||||
dut_data=setup_configuration, dut_mode=dut_mode,
|
||||
protocol="UDP-IPv4", upload_rate="56Kbps", download_rate="10Gbps",
|
||||
num_stations={"5G": 1}, mode="NAT-WAN")
|
||||
assert True
|
||||
|
||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6949", name="WIFI-6949")
|
||||
@pytest.mark.tcp_bidirectional
|
||||
def test_client_wpa2_NAT_tcp_bidirectional(self, lf_tools,
|
||||
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"
|
||||
@allure.title("Single AX client TCP Bidirectional wifi capacity")
|
||||
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_lab_info, selected_testbed, check_connectivity):
|
||||
"""
|
||||
profile_data = setup_params_general_5G["ssid_modes"]["wpa2_personal"][0]
|
||||
ssid_name = profile_data["ssid_name"]
|
||||
mode = "NAT"
|
||||
vlan = 1
|
||||
lf_tools.add_stations(band="ax", num_stations="max", dut=lf_tools.dut_name, ssid_name=ssid_name)
|
||||
lf_tools.Chamber_View()
|
||||
wct_obj = lf_test.wifi_capacity(instance_name="test_client_wpa2_NAT_tcp_bi", mode=mode, vlan_id=vlan,
|
||||
download_rate="1Gbps",
|
||||
upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000")
|
||||
Description:
|
||||
The test case examines the maximum performance of a DUT supporting 802.11ax clients in NAT mode.
|
||||
This test focuses on stressing the DUT's capacity under the influence of 5Ghz TCP Bidirectional traffic.
|
||||
The 5Ghz station is configured for 80Mhz bandwidth and two spatial streams.
|
||||
|
||||
report_name = wct_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
|
||||
Markers:
|
||||
wifi_capacity_ax and wpa2_personal and nat and fiveg and tcp_bidirectional
|
||||
|
||||
lf_tools.attach_report_graphs(report_name=report_name)
|
||||
print("Test Completed... Cleaning up Stations")
|
||||
Note:
|
||||
Please refer to the PDF report for detailed observations and analysis of the test results.
|
||||
"""
|
||||
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
|
||||
|
||||
get_test_library.ax_capacity_test(instance_name="test_client_wpa2_nat_tcp_bidirectional",
|
||||
dut_data=setup_configuration, dut_mode=dut_mode,
|
||||
protocol="TCP-IPv4", upload_rate="10Gbps", download_rate="10Gbps",
|
||||
num_stations={"5G": 1}, mode="NAT-WAN")
|
||||
assert True
|
||||
|
||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6952", name="WIFI-6952")
|
||||
@pytest.mark.udp_bidirectional
|
||||
def test_client_wpa2_NAT_udp_bidirectional(self, lf_tools,
|
||||
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"
|
||||
@allure.title("Single AX client UDP Bidirectional wifi capacity")
|
||||
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_lab_info, selected_testbed, check_connectivity):
|
||||
"""
|
||||
profile_data = setup_params_general_5G["ssid_modes"]["wpa2_personal"][0]
|
||||
ssid_name = profile_data["ssid_name"]
|
||||
mode = "NAT"
|
||||
vlan = 1
|
||||
lf_tools.add_stations(band="ax", num_stations="max", dut=lf_tools.dut_name, ssid_name=ssid_name)
|
||||
lf_tools.Chamber_View()
|
||||
wct_obj = lf_test.wifi_capacity(instance_name="test_client_wpa2_NAT_udp_bi", mode=mode, vlan_id=vlan,
|
||||
download_rate="1Gbps",
|
||||
upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000")
|
||||
Description:
|
||||
The test case examines the maximum performance of a DUT supporting 802.11ax clients in NAT mode.
|
||||
This test focuses on stressing the DUT's capacity under the influence of 5Ghz UDP Bidirectional traffic.
|
||||
The 5Ghz station is configured for 80Mhz bandwidth and two spatial streams.
|
||||
|
||||
report_name = wct_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
|
||||
Markers:
|
||||
wifi_capacity_ax and wpa2_personal and nat and fiveg and udp_bidirectional
|
||||
|
||||
lf_tools.attach_report_graphs(report_name=report_name)
|
||||
print("Test Completed... Cleaning up Stations")
|
||||
Note:
|
||||
Please refer to the PDF report for detailed observations and analysis of the test results.
|
||||
"""
|
||||
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
|
||||
|
||||
get_test_library.ax_capacity_test(instance_name="test_client_wpa2_nat_udp_bidirectional",
|
||||
dut_data=setup_configuration, dut_mode=dut_mode,
|
||||
protocol="UDP-IPv4", upload_rate="10Gbps", download_rate="10Gbps",
|
||||
num_stations={"5G": 1}, mode="NAT-WAN")
|
||||
assert True
|
||||
|
||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6948", name="WIFI-6948")
|
||||
@pytest.mark.tcp_upload
|
||||
def test_client_wpa2_NAT_tcp_ul(self, lf_tools, setup_configuration,
|
||||
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"
|
||||
@allure.title("Single AX client TCP Upload wifi capacity")
|
||||
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_lab_info, selected_testbed, check_connectivity):
|
||||
"""
|
||||
profile_data = setup_params_general_5G["ssid_modes"]["wpa2_personal"][0]
|
||||
ssid_name = profile_data["ssid_name"]
|
||||
mode = "NAT"
|
||||
vlan = 1
|
||||
lf_tools.add_stations(band="ax", num_stations="max", dut=lf_tools.dut_name, ssid_name=ssid_name)
|
||||
lf_tools.Chamber_View()
|
||||
wct_obj = lf_test.wifi_capacity(instance_name="test_client_wpa2_NAT_tcp_ul", mode=mode, vlan_id=vlan,
|
||||
download_rate="0",
|
||||
upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000")
|
||||
Description:
|
||||
The test case examines the maximum performance of a DUT supporting 802.11ax clients in NAT mode.
|
||||
This test focuses on stressing the DUT's capacity under the influence of 5Ghz TCP Upload traffic.
|
||||
The 5Ghz station is configured for 80Mhz bandwidth and two spatial streams.
|
||||
|
||||
report_name = wct_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
|
||||
Markers:
|
||||
wifi_capacity_ax and wpa2_personal and nat and fiveg and tcp_upload
|
||||
|
||||
lf_tools.attach_report_graphs(report_name=report_name)
|
||||
print("Test Completed... Cleaning up Stations")
|
||||
Note:
|
||||
Please refer to the PDF report for detailed observations and analysis of the test results.
|
||||
"""
|
||||
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
|
||||
|
||||
get_test_library.ax_capacity_test(instance_name="test_client_wpa2_nat_tcp_ul",
|
||||
dut_data=setup_configuration, dut_mode=dut_mode,
|
||||
protocol="TCP-IPv4", upload_rate="10Gbps", download_rate="56Kbps",
|
||||
num_stations={"5G": 1}, mode="NAT-WAN")
|
||||
assert True
|
||||
|
||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6951", name="WIFI-6951")
|
||||
@pytest.mark.udp_upload
|
||||
def test_client_wpa2_NAT_udp_ul(self, lf_tools,
|
||||
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"
|
||||
@allure.title("Single AX client UDP Upload wifi capacity")
|
||||
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_lab_info, selected_testbed, check_connectivity):
|
||||
"""
|
||||
profile_data = setup_params_general_5G["ssid_modes"]["wpa2_personal"][0]
|
||||
ssid_name = profile_data["ssid_name"]
|
||||
mode = "NAT"
|
||||
vlan = 1
|
||||
lf_tools.add_stations(band="ax", num_stations="max", dut=lf_tools.dut_name, ssid_name=ssid_name)
|
||||
lf_tools.Chamber_View()
|
||||
wct_obj = lf_test.wifi_capacity(instance_name="test_client_wpa2_NAT_udp_dl", mode=mode, vlan_id=vlan,
|
||||
download_rate="0",
|
||||
upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000")
|
||||
Description:
|
||||
The test case examines the maximum performance of a DUT supporting 802.11ax clients in NAT mode.
|
||||
This test focuses on stressing the DUT's capacity under the influence of 5Ghz UDP Upload traffic.
|
||||
The 5Ghz station is configured for 80Mhz bandwidth and two spatial streams.
|
||||
|
||||
report_name = wct_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
|
||||
Markers:
|
||||
wifi_capacity_ax and wpa2_personal and nat and fiveg and udp_upload
|
||||
|
||||
lf_tools.attach_report_graphs(report_name=report_name)
|
||||
print("Test Completed... Cleaning up Stations")
|
||||
assert True
|
||||
Note:
|
||||
Please refer to the PDF report for detailed observations and analysis of the test results.
|
||||
"""
|
||||
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
|
||||
|
||||
get_test_library.ax_capacity_test(instance_name="test_client_wpa2_nat_udp_ul",
|
||||
dut_data=setup_configuration, dut_mode=dut_mode,
|
||||
protocol="UDP-IPv4", upload_rate="10Gbps", download_rate="56Kbps",
|
||||
num_stations={"5G": 1}, mode="NAT-WAN")
|
||||
assert True
|
||||
|
||||
|
||||
setup_params_general_2G = {
|
||||
"mode": "NAT",
|
||||
"ssid_modes": {
|
||||
"wpa2_personal": [
|
||||
{"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something"}
|
||||
]
|
||||
},
|
||||
"rf": {
|
||||
"2G": {
|
||||
"band": "2G",
|
||||
"channel-width": 20,
|
||||
"channel": 6
|
||||
}
|
||||
},
|
||||
"radius": False
|
||||
}
|
||||
|
||||
|
||||
@allure.feature("Performance Test")
|
||||
@allure.parent_suite("AX Capacity Test")
|
||||
@allure.suite("2.4 GHz Band")
|
||||
@allure.sub_suite("NAT Mode")
|
||||
@pytest.mark.parametrize(
|
||||
'setup_configuration',
|
||||
[setup_params_general_2G],
|
||||
indirect=True,
|
||||
scope="class"
|
||||
)
|
||||
@pytest.mark.usefixtures("setup_configuration")
|
||||
@pytest.mark.twog
|
||||
class TestWifiCapacityNATModeAX2G(object):
|
||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-13290", name="WIFI-13290")
|
||||
@pytest.mark.tcp_download
|
||||
@allure.title("Single AX client TCP Download wifi capacity")
|
||||
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_lab_info, selected_testbed, check_connectivity):
|
||||
"""
|
||||
Description:
|
||||
The test case examines the maximum performance of a DUT supporting 802.11ax clients in NAT mode.
|
||||
This test focuses on stressing the DUT's capacity under the influence of 2.4Ghz TCP Download traffic.
|
||||
The 2.4Ghz station is configured for 20Mhz bandwidth and two spatial streams.
|
||||
|
||||
Markers:
|
||||
wifi_capacity_ax and wpa2_personal and nat and twog and tcp_download
|
||||
|
||||
Note:
|
||||
Please refer to the PDF report for detailed observations and analysis of the test results.
|
||||
"""
|
||||
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
|
||||
|
||||
get_test_library.ax_capacity_test(instance_name="test_client_wpa2_nat_tcp_dl",
|
||||
dut_data=setup_configuration, dut_mode=dut_mode,
|
||||
protocol="TCP-IPv4", upload_rate="56Kbps", download_rate="10Gbps",
|
||||
num_stations={"2G": 1}, mode="NAT-WAN")
|
||||
assert True
|
||||
|
||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-13293", name="WIFI-13293")
|
||||
@pytest.mark.udp_download
|
||||
@allure.title("Single AX client UDP Download wifi capacity")
|
||||
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_lab_info, selected_testbed, check_connectivity):
|
||||
"""
|
||||
Description:
|
||||
The test case examines the maximum performance of a DUT supporting 802.11ax clients in NAT mode.
|
||||
This test focuses on stressing the DUT's capacity under the influence of 2.4Ghz UDP Download traffic.
|
||||
The 2.4Ghz station is configured for 20Mhz bandwidth and two spatial streams.
|
||||
|
||||
Markers:
|
||||
wifi_capacity_ax and wpa2_personal and nat and twog and udp_download
|
||||
|
||||
Note:
|
||||
Please refer to the PDF report for detailed observations and analysis of the test results.
|
||||
"""
|
||||
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
|
||||
|
||||
get_test_library.ax_capacity_test(instance_name="test_client_wpa2_nat_udp_dl",
|
||||
dut_data=setup_configuration, dut_mode=dut_mode,
|
||||
protocol="UDP-IPv4", upload_rate="56Kbps", download_rate="10Gbps",
|
||||
num_stations={"2G": 1}, mode="NAT-WAN")
|
||||
assert True
|
||||
|
||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-13292", name="WIFI-13292")
|
||||
@pytest.mark.tcp_bidirectional
|
||||
@allure.title("Single AX client TCP Bidirectional wifi capacity")
|
||||
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_lab_info, selected_testbed, check_connectivity):
|
||||
"""
|
||||
Description:
|
||||
The test case examines the maximum performance of a DUT supporting 802.11ax clients in NAT mode.
|
||||
This test focuses on stressing the DUT's capacity under the influence of 2.4Ghz TCP Bidirectional traffic.
|
||||
The 2.4Ghz station is configured for 20Mhz bandwidth and two spatial streams.
|
||||
|
||||
Markers:
|
||||
wifi_capacity_ax and wpa2_personal and nat and twog and tcp_bidirectional
|
||||
|
||||
Note:
|
||||
Please refer to the PDF report for detailed observations and analysis of the test results.
|
||||
"""
|
||||
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
|
||||
|
||||
get_test_library.ax_capacity_test(instance_name="test_client_wpa2_nat_tcp_bidirectional",
|
||||
dut_data=setup_configuration, dut_mode=dut_mode,
|
||||
protocol="TCP-IPv4", upload_rate="10Gbps", download_rate="10Gbps",
|
||||
num_stations={"2G": 1}, mode="NAT-WAN")
|
||||
assert True
|
||||
|
||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-13295", name="WIFI-13295")
|
||||
@pytest.mark.udp_bidirectional
|
||||
@allure.title("Single AX client UDP Bidirectional wifi capacity")
|
||||
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_lab_info, selected_testbed, check_connectivity):
|
||||
"""
|
||||
Description:
|
||||
The test case examines the maximum performance of a DUT supporting 802.11ax clients in NAT mode.
|
||||
This test focuses on stressing the DUT's capacity under the influence of 2.4Ghz UDP Bidirectional traffic.
|
||||
The 2.4Ghz station is configured for 20Mhz bandwidth and two spatial streams.
|
||||
|
||||
Markers:
|
||||
wifi_capacity_ax and wpa2_personal and nat and twog and udp_bidirectional
|
||||
|
||||
Note:
|
||||
Please refer to the PDF report for detailed observations and analysis of the test results.
|
||||
"""
|
||||
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
|
||||
|
||||
get_test_library.ax_capacity_test(instance_name="test_client_wpa2_nat_udp_bidirectional",
|
||||
dut_data=setup_configuration, dut_mode=dut_mode,
|
||||
protocol="UDP-IPv4", upload_rate="10Gbps", download_rate="10Gbps",
|
||||
num_stations={"2G": 1}, mode="NAT-WAN")
|
||||
assert True
|
||||
|
||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-13291", name="WIFI-13291")
|
||||
@pytest.mark.tcp_upload
|
||||
@allure.title("Single AX client TCP Upload wifi capacity")
|
||||
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_lab_info, selected_testbed, check_connectivity):
|
||||
"""
|
||||
Description:
|
||||
The test case examines the maximum performance of a DUT supporting 802.11ax clients in NAT mode.
|
||||
This test focuses on stressing the DUT's capacity under the influence of 2.4Ghz TCP Upload traffic.
|
||||
The 2.4Ghz station is configured for 20Mhz bandwidth and two spatial streams.
|
||||
|
||||
Markers:
|
||||
wifi_capacity_ax and wpa2_personal and nat and twog and tcp_upload
|
||||
|
||||
Note:
|
||||
Please refer to the PDF report for detailed observations and analysis of the test results.
|
||||
"""
|
||||
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
|
||||
|
||||
get_test_library.ax_capacity_test(instance_name="test_client_wpa2_nat_tcp_ul",
|
||||
dut_data=setup_configuration, dut_mode=dut_mode,
|
||||
protocol="TCP-IPv4", upload_rate="10Gbps", download_rate="56Kbps",
|
||||
num_stations={"2G": 1}, mode="NAT-WAN")
|
||||
assert True
|
||||
|
||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-13294", name="WIFI-13294")
|
||||
@pytest.mark.udp_upload
|
||||
@allure.title("Single AX client UDP Upload wifi capacity")
|
||||
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_lab_info, selected_testbed, check_connectivity):
|
||||
"""
|
||||
Description:
|
||||
The test case examines the maximum performance of a DUT supporting 802.11ax clients in NAT mode.
|
||||
This test focuses on stressing the DUT's capacity under the influence of 2.4Ghz UDP Upload traffic.
|
||||
The 2.4Ghz station is configured for 20Mhz bandwidth and two spatial streams.
|
||||
|
||||
Markers:
|
||||
wifi_capacity_ax and wpa2_personal and nat and twog and udp_upload
|
||||
|
||||
Note:
|
||||
Please refer to the PDF report for detailed observations and analysis of the test results.
|
||||
"""
|
||||
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
|
||||
|
||||
get_test_library.ax_capacity_test(instance_name="test_client_wpa2_nat_udp_ul",
|
||||
dut_data=setup_configuration, dut_mode=dut_mode,
|
||||
protocol="UDP-IPv4", upload_rate="10Gbps", download_rate="56Kbps",
|
||||
num_stations={"2G": 1}, mode="NAT-WAN")
|
||||
assert True
|
||||
|
||||
@@ -1,26 +1,33 @@
|
||||
"""
|
||||
|
||||
Performance Test: Wifi Capacity Test : VLAN Mode
|
||||
pytest -m "wifi_capacity_test and VLAN"
|
||||
|
||||
Performance Test: AX Capacity Test : VLAN Mode
|
||||
pytest -m "wifi_capacity_ax and wpa2_personal and vlan"
|
||||
"""
|
||||
import os
|
||||
import pytest
|
||||
import allure
|
||||
pytestmark = [pytest.mark.performance, pytest.mark.VLAN, pytest.mark.wifi_capacity_ax]
|
||||
|
||||
pytestmark = [pytest.mark.performance, pytest.mark.vlan, pytest.mark.wifi_capacity_ax, pytest.mark.wpa2_personal]
|
||||
setup_params_general_5G = {
|
||||
"mode": "VLAN",
|
||||
"ssid_modes": {
|
||||
"wpa2_personal": [
|
||||
{"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something"}
|
||||
{"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something", "vlan": 100}
|
||||
]
|
||||
},
|
||||
"rf": {},
|
||||
"rf": {
|
||||
"5G": {
|
||||
"band": "5G",
|
||||
"channel-width": 80,
|
||||
"channel": 36
|
||||
}
|
||||
},
|
||||
"radius": False
|
||||
}
|
||||
|
||||
|
||||
@allure.feature("VLAN MODE CLIENT CONNECTIVITY")
|
||||
@allure.feature("Performance Test")
|
||||
@allure.parent_suite("AX Capacity Test")
|
||||
@allure.suite("5 GHz Band")
|
||||
@allure.sub_suite("VLAN Mode")
|
||||
@pytest.mark.parametrize(
|
||||
'setup_configuration',
|
||||
[setup_params_general_5G],
|
||||
@@ -28,154 +35,360 @@ setup_params_general_5G = {
|
||||
scope="class"
|
||||
)
|
||||
@pytest.mark.usefixtures("setup_configuration")
|
||||
@pytest.mark.wpa2_personal
|
||||
@pytest.mark.fiveg
|
||||
@pytest.mark.fiveg_band
|
||||
class TestWifiCapacityVLANModeAX5G(object):
|
||||
""" Wifi Capacity Test VLAN mode
|
||||
pytest -m "wifi_capacity_test and VLAN"
|
||||
"""
|
||||
|
||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6953", name="WIFI-6953")
|
||||
@pytest.mark.tcp_download
|
||||
def test_client_wpa2_VLAN_tcp_dl(self, lf_tools, setup_configuration,
|
||||
lf_test, station_names_twog, create_lanforge_chamberview_dut,
|
||||
get_configuration):
|
||||
""" Wifi Capacity Test VLAN mode
|
||||
pytest -m "wifi_capacity_test and VLAN and wpa2_personal and twog"
|
||||
@allure.title("Single AX client TCP Download wifi capacity")
|
||||
def test_client_wpa2_vlan_tcp_dl(self, get_test_library, get_dut_logs_per_test_case,
|
||||
get_test_device_logs, num_stations, setup_configuration,
|
||||
get_lab_info, selected_testbed, check_connectivity):
|
||||
"""
|
||||
profile_data = setup_params_general_5G["ssid_modes"]["wpa2_personal"][0]
|
||||
ssid_name = profile_data["ssid_name"]
|
||||
mode = "VLAN"
|
||||
vlan = 1
|
||||
lf_tools.add_stations(band="ax", num_stations="max", dut=lf_tools.dut_name, ssid_name=ssid_name)
|
||||
lf_tools.Chamber_View()
|
||||
wct_obj = lf_test.wifi_capacity(instance_name="test_client_wpa2_VLAN_tcp_dl", mode=mode, vlan_id=vlan,
|
||||
download_rate="1Gbps",
|
||||
upload_rate="0", protocol="TCP-IPv4", duration="60000")
|
||||
Description:
|
||||
The test case examines the maximum performance of a DUT supporting 802.11ax clients in VLAN mode.
|
||||
This test focuses on stressing the DUT's capacity under the influence of 5Ghz TCP Download traffic.
|
||||
The 5Ghz station is configured for 80Mhz bandwidth and two spatial streams.
|
||||
|
||||
report_name = wct_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
|
||||
Markers:
|
||||
wifi_capacity_ax and wpa2_personal and vlan and fiveg and tcp_download
|
||||
|
||||
lf_tools.attach_report_graphs(report_name=report_name)
|
||||
print("Test Completed... Cleaning up Stations")
|
||||
Note:
|
||||
Please refer to the PDF report for detailed observations and analysis of the test results.
|
||||
"""
|
||||
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
|
||||
vid = [100]
|
||||
|
||||
get_test_library.ax_capacity_test(instance_name="test_client_wpa2_vlan_tcp_dl",
|
||||
dut_data=setup_configuration, dut_mode=dut_mode,
|
||||
protocol="TCP-IPv4", upload_rate="56Kbps", download_rate="10Gbps",
|
||||
num_stations={"5G": 1}, mode="VLAN", vlan_id=vid)
|
||||
assert True
|
||||
|
||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6956", name="WIFI-6956")
|
||||
@pytest.mark.udp_download
|
||||
def test_client_wpa2_VLAN_udp_dl(self, lf_tools,
|
||||
lf_test, station_names_twog, create_lanforge_chamberview_dut,
|
||||
get_configuration):
|
||||
""" Wifi Capacity Test VLAN mode
|
||||
pytest -m "wifi_capacity_test and VLAN and wpa2_personal and twog"
|
||||
@allure.title("Single AX client UDP Download wifi capacity")
|
||||
def test_client_wpa2_vlan_udp_dl(self, get_test_library, get_dut_logs_per_test_case,
|
||||
get_test_device_logs, num_stations, setup_configuration,
|
||||
get_lab_info, selected_testbed, check_connectivity):
|
||||
"""
|
||||
profile_data = setup_params_general_5G["ssid_modes"]["wpa2_personal"][0]
|
||||
ssid_name = profile_data["ssid_name"]
|
||||
mode = "VLAN"
|
||||
vlan = 1
|
||||
lf_tools.add_stations(band="ax", num_stations="max", dut=lf_tools.dut_name, ssid_name=ssid_name)
|
||||
lf_tools.Chamber_View()
|
||||
wct_obj = lf_test.wifi_capacity(instance_name="test_client_wpa2_VLAN_udp_dl", mode=mode, vlan_id=vlan,
|
||||
download_rate="1Gbps",
|
||||
upload_rate="0", protocol="UDP-IPv4", duration="60000")
|
||||
Description:
|
||||
The test case examines the maximum performance of a DUT supporting 802.11ax clients in VLAN mode.
|
||||
This test focuses on stressing the DUT's capacity under the influence of 5Ghz UDP Download traffic.
|
||||
The 5Ghz station is configured for 80Mhz bandwidth and two spatial streams.
|
||||
|
||||
report_name = wct_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
|
||||
Markers:
|
||||
wifi_capacity_ax and wpa2_personal and vlan and fiveg and udp_download
|
||||
|
||||
lf_tools.attach_report_graphs(report_name=report_name)
|
||||
print("Test Completed... Cleaning up Stations")
|
||||
Note:
|
||||
Please refer to the PDF report for detailed observations and analysis of the test results.
|
||||
"""
|
||||
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
|
||||
vid = [100]
|
||||
|
||||
get_test_library.ax_capacity_test(instance_name="test_client_wpa2_vlan_udp_dl",
|
||||
dut_data=setup_configuration, dut_mode=dut_mode,
|
||||
protocol="UDP-IPv4", upload_rate="56Kbps", download_rate="10Gbps",
|
||||
num_stations={"5G": 1}, mode="VLAN", vlan_id=vid)
|
||||
assert True
|
||||
|
||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6955", name="WIFI-6955")
|
||||
@pytest.mark.tcp_bidirectional
|
||||
def test_client_wpa2_VLAN_tcp_bidirectional(self, lf_tools,
|
||||
lf_test, station_names_twog, create_lanforge_chamberview_dut,
|
||||
get_configuration):
|
||||
""" Wifi Capacity Test VLAN mode
|
||||
pytest -m "wifi_capacity_test and VLAN and wpa2_personal and twog"
|
||||
@allure.title("Single AX client TCP Bidirectional wifi capacity")
|
||||
def test_client_wpa2_vlan_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case,
|
||||
get_test_device_logs, num_stations, setup_configuration,
|
||||
get_lab_info, selected_testbed, check_connectivity):
|
||||
"""
|
||||
profile_data = setup_params_general_5G["ssid_modes"]["wpa2_personal"][0]
|
||||
ssid_name = profile_data["ssid_name"]
|
||||
mode = "VLAN"
|
||||
vlan = 1
|
||||
lf_tools.add_stations(band="ax", num_stations="max", dut=lf_tools.dut_name, ssid_name=ssid_name)
|
||||
lf_tools.Chamber_View()
|
||||
wct_obj = lf_test.wifi_capacity(instance_name="test_client_wpa2_VLAN_tcp_bi", mode=mode, vlan_id=vlan,
|
||||
download_rate="1Gbps",
|
||||
upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000")
|
||||
Description:
|
||||
The test case examines the maximum performance of a DUT supporting 802.11ax clients in VLAN mode.
|
||||
This test focuses on stressing the DUT's capacity under the influence of 5Ghz TCP Bidirectional traffic.
|
||||
The 5Ghz station is configured for 80Mhz bandwidth and two spatial streams.
|
||||
|
||||
report_name = wct_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
|
||||
Markers:
|
||||
wifi_capacity_ax and wpa2_personal and vlan and fiveg and tcp_bidirectional
|
||||
|
||||
lf_tools.attach_report_graphs(report_name=report_name)
|
||||
print("Test Completed... Cleaning up Stations")
|
||||
Note:
|
||||
Please refer to the PDF report for detailed observations and analysis of the test results.
|
||||
"""
|
||||
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
|
||||
vid = [100]
|
||||
|
||||
get_test_library.ax_capacity_test(instance_name="test_client_wpa2_vlan_tcp_bidirectional",
|
||||
dut_data=setup_configuration, dut_mode=dut_mode,
|
||||
protocol="TCP-IPv4", upload_rate="10Gbps", download_rate="10Gbps",
|
||||
num_stations={"5G": 1}, mode="VLAN", vlan_id=vid)
|
||||
assert True
|
||||
|
||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6958", name="WIFI-6958")
|
||||
@pytest.mark.udp_bidirectional
|
||||
def test_client_wpa2_VLAN_udp_bidirectional(self, lf_tools,
|
||||
lf_test, station_names_twog, create_lanforge_chamberview_dut,
|
||||
get_configuration):
|
||||
""" Wifi Capacity Test VLAN mode
|
||||
pytest -m "wifi_capacity_test and VLAN and wpa2_personal and twog"
|
||||
@allure.title("Single AX client UDP Bidirectional wifi capacity")
|
||||
def test_client_wpa2_vlan_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case,
|
||||
get_test_device_logs, num_stations, setup_configuration,
|
||||
get_lab_info, selected_testbed, check_connectivity):
|
||||
"""
|
||||
profile_data = setup_params_general_5G["ssid_modes"]["wpa2_personal"][0]
|
||||
ssid_name = profile_data["ssid_name"]
|
||||
mode = "VLAN"
|
||||
vlan = 1
|
||||
lf_tools.add_stations(band="ax", num_stations="max", dut=lf_tools.dut_name, ssid_name=ssid_name)
|
||||
lf_tools.Chamber_View()
|
||||
wct_obj = lf_test.wifi_capacity(instance_name="test_client_wpa2_VLAN_udp_bi", mode=mode, vlan_id=vlan,
|
||||
download_rate="1Gbps",
|
||||
upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000")
|
||||
Description:
|
||||
The test case examines the maximum performance of a DUT supporting 802.11ax clients in VLAN mode.
|
||||
This test focuses on stressing the DUT's capacity under the influence of 5Ghz UDP Bidirectional traffic.
|
||||
The 5Ghz station is configured for 80Mhz bandwidth and two spatial streams.
|
||||
|
||||
report_name = wct_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
|
||||
Markers:
|
||||
wifi_capacity_ax and wpa2_personal and vlan and fiveg and udp_bidirectional
|
||||
|
||||
lf_tools.attach_report_graphs(report_name=report_name)
|
||||
print("Test Completed... Cleaning up Stations")
|
||||
Note:
|
||||
Please refer to the PDF report for detailed observations and analysis of the test results.
|
||||
"""
|
||||
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
|
||||
vid = [100]
|
||||
|
||||
get_test_library.ax_capacity_test(instance_name="test_client_wpa2_vlan_udp_bidirectional",
|
||||
dut_data=setup_configuration, dut_mode=dut_mode,
|
||||
protocol="UDP-IPv4", upload_rate="10Gbps", download_rate="10Gbps",
|
||||
num_stations={"5G": 1}, mode="VLAN", vlan_id=vid)
|
||||
assert True
|
||||
|
||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6954", name="WIFI-6954")
|
||||
@pytest.mark.tcp_upload
|
||||
def test_client_wpa2_VLAN_tcp_ul(self, lf_tools, setup_configuration,
|
||||
lf_test, station_names_twog, create_lanforge_chamberview_dut,
|
||||
get_configuration):
|
||||
""" Wifi Capacity Test VLAN mode
|
||||
pytest -m "wifi_capacity_test and VLAN and wpa2_personal and twog"
|
||||
@allure.title("Single AX client TCP Upload wifi capacity")
|
||||
def test_client_wpa2_vlan_tcp_ul(self, get_test_library, get_dut_logs_per_test_case,
|
||||
get_test_device_logs, num_stations, setup_configuration,
|
||||
get_lab_info, selected_testbed, check_connectivity):
|
||||
"""
|
||||
profile_data = setup_params_general_5G["ssid_modes"]["wpa2_personal"][0]
|
||||
ssid_name = profile_data["ssid_name"]
|
||||
mode = "VLAN"
|
||||
vlan = 1
|
||||
lf_tools.add_stations(band="ax", num_stations="max", dut=lf_tools.dut_name, ssid_name=ssid_name)
|
||||
lf_tools.Chamber_View()
|
||||
wct_obj = lf_test.wifi_capacity(instance_name="test_client_wpa2_VLAN_tcp_ul", mode=mode, vlan_id=vlan,
|
||||
download_rate="0",
|
||||
upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000")
|
||||
Description:
|
||||
The test case examines the maximum performance of a DUT supporting 802.11ax clients in VLAN mode.
|
||||
This test focuses on stressing the DUT's capacity under the influence of 5Ghz TCP Upload traffic.
|
||||
The 5Ghz station is configured for 80Mhz bandwidth and two spatial streams.
|
||||
|
||||
report_name = wct_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
|
||||
Markers:
|
||||
wifi_capacity_ax and wpa2_personal and vlan and fiveg and tcp_upload
|
||||
|
||||
lf_tools.attach_report_graphs(report_name=report_name)
|
||||
print("Test Completed... Cleaning up Stations")
|
||||
Note:
|
||||
Please refer to the PDF report for detailed observations and analysis of the test results.
|
||||
"""
|
||||
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
|
||||
vid = [100]
|
||||
|
||||
get_test_library.ax_capacity_test(instance_name="test_client_wpa2_vlan_tcp_ul",
|
||||
dut_data=setup_configuration, dut_mode=dut_mode,
|
||||
protocol="TCP-IPv4", upload_rate="10Gbps", download_rate="56Kbps",
|
||||
num_stations={"5G": 1}, mode="VLAN", vlan_id=vid)
|
||||
assert True
|
||||
|
||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6960", name="WIFI-6960")
|
||||
@pytest.mark.udp_upload
|
||||
def test_client_wpa2_VLAN_udp_ul(self, lf_tools,
|
||||
lf_test, station_names_twog, create_lanforge_chamberview_dut,
|
||||
get_configuration):
|
||||
""" Wifi Capacity Test VLAN mode
|
||||
pytest -m "wifi_capacity_test and VLAN and wpa2_personal and twog"
|
||||
@allure.title("Single AX client UDP Upload wifi capacity")
|
||||
def test_client_wpa2_vlan_udp_ul(self, get_test_library, get_dut_logs_per_test_case,
|
||||
get_test_device_logs, num_stations, setup_configuration,
|
||||
get_lab_info, selected_testbed, check_connectivity):
|
||||
"""
|
||||
profile_data = setup_params_general_5G["ssid_modes"]["wpa2_personal"][0]
|
||||
ssid_name = profile_data["ssid_name"]
|
||||
mode = "VLAN"
|
||||
vlan = 1
|
||||
lf_tools.add_stations(band="ax", num_stations="max", dut=lf_tools.dut_name, ssid_name=ssid_name)
|
||||
lf_tools.Chamber_View()
|
||||
wct_obj = lf_test.wifi_capacity(instance_name="test_client_wpa2_VLAN_udp_dl", mode=mode, vlan_id=vlan,
|
||||
download_rate="0",
|
||||
upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000")
|
||||
Description:
|
||||
The test case examines the maximum performance of a DUT supporting 802.11ax clients in VLAN mode.
|
||||
This test focuses on stressing the DUT's capacity under the influence of 5Ghz UDP Upload traffic.
|
||||
The 5Ghz station is configured for 80Mhz bandwidth and two spatial streams.
|
||||
|
||||
report_name = wct_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
|
||||
Markers:
|
||||
wifi_capacity_ax and wpa2_personal and vlan and fiveg and udp_upload
|
||||
|
||||
lf_tools.attach_report_graphs(report_name=report_name)
|
||||
print("Test Completed... Cleaning up Stations")
|
||||
assert True
|
||||
Note:
|
||||
Please refer to the PDF report for detailed observations and analysis of the test results.
|
||||
"""
|
||||
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
|
||||
vid = [100]
|
||||
|
||||
get_test_library.ax_capacity_test(instance_name="test_client_wpa2_vlan_udp_ul",
|
||||
dut_data=setup_configuration, dut_mode=dut_mode,
|
||||
protocol="UDP-IPv4", upload_rate="10Gbps", download_rate="56Kbps",
|
||||
num_stations={"5G": 1}, mode="VLAN", vlan_id=vid)
|
||||
assert True
|
||||
|
||||
|
||||
setup_params_general_2G = {
|
||||
"mode": "VLAN",
|
||||
"ssid_modes": {
|
||||
"wpa2_personal": [
|
||||
{"ssid_name": "ssid_wpa2_2g", "appliedRadios": ["2G"], "security_key": "something", "vlan": 100}
|
||||
]
|
||||
},
|
||||
"rf": {
|
||||
"2G": {
|
||||
"band": "2G",
|
||||
"channel-width": 20,
|
||||
"channel": 6
|
||||
}
|
||||
},
|
||||
"radius": False
|
||||
}
|
||||
|
||||
|
||||
@allure.feature("Performance Test")
|
||||
@allure.parent_suite("AX Capacity Test")
|
||||
@allure.suite("2.4 GHz Band")
|
||||
@allure.sub_suite("VLAN Mode")
|
||||
@pytest.mark.parametrize(
|
||||
'setup_configuration',
|
||||
[setup_params_general_2G],
|
||||
indirect=True,
|
||||
scope="class"
|
||||
)
|
||||
@pytest.mark.usefixtures("setup_configuration")
|
||||
@pytest.mark.twog
|
||||
class TestWifiCapacityVLANModeAX2G(object):
|
||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-13296", name="WIFI-13296")
|
||||
@pytest.mark.tcp_download
|
||||
@allure.title("Single AX client TCP Download wifi capacity")
|
||||
def test_client_wpa2_vlan_tcp_dl(self, get_test_library, get_dut_logs_per_test_case,
|
||||
get_test_device_logs, num_stations, setup_configuration,
|
||||
get_lab_info, selected_testbed, check_connectivity):
|
||||
"""
|
||||
Description:
|
||||
The test case examines the maximum performance of a DUT supporting 802.11ax clients in VLAN mode.
|
||||
This test focuses on stressing the DUT's capacity under the influence of 5Ghz TCP Download traffic.
|
||||
The 2.4Ghz station is configured for 20Mhz bandwidth and two spatial streams.
|
||||
|
||||
Markers:
|
||||
wifi_capacity_ax and wpa2_personal and vlan and twog and tcp_download
|
||||
|
||||
Note:
|
||||
Please refer to the PDF report for detailed observations and analysis of the test results.
|
||||
"""
|
||||
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
|
||||
vid = [100]
|
||||
|
||||
get_test_library.ax_capacity_test(instance_name="test_client_wpa2_vlan_tcp_dl",
|
||||
dut_data=setup_configuration, dut_mode=dut_mode,
|
||||
protocol="TCP-IPv4", upload_rate="56Kbps", download_rate="10Gbps",
|
||||
num_stations={"2G": 1}, mode="VLAN", vlan_id=vid)
|
||||
assert True
|
||||
|
||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-13299", name="WIFI-13299")
|
||||
@pytest.mark.udp_download
|
||||
@allure.title("Single AX client UDP Download wifi capacity")
|
||||
def test_client_wpa2_vlan_udp_dl(self, get_test_library, get_dut_logs_per_test_case,
|
||||
get_test_device_logs, num_stations, setup_configuration,
|
||||
get_lab_info, selected_testbed, check_connectivity):
|
||||
"""
|
||||
Description:
|
||||
The test case examines the maximum performance of a DUT supporting 802.11ax clients in VLAN mode.
|
||||
This test focuses on stressing the DUT's capacity under the influence of 5Ghz UDP Download traffic.
|
||||
The 2.4Ghz station is configured for 20Mhz bandwidth and two spatial streams.
|
||||
|
||||
Markers:
|
||||
wifi_capacity_ax and wpa2_personal and vlan and twog and udp_download
|
||||
|
||||
Note:
|
||||
Please refer to the PDF report for detailed observations and analysis of the test results.
|
||||
"""
|
||||
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
|
||||
vid = [100]
|
||||
|
||||
get_test_library.ax_capacity_test(instance_name="test_client_wpa2_vlan_udp_dl",
|
||||
dut_data=setup_configuration, dut_mode=dut_mode,
|
||||
protocol="UDP-IPv4", upload_rate="56Kbps", download_rate="10Gbps",
|
||||
num_stations={"2G": 1}, mode="VLAN", vlan_id=vid)
|
||||
assert True
|
||||
|
||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-13298", name="WIFI-13298")
|
||||
@pytest.mark.tcp_bidirectional
|
||||
@allure.title("Single AX client TCP Bidirectional wifi capacity")
|
||||
def test_client_wpa2_vlan_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case,
|
||||
get_test_device_logs, num_stations, setup_configuration,
|
||||
get_lab_info, selected_testbed, check_connectivity):
|
||||
"""
|
||||
Description:
|
||||
The test case examines the maximum performance of a DUT supporting 802.11ax clients in VLAN mode.
|
||||
This test focuses on stressing the DUT's capacity under the influence of 5Ghz TCP Bidirectional traffic.
|
||||
The 2.4Ghz station is configured for 20Mhz bandwidth and two spatial streams.
|
||||
|
||||
Markers:
|
||||
wifi_capacity_ax and wpa2_personal and vlan and twog and tcp_bidirectional
|
||||
|
||||
Note:
|
||||
Please refer to the PDF report for detailed observations and analysis of the test results.
|
||||
"""
|
||||
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
|
||||
vid = [100]
|
||||
|
||||
get_test_library.ax_capacity_test(instance_name="test_client_wpa2_vlan_tcp_bidirectional",
|
||||
dut_data=setup_configuration, dut_mode=dut_mode,
|
||||
protocol="TCP-IPv4", upload_rate="10Gbps", download_rate="10Gbps",
|
||||
num_stations={"2G": 1}, mode="VLAN", vlan_id=vid)
|
||||
assert True
|
||||
|
||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-13300", name="WIFI-13300")
|
||||
@pytest.mark.udp_bidirectional
|
||||
@allure.title("Single AX client UDP Bidirectional wifi capacity")
|
||||
def test_client_wpa2_vlan_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case,
|
||||
get_test_device_logs, num_stations, setup_configuration,
|
||||
get_lab_info, selected_testbed, check_connectivity):
|
||||
"""
|
||||
Description:
|
||||
The test case examines the maximum performance of a DUT supporting 802.11ax clients in VLAN mode.
|
||||
This test focuses on stressing the DUT's capacity under the influence of 5Ghz UDP Bidirectional traffic.
|
||||
The 2.4Ghz station is configured for 20Mhz bandwidth and two spatial streams.
|
||||
|
||||
Markers:
|
||||
wifi_capacity_ax and wpa2_personal and vlan and twog and udp_bidirectional
|
||||
|
||||
Note:
|
||||
Please refer to the PDF report for detailed observations and analysis of the test results.
|
||||
"""
|
||||
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
|
||||
vid = [100]
|
||||
|
||||
get_test_library.ax_capacity_test(instance_name="test_client_wpa2_vlan_udp_bidirectional",
|
||||
dut_data=setup_configuration, dut_mode=dut_mode,
|
||||
protocol="UDP-IPv4", upload_rate="10Gbps", download_rate="10Gbps",
|
||||
num_stations={"2G": 1}, mode="VLAN", vlan_id=vid)
|
||||
assert True
|
||||
|
||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-13297", name="WIFI-13297")
|
||||
@pytest.mark.tcp_upload
|
||||
@allure.title("Single AX client TCP Upload wifi capacity")
|
||||
def test_client_wpa2_vlan_tcp_ul(self, get_test_library, get_dut_logs_per_test_case,
|
||||
get_test_device_logs, num_stations, setup_configuration,
|
||||
get_lab_info, selected_testbed, check_connectivity):
|
||||
"""
|
||||
Description:
|
||||
The test case examines the maximum performance of a DUT supporting 802.11ax clients in VLAN mode.
|
||||
This test focuses on stressing the DUT's capacity under the influence of 5Ghz TCP Upload traffic.
|
||||
The 2.4Ghz station is configured for 20Mhz bandwidth and two spatial streams.
|
||||
|
||||
Markers:
|
||||
wifi_capacity_ax and wpa2_personal and vlan and twog and tcp_upload
|
||||
|
||||
Note:
|
||||
Please refer to the PDF report for detailed observations and analysis of the test results.
|
||||
"""
|
||||
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
|
||||
vid = [100]
|
||||
|
||||
get_test_library.ax_capacity_test(instance_name="test_client_wpa2_vlan_tcp_ul",
|
||||
dut_data=setup_configuration, dut_mode=dut_mode,
|
||||
protocol="TCP-IPv4", upload_rate="10Gbps", download_rate="56Kbps",
|
||||
num_stations={"2G": 1}, mode="VLAN", vlan_id=vid)
|
||||
assert True
|
||||
|
||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-13301", name="WIFI-13301")
|
||||
@pytest.mark.udp_upload
|
||||
@allure.title("Single AX client UDP Upload wifi capacity")
|
||||
def test_client_wpa2_vlan_udp_ul(self, get_test_library, get_dut_logs_per_test_case,
|
||||
get_test_device_logs, num_stations, setup_configuration,
|
||||
get_lab_info, selected_testbed, check_connectivity):
|
||||
"""
|
||||
Description:
|
||||
The test case examines the maximum performance of a DUT supporting 802.11ax clients in VLAN mode.
|
||||
This test focuses on stressing the DUT's capacity under the influence of 5Ghz UDP Upload traffic.
|
||||
The 2.4Ghz station is configured for 20Mhz bandwidth and two spatial streams.
|
||||
|
||||
Markers:
|
||||
wifi_capacity_ax and wpa2_personal and vlan and twog and udp_upload
|
||||
|
||||
Note:
|
||||
Please refer to the PDF report for detailed observations and analysis of the test results.
|
||||
"""
|
||||
dut_mode = get_lab_info.CONFIGURATION[selected_testbed]["device_under_tests"][0]["mode"]
|
||||
vid = [100]
|
||||
|
||||
get_test_library.ax_capacity_test(instance_name="test_client_wpa2_vlan_udp_ul",
|
||||
dut_data=setup_configuration, dut_mode=dut_mode,
|
||||
protocol="UDP-IPv4", upload_rate="10Gbps", download_rate="56Kbps",
|
||||
num_stations={"2G": 1}, mode="VLAN", vlan_id=vid)
|
||||
assert True
|
||||
|
||||
Reference in New Issue
Block a user