mirror of
https://github.com/Telecominfraproject/wlan-testing.git
synced 2025-10-30 18:38:06 +00:00
Wifi 12649 (#815)
* Added 6 dual band test cases for bridge mode Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com> * Added 6 dual band test cases for nat mode Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com> --------- Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>
This commit is contained in:
@@ -309,3 +309,155 @@ class TestWifiCapacityBRIDGEMode5G(object):
|
||||
move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name,
|
||||
num_stations={"5G": max_stations})
|
||||
assert True
|
||||
|
||||
|
||||
setup_params_general_dual = {
|
||||
"mode": "BRIDGE",
|
||||
"ssid_modes": {
|
||||
"wpa2_personal": [
|
||||
{"ssid_name": "ssid_wpa2_dual_band", "appliedRadios": ["2G", "5G"], "security_key": "something"}
|
||||
]
|
||||
},
|
||||
"rf": {},
|
||||
"radius": False
|
||||
}
|
||||
|
||||
|
||||
@allure.feature("Client Scale Tests")
|
||||
@allure.parent_suite("Client Scale Tests")
|
||||
@allure.suite(suite_name="WPA2 Personal Security")
|
||||
@allure.sub_suite(sub_suite_name="BRIDGE Mode")
|
||||
@pytest.mark.parametrize(
|
||||
'setup_configuration',
|
||||
[setup_params_general_dual],
|
||||
indirect=True,
|
||||
scope="class"
|
||||
)
|
||||
@pytest.mark.usefixtures("setup_configuration")
|
||||
@pytest.mark.wpa2_personal
|
||||
@pytest.mark.twog
|
||||
@pytest.mark.fiveg
|
||||
@pytest.mark.dual_band
|
||||
@pytest.mark.twog_band
|
||||
class TestWifiCapacityBRIDGEModeDual(object):
|
||||
""" Client Scale Test BRIDGE mode
|
||||
pytest -m "client_scale_tests and bridge and wpa2_personal and dual_band"
|
||||
"""
|
||||
|
||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-3926", name="WIFI-3926")
|
||||
@pytest.mark.wpa2_personal
|
||||
@pytest.mark.tcp_download
|
||||
@allure.title("Test for TCP Download 2.4 GHz and 5 GHz")
|
||||
def test_client_wpa2_BRIDGE_tcp_dl(self, get_test_library, get_dut_logs_per_test_case,
|
||||
get_test_device_logs, num_stations, setup_configuration, max_stations):
|
||||
""" Client Scale Test BRIDGE mode
|
||||
pytest -m "client_scale_tests and bridge and wpa2_personal and dual_band and tcp_download"
|
||||
"""
|
||||
profile_data = {"ssid_name": "ssid_wpa2_dual_band", "appliedRadios": ["2G", "5G"], "security_key": "something"}
|
||||
ssid_name = profile_data["ssid_name"]
|
||||
mode = "BRIDGE"
|
||||
get_test_library.wifi_capacity(instance_name="test_client_wpa2_BRIDGE_tcp_dl", mode=mode,
|
||||
download_rate="1Gbps", batch_size="1,5,10,20,40,64,128,256",
|
||||
upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000",
|
||||
move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name,
|
||||
num_stations={"2G": max_stations, "5G": max_stations})
|
||||
assert True
|
||||
|
||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-3927", name="WIFI-3927")
|
||||
@pytest.mark.wpa2_personal
|
||||
@pytest.mark.udp_download
|
||||
@allure.title("Test for UDP Download 2.4 GHz and 5 GHz")
|
||||
def test_client_wpa2_BRIDGE_udp_dl(self, get_test_library, get_dut_logs_per_test_case,
|
||||
get_test_device_logs, num_stations, setup_configuration, max_stations):
|
||||
""" Client Scale Test BRIDGE mode
|
||||
pytest -m "client_scale_tests and bridge and wpa2_personal and dual_band and udp_download"
|
||||
"""
|
||||
profile_data = {"ssid_name": "ssid_wpa2_dual_band", "appliedRadios": ["2G", "5G"], "security_key": "something"}
|
||||
ssid_name = profile_data["ssid_name"]
|
||||
mode = "BRIDGE"
|
||||
get_test_library.wifi_capacity(instance_name="test_client_wpa2_BRIDGE_udp_dl", mode=mode,
|
||||
download_rate="1Gbps", batch_size="1,5,10,20,40,64,128,256",
|
||||
upload_rate="56Kbps", protocol="UDP-IPv4", duration="60000",
|
||||
move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name,
|
||||
num_stations={"2G": max_stations, "5G": max_stations})
|
||||
assert True
|
||||
|
||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-3932", name="WIFI-3932")
|
||||
@pytest.mark.wpa2_personal
|
||||
@pytest.mark.tcp_bidirectional
|
||||
@allure.title("Test for TCP Bidirectional 2.4 GHz and 5 GHz")
|
||||
def test_client_wpa2_BRIDGE_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case,
|
||||
get_test_device_logs, num_stations, setup_configuration,
|
||||
max_stations):
|
||||
""" Client Scale Test BRIDGE mode
|
||||
pytest -m "client_scale_tests and bridge and wpa2_personal and dual_band and tcp_bidirectional"
|
||||
"""
|
||||
profile_data = {"ssid_name": "ssid_wpa2_dual_band", "appliedRadios": ["2G", "5G"], "security_key": "something"}
|
||||
ssid_name = profile_data["ssid_name"]
|
||||
mode = "BRIDGE"
|
||||
get_test_library.wifi_capacity(instance_name="test_client_wpa2_BRIDGE_tcp_bi", mode=mode,
|
||||
download_rate="1Gbps", batch_size="1,5,10,20,40,64,128,256",
|
||||
upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000",
|
||||
move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name,
|
||||
num_stations={"2G": max_stations, "5G": max_stations})
|
||||
assert True
|
||||
|
||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-3933", name="WIFI-3933")
|
||||
@pytest.mark.wpa2_personal
|
||||
@pytest.mark.udp_bidirectional
|
||||
@allure.title("Test for UDP Bidirectional 2.4 GHz and 5 GHz")
|
||||
def test_client_wpa2_BRIDGE_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case,
|
||||
get_test_device_logs, num_stations, setup_configuration,
|
||||
max_stations):
|
||||
""" Client Scale Test BRIDGE mode
|
||||
pytest -m "client_scale_tests and bridge and wpa2_personal and dual_band and udp_bidirectional"
|
||||
"""
|
||||
profile_data = {"ssid_name": "ssid_wpa2_dual_band", "appliedRadios": ["2G", "5G"], "security_key": "something"}
|
||||
ssid_name = profile_data["ssid_name"]
|
||||
mode = "BRIDGE"
|
||||
get_test_library.wifi_capacity(instance_name="test_client_wpa2_BRIDGE_udp_bi", mode=mode,
|
||||
download_rate="1Gbps", batch_size="1,5,10,20,40,64,128,256",
|
||||
upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000",
|
||||
move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name,
|
||||
num_stations={"2G": max_stations, "5G": max_stations})
|
||||
assert True
|
||||
|
||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-7127", name="WIFI-7127")
|
||||
@pytest.mark.wpa2_personal
|
||||
@pytest.mark.tcp_upload
|
||||
@allure.title("Test for TCP Upload 2.4 GHz and 5 GHz")
|
||||
def test_client_wpa2_bridge_tcp_ul(self, get_test_library, get_dut_logs_per_test_case,
|
||||
get_test_device_logs, num_stations, setup_configuration,
|
||||
max_stations):
|
||||
""" Client Scale Test BRIDGE mode
|
||||
pytest -m "client_scale_tests and bridge and wpa2_personal and dual_band and tcp_upload"
|
||||
"""
|
||||
profile_data = {"ssid_name": "ssid_wpa2_dual_band", "appliedRadios": ["2G", "5G"], "security_key": "something"}
|
||||
ssid_name = profile_data["ssid_name"]
|
||||
mode = "BRIDGE"
|
||||
get_test_library.wifi_capacity(instance_name="test_client_wpa2_BRIDGE_tcp_ul", mode=mode,
|
||||
download_rate="100Kbps", batch_size="1,5,10,20,40,64,128,256",
|
||||
upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000",
|
||||
move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name,
|
||||
num_stations={"2G": max_stations, "5G": max_stations})
|
||||
assert True
|
||||
|
||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-7128", name="WIFI-7128")
|
||||
@pytest.mark.wpa2_personal
|
||||
@pytest.mark.udp_upload
|
||||
@allure.title("Test for UDP Upload 2.4 GHz and 5 GHz")
|
||||
def test_client_wpa2_bridge_udp_ul(self, get_test_library, get_dut_logs_per_test_case,
|
||||
get_test_device_logs, num_stations, setup_configuration,
|
||||
max_stations):
|
||||
""" Client Scale Test BRIDGE mode
|
||||
pytest -m "client_scale_tests and bridge and wpa2_personal and dual_band and udp_upload"
|
||||
"""
|
||||
profile_data = {"ssid_name": "ssid_wpa2_dual_band", "appliedRadios": ["2G", "5G"], "security_key": "something"}
|
||||
ssid_name = profile_data["ssid_name"]
|
||||
mode = "BRIDGE"
|
||||
get_test_library.wifi_capacity(instance_name="test_client_wpa2_BRIDGE_udp_ul", mode=mode,
|
||||
download_rate="100Kbps", batch_size="1,5,10,20,40,64,128,256",
|
||||
upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000",
|
||||
move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name,
|
||||
num_stations={"2G": max_stations, "5G": max_stations})
|
||||
assert True
|
||||
|
||||
@@ -46,7 +46,7 @@ class TestWifiCapacityNATMode2G(object):
|
||||
@pytest.mark.tcp_download
|
||||
@allure.title("Test for TCP Download 2.4 GHz")
|
||||
def test_client_wpa2_NAT_tcp_dl(self, get_test_library, get_dut_logs_per_test_case,
|
||||
get_test_device_logs, num_stations, setup_configuration, max_stations):
|
||||
get_test_device_logs, num_stations, setup_configuration, max_stations):
|
||||
""" Client Scale Test NAT mode
|
||||
pytest -m "client_scale_tests and nat and wpa2_personal and twog and tcp_download"
|
||||
"""
|
||||
@@ -65,7 +65,7 @@ class TestWifiCapacityNATMode2G(object):
|
||||
@pytest.mark.udp_download
|
||||
@allure.title("Test for UDP Download 2.4 GHz")
|
||||
def test_client_wpa2_NAT_udp_dl(self, get_test_library, get_dut_logs_per_test_case,
|
||||
get_test_device_logs, num_stations, setup_configuration, max_stations):
|
||||
get_test_device_logs, num_stations, setup_configuration, max_stations):
|
||||
""" Client Scale Test NAT mode
|
||||
pytest -m "client_scale_tests and nat and wpa2_personal and twog and udp_download"
|
||||
"""
|
||||
@@ -84,8 +84,8 @@ class TestWifiCapacityNATMode2G(object):
|
||||
@pytest.mark.tcp_bidirectional
|
||||
@allure.title("Test for TCP Bidirectional 2.4 GHz")
|
||||
def test_client_wpa2_NAT_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case,
|
||||
get_test_device_logs, num_stations, setup_configuration,
|
||||
max_stations):
|
||||
get_test_device_logs, num_stations, setup_configuration,
|
||||
max_stations):
|
||||
""" Client Scale Test NAT mode
|
||||
pytest -m "client_scale_tests and nat and wpa2_personal and twog and tcp_bidirectional"
|
||||
"""
|
||||
@@ -104,8 +104,8 @@ class TestWifiCapacityNATMode2G(object):
|
||||
@pytest.mark.udp_bidirectional
|
||||
@allure.title("Test for UDP Bidirectional 2.4 GHz")
|
||||
def test_client_wpa2_NAT_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case,
|
||||
get_test_device_logs, num_stations, setup_configuration,
|
||||
max_stations):
|
||||
get_test_device_logs, num_stations, setup_configuration,
|
||||
max_stations):
|
||||
""" Client Scale Test NAT mode
|
||||
pytest -m "client_scale_tests and nat and wpa2_personal and twog and udp_bidirectional"
|
||||
"""
|
||||
@@ -124,8 +124,8 @@ class TestWifiCapacityNATMode2G(object):
|
||||
@pytest.mark.tcp_upload
|
||||
@allure.title("Test for TCP Upload 2.4 GHz")
|
||||
def test_client_wpa2_NAT_tcp_ul(self, get_test_library, get_dut_logs_per_test_case,
|
||||
get_test_device_logs, num_stations, setup_configuration,
|
||||
max_stations):
|
||||
get_test_device_logs, num_stations, setup_configuration,
|
||||
max_stations):
|
||||
""" Client Scale Test NAT mode
|
||||
pytest -m "client_scale_tests and nat and wpa2_personal and twog and tcp_upload"
|
||||
"""
|
||||
@@ -144,8 +144,8 @@ class TestWifiCapacityNATMode2G(object):
|
||||
@pytest.mark.udp_upload
|
||||
@allure.title("Test for UDP Upload 2.4 GHz")
|
||||
def test_client_wpa2_NAT_udp_ul(self, get_test_library, get_dut_logs_per_test_case,
|
||||
get_test_device_logs, num_stations, setup_configuration,
|
||||
max_stations):
|
||||
get_test_device_logs, num_stations, setup_configuration,
|
||||
max_stations):
|
||||
""" Client Scale Test NAT mode
|
||||
pytest -m "client_scale_tests and nat and wpa2_personal and twog and udp_upload"
|
||||
"""
|
||||
@@ -196,8 +196,8 @@ class TestWifiCapacityNATMode5G(object):
|
||||
@pytest.mark.tcp_download
|
||||
@allure.title("Test for TCP Download 5 GHz")
|
||||
def test_client_wpa2_NAT_tcp_dl(self, get_test_library, get_dut_logs_per_test_case,
|
||||
get_test_device_logs, num_stations, setup_configuration,
|
||||
max_stations):
|
||||
get_test_device_logs, num_stations, setup_configuration,
|
||||
max_stations):
|
||||
""" Client Scale Test NAT mode
|
||||
pytest -m "client_scale_tests and nat and wpa2_personal and fiveg and tcp_download"
|
||||
"""
|
||||
@@ -217,8 +217,8 @@ class TestWifiCapacityNATMode5G(object):
|
||||
@pytest.mark.udp_download
|
||||
@allure.title("Test for UDP Download 5 GHz")
|
||||
def test_client_wpa2_NAT_udp_dl(self, get_test_library, get_dut_logs_per_test_case,
|
||||
get_test_device_logs, num_stations, setup_configuration,
|
||||
max_stations):
|
||||
get_test_device_logs, num_stations, setup_configuration,
|
||||
max_stations):
|
||||
""" Client Scale Test NAT mode
|
||||
pytest -m "client_scale_tests and nat and wpa2_personal and fiveg and udp_download"
|
||||
"""
|
||||
@@ -237,8 +237,8 @@ class TestWifiCapacityNATMode5G(object):
|
||||
@pytest.mark.tcp_bidirectional
|
||||
@allure.title("Test for TCP Bidirectional 5 GHz")
|
||||
def test_client_wpa2_NAT_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case,
|
||||
get_test_device_logs, num_stations, setup_configuration,
|
||||
max_stations):
|
||||
get_test_device_logs, num_stations, setup_configuration,
|
||||
max_stations):
|
||||
""" Client Scale Test NAT mode
|
||||
pytest -m "client_scale_tests and nat and wpa2_personal and fiveg and tcp_bidirectional"
|
||||
"""
|
||||
@@ -257,8 +257,8 @@ class TestWifiCapacityNATMode5G(object):
|
||||
@pytest.mark.udp_bidirectional
|
||||
@allure.title("Test for UDP Bidirectional 5 GHz")
|
||||
def test_client_wpa2_NAT_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case,
|
||||
get_test_device_logs, num_stations, setup_configuration,
|
||||
max_stations):
|
||||
get_test_device_logs, num_stations, setup_configuration,
|
||||
max_stations):
|
||||
""" Client Scale Test NAT mode
|
||||
pytest -m "client_scale_tests and nat and wpa2_personal and fiveg and udp_bidirectional"
|
||||
"""
|
||||
@@ -276,8 +276,8 @@ class TestWifiCapacityNATMode5G(object):
|
||||
@pytest.mark.wpa2_personal
|
||||
@allure.title("Test for UDP Upload 5 GHz")
|
||||
def test_client_wpa2_NAT_udp_ul(self, get_test_library, get_dut_logs_per_test_case,
|
||||
get_test_device_logs, num_stations, setup_configuration,
|
||||
max_stations):
|
||||
get_test_device_logs, num_stations, setup_configuration,
|
||||
max_stations):
|
||||
""" Client Scale Test NAT mode
|
||||
pytest -m "client_scale_tests and nat and wpa2_personal and fiveg and udp_upload"
|
||||
"""
|
||||
@@ -295,8 +295,8 @@ class TestWifiCapacityNATMode5G(object):
|
||||
@pytest.mark.wpa2_personal
|
||||
@allure.title("Test for TCP Upload 5 GHz")
|
||||
def test_client_wpa2_NAT_tcp_ul(self, get_test_library, get_dut_logs_per_test_case,
|
||||
get_test_device_logs, num_stations, setup_configuration,
|
||||
max_stations):
|
||||
get_test_device_logs, num_stations, setup_configuration,
|
||||
max_stations):
|
||||
""" Client Scale Test NAT mode
|
||||
pytest -m "client_scale_tests and nat and wpa2_personal and fiveg and tcp_upload"
|
||||
"""
|
||||
@@ -309,3 +309,155 @@ class TestWifiCapacityNATMode5G(object):
|
||||
move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name,
|
||||
num_stations={"5G": max_stations})
|
||||
assert True
|
||||
|
||||
|
||||
setup_params_general_dual = {
|
||||
"mode": "NAT",
|
||||
"ssid_modes": {
|
||||
"wpa2_personal": [
|
||||
{"ssid_name": "ssid_wpa2_dual_band", "appliedRadios": ["2G", "5G"], "security_key": "something"}
|
||||
]
|
||||
},
|
||||
"rf": {},
|
||||
"radius": False
|
||||
}
|
||||
|
||||
|
||||
@allure.feature("Client Scale Tests")
|
||||
@allure.parent_suite("Client Scale Tests")
|
||||
@allure.suite(suite_name="WPA2 Personal Security")
|
||||
@allure.sub_suite(sub_suite_name="NAT Mode")
|
||||
@pytest.mark.parametrize(
|
||||
'setup_configuration',
|
||||
[setup_params_general_dual],
|
||||
indirect=True,
|
||||
scope="class"
|
||||
)
|
||||
@pytest.mark.usefixtures("setup_configuration")
|
||||
@pytest.mark.wpa2_personal
|
||||
@pytest.mark.twog
|
||||
@pytest.mark.fiveg
|
||||
@pytest.mark.dual_band
|
||||
@pytest.mark.twog_band
|
||||
class TestWifiCapacityNATModeDual(object):
|
||||
""" Client Scale Test NAT mode
|
||||
pytest -m "client_scale_tests and nat and wpa2_personal and dual_band"
|
||||
"""
|
||||
|
||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-3926", name="WIFI-3926")
|
||||
@pytest.mark.wpa2_personal
|
||||
@pytest.mark.tcp_download
|
||||
@allure.title("Test for TCP Download 2.4 GHz and 5 GHz")
|
||||
def test_client_wpa2_NAT_tcp_dl(self, get_test_library, get_dut_logs_per_test_case,
|
||||
get_test_device_logs, num_stations, setup_configuration, max_stations):
|
||||
""" Client Scale Test NAT mode
|
||||
pytest -m "client_scale_tests and nat and wpa2_personal and dual_band and tcp_download"
|
||||
"""
|
||||
profile_data = {"ssid_name": "ssid_wpa2_dual_band", "appliedRadios": ["2G", "5G"], "security_key": "something"}
|
||||
ssid_name = profile_data["ssid_name"]
|
||||
mode = "NAT-WAN"
|
||||
get_test_library.wifi_capacity(instance_name="test_client_wpa2_NAT_tcp_dl", mode=mode,
|
||||
download_rate="1Gbps", batch_size="1,5,10,20,40,64,128,256",
|
||||
upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000",
|
||||
move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name,
|
||||
num_stations={"2G": max_stations, "5G": max_stations})
|
||||
assert True
|
||||
|
||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-3927", name="WIFI-3927")
|
||||
@pytest.mark.wpa2_personal
|
||||
@pytest.mark.udp_download
|
||||
@allure.title("Test for UDP Download 2.4 GHz and 5 GHz")
|
||||
def test_client_wpa2_NAT_udp_dl(self, get_test_library, get_dut_logs_per_test_case,
|
||||
get_test_device_logs, num_stations, setup_configuration, max_stations):
|
||||
""" Client Scale Test NAT mode
|
||||
pytest -m "client_scale_tests and nat and wpa2_personal and dual_band and udp_download"
|
||||
"""
|
||||
profile_data = {"ssid_name": "ssid_wpa2_dual_band", "appliedRadios": ["2G", "5G"], "security_key": "something"}
|
||||
ssid_name = profile_data["ssid_name"]
|
||||
mode = "NAT-WAN"
|
||||
get_test_library.wifi_capacity(instance_name="test_client_wpa2_NAT_udp_dl", mode=mode,
|
||||
download_rate="1Gbps", batch_size="1,5,10,20,40,64,128,256",
|
||||
upload_rate="56Kbps", protocol="UDP-IPv4", duration="60000",
|
||||
move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name,
|
||||
num_stations={"2G": max_stations, "5G": max_stations})
|
||||
assert True
|
||||
|
||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-3932", name="WIFI-3932")
|
||||
@pytest.mark.wpa2_personal
|
||||
@pytest.mark.tcp_bidirectional
|
||||
@allure.title("Test for TCP Bidirectional 2.4 GHz and 5 GHz")
|
||||
def test_client_wpa2_NAT_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case,
|
||||
get_test_device_logs, num_stations, setup_configuration,
|
||||
max_stations):
|
||||
""" Client Scale Test NAT mode
|
||||
pytest -m "client_scale_tests and nat and wpa2_personal and dual_band and tcp_bidirectional"
|
||||
"""
|
||||
profile_data = {"ssid_name": "ssid_wpa2_dual_band", "appliedRadios": ["2G", "5G"], "security_key": "something"}
|
||||
ssid_name = profile_data["ssid_name"]
|
||||
mode = "NAT-WAN"
|
||||
get_test_library.wifi_capacity(instance_name="test_client_wpa2_NAT_tcp_bi", mode=mode,
|
||||
download_rate="1Gbps", batch_size="1,5,10,20,40,64,128,256",
|
||||
upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000",
|
||||
move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name,
|
||||
num_stations={"2G": max_stations, "5G": max_stations})
|
||||
assert True
|
||||
|
||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-3933", name="WIFI-3933")
|
||||
@pytest.mark.wpa2_personal
|
||||
@pytest.mark.udp_bidirectional
|
||||
@allure.title("Test for UDP Bidirectional 2.4 GHz and 5 GHz")
|
||||
def test_client_wpa2_NAT_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case,
|
||||
get_test_device_logs, num_stations, setup_configuration,
|
||||
max_stations):
|
||||
""" Client Scale Test NAT mode
|
||||
pytest -m "client_scale_tests and nat and wpa2_personal and dual_band and udp_bidirectional"
|
||||
"""
|
||||
profile_data = {"ssid_name": "ssid_wpa2_dual_band", "appliedRadios": ["2G", "5G"], "security_key": "something"}
|
||||
ssid_name = profile_data["ssid_name"]
|
||||
mode = "NAT-WAN"
|
||||
get_test_library.wifi_capacity(instance_name="test_client_wpa2_NAT_udp_bi", mode=mode,
|
||||
download_rate="1Gbps", batch_size="1,5,10,20,40,64,128,256",
|
||||
upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000",
|
||||
move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name,
|
||||
num_stations={"2G": max_stations, "5G": max_stations})
|
||||
assert True
|
||||
|
||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-7127", name="WIFI-7127")
|
||||
@pytest.mark.wpa2_personal
|
||||
@pytest.mark.tcp_upload
|
||||
@allure.title("Test for TCP Upload 2.4 GHz and 5 GHz")
|
||||
def test_client_wpa2_NAT_tcp_ul(self, get_test_library, get_dut_logs_per_test_case,
|
||||
get_test_device_logs, num_stations, setup_configuration,
|
||||
max_stations):
|
||||
""" Client Scale Test NAT mode
|
||||
pytest -m "client_scale_tests and nat and wpa2_personal and dual_band and tcp_upload"
|
||||
"""
|
||||
profile_data = {"ssid_name": "ssid_wpa2_dual_band", "appliedRadios": ["2G", "5G"], "security_key": "something"}
|
||||
ssid_name = profile_data["ssid_name"]
|
||||
mode = "NAT-WAN"
|
||||
get_test_library.wifi_capacity(instance_name="test_client_wpa2_NAT_tcp_ul", mode=mode,
|
||||
download_rate="100Kbps", batch_size="1,5,10,20,40,64,128,256",
|
||||
upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000",
|
||||
move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name,
|
||||
num_stations={"2G": max_stations, "5G": max_stations})
|
||||
assert True
|
||||
|
||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-7128", name="WIFI-7128")
|
||||
@pytest.mark.wpa2_personal
|
||||
@pytest.mark.udp_upload
|
||||
@allure.title("Test for UDP Upload 2.4 GHz and 5 GHz")
|
||||
def test_client_wpa2_NAT_udp_ul(self, get_test_library, get_dut_logs_per_test_case,
|
||||
get_test_device_logs, num_stations, setup_configuration,
|
||||
max_stations):
|
||||
""" Client Scale Test NAT mode
|
||||
pytest -m "client_scale_tests and nat and wpa2_personal and dual_band and udp_upload"
|
||||
"""
|
||||
profile_data = {"ssid_name": "ssid_wpa2_dual_band", "appliedRadios": ["2G", "5G"], "security_key": "something"}
|
||||
ssid_name = profile_data["ssid_name"]
|
||||
mode = "NAT-WAN"
|
||||
get_test_library.wifi_capacity(instance_name="test_client_wpa2_NAT_udp_ul", mode=mode,
|
||||
download_rate="100Kbps", batch_size="1,5,10,20,40,64,128,256",
|
||||
upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000",
|
||||
move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name,
|
||||
num_stations={"2G": max_stations, "5G": max_stations})
|
||||
assert True
|
||||
|
||||
Reference in New Issue
Block a user