End-to-end execution at a glance
What the team does, what evidence it produces, and how it decides whether to proceed. Deeper methodology for each phase is in Sections 01–16 below.
| Phase | What the team does | Evidence / exit decision |
|---|---|---|
| 1Assess | Confirm scope, mappings, dependencies and risks. | Approved scope & acceptance criteria |
| 2Baseline | Profile source data and capture expected counts and quality issues. | Source baseline & profiling report |
| 3Migrate | Run the migration and capture logs, counts and rejected records. | Migration execution report |
| 4Reconcile | Compare counts, business keys, field values, relationships and aggregates. | Reconciliation report & exceptions |
| 5Investigate & repair | Find root causes; correct source data, mapping or migration logic through approved changes. | Defect records & remediation evidence |
| 6Rerun & retest | Repeat affected checks and regression tests after corrections. | Passing retest evidence or documented exceptions |
| 7Recover | Test restart, checkpoint, backup restoration and rollback / roll-forward where applicable. | Recovery results & operational readiness |
| 8Validate business flows | Test critical workflows, integrations and downstream reports. | Functional & integration results |
| 9Decide | Review remaining risks, acceptance criteria and sign-offs. | Go / no-go recommendation |
| 10Verify after cutover | Reconcile production data and monitor downstream processing. | Post-migration validation & issue closure |
What happens when validation finds a discrepancy
This loop is what makes a migration plan practical rather than a generic testing checklist. Every reconciliation failure runs through investigate → approved correction → rerun → reconcile again, with a logged outcome at the end.
Migration scope, assumptions, dependencies & impact assessment
What's in, what's out, what we depend onOpen the plan with a signed-off scope statement — in-scope entities, out-of-scope exclusions, named assumptions (data freeze window, source read-access, mapping ownership) and the dependencies the migration validation workstream cannot deliver without. The impact assessment names every downstream consumer that will see the target data and the regression effort each one implies.
Make the boundary explicit so no team argues scope mid-cutover.
- In-scope entities inventory
- Out-of-scope list, with rationale
- Assumptions log, versioned
- Dependency map to source/ETL/target owners
- Downstream-impact catalogue
- Signed scope statement
- Assumptions register
- RACI for dependencies
Risk assessment & requirements traceability
Rank the risks, trace the requirementsScore each in-scope entity for likelihood and business impact (data volume, mapping complexity, criticality, history of source-side quality issues). Trace each business requirement, mapping rule and data-contract item to the validation test(s) that will cover it. The traceability matrix becomes the "did we test what we promised" evidence at exit.
Point validation effort at the highest-risk areas and prove coverage.
- Entity-level risk score (impact × likelihood)
- Mapping-rule inventory
- Requirement → test traceability matrix
- Risk-ranked scope
- Traceability matrix
- Gap list & mitigation plan
Test objectives & acceptance criteria
What "done" looks like, in writingState the test objectives first, then the measurable acceptance criteria. Separate technical acceptance (counts reconcile, zero orphan rows, zero duplicate business keys, defined tolerance for known transformations) from business acceptance (sign-off from each business-domain owner against sampled records).
Remove ambiguity from the sign-off conversation.
- Define per-entity acceptance criteria
- Define tolerance bands & approved exceptions
- Separate technical from business sign-off
- Acceptance-criteria document
- Approved-tolerance register
Test phases & schedule
Phased plan with gatesPhase the plan so each stage produces evidence the next depends on. The diagram below shows a typical six-phase shape: Discovery and scope lock → Design and traceability → Source baseline (profiling) → Rehearsal and reconciliation cycles → Cutover and verification → Hypercare.
Data profiling & source baseline
Know the source before you compare the targetProfile the source first. Record completeness, cardinality, distributions, nulls, duplicates and known data-quality issues against the mapping. The baseline becomes the frame of reference for every subsequent reconciliation and prevents the "we found bugs after cutover that were in the source all along" conversation.
Establish ground truth before migration begins.
- Per-entity completeness & cardinality
- Null, duplicate, out-of-range inventories
- Mapping validation against observed data
- Profiling report per entity
- Pre-existing quality log with carry-forward decisions
Record-count & field-level reconciliation
The core of migration validationAt each rehearsal cycle: compare row counts at the agreed grain, then field-level reconcile matched rows against the mapping. Count matches alone are not acceptance evidence; every mismatch (and every agreed delta) is logged with a reason. A field-level diff with zero rows against the agreed tolerance is the strongest evidence this plan produces.
Prove the right rows arrived, with the right values.
- Record-count reconciliation per entity
- Field-level diff on matched business keys
- Agreed-exception register per cycle
- Count-reconciliation report per cycle
- Field-level diff reports
- Exception log with disposition
Referential-integrity & business-rule validation
Beyond individual rowsRow-level correctness is necessary but not sufficient. Check that parent-child relationships survived, that lookup codes still resolve, and that domain rules (balances tie out, dates sequence correctly, enumerations stay within the allowed set) still hold on the target side.
Catch "rows are right, data is wrong" bugs.
- Orphan / dangling-reference probes
- Lookup-domain resolution tests
- Business-rule invariants (balances, sequences, enums)
- Referential-integrity report
- Business-rule compliance log
Functional, integration, regression & downstream validation
End-to-end with the target in the loopOnce the target data holds, exercise it through the systems that consume it. Functional tests against the applications; integration tests against the inbound/outbound interfaces; regression tests against any downstream job that reads from the migrated store; sampled reports and operational workflows reviewed with business owners.
Prove the target data works in the real flows.
- Functional smoke & targeted regression
- Interface / integration tests
- Downstream job verification
- Report / dashboard reconciliation vs source baseline
- Functional & regression results
- Interface sign-off per partner
- Downstream reconciliation log
Performance, security, resilience & recovery
Where applicableScope these to the migration's actual risk profile. A target platform that will serve the same load as the source doesn't need a new load-test campaign; a replatform does. Security review covers access control on the new store and any new data pathways. Resilience and recovery exercises prove the cutover is reversible.
Make sure the new environment is fit for the workload.
- Performance baseline on target (where relevant)
- Access-control & data-handling review
- Backup / restore / rollback drill
- Resilience tests on critical paths
- Perf test report with SLA mapping
- Security sign-off
- Rollback drill log
Test data, environment & access requirements
Infrastructure for the validation workstreamDocument the datasets, environments, credentials and read-permissions the validation team needs. A production-like non-prod environment with a representative source snapshot is table-stakes; the plan names when it must be available, who refreshes it, and how PII is handled.
Remove “we couldn't test because we didn't have access” as an excuse.
- Environment plan with refresh cadence
- Test-data strategy (sampling, masking, synthesis)
- Access-request matrix per team member
- Env plan signed by DevOps/DBA
- Data strategy approved by security
Resource & responsibility model
Who does what, who signs| Role | Responsibility | Deliverable they sign |
|---|---|---|
| Test Manager / QE Lead | Plan, risk, acceptance evidence, release readiness report | Go/no-go recommendation |
| Validation SDET | SQL profiling, reconciliation queries, exception log | Reconciliation report per cycle |
| Migration Engineer | ETL authoring, mapping implementation, cutover | ETL run log, mapping change notes |
| Business Owner | Scope sign-off, acceptance of sampled records | Business acceptance sign-off |
| DBA / Platform | Environments, backup/restore, access | Env & access sign-off |
| Release / Change Mgmt | Cutover window, communications, rollback trigger | Cutover plan approval |
Example SQL validation queries
Illustrative — not from any specific projectRepresentative query shapes the validation SDET would run. Schema and table names are fictional.
Row-count reconciliation with filtersSELECT 'customers' AS entity, (SELECT COUNT(*) FROM src_customers WHERE status IN ('ACTIVE','DORMANT')) AS src_cnt, (SELECT COUNT(*) FROM tgt_customer) AS tgt_cnt;
SELECT s.customer_id, s.email AS src_email, t.email AS tgt_email, s.updated_at AS src_updated, t.updated_at AS tgt_updated FROM src_customers s JOIN tgt_customer t ON s.customer_id = t.customer_id WHERE COALESCE(s.email, '') <> COALESCE(t.email, '') OR COALESCE(s.updated_at, '1900-01-01') <> COALESCE(t.updated_at, '1900-01-01');
SELECT o.order_id, o.customer_id FROM tgt_order o LEFT JOIN tgt_customer c ON o.customer_id = c.customer_id WHERE c.customer_id IS NULL;
-- Sum of account balances by product line should match source control report SELECT product_line, SUM(current_balance) AS tgt_total FROM tgt_account GROUP BY product_line ORDER BY product_line;
SELECT customer_id, COUNT(*) AS occurrences FROM tgt_customer GROUP BY customer_id HAVING COUNT(*) > 1;
Defect management & reconciliation reporting
Make the exceptions legible to managementClassify every exception the moment it is logged: mapping defect, transform defect, source data-quality issue (pre-existing), ETL implementation bug, test data issue, approved exception. Report trend lines on each class per rehearsal cycle so leadership sees whether the migration is converging or diverging.
Convert raw query results into a decision-grade signal.
- Exception classification
- Per-cycle trend reporting
- Defect burn-down vs cutover gate
- Weekly reconciliation report
- Defect scorecard by class and severity
Migration rehearsal, cutover, rollback & post-migration verification
The cutover weekendRehearse the full cutover more than once in a production-like environment. Define the rollback trigger before the real cutover window begins — specific thresholds on reconciliation failures, duplicate keys, orphan rows or performance SLA breaches. Post-cutover verification runs a defined subset of the reconciliation suite against the live target.
Make cutover a practiced operation, not a leap of faith.
- Rehearsal cycles (count & cadence [Confirm])
- Rollback trigger definition
- Cutover-weekend reconciliation subset
- Post-cutover verification plan
- Rehearsal results log
- Rollback decision tree (signed)
- Post-cutover sign-off report
Entry criteria, exit criteria & go/no-go decisions
Written, measurable, signedEntry criteria (before each cycle)
- Scope and mapping signed off for the entities in this cycle
- Source baseline / profiling complete for in-scope entities
- Target environment refreshed and accessible
- Previous cycle’s exceptions triaged or formally accepted
- Test data, credentials and run plan ready
Exit criteria (before go-live)
- Zero open P1 defects; P2 defects within agreed aging threshold
- Record counts reconcile within approved tolerance
- Field-level diff clean against approved exceptions
- Referential integrity & business-rule invariants pass
- Downstream reports reconcile vs source baseline
- Rollback drill executed successfully in the last rehearsal
- Business and technical sign-offs filed by named owners
Go/no-go is a Release Board decision, taken against the above exit criteria plus the latest risk assessment. The validation workstream brings evidence; the board brings authority.
Management reporting & risk escalation
What leadership sees, and whenKeep the leadership view small and consistent across cycles. One page per week: RAG for the overall migration, reconciliation trend lines (counts, field-level, exceptions), top three risks with owners and ETAs, and the decisions needed this week. Escalate anything that threatens the go-live date the moment it crosses the agreed threshold — waiting until the next status meeting erodes options.
Give leadership a decision-grade view of migration quality.
- Weekly one-page RAG report
- Reconciliation trend lines
- Risk register with owners & ETAs
- Decisions-needed list, time-bound
- Weekly steering pack
- Risk-escalation log
- Release-readiness report at exit