Back-to-back Testing
Back-to-back testing compares the outputs of two or more versions or implementations of a system using the same inputs to identify differences.
“Testing to compare two or more variants of a test item or a simulation model of the same test item by executing the same test cases on all variants and comparing the results.”
(Definition reproduced from the ISTQB Glossary. Copyright belongs to ISTQB.)
View the complete ISTQB GlossaryWhat is Back-to-back Testing?
Back-to-back testing verifies consistency by executing identical test cases against different systems, versions, or configurations and comparing the results.
Comparison approach: Both systems receive identical inputs under the same conditions.
Purpose: Differences in outputs may indicate defects, regressions, or implementation inconsistencies.
Testing value: Useful when replacing legacy systems or validating alternative implementations.
Real World Example
A financial firm is migrating a legacy pricing engine written in COBOL to a rewritten microservice in Java, and needs confidence the new version behaves identically for existing customer scenarios before cutting over.
Manually re-verifying every pricing rule by reading both codebases side by side would take months and would still risk missing subtle behavioral differences buried in edge cases across thousands of possible input combinations.
The team performs Back-to-back testing: running the exact same large batch of real historical pricing requests through both the legacy engine and the new microservice, and automatically comparing every output field between the two instead of manually eyeballing the code.
The comparison surfaces a handful of historical trades where the new engine rounds a fee differently by a fraction of a cent — a discrepancy invisible from reading either codebase alone, but immediately obvious once Back-to-back testing ran identical inputs through both variants and compared the results directly.
Practice Questions
Question 1
Which scenario BEST fits back-to-back testing?
Question 2
What is a COMMON RISK when performing back-to-back testing?
Test your knowledge with real ISTQB-style questions
You’ve learned Back-to-back Testing. Test your understanding with topic-specific questions in our Mock Exams.