No staging environment? Agree the rules before testing live

No staging environment? You can still test in production safely if you agree the rules first: load limits, tagged test data, cleanup and a rollback plan.

Not having a staging environment isn’t a reason to skip testing. It’s a reason to write the rules down before anyone starts. Testing a live product is normal for early-stage companies, and it can be done safely. What goes wrong is almost never the testing itself. It’s the testing nobody agreed limits for.

The situation is common

On a recent call with a two-sided marketplace startup, I asked whether we’d be testing on a sandbox or on the live platform. The answer was simple: there is no testing version, everything is live. Real users were already on it. The team was also relaxed about load. If testers overwhelmed the platform, they said, that would at least show them where it breaks.

I understand that attitude, and I don’t share it. Finding the breaking point is useful. Finding it at ten in the morning while a real person is halfway through an agreement is not.

This situation is common among young products. A staging environment costs money and attention, and when a small team ships fast, keeping a second copy of everything in sync falls to the bottom of the list. Our view is that this is a reasonable trade-off for a while, as long as testing on production follows rules everyone has signed off on.

The worst outcome to design against

Before the rules, it helps to name what you are protecting against. On a marketplace the worst outcome isn’t a crash. A crash is visible, someone notices, it gets fixed.

The worst outcome is quiet: a real person applies for a job that only existed for a test. They wrote a cover note, maybe turned down something else, and waited for a reply that was never coming. They don’t report a bug. They just stop trusting the platform, and they tell people.

Every rule below exists to make that impossible, or at least very unlikely.

The rules to agree before testing starts

These are the points we agree in writing with the client before anything touches production. None of them is complicated. They just need to be decided by someone with authority over the platform, not improvised by a tester at the moment it matters.

A load ceiling

Agree a number. For example: no more than a set number of concurrent requests, or a set number of simulated users, without asking first. The right number depends on the platform, and the team that runs it usually has a feel for where it gets slow. Start well below that, increase in steps, and watch response times between steps.

If the team does want to find the breaking point, schedule that test separately, at a quiet hour, with someone from engineering watching, and with users warned if it’s possible they’ll notice. “Let’s see what happens” is a plan for an outage.

A tag on every test record

Every account, listing, message and file a tester creates should carry a unique marker that a real user would never use. It can be a prefix in the name, a fixed email domain, or a flag in the database. What matters is that it’s consistent and agreed in advance.

Then make sure the team can bulk-delete everything carrying that tag, and test the deletion once before the real testing starts. Cleanup that depends on someone remembering which records they made always misses some.

Keep test records away from real users

Tagging lets you find test data afterwards. It doesn’t stop a real user seeing it in the meantime. For that you need one of two things, decided with the team:

  • Test listings are hidden from everyone except accounts carrying the test marker.
  • Test activity is limited to a region or a user group that real users aren’t in during the test window.

If neither is possible, keep test listings to the bare minimum, word them so a human reader can see they’re test content, and remove them the same day.

On that call, the team suggested limiting access by region temporarily during the testing phase. That’s a sensible approach if the platform supports it. The point is that the client knows their platform and decides, and the testers follow it.

Don’t touch real money or real people

Payments, identity checks and messages to real users need their own rule. Use the payment provider’s test mode where it exists, even on production. Where it doesn’t, agree a small number of real transactions with refunds planned. Never let a test message or notification reach a real user’s inbox or phone.

A named contact and a rollback plan

Before testing starts, both sides should know who to call if something goes wrong, and that person should be reachable during the test window. Agree what “stop” looks like: who can halt the test, how quickly, and what the team does to roll back if the platform ends up in a bad state.

This sounds like paperwork. It is paperwork, and it’s the bit that matters most on the day something unexpected happens.

A schedule

Put the test windows in a shared calendar. Load tests at quiet hours. Exploratory testing when the team is online. No testing during a marketing push, a launch or a demo. Tell support so they aren’t confused by odd activity.

What this doesn’t replace

Testing on production with good rules is safe enough to be useful. It isn’t a substitute for having somewhere to test changes before they reach users. Every bug found on production was, by definition, already live.

So I’d treat these rules as a stage, not a permanent state. As the product grows, a staging environment, even a modest one, pays for itself quickly. In the meantime, testing live with agreed rules beats not testing at all, and it beats testing live without rules by a wide margin.

If you’re at the point of setting up separate environments, our guide to test environment management covers the practical side. And once you have staging, it’s worth reading why QA needs more than regression tests in staging.

This is how we plan load testing, including on live platforms: performance testing services.

Share the Post: