CLI utility to test the download and upload speeds using iperf3 and/or speedtest of one or more wifi network on Windows.
This script has three main functions:
-
Run speedtest and iperf3 tests a specified number of times at a specified location for networks listed in the config file.
-
Record the results to CSV files in the same directory as the script is saved.
-
Report the mean and standard deviation of cumulative tests by network and testing location.
-
Python 3.6 or newer.
-
speedtest-cli, pandas, and toml packages from pypi:
pip install speedtest-cli pandas toml
-
Valid config file saved in the same directory as the script. Please see the example.
-
iperf3 must be on your system and you must have a running iperf3 server on another system, which should be a wired device. Download iperf3 from the official site here: https://iperf.fr/iperf-download.php#windows.
usage: py wlan_tester.py {"both", "iperf3", "speedtest"} [--rounds] [--location]
positional arguments:
{"both", "iperf3", "speedtest"}
"both": runs both speedtest and iperf3 tests one or more times each.
"iperf3": runs iperf3 test one or more times. Requires '--location' keyword argument.
"speedtest": runs speedtest test one or more times. Requires '--location' keyword argument.
keyword arguments:
-h, --help show this help message and exit.
--location location of the computer where the test is taking place. Must match one of the locations listed in config.
--rounds number of tests to perform for each test type.
py "c:/Users/philistino/desktop/wlan_tester.py" both --location Office --rounds 3