Cloud Testing: An Essential 4-Step Guide for QA Teams

Cloud testing - a four step guide for QA teams. Structured approach to testing cloud-native applications.
White cumulus clouds against a blue sky

“Cloud testing” means two things, and people mix them up. One is testing an application that runs in the cloud. The other is using rented cloud machines to run your tests. This guide is about the first: what a QA team should check when the application, its database and its scaling rules live on someone else’s infrastructure.

In four steps.

Step 1. List what the cloud changed

Before you write a test, write down what is different from a server you own. Usually it is these:

  • The application scales by itself, by rules someone wrote.
  • Settings that used to be a file on one machine (access rules, storage, network) are now configuration that can drift.
  • Parts of the system are managed services you cannot open up.
  • Recovery depends on backups and a second location that nobody has had to use yet.

Each item on your list becomes a test target in the steps below. If an item has no owner, that is your first finding.

Step 2. Test scaling by watching it scale

A scaling rule that has never been seen working is a guess. We found a clear case in one load test of a resident mobile app on a Kubernetes staging cluster (the full case):

  • On the day of the test, the production autoscalers were in place on the busiest services, but the cluster had no metrics server. Every scaling target read “unknown”, so none of them could scale.
  • In staging, once autoscaling worked, new pods failed to schedule because the nodes were nearly full and nothing added nodes.
  • Response times told the same story the error count could not: 745 ms at 30 users and 2.6 seconds at 60 users, with zero errors in every run.

What to do in your own system: confirm the cluster or platform supplies the metrics your scaling rules read, raise load until the scaler acts, and check that the capacity underneath can actually grow. Watch response time, not just errors. Load testing and stress testing explains the two kinds of run.

Step 3. Test security settings and the application on top

Two layers need separate checks.

  • Configuration. Who can read storage, which ports are open, which keys sit in the build. Our security toolkit sweeps code, dependencies, secrets, the running application, infrastructure and cloud settings before an engineer starts the manual pass.
  • The application. Logins, permissions, one customer reading another’s data, and the API behind your screens. A correct cloud configuration does not fix a broken permission check.

Run these against a test environment you have confirmed, not production by default. See our penetration testing services for scope: we test web applications, APIs and mobile apps.

Step 4. Test recovery and what it costs

  • Restore a recent backup into a clean environment and test the application on it end to end.
  • Take away a database, a region or a service you depend on and watch what the application does, with traffic running.
  • Measure how long recovery took and how much data was lost, against the targets in your plan or contracts.
  • Look at what the test run itself cost. A load test that scales out your own bill is still a test; it needs a budget line.

Recovery steps written by one team and followed by another show the missing step quickly. That is why we ask people who did not write the runbook to follow it.

Where this goes wrong

  • Testing only the happy path of a deployment. The first scale-out or failover is the one that fails. Do it on purpose.
  • Treating the provider’s defaults as a test result. A default setting says nothing about how your application behaves under it.
  • Slow without errors. If you only monitor failures, slowness reaches your users first.

For testing a move to the cloud rather than an application already there, see cloud migration testing. To discuss your own setup, contact us.

Stay Updated with the Latest in QA

The world of software testing and quality assurance is ever-evolving. To stay abreast of the latest methodologies, tools, and best practices, bookmark our blog. We’re committed to providing in-depth insights, expert opinions, and trend analysis that can help you refine your software quality processes.

Visit our Blog

Delve deeper into a range of specialized services we offer, tailored to meet the diverse needs of modern businesses. As well, hear what our clients have to say about us on Clutch!

Share the Post: