How to Test If Your Software Can Handle a Sudden Surge in Users

Think about what happens to a live cricket app the moment a wicket falls. Nobody opens it gradually. The alert goes out, and within about fifteen seconds a large slice of the user base is on the same screen, hitting the same endpoint, asking for the same score.
That was the design constraint behind Cricket Pulse Live, an app built in-house here at Jhavtech Studios. It delivers scores, overs and wickets straight to the lock screen through iOS Live Activity, with match data pulled from the Sportmonks API and push notifications firing on every milestone. Traffic for a product like that does not follow a tidy daily curve. It follows the match. Quiet through the afternoon, then a near-vertical wall at the start of play, at every wicket, and at the end of a close T20. We built for the wall from day one, because on that product the wall is the point.
Most software is not built with that assumption, and that is where the trouble starts. Functional testing asks whether a feature works. Surge testing asks whether it still works when three thousand people do the same thing inside ninety seconds. Those are separate questions, and only one of them tends to get asked before launch day.
Software scalability is not a property you can eyeball. It is a number, and you can go and find it this week.
Summary: What You Need to Know
Surge readiness is a measured number, not a feeling. Your app has a point where performance stops degrading politely and starts collapsing. Testing finds it before your users do.
Four tests answer four different questions. Load testing, stress testing, spike testing and soak testing each catch failures the others miss. The comparison table below shows which one to run and when.
Uptime Institute's Global Data Center Survey 2026 found 71% of operators put their most damaging outage of the past year at US$100,000 or more, up from 57% a year earlier.
The 2016 Australian eCensus passed its load tests and still failed publicly. Why it failed anyway matters to anyone planning a big launch.
You can get a defensible breaking-point number in an afternoon using free load testing tools. The step-by-step method, benchmark table and 10-point readiness audit are all below.
What a Surge Test Really Measures
A surge test measures the number of concurrent users at which software stops slowing down and starts failing and identifies the single resource that gives way first.
Most founders picture scaling as a ramp. Double the users, double the work, everything gets a bit slower. Reasonable, and wrong.
Systems hold steady, hold steady, hold steady, then fall over inside a narrow band. Four hundred people are fine. Four hundred and fifty are fine. At five hundred the request queue backs up, timeouts begin, failed requests get retried, the retries add load, and something that looked healthy ninety seconds ago is unreachable.
The reason is that one resource always runs out before the rest. A database connection pool. A third-party API rate limit. A single-threaded job everything else waits behind. A payment provider that throttles you at a number nobody reads in the contract. Until that one thing saturates, extra traffic is nearly free. Afterwards, it costs you everything.
So, the useful question is not whether your app feels quick on a Tuesday. It is where the cliff edge sits, how far your current peak is from it, and what gives way when you cross it.
Four Tests, Four Different Questions
Teams often say "we load tested it" as though that settles everything. It rarely does, because load testing answers only one of the four questions a surge raises.

Spike testing is the one SMEs skip most often, and it is the one that maps to the scenario they fear. A gradual ramp to 5,000 users and 5,000 users arriving in forty seconds are not the same event. Autoscaling needs roughly two to five minutes to add capacity. A radio mention gives you ninety seconds.
Soak testing catches a different category entirely. Connection leaks, memory that creeps, log files filling a disk. None of it shows in a twenty-minute run. All of it shows at 4am on day two of a sale.
Picking Load Testing Tools Without Overthinking It
The tooling argument eats more hours than the testing does. Four options cover almost every SME situation, and three of them cost nothing.
k6 suits teams whose developers write JavaScript. Scripts stay readable, it runs in CI, and the output is sensible without configuration work. It is where we start most engagements.
Apache JMeter has been around since the late nineties and it shows, in both directions. The interface feels dated. It also handles protocols the newer tools do not, including JDBC, FTP and various message queues, which matters if your system is not purely HTTP.
Locust is the pick when your team writes Python or when user behaviour needs real logic. Think a marketplace where buyers browse, filter, abandon and occasionally purchase in different proportions.
Gatling gives the cleanest reports for showing non-technical stakeholders, which sounds trivial until you are explaining to a board why a launch should be delayed.
Any of them will find your ceiling. Tooling is rarely what sinks a surge test. Where teams come unstuck is writing a script that resembles how people really use the product, and no tool will do that part for you.
Running Concurrent User Testing in One Afternoon
Here is the sequence we use. It takes a developer about four hours the first time and ninety minutes every time after that.
1. Script one journey that carries money
Not the home page. The journey where revenue or commitment happens: log in, search, add to cart, pay. Or register, verify, book. One journey, scripted end to end, including the authentication step everyone forgets. Home page tests produce flattering numbers and tell you nothing, because the home page usually hits a cache and the database never wakes up.
2. Test against production-sized data
This is the step that separates useful results from reassuring ones. A query against 200 seeded rows behaves nothing like the same query against 2 million. Clone your production database, strip the personal information, test against that. Teams who skip this get a clean report and a dirty launch.
3. Ramp until something gives
Start at your normal peak. Increase by 25% every five minutes. Keep going past the point where it feels uncomfortable, because the point of the exercise is the failure, not the pass.
Write down two numbers. The concurrent user count where p95 response time doubles, and the count where errors begin. The distance between them is your warning window. A wide gap means degradation you can notice and respond to. A narrow one means you go from fine to down with no warning at all.
4. Watch four resources at once
CPU, memory, database connections and disk I/O, all on one screen while the test runs. Whichever saturates first is your bottleneck. Everything else is a bystander. In our experience, the database wins this race far more often than anything else, which is why buying a bigger application server so often changes nothing.
5. Add one spike run
After the gradual ramp, run a separate test that throws 80% of your breaking-point load at the system in thirty seconds. Then watch what happens when it stops. Does the queue drain? Do stuck transactions resolve? Does anything need a manual restart? Hardly anyone tests recovery, and it decides how long a bad morning lasts.
For broader signals that your ceiling is approaching between tests, our guide on how to tell when an app has hit its scalability limits covers the warning signs that show up in billing, incident logs and deploy habits.
What to Judge the Results Against
A number with nothing to compare it to is just a number. Performance benchmarking means holding your results against thresholds someone has already validated.
Google's Core Web Vitals give you the front-end half, measured at the 75th percentile of real sessions: Largest Contentful Paint at or under 2.5 seconds, Interaction to Next Paint at or under 200 milliseconds, Cumulative Layout Shift at or under 0.1. Those are the levels Google treats as good, and they were chosen against real browsing data rather than picked out of the air.
For the back end, these are the thresholds we set for SME clients.

