Web, mobile, API and data testing
How the web, APIs, databases, phones and joined-up systems work, so a tester can look under the screen.
- How the web works, for testersA browser asks, a server answers, and the page is built from the answers. Knowing the two sides tells a tester where to look when something goes wrong.
- Reading a web addressA web address is not one lump of text. It has parts, and each part is something a tester can read, change and test.
- Browser developer toolsEvery browser has a set of built-in tools that show what a page is made of and what went wrong. A tester uses them to read the evidence instead of guessing.
- What an API isAn API is the menu a program offers to other programs. Testers use it to check the product below the screen, where results are quicker to read and harder to hide.
- Reading JSONMost API replies are written in JSON, a plain text format of labelled boxes. A tester who can read it can spot a missing field, a wrong type or a null at a glance.
- Mobile app testing basicsA phone app does the same job as the website but is used on the move, with fingers, calls and weak signals. A tester checks the things a desktop never meets.
- Reading the network tabThe network tab lists every call a page makes. It shows what was asked, what came back and how long it took, which turns a vague complaint into hard evidence.
- Reading a page's structure (HTML)A page has a plan under its paint: a tree of parts with names and labels. Reading that plan shows why a keyboard cannot reach a button and how an automated check finds things.
- Cookies and sessionsA site remembers who you are with a small code the browser keeps and sends back. Testers check that the code is set, kept, refused when wrong and removed at sign-out.
- Caching and stale dataA saved copy is quick and may be old. Testers learn where copies hide, how to tell old from new, and how to test with and without them.
- HTTP methods and status codesEvery request names an action and every reply carries a number for the result. Knowing both lets a tester say exactly what was asked, what happened and what should have happened.
- Designing API testsGood API tests come from thinking about what goes in and what must come out. A tester picks inputs on purpose, checks the whole reply and keeps the tests easy to repeat.
- API testing tools: what any tool must doMany tools can send an application programming interface (API) request. Judge any tool by four jobs: build, read, save and share, and check again.
- Test data and maskingBuild data for the test without exposing people. Learn what masking changes, what can still identify someone, and how to check and retire a test set.
- Files, imports and exportsData often leaves and enters an app as a file. Test the round trip, the awkward characters and the bad lines, not just a tidy sample file.
- Dates, times and time zonesNine o'clock is not the same moment everywhere. Test reminders and due dates across zones, clock changes, midnight and month ends, and store one common time.
- Interruptions, networks and permissions on mobileA phone is busy. Calls, alerts, weak networks and permission choices all happen mid-task. Test that the app pauses, resumes and carries on gracefully.
- Emulators, real devices and device cloudsChoose virtual, physical and remote-device evidence by the check, configuration and release risk; simulated input is not physical measurement.
- Integration testing in practiceParts that pass alone can still fail together. Find the places where parts meet, test the agreed way they talk, and use fakes for parts that are missing.
- End-to-end journeysFollow a declared user goal across the chosen connected scope; record real and simulated boundaries, controlled data and the evidence needed for its result.
- API log-in and permissionsA service must know who is calling and what they may do. Try no pass, a bad pass, an old pass and another person's pass, then the request limit.
- Contract testing ideasWrite down what an application programming interface (API) accepts and returns, and check both sides against it. A change that would break a caller then fails the same day.
- Microservices basics for testersOne click can cross many small services. Learn what a service is, where its edges are and why a tester follows the request.
- Reading logs for testersUse logs as recorded evidence: correlate a request, inspect context and count records without assuming the first error proves the cause.
- Monitoring and alerts for testersMonitoring watches chosen parts of a live app and can warn about trouble. Learn what to measure, when to alert and why a green screen can still hide trouble.
- Work that happens later: jobs and queuesSome work happens later, away from the screen. Learn why it can arrive twice, late or not at all, and how to test for each case.
- Stand-ins for other systems: stubs and mocksA stand-in lets you test one part without the real parts around it. Learn the stub, the mock, the driver and the harness.
- Testing connections to outside servicesOutside services can be slow, fail or change. Learn to test the sandbox, the timeout and the day the provider changes.
- Testing GraphQL, gRPC and WebSocket APIsDifferent application programming interfaces (APIs) use different contracts and ways to exchange messages. Learn how GraphQL, gRPC and WebSocket are asked and what to check.
- SOAP and WSDL services for testersRead SOAP messages, WSDL service descriptions and version-specific fault replies against the chosen contract and binding.
- API versions and backward compatibilityWhen an application programming interface (API) changes, old callers must still work. Learn what counts as a breaking change and how to catch one before users do.
- Testing one-time codes, two-factor sign-in and CAPTCHATest factor independence, code acceptance windows, recovery and bot-check integration against the chosen assurance policy.
- Testing phone sensors: location, biometrics and cameraA phone estimates a place and checks local access. Learn to test chosen locations, biometric prompts and camera paths without mistaking a mock for real life.
- Environments for joined-up systemsWhen twenty services must run to test one journey, the test environment is the hard part. Learn to list, share, check and keep it close to real.
- Testing cloud and serverless applicationsTest the real event path, rights, setup time, repeated work and cost controls. A local pass cannot prove the deployed flow.
- Data movement and ETL checksFollow one batch from its agreed input to its expected output. Use counts, keys, values and repeat checks to find what went missing, doubled or changed.
- Testing a data migrationProve what moved, what changed and what can still be recovered. Practise the switch and protect new work if the team needs to go back.
- App updates and store releasesTest the path from an old install to a new one. Separate store rollout, installed versions, update prompts and safe access to the server.
- View source against the live pageRead the source text, inspect the current page tree, then check what the user can see. Match each claim to the right evidence.
- XML, YAML (YAML Ain't Markup Language) and CSV (comma-separated values): read the files tests depend onRead file structure, then check exact values. A file that parses can still fail the app’s rules.
- Pact: a consumer contract test between two servicesCheck the consumer’s real client against a mock, then check the real provider against the saved contract. Each result answers a different question.
- Testing email, SMS and push notificationsApps tell people things by email, text and push. Learn what to check, how to catch messages safely, and what a test environment cannot prove.
- Resilience testing: timeouts, retries, circuit breakers and graceful degradationTest a slow service without losing the main task: share a deadline, retry only when safe, check breaker recovery and show an honest smaller result.
- Analytics, event tracking and tag testingEvery tick on a Daily List task can send a small counting message. Check it is sent once, with the right name and details, and never before the user agrees.
- Testing desktop and command-line applicationsTry bad input on a program that runs on your own computer. Check what it prints and what number it returns. Use other screens too.
- The edge of the web for testers: DNS, CDN, proxies and load balancersWhen users see different pages, check the name answer, the stored copy and the server that replied. Each clue narrows the cause; none proves it alone.
- Testing search-engine visibility and page metadataCheck page titles, shared-link cards and search rules. Keep a public page out of results when needed without mistaking noindex for privacy.
- Your first scripted API check: from a manual request to a repeatable testYou can already send an API request by hand. Learn how to turn one into a script that checks the reply, uses its own data, cleans up, and gives the same answer every run.
- Postman: a first collection of API checksPostman lets you save API calls, share the settings, and add checks. Build a small collection and run it again whenever the app changes.
- REST Assured: your first API tests in JavaSend a web request from Java, check the reply, and prove a bad reply fails. API means application programming interface.
- Swagger and OpenAPI for testers: reading an API description, trying calls and checking replies against a schemaSwagger is the old name of OpenAPI. Learn to read an API description, try calls on a test site, check each reply against a schema and test with a mock server.
- Choosing an API testing tool: chaining requests, collections, Karate, Bruno and when code is betterChoose by team fit, run the same small trial in each tool, and check what survives a fresh start.
- Mobile test strategy and risks: from usage data to a test roundUse facts about the app to choose tests. Name the risk, the phones, the check and the proof you need. Record what remains untested.
- Mobile devices, settings and app types: what to test on each phoneChoose phones and test conditions for real risks. Check window size, missing features, sound rules and safe heat limits. Record what your sample cannot prove.
- Mobile test types, stored data and the mobile test processLearn how app design shapes the tests. Then stress a phone, check usability, test stored data and sync, test language and region, and fit it all into a test process.
- Testing event-driven systems and message brokersFollow an event from send to saved effect. Test repeats, order, crash recovery and the actual failure route.
- Internationalisation and localisation testingTest translated text, mixed reading directions and local formats without changing the meaning of saved data.
- Service virtualisation with WireMockUse a stand-in web service to test set replies, slow replies and faults. Check what it received, and keep its limits clear.
- Postman: variables, scripts and running a collection from the command lineMake one collection work for many servers and many sets of data. Learn variable scopes, pre-request and test scripts, the collection runner and Newman.
- Rest Assured: reusable specs, reading the reply and checking its shapeReuse request settings, check a reply, then pass its id to the next call. Learn which schema rules catch a bad reply and which facts still need a test.
- Testing after a library upgrade: when nothing changed but something didRead what the maker changed, find where the app uses it, compare before and after, and say what was not covered.
- When a third-party service is down: what you can still testConfirm the cause, sort tests by what they need, use a stand-in, test the silence and report what was held.