Short answer
You test a SaaS app like any web app, with five extra areas: roles and permissions, customer data separation (multi-tenancy), invitations and user management, plans and limits, data import and export. Data separation matters most: company A must never see company B’s data, not in the UI, not through the API and not in an export. A typical scope is 10-20 days of work, about PLN 16,000-40,000 net at PLN 200-250 net per hour.
1. Roles and permissions
Start with a permission matrix. An example for an invoicing app:
| action | owner | admin | accountant | employee |
|---|---|---|---|---|
| issuing an invoice | yes | yes | yes | no |
| deleting an invoice | yes | yes | no | no |
| inviting a user | yes | yes | no | no |
| changing the plan and payment | yes | no | no | no |
| exporting data | yes | yes | yes | no |
| viewing reports | yes | yes | yes | own only |
Check every cell twice: in the UI (the button is hidden or disabled) and through the API with that role’s token (the request is rejected with a 403). A hidden button doesn’t mean the action is blocked.
2. Customer data separation
Set up two customer accounts, A and B, with similar data, for example invoices with the same numbers. Then check that A’s data doesn’t appear for B in:
- lists and search;
- reports and dashboard statistics;
- CSV and PDF exports;
- attachments and files, including via a direct link;
- email and in-app notifications;
- URLs with an ID, e.g.
/invoices/1042swapped for the ID of an invoice belonging to customer A; - suggestions in autocomplete fields.
This is a basic access check as part of functional testing, not a penetration test. When you need a pentest is covered in what a QA tester can’t replace in security. I describe API scenarios in 15 negative REST API test scenarios.
3. Invitations and users
- inviting a new person, and a person who already has an account in another organisation;
- an expired invitation, and one used a second time;
- changing a role, with permissions removed immediately;
- removing a user: their data stays in the organisation, and they lose access, including in an open session;
- switching between organisations, if a user belongs to several.
4. Plans, limits and payments
- going over a plan limit, e.g. number of users or documents: a clear message, not a server error;
- upgrading and downgrading the plan mid-billing period, with a correct proration;
- the end of the trial period;
- a failed subscription payment and access a few days later;
- subscription invoices with correct details and VAT.
I cover subscription payment notifications and their retries in the guide testing webhooks and payments.
5. Data import and export
- importing a CSV file with non-ASCII characters such as Polish letters, empty fields and invalid rows;
- a large import, e.g. 10,000 rows;
- an export that matches what the user sees in the app;
- exporting and deleting all data at the customer’s request.
Automated tests in SaaS
Automation at the API level gives the most:
- permission matrix tests: every role, every action, the expected status code;
- data separation tests: customer B’s requests to customer A’s resources;
- E2E tests of 5-10 critical paths, e.g. signing up an organisation, inviting a user, issuing a document, payment.
Run on every release, these tests make sure a new feature doesn’t expose someone else’s data. I describe how to spread tests across levels in the test pyramid in practice.
How I can help
I test SaaS apps as part of manual testing and API testing: permission matrix, data separation, plans and integrations, with automated permission tests in CI. I describe budgets in how much does it cost to test a web app. Describe your app and its roles in the contact form.