SIT stands for system integration testing: checking that systems which each work on their own also work together. Your application, the payment provider it charges through, the service that sends its email, the single sign-on it trusts, the internal service another team owns. Each has its own tests and each passes them. SIT is the testing that happens where they meet.

It earns its own name because that meeting point is where a particular kind of bug lives: the kind every team’s own tests are structurally unable to see.

What it means, in plain words

If you met the term in a project plan: SIT is the stage where a team stops asking “does our part work?” and starts asking “does the whole thing work when our part talks to everybody else’s?”.

It usually comes after each system has been tested on its own and before user acceptance testing, where the people who will use the software decide whether it does their job. It is run by developers or testers, not by end users, and it runs against real versions of the other systems, or the closest thing to them that is available, usually their test or sandbox environments.

SIT against UAT, which are constantly confused

They often run in the same environment and in the same fortnight, which is why they get mixed up. They answer different questions.

System integration testing
Do the systems talk to each other correctly? Data arrives in the right shape, in the right order, and failures on one side are handled on the other. Run by the team that built it
User acceptance testing
Does the finished whole do the job somebody needs done? Run by the people who will rely on it, against their own work, not against a specification

A system can pass SIT and fail UAT: every message arrives perfectly and the workflow is still wrong for the people using it. It can also pass UAT and fail SIT later, which is the more dangerous order, because the testers saw the happy path on a day when every other system was up.

Where integration bugs actually come from

The contract was read two ways. One side sends a date in local time and the other assumes UTC. One rounds an amount to two decimals before tax and the other after. A field is renamed, made optional or given a new value, and the change is correct on one side and unknown on the other. Each system passes its own tests, because each tests its own reading.

Timing. The other side is slower than the timeout. A retry sends the same request twice and nothing on the receiving side was written to notice. Two events that always arrive in order in testing arrive the other way round under load.

The environment is not the one you will run in. A sandbox behaves differently from the real service: it approves every card, never rate-limits, responds instantly. This is the staging environment problem in its sharpest form, because one side of the conversation belongs to somebody else.

Nobody tested the failure. The other system is down, or slow, or answers with an error your code has never seen. The happy path is what gets tested; the degraded path is what customers meet on the bad day.

Session Replay

Free Chrome extension. One click on the page that is misbehaving captures the screenshot, the console and the network log, and hands you a link to paste into the ticket.

Get the extension

What a useful SIT case looks like

A good one names both sides and checks both sides. Not “the order is created”, but “the order is created, the payment provider records one charge for the same amount in the same currency, and the confirmation email names that amount”.

Then the cases a happy-path suite never has:

  • The other side is slow. Longer than your timeout. What does the user see, and what state is left behind?
  • The other side fails. An error you expect, and one you do not.
  • The same message arrives twice. Does anything get charged, sent or created twice?
  • Messages arrive out of order. A cancellation before the confirmation it cancels.

Each of those is a case where both systems are individually correct and the combination is not.

Why integration bugs are the hardest to report

The person who meets one sees a single screen. They pressed “Pay”, something went wrong, and that is all they can tell you. The cause is in the handoff between two systems, and each system’s logs, read on their own, look normal: one sent a request, the other answered it.

What turns that into something you can fix is being able to line the two sides up: the time it happened to the second, the request that left the browser, the status that came back, and any identifier the systems share, such as an order number or a request ID. A report that carries those lets you find the matching lines on both sides. A report that says “payment failed” leaves you searching two systems for one moment.

In short

SIT is testing the joins: data shape, timing, environments and failures between systems that each pass their own tests. It is different from UAT, which asks whether the whole thing does the job. Most of what it catches is a contract read two ways, and most of what it misses surfaces later as a bug report that only makes sense when both sides of the conversation are in front of you.