Network & Resilience Testing — Testing on Dirty Networks
Most software is tested on an office fibre connection. Almost none of NZ runs on one.
A farm manager submitting an effluent report from a paddock with one bar of coverage. A courier scanning a parcel in a basement loading dock. A nurse on a rural ward where the connection drops mid-form. These are the conditions your software actually meets, and they are nothing like the network in the test lab. This track teaches you to test for the messy reality: throttled and offline networks, flaky APIs that fail half the time, and the state and caching bugs that only appear after a connection comes back.
Test software the way NZ actually uses it
Throttling & Offline
Testing under 3G, slow networks, and full offline. Dropped packets, retry and backoff, optimistic UI, and sync on reconnect — built around the reality of rural NZ connectivity.
~30 min read · ~70 min with exercises · Network & Resilience
Lesson 2Flaky API Resilience
Testing what your app does when a dependency misbehaves: 503s, slow 408 timeouts, malformed JSON, circuit breakers, idempotent retries, graceful degradation, and the error-state UX users actually see.
~30 min read · ~70 min with exercises · Network & Resilience
Lesson 3State & Caching Bugs
The “works on my machine after a refresh” class of defect. Expired-JWT races, stale service workers, localStorage corruption, and cache invalidation — the bugs that hide until state goes wrong.
~30 min read · ~70 min with exercises · Network & Resilience
The network in the lab is a lie
The connection on a developer’s desk is fast, stable, and always there. The connection a courier has in a concrete loading dock, or a farm worker has three valleys out from the nearest tower, is none of those things. It is slow when it works, gone when it does not, and worst of all it flickers between the two. Software written and tested only on the good network has never met the conditions it will spend its life in.
This is not an edge case in NZ — it is the centre case for whole sectors. Agritech runs on phones and tablets in paddocks. Logistics runs on scanners in trucks, warehouses, and rural delivery runs. Field health workers, meter readers, surveyors, and contractors all work where the signal is thin. When a Waka Kotahi roadside inspection app, an IRD myIR session on a back-country marae, or an ANZ goMoney transfer on a State Highway with no bars behaves badly, the cause is almost always a network condition that was never tested.
The three lessons here build on each other. First you learn to test the network itself — slow, dropped, and offline. Then you learn to test what happens when the systems on the other end of that network misbehave. Then you learn to test the quiet damage left behind — the stale caches and corrupted state that make a bug appear and vanish depending on what the app remembered from last time. Together they cover the failures that real users hit and that office testing never finds.
Tracks that pair well with this one
Mobile Testing
Devices, gestures, permissions, and the real-world conditions a phone is used in.
TrackChaos Testing
Deliberately breaking dependencies to prove a system degrades instead of collapsing.
TrackAPI Testing
Status codes, contracts, and error handling — the layer flaky-API resilience builds on.