Wireless Router Testing

[image: image.png]
I saw some chatter on the OpenWRT forums about a test suite for OpenWrt.
There are some delicate approaches that could be pursued.
A three phased approach may be optimal. First, a bash script that runs locally with no dependencies. Second, a bash script with second device, internet depenedency. Third, advance testing possible using Python or other scripting language.
Phase I run the OpenWrtScripts configure interfaces configure firewall
Phase II install common packages, configure, check
The secondary device (coach) will direct the testing of the device under test (DUT aka player). The coach will run multiple services that the player can connect to including: http ntp dhcp router protocol rip openvpn wiregard
Phase III Something like the TIP Open WiFi Test Automation project.
Available information on wireless router testing is mostly aimed at hardware manufactures or service providers. It often addresses standard validations and managing large fleets of devices. Some of it may be useful for reference.
Each test will have a test id and a instance id. These values will be recorded.
Test results will be stored as id and value pair. A hash will be provided of the results to check agains future test.
There may need to be a consideration to obfuscate certain details.
References good stuff owrt scripts for specific gloat stuff, get stats opkg netperf github.com/richb-hanover/OpenWrtScripts
Testing standard from broadband forum. www.broadband-forum.org/download/TR-398.pdf
Test Suite from Wi-Fi Alliance github.com/Wi-FiTestSuite
Commercial Test provider’s ebook and information www.spirent.com/assets/ebook-testing-wi-fi-for-high-performance-use-cases www.spirent.com/assets/u/datasheet-octobox-pal-6e-and-stapal-6e
TIP-Open WiFi Test Automation. Uses Python and pytest github.com/Telecominfraproject/wlan-testing github.com/Telecominfraproject/wlan-testing/blob/master/tests/e2e/basic/validation_of_operating_modes/vlan_mode/fiveg_radio/test_vlan_fiveg.py
Commercial supplier. www.promptlink.com/products/wrtp.html Uses simple list of tests: Dual-Band – 2.4 GHz and 5 GHz Set and Check SSID Set and Check Security Mode and Key Wi-Fi Standard check of G, N, AC Basic connectivity test Advanced connectivity/traffic test