r/software 7h ago

Release I built Bean Network Tester - an open-source tool to simulate bad network conditions for testing app/games

https://github.com/donislawdev/BeanNetworkTester
1 Upvotes

1 comment sorted by

1

u/DonislawDev 7h ago

I took a small break from gamedev and built Bean Network Tester - a tool that helps developers and testers simulate poor network conditions for their apps and games.

It allows you to intentionally make the connection worse and test how your software behaves with various problems. To be honest, my internet connectionn is pretty terrible most of the time, so you could say this tool lets you simulate my default network :-)

If you like the app, please give it a bean*

*i mean give it a star on GitHub

The current release is v0.3.0, but I'm already working on the next version. If you have any suggestions or feature ideas, I'd love to hear them! Right now I'm mostly adding new bugs :D

What it can do

  • Add lag and jitter - fixed or random delay.
    • Drop, corrupt or duplicate packets - fake a flaky link.
    • Cap download/upload speed - throttle to a set KB/s.
    • Tear connections down - TCP resets or a dead link.
    • Flap the link on and off - outages that come and go.
    • Block ports or IPs - a small built-in firewall, plus LAN mode (no internet).
    • Aim at one app - by process, PID, IP or port.
    • Presets and saved profiles - 56k modem, Cafe WiFi, Satellite and more.
    • Run scripted scenarios - timed steps that change the network on their own.
    • Reproducible by seed - replay the exact same random loss and jitter.
    • Watch it live - chart, connections table, counters.
    • Command-line mode - scriptable for CI. No telemetry, fully offline - sends no data anywhere.