Design a Test Results Aggregation Platform for Large Automation Suites
Last updated: November 29, 2026
Quick Overview
Design a service that ingests results from thousands of parallel automated test runs (unit, API, UI), shows live launch dashboards, tracks flakiness over time, and helps engineers triage failures by grouping similar ones.
EPAM Systems
November 29, 20260
0
0 solved
Design a service that ingests results from thousands of parallel automated test runs (unit, API, UI), shows live launch dashboards, tracks flakiness over time, and helps engineers triage failures by grouping similar ones.
EPAM has a large quality engineering practice and maintains ReportPortal, an open-source test reporting and analysis tool, so this domain is close to home. The interviewer checks a sensible ingestion path for bursty, high-volume writes, a data model for launches, items and logs, and a practical approach to failure grouping.
What the Interviewer Expects
- Clarify scale: concurrent launches, items per launch, log and screenshot volume
- Separate the hot ingestion path from querying and analytics
- Model launches, test items (nested suites), logs and attachments
- Store large logs and attachments in object storage, metadata in a database
- Explain flakiness metrics and a concrete failure clustering approach
Key Topics to Cover
How to Approach This
- Start by clarifying functional and non-functional requirements with the interviewer.
- Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
- Draw a high-level architecture first, then deep dive into 1-2 critical components.
- Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
- Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
- How would you handle a test framework agent that retries and sends duplicate events?
- How would you let users mark a failure as a product bug and have similar future failures auto-labeled?
- How do you enforce data retention per project without heavy delete storms?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice System Design ProblemsSample Answer
Requirements
Functional: agents report start/finish of launches, suites and tests, logs and screenshots; dashboards update live; history per test shows pass rate and duration; failures can be grouped and labeled (...
High-Level Design
Agents (JUnit, TestNG, pytest, Playwright plugins) call an ingestion API that validates, assigns IDs and writes events to a durable queue (Kafka or RabbitMQ). Consumers write test item metadata to Pos...