Measure percentiles, never averages. An average response time of 400ms can hide a p99 of nine seconds, and the people living in that p99 are the ones writing your app store reviews. That distinction, and several others like it, sits behind most of the application performance issues that quietly drive users away.
When a Load Test Passes and the System Still Falls Over
Australia has a well-documented example of this, and it is worth understanding properly rather than as a punchline.
The 2016 eCensus was load tested, at real expense, to roughly 150% of the expected submission rate. On census night the system was handling about 150 form submissions per second against a tested capacity in the 250 to 260 range, and performance monitoring looked healthy. It still went down and stayed down for roughly 40 hours. The Senate Economics References Committee inquiry traced the collapse to a sequence of denial-of-service attacks, a geoblocking service that failed, a hardware fault and a router that did not behave as expected (Parliament of Australia).
The load test was not wrong. It simply answered a narrower question than everyone assumed it had answered.
That is the lesson worth carrying into your own planning. A pass tells you the system handles the traffic you modelled, arriving in the pattern you modelled, with the dependencies you had on the day. It says nothing about traffic that arrives in a shape you did not model, or about the third-party service that throttles you, or about what your system does while something upstream is misbehaving.
So, test the ugly scenarios too. What happens when your payment provider is slow rather than down? When a cache is cold because you just deployed? When half the arriving traffic is bots? Those conditions are common during exactly the moments that matter most.
Outage costs make the argument for taking this seriously. Uptime Institute's Global Data Center Survey 2026, drawn from more than 800 data centre owners and operators, found 71% put their most damaging outage of the past year at US$100,000 or above, up from 57% a year earlier. Few Australian SMEs are losing six figures in an afternoon. What they tend to lose is the enterprise client who happened to be running a pilot that morning, and those take far longer to win back than the revenue does.
The 10-Point Pre-Surge Readiness Audit
Tick what is true today. Three or more blanks before a campaign, a funding announcement or a seasonal peak, and you are gambling rather than planning.
☐ We can state our breaking point as a concurrent user number
☐ That number was measured in the last three months
☐ Testing used a production-sized dataset, not seed data
☐ We have tested traffic arriving suddenly, not only gradually
☐ We know which resource saturates first
☐ Autoscaling has been triggered in a test, with the lag timed
☐ Third-party rate limits are documented and tested against
☐ We have a degraded mode, such as queueing or a waiting room
☐ The system recovers from a spike without manual intervention
☐ Alerts fire before customers notice, and someone receives them
The last two carry more weight than teams expect. Surviving a surge is partly about capacity and largely about what your software does while it is overwhelmed. Shedding load politely beats falling over completely, every time.
Turning the Number into a Decision
Divide your breaking point by your current peak. That ratio tells you what to do next, and it is the only part of this a board needs to understand.
Under 2x. Pause anything that adds load and fix the saturating resource. The fix is usually smaller than feared: an index, a cache, a connection pool resized, a heavy report moved off the primary database. Cheap, and it tends to buy multiples rather than percentages.
Between 2x and 5x. You have a quarter or two. Sequence the work by business impact, checkout before the admin screen nobody opens, and wire load testing into your release process so the number gets rechecked instead of assumed.
Above 5x. Record it, set a quarterly review, go back to building product. Engineering for scale you do not have is its own expensive habit.
When the ceiling turns out to be structural rather than a tuning job, there are two sensible paths. Build the next version on a foundation designed for the growth you are heading into, or, when the product is live and buckling and you cannot take it offline to rebuild, bring in specialists who stabilise systems while real traffic keeps arriving. The sequence is the same either way: audit, stabilise the paths that carry money, then improve.
Where This Leaves You
Every application has a ceiling. It had one the day it launched, and it has a lower one now than it did last year, because every feature adds a query and every month adds data.
The only real choice is whether you learn the number on a quiet Wednesday with a test script, or during the best traffic morning your business has ever had. One of those costs an afternoon.
And the number changes what gets discussed in your leadership meetings. "Is the app fast enough?" is answered by whoever sounds most confident. "We hold to 600 concurrent users, we peak at 400, and lifting the ceiling costs roughly this much" is something a non-technical board can make a decision about. If you are earlier in the journey, why software scalability matters from day one is the companion piece to this one.
Find the number. Re-measure it quarterly, and again whenever your peak passes half the ceiling.









.png)

.png)




.png)


.png)


.png)
.png)












.png)
.png)
.png)

.png)

