When you are assessing a DDoS mitigation, capacity is the one number you rarely need to test.
Providers publish it, it is usually far above anything aimed at you, and it is not where mitigations fail. They fail on decisions made at onboarding and never revisited: which addresses were enrolled, what threshold starts the response, which countermeasures run, how long they stay on and who gets told.
Those decisions are configuration, and configuration drifts. DDoS mitigation testing is how you read what the configuration does today, before an attacker reads it for you.
DDoS mitigation testing, defined
DDoS mitigation testing is controlled, authorised traffic sent at a protected service to verify how its DDoS mitigation behaves: whether it covers the right addresses, when it engages, what legitimate traffic it drops while engaged, how it handles a change of vector and when it releases.
The subject is the mitigation's behaviour over time, not the application behind it. A mitigation is a sequence of state changes, and each change is a decision someone configured.
What it leaves to the wider test
The scoping, authorisation, baselining and graduated escalation that every DDoS test needs are set out in the complete guide and the step-by-step how to test DDoS protection. This post covers only what is specific to testing the mitigation layer itself.
At a glance: six things a mitigation decides
| Decision | Question the test answers | Evidence |
|---|---|---|
| Enrolment | Is every exposed address and name actually protected? | One probe per object, matched against the provider's inventory |
| Engagement | At what rate, and after how long, does it start? | Three timestamps: provider event, your edge, a user-side probe |
| Collateral | What genuine traffic does it refuse while engaged? | Known-good client populations sent through during mitigation |
| Change | Does it notice when the attack changes shape? | Time to re-engage on the second vector |
| Release | When does it let go, and what does it leave behind? | Countermeasures still active after the traffic stops |
| People | Does the alert reach someone who can act? | Who was told, when, and what they were allowed to ask for |
Enrolment: what the mitigation thinks it protects
A managed mitigation protects a list. Prefixes, IP addresses, hostnames, load balancers, sometimes individual ports. The list was typed by someone, usually during onboarding, and it has been edited by hand since.
The list ages faster than the estate
New things arrive without it. A cloud team allocates a new public address for a migration. A product team adds a hostname on a different provider. A network team announces a new /24 for a regional office and nobody files the change with the scrubbing provider.
None of these break anything. They simply sit outside the mitigation until the day they are the target.
Check the list against the edge
The cheapest test in this whole post needs no load at all. Enumerate every address and name that answers from the internet, then match each one against the provider's inventory of protected objects. Anything that answers but is not enrolled is a finding before a single packet of test traffic is sent.
For hostnames, the question of whether traffic actually passes through the protection is a DNS question, covered in whether DDoS protection is in the path. For prefixes on a BGP-diverted service, the equivalent question is whether the provider is authorised to announce them, which on-premise DDoS testing walks through.
Then confirm with traffic
An inventory entry is a claim. A low-rate probe to each enrolled object, enough to appear in the provider's telemetry and well under any threshold, confirms the provider can see it. An object the provider cannot see in its own dashboard is not protected, whatever the contract says.
Engagement: the threshold someone chose
Every reactive mitigation starts on a condition. On a scrubbing service it is often a per-object threshold in bits or packets per second. On cloud-native services it is more often a baseline the service learned from your traffic. Both are numbers, and both were right once.
Static thresholds drift in two directions
A threshold set from last year's traffic is wrong in one of two ways. If the business grew, ordinary peaks now sit near it, and someone has quietly raised it after a false alarm. If the business shrank or moved traffic elsewhere, a flood large enough to hurt the service may now sit comfortably below it.
The test is to find where engagement actually happens. Ramp traffic in steps, hold each step long enough for the detector to make a decision, and record the step at which the provider declares an event.
Learned baselines follow whatever they saw
A baseline is only as good as the traffic it learned from. A quiet month lowers it. A product launch or a seasonal peak raises it, and a raised baseline is slower to call an attack. Testing after the busy season tells you something different from testing after the quiet one.
Three clocks, three answers
"When did the mitigation start" has at least three answers, and they disagree.
The provider's console records when it declared an event. Your own edge records when attack volume reaching you dropped. A probe acting as a real user records when requests started succeeding again. Users are still failing for every second that separates the first timestamp from the third.
A report that carries only the provider's timestamp has measured the provider's opinion of itself. The breakdown of that interval into detection, decision, propagation and warm-up is covered in time to mitigation; for an on-demand service, the diversion step inside it is the mitigation cutover.
Collateral: what the mitigation drops besides the attack
Once engaged, a mitigation does more than drop the flood. It applies countermeasures to everything addressed to the protected object, and some of what it refuses is your own users.
Countermeasures escalate
Most mitigations work in tiers. Per-source rate limits first, then protocol validation, then challenges or reputation blocks, then coarser cuts such as dropping whole regions, networks or ports. Each tier refuses more of the attack and more of everyone else.
The question is not whether collateral exists. It always does. The question is which of your clients it lands on, and whether the people who own those clients would accept it.
The clients a challenge cannot pass
A browser can answer a JavaScript challenge. Many of your most important clients cannot.
A native mobile app calling an API, a partner's batch job, a payment provider's webhook, a load balancer health check, a monitoring probe: none of them render a page, so a challenge looks to them like a failure. Partners and enterprise customers behind one NAT address also look like a single heavy source to a per-IP limit. The WAF-side version of the same trade-off, turning a challenge on for everyone mid-incident, is covered in WAF DDoS testing.
Send known-good traffic through the event
The test that finds this is simple to describe. While the mitigation is engaged, keep sending traffic from each known-good population and count what comes back.
Report each population separately. A single success rate averages a fine browser experience with a broken payment callback, and the average looks healthy. The measure itself is the false-positive rate, counted per client class.
Small rates are large numbers. The arithmetic below is for a service carrying 2,000 genuine requests a second through an hour of mitigation.
A 0.1% rate sounds like a rounding error on a dashboard. It is 7,200 failed requests an hour, and if they all belong to one partner's integration, that partner is fully down.
Change: the attack moves while the mitigation is engaged
Real attacks rarely hold one shape. A network flood turns into an HTTP flood, or the request pattern changes once the first one is filtered.
Countermeasures fit the first vector
A mitigation that engaged on a UDP flood has applied countermeasures for a UDP flood. When the traffic changes, the question is whether the system notices that a new attack has started or treats the period as one ongoing event that is already handled.
The two failure shapes are opposite. Either the second vector passes through while the console still shows a successful mitigation, or the system re-detects from scratch and pays the full engagement delay a second time.
What the test records
Change the vector mid-event and record three things: how long the second vector reached you before it was handled, whether the first vector's countermeasures stayed in place, and whether the provider's event log shows one event or two.
Running vectors together rather than in turn is the subject of multi-vector DDoS testing. Timing-based attacks that live inside the engagement delay are covered in pulse wave attack.
Release: how the mitigation lets go
Mitigations are tested on the way in and almost never on the way out. Release is a decision too.
Hold timers cut both ways
Most systems keep countermeasures active for a period after the traffic falls below the threshold, so a pause in the attack does not trigger a full stand-down. Too short, and every return of the attack pays the engagement delay again. Too long, and the collateral from the previous section continues for users after the attack has ended.
The test records the time from the last test packet to the moment countermeasures are fully removed, and keeps the known-good populations running through that interval.
Some countermeasures have no timer
Anything added by hand during an event (a geo block, a rule against a network, a raised challenge level, a null route) stays until a person removes it. A test that includes an operator step should end with a check that every manual change was reversed, and a list of who reversed it.
Read the state after the event
The last check is the plainest. When the test is over, compare the mitigation's configuration with the copy you took before it started. Any difference is either an intended change that needs recording or a leftover that needs removing.
The people in the loop
Some mitigations are fully automatic. Others are operated, with a provider's security team that declares events, applies countermeasures and takes calls. Most are somewhere between. The difference between the two models is laid out in the Cloudflare and Akamai comparison.
The alert has to reach someone
Every provider can notify you of an event: email, webhook, a ticket, a call. The test checks the far end. Did the alert arrive, how long after the event started, and was the person who received it awake, on call and able to act?
Contact lists age like inventories. A test that ends with an alert in the mailbox of someone who left in the spring has found something worth more than a timing.
Who may ask for what
Operated mitigations often require a named customer contact, sometimes with a verification code, before they will escalate countermeasures or switch a service to always-on. Check that today's on-call engineer is on that list and knows the procedure. The same check without traffic is what a DDoS tabletop exercise is for.
The return path, briefly
On services that scrub off-site and return clean traffic over a tunnel or a cross-connect, the return leg is part of the mitigation and fails on its own: tunnel MTU, capacity under production volume, routing that loops back into the diversion. That leg is covered in on-premise DDoS testing and the clean pipe definition, and it belongs in the test plan of any off-site scrubbing service.
Running a mitigation test
Tell the provider first
Most managed mitigation services have a testing policy, and some require notice before any traffic is sent at protected objects. An operated service may treat unannounced test traffic as a real event, which is a valid test of the human loop only if everyone on your side knows it is a test.
Start with the stages that need no load
- Inventory. Match exposed addresses and names to protected objects. No load.
- Visibility. A low-rate probe per object, confirmed in the provider's telemetry.
- Engagement. Stepped traffic to find the real threshold, with all three clocks running.
- Collateral. Known-good populations running through the engaged period, reported per class.
- Change and release. A vector change mid-event, then a clean stop and a timed release.
Each stage is useful alone. An inventory check that finds three unenrolled addresses may be the most valuable result of the year, and it costs nothing to run.
Stages 3 to 5 put real load on a live service, so they run under the rate caps and abort criteria described in DDoS testing without disrupting production.
FAQ
What is DDoS mitigation testing?
It is authorised test traffic sent at a protected service to verify how its DDoS mitigation behaves: which objects it covers, when it engages, what genuine traffic it refuses while engaged, how it handles a change of vector and when it releases. It tests the mitigation's configuration and behaviour, not the provider's total capacity.
Is DDoS mitigation testing the same as DDoS testing?
It is one part of it. A full DDoS test also measures the application, the origin and the parts of the stack behind the mitigation. Mitigation testing narrows the question to the protection layer and the decisions configured in it.
Do I need my mitigation provider's permission?
Check the provider's published testing policy before any traffic is sent. Many require notice, and an operated service may otherwise respond as if the test were a real event. Cloud providers also publish their own policies for tests against resources hosted with them.
How often should a DDoS mitigation be tested?
After anything that changes what it protects or how: new address space, a new provider, a platform migration, a change of threshold or a change of tier. Between those, the inventory and visibility stages are cheap enough to run every month, because they need little or no load.
A mitigation is a set of decisions
The scrubbing capacity behind a modern mitigation is rarely what gives out. What gives out is a list nobody updated, a threshold set for a different business, a countermeasure that also stops the payment callback, a rule nobody removed and an alert sent to someone who has moved on.
Those things change slowly and quietly, which is why they persist. The provider changes its platform on its own schedule; the decisions on your account change only when someone on your side changes them.
A mitigation test does not measure how much the provider can stop. It shows which decisions your account is still running on.
