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
- Standard load testing tools support neither the devices' protocol nor its encryption.
- Approach
- We build a device simulator as an extension of the load testing tool, implementing the protocol and the encryption layer according to the manufacturer's specification, with test keys.
- Goal
- Throughput at the peak profile: ≥ 150% of the forecast peak; Error rate under load: < 0.1%.
Client context
Industrial plants connect the IT world with the OT world: controllers, SCADA, and MES systems run for years, and every line stoppage costs money. Software changes must respect the rhythm of production. The client is a manufacturer of industrial and automotive technology with a server system that collects data from thousands of field devices over an encrypted, proprietary protocol.
Challenge
Standard load testing tools support neither the devices' protocol nor its encryption. The manufacturer does not know how many devices the new server version can serve at once, and the planned rollout will cover a much larger fleet.
Requirements and constraints
- The Cyber Resilience Act (EU Regulation 2024/2847) imposes security obligations across the whole life cycle on manufacturers of products with digital elements: vulnerability management, SBOM, and reporting of actively exploited vulnerabilities. (source)
- IEC 62443 (security of industrial automation systems) divides an installation into zones and conduits, defines security levels (SL), and sets requirements for component suppliers. Every IT–OT connection must pass through a controlled conduit. (source)
- ISO/IEC 27001:2022 requires a documented information security management system: risk analysis, a statement of applicability, access control, and supplier management. Every element of the project must be traceable to a control from Annex A. (source)
- Project constraints: work only on anonymized or synthetic data outside production, access to systems through the client's infrastructure, and every element delivered 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 a traffic profile (the transaction mix, peaks, distribution over the day), and only then write scripts. Every test has a hypothesis and a pass criterion, and we analyze results together with infrastructure metrics and APM traces to pinpoint the bottleneck, not just to state that the system is slow.
We build a device simulator as an extension of the load testing tool, implementing the protocol and the encryption layer according to the manufacturer's specification, with test keys. The simulator reproduces real communication patterns: mass reconnection after a network outage, periodic reports, and configuration updates.
Key elements of the solution:
- A custom protocol plugin in the load testing tool with encryption support
- Test-only keys and certificates, generated per environment
- "Connection storm" scenarios after network recovery
- Analysis of server CPU usage for cryptography
Team and roles
| Role | Count | Responsibility |
|---|---|---|
| Performance test engineer | 2 | load model, scripts, bottleneck analysis |
| Embedded software engineer (C/C++) | 1 | device software, HIL tests |
| 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. Preparing scripts and data | 3–5 | scripts, data generator, monitoring |
| 3. Test cycles and tuning | 6–9 | cycle reports, list of bottlenecks |
| 4. Confirmation test | 10–11 | SLA compliance report |
| 5. Performance regression in CI | 12–12 | automatic thresholds in the pipeline |
Technology stack
Apache JMeter with a custom plugin (Java), Gatling, Grafana, Prometheus, Wireshark.
Risks and how we mitigate them
| Risk | How we mitigate it |
|---|---|
| Performance test environment smaller than production | an environment differences table, scaling results only where behavior is linear, a confirmation test on production in a maintenance window |
| Delays in hardware and device deliveries | simulators and emulators in testing, earlier orders, HIL tests on prototypes |
| Undocumented behavior of the legacy system | characterization tests (golden master) before the change, old vs. new result comparisons |
Measurable goals and KPIs
The values below are targets that we set with the client after a baseline measurement in the first phase.
| KPI | Target | How it is measured |
|---|---|---|
| Throughput at the peak profile | ≥ 150% of the forecast peak | load test |
| Error rate under load | < 0.1% | load test, application logs |
| p95 response time of key transactions | within the SLA, e.g. ≤ 2 s | APM and test reports |
Lessons learned and good practices
The mass reconnection scenario of devices is the most demanding and the most often skipped. Cryptography can dominate server CPU usage, so it has to be measured separately. 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 audit is an everyday matter: in banks, insurance, and critical infrastructure. We are an accredited exam center, so testing methodology is not a claim for us but a working standard. We give a first proposal of specialists within 24 hours, and a team can start within 5 business days.
Acceptance criteria
Every phase ends with a formal acceptance against criteria agreed at the start. In this deployment, acceptance covers: traffic profile, SLA, test plan; scripts, data generator, monitoring; cycle reports, list of bottlenecks; SLA compliance report; automatic thresholds in the pipeline. Final acceptance requires a KPI measurement report against the starting point, complete documentation handed over to the client's team, and a list of recommendations for the next stage, with an estimate of the cost and risk of each.
Next step
Let's talk about your project. Within 24 hours we will get back to you with a quote or a proposal of engineers; a team can start within 5 business days. Contact: office@b2bnetwork.pl.
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.