The client is described by industry and scale, without a name. KPI figures are targets agreed with the client after a baseline measurement.
In brief
- Problem
- A campaign can multiply traffic on a calculator that depends on external services (vehicle databases, insurance history).
- Approach
- We build the load profile from the previous campaign's data and the media plan (ad broadcast times).
- Goal
- p95 response time of key transactions: within the SLA, e.g. ≤ 2 s; Throughput at the peak profile: ≥ 150% of the forecast peak.
Client context
Insurers live on data: from pricing through claims handling to technical reserves. Policy systems are sometimes more than ten years old, and products change faster than they do. A motor insurer preparing a nationwide advertising campaign for online sales of motor liability (OC) insurance.
Challenge
A campaign can multiply traffic on a calculator that depends on external services (vehicle databases, insurance history). The previous campaign ended with slowdowns at the peak.
Requirements and constraints
- DORA, Regulation (EU) 2022/2554, requires ICT risk management, a register of contracts with ICT providers, classification and reporting of major incidents, and regular testing of operational resilience. For the project this means every new component needs an owner, a dependency map and a resilience test scenario, and the provider (including us) is entered in the register of information on contracts. (source)
- The IDD directive and the Polish act on insurance distribution regulate needs assessment, delivery of documents (KID/IPID) and management of conflicts of interest in distribution. A digital sales path must leave a trail that can be reconstructed when a complaint is filed. (source)
- Project constraints: work only on anonymized or synthetic data outside production, access to systems through the client's infrastructure, every deliverable supplied with documentation that the client's team can take over.
Approach and architecture
We start performance testing with a load model, not a tool: from production logs and business data we derive the traffic profile (transaction mix, peaks, distribution over the day), and only then do we write scripts. Every test has a hypothesis and a pass criterion, and we analyze results together with infrastructure metrics and APM traces so that we can pinpoint the bottleneck rather than just state that it is slow.
We build the load profile from the previous campaign's data and the media plan (ad broadcast times). We test traffic spikes after ad spots air, and we replace external services with stubs that have realistic latencies and limits. We turn the results into concrete changes: connection pools, caching, autoscaling.
Key elements of the solution:
- Traffic spike scenarios that mirror ad broadcasts
- Stubs of external services with limits and latencies
- Autoscaling tests in Kubernetes
- An on-call plan for the duration of the campaign
Team and roles
| Role | Count | Responsibility |
|---|---|---|
| Performance testing engineer | 2 | load model, scripts, bottleneck analysis |
| SRE engineer | 1 | observability, SLOs, incident procedures |
| Test manager (ISTQB Advanced) | 1 | test strategy, entry and exit criteria, quality reporting |
| Product owner and domain experts (client side) | as needed | priorities, business decisions, acceptance |
Phased schedule
| Phase | Weeks | Deliverable |
|---|---|---|
| 1. Load model and criteria | 1–2 | traffic profile, SLA, test plan |
| 2. Script and data preparation | 3–4 | scripts, data generator, monitoring |
| 3. Test cycles and tuning | 5–8 | cycle reports, list of bottlenecks |
| 4. Confirmation test | 9–10 | SLA compliance report |
| 5. Performance regression in CI | 11–11 | automated thresholds in the pipeline |
Technology stack
k6, Grafana, Prometheus, Kubernetes HPA, WireMock, Redis.
Risks and how we mitigate them
| Risk | How we mitigate it |
|---|---|
| A performance test environment smaller than production | an environment difference table, scaling results only where scaling is linear, a confirmation test on production in a maintenance window |
| Seasonal peaks during the project | a change freeze before the peak, performance tests on the peak profile, an on-call plan |
| Dependence on an external provider and its deadlines | early agreement on API contracts, a stub environment, a weekly review of dependencies |
Measurable goals and KPIs
The values below are goals that we set with the client after a baseline measurement in the first phase.
| KPI | Target | How it is measured |
|---|---|---|
| p95 response time of key transactions | within the SLA, e.g. ≤ 2 s | APM and test reports |
| Throughput at the peak profile | ≥ 150% of the forecast peak | load test |
| Error rate under load | < 0.1% | load test, application logs |
Lessons learned and good practices
The media plan is the best source of a load profile for a campaign, better than averages from logs. External service limits are often lower than what your own infrastructure can handle. A load profile built from real logs matters more than the choice of tool.
Why B2B.net
B2B.net S.A. has operated since 2015 and has worked for more than 50 brands, mostly where audits are an everyday reality: in banks, insurance and critical infrastructure. We are an accredited exam center, so testing methodology is not a claim for us but a standard of work. We give a first proposal of specialists within 24 hours, and a team can start within 5 business days.
Acceptance criteria
Each phase ends with a formal acceptance against criteria agreed at the start. In this project, acceptance covers: traffic profile, SLA, test plan; scripts, data generator, monitoring; cycle reports, list of bottlenecks; SLA compliance report; automated thresholds in the pipeline. Final acceptance requires a KPI measurement report against the baseline, complete documentation handed over to the client's team, and a list of recommendations for the next stage, with a cost and risk assessment for each.
Next step
Facing a similar challenge? Write to office@b2bnetwork.pl or call: +48 577 317 312. You will get a first proposal of specialists or a plan for the first step within 24 hours.
What would this look like for you?
Book a 30-minute call. We will prepare a plan for the first weeks and a team matched to your system.
Let's talkB2Bnetwork · B2B.net S.A. · accredited exam center. We describe clients by industry and scale, without names.