In brief
A performance test of online banking before payday reproduces the traffic of the heaviest hour of that day: a wave of logins after salaries are posted, balance and history checks, transfers and payments, with incoming transfers being posted in the background. The traffic model comes from the logs of previous paydays, not from a daily average. The bottleneck is most often not the front end but login with strong customer authentication, the core banking system and account history queries.
How payday differs from an ordinary peak
An online store's peak builds up over several hours of a campaign. In a bank, payday has a different shape. Salaries arrive in batches whenever the core system posts the next set of incoming transfers. Customers get a push notification, log in within minutes and immediately do the same things: check the balance, pay bills, move money to savings, pay off the credit card.
This gives three features the test has to reproduce:
- A wave, not a plateau. Traffic jumps after each posting rather than growing linearly. A test with a constant number of users for an hour will not show what happens in the first minutes of the wave.
- A different mix of operations. On payday, transfers and payment orders grow relative to plain browsing. Each transfer calls the core, limits, the payment system and strong authentication.
- Batch work in the background. Posting incoming transfers, accruals and statement generation load the same databases as customer traffic.
Then there are date coincidences: payday on a Monday after a weekend, at the start of the month or just before a holiday piles up load you never see in an ordinary week. The general plan for a pre-peak test is covered in Performance testing before a sales peak. Here we focus on what is specific to a bank.
A traffic model from previous paydays
The traffic model is built from data the bank already has: API gateway logs, application server logs and monitoring metrics. Take the last two or three paydays and the worst of them.
| What to read from the logs | Why |
|---|---|
| logins per minute in the worst 15 minutes | the size of the wave and how fast it builds |
| share of operations: balance, history, transfer, BLIK (Poland's mobile payment system), top-ups, applications | the mix of paths in the scripts |
| average number of operations in one customer session | how many API calls a user makes after login |
| split between the mobile app and the browser | different APIs and different authentication paths |
| times when incoming transfers are posted | the moment the wave starts |
| duration of batch jobs in that window | what loads the databases together with customer traffic |
On this basis you set the test target, for example "the worst quarter hour of the last payday times 1.5". The headroom factor comes from business plans: customer growth, a new app, a campaign. How to get from a forecast to transactions per second is shown in Capacity planning for transaction systems.
Login, SCA and external systems
Logging in and approving a transfer require strong customer authentication (SCA). Commission Delegated Regulation (EU) 2018/389 sets out the SCA requirements, including linking the approval to the amount and the payee. In a performance test this means several calls per operation: sending a notification to the app or an SMS, waiting for confirmation, verification.
In practice you do not send thousands of real notifications. The SMS gateway and the push service are replaced with a simulator that responds with production-like latency, while the bank's own authentication server stays in the test, because it is often the bottleneck. Other external dependencies are treated the same way: the card system, the clearing house, the identity verification provider. When a simulator is enough and when it distorts the result is described in Service virtualization in testing.
Two things are worth checking separately:
- Session and token limits. The authentication server, the session cache and the connection pool have limits set long ago. A wave of logins can exhaust them while CPU load is still low.
- Rate limiting on the API gateway. Anti-abuse rules may start rejecting real customers when everyone logs in from the same mobile operator networks.
Data and environment
The response time of an account history query depends on the number of transactions on the account. A test on accounts with ten operations will show great times you will never see in production. Test data must have the same distribution as real customers: some accounts with a few operations, some with thousands, businesses with a very long history.
Personal data must not reach the test environment without anonymization or pseudonymization, so synthetic data is usually generated with a distribution read from production. The environment should have the same connection pool, limit and cache configuration as production, even if it has fewer nodes. What must match production and what may differ is covered in Environment for performance testing.
Thresholds, the test series and a plan for the day
Pass criteria are written down before the test and expressed as percentiles, not averages, for example:
| Operation | p95 threshold | Error threshold |
|---|---|---|
| login with in-app approval (excluding customer time) | 2 s | 0.1% |
| balance and account list | 1 s | 0.1% |
| account history, first page | 1.5 s | 0.1% |
| domestic transfer ready for approval | 2 s | 0.05% |
The figures in the table are an example. The bank sets its own based on SLOs and current production results. The test series usually looks like this: a baseline test with current traffic, a wave test (a jump to the target within a few minutes), a test with batch jobs in the background, a stress test up to the point where the system stops responding, and a rerun after fixes.
What remains for payday is a plan: who watches which metrics, what the alert thresholds are, which features can be switched off temporarily (for example on-demand PDF statements) and who decides. The test shows where the limits are, and the plan says what to do when traffic reaches them.
B2Bnetwork engineers run these tests for banks: a traffic model from logs, scripts, dependency simulators and a report with the causes of slowdowns. The scope is described on the Performance testing page, and a full test before a core migration is shown in this case study.
Questions and answers
How long before payday should performance testing start?
For the first such test, start 6–8 weeks ahead: two weeks for the traffic model and data, two for scripts and simulators, and the rest for the test series and fixes. Later, once scripts and data exist, a rerun after each larger release and before known date coincidences, such as holidays, is enough.
Can you run the performance test in production at night?
Partly. Testing just the front end and the API gateway in a night window is sometimes possible, but transfers in production change real balances and call external systems. The delegated regulation under DORA allows testing in production only in justified cases, for a limited time and with approval. The main series runs in a test environment.
What if the bottleneck is a mainframe core system?
First find out which channel calls load the core most. Often these are history queries that can be served from a data replica or a cache instead of asking the core every time a screen refreshes. A change in the API layer is often faster and cheaper than adding capacity to the core.
How do you simulate traffic waves after salaries are posted?
Tools such as k6, Gatling or JMeter let you define the load profile in stages: a fast ramp to the target within a few minutes, a hold, a drop and another wave. The profile is reproduced from the logs of previous paydays. Plan two or three waves in one test, because the second one hits a system that has not yet released its resources.
Sources
- Commission Delegated Regulation (EU) 2018/389 (RTS on strong customer authentication and secure communication), EUR-Lex
- Commission Delegated Regulation (EU) 2024/1774 (RTS on the ICT risk management framework), EUR-Lex
- Grafana k6, thresholds
- Gatling documentation
- The Site Reliability Workbook, Implementing SLOs