System integration testing (SIT) is the stage where separate systems, each already built and tested on its own, are run together in a setup that stands in for production, before anything is released. It catches the problems that appear only when systems meet: mismatched interfaces, data that loses its meaning between systems, slowdowns under combined load, and security gaps at the seam between two systems.
A mature practice shows seven properties. Use the question beside each one as a yes or no test.
- Environment discipline. Can you rebuild the exact environment, at the same versions and configuration, as it was at the time of any defect?
- Data discipline. Does your test data carry the volume, spread, and unusual cases of real traffic, with the privacy handling that kind of data requires?
- Configuration management. Can every defect be traced to specific build versions and configuration versions, rather than to "latest"?
- Risk-ordered integration. Are the riskiest integrations brought together first, while there is still schedule room to fix what you find?
- Entry criteria. Can you show, with numbers, that every system entering the environment passed its earlier testing gates?
- Coverage focus. Do your integration tests exercise interoperability, performance, reliability, security, and data quality across systems, rather than re-running each system's own tests?
- Defect-management integration. Are cross-system defects owned jointly by the affected teams, with a named lead, rather than parked on the integration team?
What is system integration testing, and what is it not?
System integration testing is the test level at which several independently developed systems are exercised together as one composed whole. Its target defects are those that emerge from the interaction of systems, not from any one system on its own.
Typical SIT target defects include interface incompatibilities between systems built by different teams or vendors; data-quality issues that emerge only when real data flows across multiple systems; performance regressions caused by cross-system load; security failures that exploit the boundary between systems; reliability failures under sustained cross-system operation; and operational failures that appear only when the full production setup is in place.
SIT is not:
- Integration testing within a single system's components. That is component integration testing, a lower test level performed by the engineering team building the system.
- End-to-end testing of a single system against its own requirements. That is system testing, the test level immediately below SIT.
- Acceptance testing against business requirements. That is user acceptance testing (UAT), where the business confirms the system meets its needs. It is a test level typically above SIT.
- Production-like staging for release rehearsal. That is a final dress rehearsal in a copy of the live setup just before release, which may coexist with SIT but has a different purpose.
Confusing SIT with any of these either under-invests in the defects only SIT can find or spends test effort at the wrong level. Being clear about what SIT targets, defects that emerge at system boundaries, is the first discipline of a mature practice.
For a worked view of how cross-system automation is organized during development, see Testing Distributed Systems During Development.
What are the seven properties of a mature practice?
The seven properties are environment discipline, data discipline, configuration management, risk-ordered integration, entry criteria, coverage focus, and defect-management integration. Each is described below, and each matches one question in the checklist at the top.
Environment discipline
The SIT environment ideally replicates production, and at minimum represents it in the ways that matter for the defects being targeted. That means the same versions of each system, the same network layout, the same data stores, the same sign-in and permission settings, the same external dependencies, and the same monitoring tools.
Environment discipline is achievable at lower cost today, through infrastructure as code (environment setup written down as files that can be run again), containers, and cloud environments created on demand. Microsoft's Azure Well-Architected guidance describes on-demand (ephemeral) environments as a cost-effective way to simulate production conditions for testing (Azure Well-Architected, operational excellence). The same guidance on deployment says infrastructure should be deployed repeatably, so that the same environment is produced every time (Azure Well-Architected, mission-critical deployment and testing). That repeatability is what makes the first checklist question answerable: without it, nobody can rebuild the environment as it stood when a defect appeared.
External dependencies that cannot run in the SIT environment (third-party payment processors, outside services, regulated data stores, software-as-a-service tools) must be represented by high-fidelity simulators, sandboxes, or stand-ins checked against the real contract. They should not be low-fidelity mocks that accept any request and return a canned success. Microsoft's guidance warns that simulated services drift from the real service unless contract tests keep them accurate, and that tests then pass in lower environments and fail in production (Azure Well-Architected, design guides for testing). Low-fidelity simulation is a well-known SIT anti-pattern, and it hides the interoperability defects SIT exists to catch.
Data discipline
SIT uses production or production-derived data, with the privacy and security handling that kind of data requires. Data that matches production in volume, spread, and unusual cases is required. Synthetic data generated by simple scripts is not enough for the defects SIT targets, because real defects often appear only on data with the statistical and structural properties of real traffic.
The practical options for production-derived SIT data today are:
- Anonymization that swaps real values for scrambled or substitute ones while keeping their shape, for fields that must keep their structure.
- Synthetic generation with models that preserve the real distribution, when direct anonymization is not possible.
- Adding statistical noise to regulated data so that no individual can be picked out, where anonymization alone is not enough.
- Selective masking combined with scrubbed captures of production traffic, for scenarios that must be reproduced.
The choice among them depends on the regulatory regime, the class of data, and the defect pattern being targeted.
For the broader discipline around test data, see the article A Few Thoughts on Test Data.
Configuration management
SIT depends on a disciplined way of tracking what is installed where. Each system entering the SIT environment is pinned to a known version. Every change, whether to code, configuration, infrastructure, or a dependency, is tracked and can be repeated. The state of the environment at the moment of any defect can be reconstructed.
In teams that release small changes all the time, this extends into the automated build pipeline. The pipeline records the exact build artifacts and configurations deployed to SIT, and defect reports cite those identifiers rather than an ambiguous "latest". A SIT failure that cannot be traced to specific versions is a failure whose root cause cannot be reliably found.
Risk-ordered integration
When new systems or major changes enter the SIT environment, the order matters. The systems most likely to have integration problems should be integrated first, when finding and fixing problems costs least and schedule buffer remains.
Risk ordering draws on the quality risk analysis behind the program's risk-based testing (see the article Quality Risk Analysis). Factors that drive SIT risk ranking include:
- Novelty of the integration. Untested integrations are higher risk than proven ones.
- Divergence of the development teams. Systems built by different teams, vendors, or technology stacks carry higher boundary risk.
- Size of the change. Systems with significant changes since the last SIT carry higher risk.
- Production impact. Systems whose failure hurts customers or the business badly deserve earlier integration, so there is schedule buffer left for fixes.
Entry criteria
Every system must pass explicit gates before it enters SIT. The five gates, and the rule that each is enforced, are set out in the section on entry criteria below.
Coverage focus
SIT test design targets the defects only SIT can find, not a repeat of lower-level testing. The five coverage axes are:
- Interoperability: do the systems exchange data correctly at their interfaces, under all expected message shapes and error conditions?
- Performance: does the composed system meet speed, throughput, and concurrency targets under representative load? Cross-system performance regressions rarely appear in single-system testing.
- Reliability: does the composed system survive sustained operation, failures in individual systems, and recovery scenarios? Reliability emerges from cross-system behavior.
- Security: are the points where one system trusts another, sign-in flows, and permission decisions correct across the composed system? Security defects often exploit the boundary between systems.
- Data quality: does data stay correct, intact, and consistent as it flows across systems? Data-quality defects compound across boundaries in ways single-system testing cannot surface.
SIT that reruns the participating systems' own functional test suites over-invests in coverage already achieved at lower levels, under-invests in the coverage SIT is designed to provide, and typically runs out of schedule before the SIT-specific coverage is achieved.
Defect-management integration
SIT runs against the same defect-tracking system, triage forum, and defect-lifecycle disciplines as the rest of the program. What changes is the cross-system nature of the defects, which often need cross-team coordination to resolve. SIT-specific disciplines:
- Defects are assigned to the system or systems they originate from, not to the SIT team. The SIT team is the reporter, not the owner.
- Defects that span systems require explicit joint ownership between the affected teams, with a named lead.
- Triage for SIT defects involves the development management of each affected system, not only the system most obviously at fault.
For the broader defect-management disciplines, see the Bug Triage article and the Defect Lifecycle article.
What are the entry criteria for starting system integration testing?
Each participating system must pass five explicit gates before it enters SIT, and each gate needs a number the program has agreed in advance. Systems that have not completed earlier test levels do not enter. Admitting under-tested systems is a false economy: finding system-internal defects at SIT costs materially more than finding them at lower levels, and the SIT environment fills with defects that are not its target.
The five gates are:
- Unit testing complete. The system's own unit tests pass. Set a numeric threshold by having the team state the coverage or completion figure it holds itself to, as a number rather than a feeling.
- Component integration testing passing. The parts inside the system work together, so failures seen later are not internal wiring problems. Set a numeric threshold as a pass rate or a count of open internal defects, chosen by the team.
- System testing against the system's own requirements passing. The system meets its own specification before it is asked to meet anyone else's. Set a numeric threshold as a completion and pass figure the program defines.
- Defect backlog below a severity threshold. Open defects at the highest severities sit below the number the program is willing to carry into integration. Write that number down.
- Build quality from the automated build pipeline meeting its bar. The build is stable enough that a failed integration run means something. Set a numeric threshold as a figure the pipeline reports.
The number for each gate is yours to set. It should come from what the program can actually sustain, be agreed with the teams before the first cycle, and be recorded in the plan. What matters is not the size of the number but that a number exists, that it is measured, and that the gate is enforced, not aspirational. A gate that is waived under schedule pressure is not a gate. AWS describes the enforced version as the desired outcome: integrated tests are part of the deployment process, and a failing test aborts the deployment (AWS Well-Architected, functional testing).
For the broader discipline around entry and release criteria, see the article Exit and Release Criteria.
How much does a production-like environment for integration testing cost?
There is no single figure, because the cost is set by four decisions rather than by a price list. Those decisions are how many systems are included, how closely each outside dependency is simulated, how the data is prepared, and whether environments are built on demand or kept running.
- How many systems are in the environment. Every system added brings its own license, configuration, data, and version to keep in step. The count is the first multiplier.
- How closely each external dependency is simulated. A sandbox from the provider, a high-fidelity simulator you maintain, and a stub that returns a canned success sit at very different points on the cost and fidelity scale. Higher fidelity costs more to build and more to keep accurate, and it is what stops the drift that sends defects to production.
- How the data is prepared. Copying and masking production data, generating synthetic data that preserves real distributions, and hand-building a small set of fixtures carry different one-off and recurring costs. The recurring cost is the one that surprises programs, because the data has to be refreshed as production moves.
- Whether environments are built on demand or kept running. An environment created when a cycle starts and removed when it ends pays only for the hours it is used, which is why Microsoft's guidance points to on-demand environments as a cost-effective way to simulate production conditions. An environment kept running pays continuously, and in exchange is always available and always warm.
These choices should be made deliberately, in writing, against the defects the program is trying to catch. A program that cannot say how many systems are in scope, how each external dependency is represented, how data is refreshed, and whether environments are long-lived or created on demand has not yet costed its SIT practice.
Two examples of cross-system work show these decisions at play: the enterprise CRM and ERP integration case study, where two systems of record had to agree, and order management system integration, where the flow from order to fulfillment crosses several platforms.
How do we know if our system integration testing practice is actually mature?
Maturity is not a feeling about the environment or the size of the test suite. It is measured by comparing the defects caught at this level with the defects that escape it.
The measure is defect detection percentage (DDP): the number of defects found at a given test level, divided by the total number of defects that could have been found at that level, including those that escaped to later testing or to production. For SIT, count the integration defects caught during SIT, then count the integration defects that were missed and later found in user acceptance testing or in production, and read the two numbers together. A practice that catches most cross-system defects before release and leaves few to be found later is mature. A practice that catches few, and sees a steady trickle of multi-system incidents after release, is not, whatever the environment looks like.
Two further signals are worth watching:
- The mix of defects. If nearly every SIT defect turns out to live inside a single system, the SIT-specific coverage is not being exercised, and the environment is being used as a second system test.
- The shape of post-release incidents. Incidents that span two or more systems, and that were not visible in any participating system's own testing, point directly at gaps in SIT coverage rather than gaps in the individual systems.
For the metric definitions supporting effectiveness measurement, see the article Metrics for Software Testing, Part 3 (defect detection percentage) and the article Metrics for Software Testing, Part 4 (product-quality metrics supporting SIT effectiveness analysis).
Choosing a partner for integration testing
A partner is worth talking to when the seven properties above are uneven: strong in one or two, weak in the rest. The checklist below turns the same seven properties into questions for a first conversation, with the anti-patterns from the next section as the warning signs.
- Environment discipline. Ask how the partner would make the environment rebuildable, and what evidence they would leave behind so any defect can be replayed against the exact state that produced it.
- Data discipline. Ask how they would get representative data into the environment without breaching the rules that apply to it, and what they would do when production data cannot be copied.
- Configuration management. Ask how a defect report would name the versions involved, and what happens when a build cannot be traced.
- Risk-ordered integration. Ask which integrations they would bring together first, and why.
- Entry criteria. Ask what gates they would insist on, and what they do when a team wants to skip one.
- Coverage focus. Ask how they would stop the environment being used to re-run each system's own tests.
- Defect-management integration. Ask who owns a defect that spans three systems, and how the fix is coordinated.
- Anti-patterns. Listen for low-fidelity mocks, environments nobody can rebuild, entry criteria described as targets rather than gates, and defects triaged by the integration team alone.
Rex Black Inc. provides software testing and QA consulting, and has worked in software quality since 1994. The work is senior-led: its practitioners average more than 15 years of experience. More on the practice is on the software testing and QA services page.
Anti-patterns that mark an immature practice
Under-specified SIT
SIT is declared complete based on calendar time rather than coverage evidence. The characteristic pattern is "SIT runs for two weeks" with no statement of what must be tested.
System testing in the SIT environment
The SIT environment is used to re-run each system's own functional tests, so the SIT-specific defect classes are not exercised. The characteristic pattern is that SIT defects are dominated by defects in single systems, with very few cross-system defects, because cross-system scenarios are not actually being tested.
Low-fidelity dependency simulation
External dependencies are mocked with stubs that return canned success responses. Interoperability defects against real external contracts are not caught.
Environment drift
The SIT environment has diverged from production in ways the team has lost track of. AWS names test environments that do not closely match production as an anti-pattern (AWS Well-Architected, reliability pillar). Defects caught in SIT do not reliably indicate production defects, and defects missed in SIT often appear in production because the SIT environment did not represent production conditions.
Entry-criteria erosion
Systems that have not completed lower-level testing are admitted to SIT under schedule pressure. SIT fills with system-internal defects, the SIT-specific coverage suffers, and the release schedule slips more than strict enforcement would have cost.
Triage isolation
SIT defects are triaged only by the SIT team, without the development teams that own the affected systems. Fixes are delayed, root causes are not understood at the source, and the next cycle's defect pattern repeats.
Cadence models
Two cadence models are common in enterprise SIT practice, and the choice between them depends on release frequency and system complexity.
Cycle-based SIT. A fixed-length cycle into which participating systems deliver ready-for-SIT builds on a schedule. Multiple cycles can run at once in parallel environments to support higher release frequency without cutting the depth of each cycle. This model fits release-gated programs with larger system footprints, and works well when the participating systems have different release rhythms.
Continuous SIT. A continuously running SIT environment into which systems deliver small, frequent changes. The environment is always at the latest integrated state, and testing runs continuously against the evolving composed system. This model fits teams that release small changes all the time, where systems depend closely on one another and ship together on one schedule. It requires stronger test automation and stricter automated checks before a build moves forward.
Hybrid models are common: continuous SIT for the routine re-checking of what already works, supplemented by cycle-based SIT for major integration events such as platform upgrades, new-system introductions, acquisitions, and regulatory-driven changes. The hybrid combines continuous coverage with deep investigation where it is warranted.
In every cadence model, SIT must occur often enough that integration risk does not pile up between cycles, and deeply enough that the SIT-specific coverage axes are genuinely exercised, not skimmed.
How does integration testing work in microservices environments?
Microservices architectures (applications built from many small, separately deployed services) have changed how SIT is done without removing the need for it. Three techniques are worth separating, because they solve different problems.
Contract testing
Contract testing, where each pair of systems checks its shared agreement on how they exchange messages, moves part of the interface checking to lower test levels. The official Pact documentation defines contract tests as checks that messages between applications conform to a shared, documented contract (Pact documentation). This does not eliminate SIT. It reduces the number of boundary defects that reach SIT, so SIT capacity can focus on the cross-boundary, multi-system, data-flow, and performance defects that contract testing cannot reach.
Service meshes and request tracing
Service meshes (a layer that manages how services talk to each other) and distributed tracing give visibility into cross-system behavior that was previously hidden. They record the path a single request takes through all the services it touches. SIT of microservices benefits substantially from checking the recorded path of each request, which confirms not only that a test passes but that the path through the composed system matches the expected shape and time budget. This is a current capability that materially improves detection of cross-system performance and reliability defects.
Chaos engineering
Chaos engineering means deliberately breaking parts of the system in a controlled way. At the SIT level, causing failures on purpose and under control exercises the reliability axis directly by provoking failure conditions that are hard to reproduce otherwise. It is not a replacement for traditional SIT coverage. It is a specific-purpose addition that targets the reliability axis where it would otherwise be under-tested.
What to do next
Start with the checklist at the top of this page and answer each question in writing, with the evidence that would satisfy a skeptical reader. Then pick the weakest property and fix it before adding anything else, because the properties reinforce each other: entry criteria without environment discipline produce defects nobody can reproduce, and environment discipline without coverage focus produces a faithful copy of production that tests the wrong things.
If the gap is in cross-system work, the enterprise CRM and ERP integration case study and the order management integration page show what integration looks like in practice, and Testing Distributed Systems During Development covers the automation strategy behind it. For the organizational context in which SIT sits, see the article Fitting Testing Within an Organization.
Rex Black Inc. provides software testing and QA consulting, and has worked in software quality since 1994. Every engagement is led by practitioners averaging 15+ years of experience. A good first step is a 30-minute call with a principal, or a look at the software testing and QA services page.