View all services
Talk to QA Advisor
Browse the Knowledge Hub74 resources
/Test Cases/IoT pairing and telemetry test cases

Test cases

IoT test cases, for the fleet that reconnects all at once

Twenty eight cases covering provisioning and ownership transfer, per device credentials and revocation, offline buffering and paced backlog upload, fleet wide reconnection storms, wrong device clocks, duplicate and out of order telemetry, stale queued commands, local network access and reconciliation.

28cases/8coverage types/9security cases/FreeCSV download

All 28 test cases, ready to copy

Free to use and adapt, no sign-up. Download as CSV or Markdown, or copy it straight into your own tooling.

Last updated

28 worked examples

IOT-01

Provision and pair a new device

TypeFunctionalPriorityHigh
Test data
A factory state device paired through the documented onboarding flow
Expected result
Device is registered to the correct account, receives unique credentials rather than a shared secret, and appears in the interface within the stated time.
IOT-02

Refuse to pair a device already claimed

TypeSecurityPriorityHigh
Test data
Attempt to pair a device that is registered to another account
Expected result
Refused without revealing who owns it, and transferring ownership requires an explicit release rather than simply re-pairing.
IOT-03

Handle pairing interrupted partway

TypeStatePriorityHigh
Test data
Interrupt onboarding after network credentials are sent but before registration completes
Expected result
Device is recoverable without a factory reset, and no half registered record is left that blocks a later attempt.
IOT-04

Recover from wrong network credentials

TypeNegativePriorityHigh
Test data
Provide an incorrect network password during onboarding
Expected result
Device reports the failure through the onboarding channel with a distinguishable reason, rather than sitting silently unreachable with no diagnostic.
IOT-05

Give every device unique credentials

TypeSecurityPriorityHigh
Test data
Inspect credentials across several devices from the same batch
Expected result
Each is unique and per device. A shared secret across a fleet means compromising one unit compromises every unit ever shipped.
IOT-06

Rotate device credentials without losing connectivity

TypeStatePriorityHigh
Test data
Rotate a device certificate or key while it is connected and while it is offline
Expected result
Connected device migrates without dropping data, and one offline at rotation time can still authenticate and update when it returns.
IOT-07

Revoke a device immediately

TypeSecurityPriorityHigh
Test data
Revoke a device, then have it attempt to publish and to reconnect
Expected result
Both refused within the stated window, since a revoked device that keeps publishing is a stolen or compromised unit still writing to your data.
IOT-08

Reject telemetry published to another device topic

TypeSecurityPriorityHigh
Test data
A device publishing readings under a different device identifier
Expected result
Refused. Authorisation is bound to the authenticated identity rather than trusting the identifier inside the payload.
IOT-09

Buffer readings while offline

TypeStatePriorityHigh
Test data
Disconnect a device for several hours while it continues sampling
Expected result
Readings are buffered locally to a documented capacity and delivered on reconnection with their original timestamps rather than the arrival time.
IOT-10

Control the flood when a device reconnects

TypePerformancePriorityHigh
Test data
A device reconnecting with hours of buffered readings
Expected result
Backlog uploads at a paced rate, since a device dumping its entire buffer at once is how one unit degrades ingest for the whole fleet.
IOT-11

Survive a whole fleet reconnecting at once

TypePerformancePriorityHigh
Test data
A network or platform outage ending, with every device reconnecting simultaneously
Expected result
Reconnection uses randomised backoff so the fleet does not arrive in the same second and take the platform down again immediately after recovery.
IOT-12

Handle a device clock that is wrong

TypeBoundaryPriorityHigh
Test data
A device with no real time clock after a power cycle, and one with a clock years out of date
Expected result
Timestamps are corrected against a trusted source or flagged, so readings do not land in 1970 and quietly corrupt every aggregate.
IOT-13

Deduplicate redelivered telemetry

TypeBoundaryPriorityHigh
Test data
The same reading delivered twice after a connection drop mid publish
Expected result
Stored once. At-least-once delivery is normal on unreliable links, so each reading needs an identifier or a deterministic key.
IOT-14

Handle telemetry arriving out of order

TypeBoundaryPriorityHigh
Test data
A buffered batch arriving after readings taken later
Expected result
Stored and aggregated by reading timestamp rather than arrival order, and late arriving data corrects the aggregate rather than being discarded.
IOT-15

Reject implausible sensor values

TypeNegativePriorityHigh
Test data
A temperature far outside the physical range, a negative count, and a null reading
Expected result
Flagged or rejected rather than averaged into a total, since one absurd value silently distorts every dashboard built on it.
IOT-16

Distinguish a missing reading from a zero

TypeStatePriorityHigh
Test data
A device that stops reporting, and one genuinely reporting zero
Expected result
Rendered and aggregated differently, so an offline sensor does not appear as a real measurement of nothing.
IOT-17

Detect a device going offline

TypeStatePriorityHigh
Test data
Remove power from a device without a clean disconnect
Expected result
Marked offline within the stated heartbeat window and the owner is alerted, rather than the interface showing the last reading indefinitely as current.
IOT-18

Handle intermittent connectivity

TypeStatePriorityHigh
Test data
A device flapping between connected and disconnected repeatedly
Expected result
Status does not oscillate in the interface, alerts are debounced, and each flap does not trigger a full re-registration cycle.
IOT-19

Deliver a command to a device reliably

TypeStatePriorityHigh
Test data
Send a command while the device is offline, then bring it online
Expected result
Command is queued with an expiry and delivered on reconnection, or rejected immediately, but never silently dropped with the interface reporting success.
IOT-20

Confirm a command actually executed

TypeStatePriorityHigh
Test data
A command that is delivered but fails to apply on the device
Expected result
Interface reflects the acknowledged state rather than the requested one, so a switch that failed to turn on is not shown as on.
IOT-21

Avoid executing a stale queued command

TypeBoundaryPriorityHigh
Test data
A command queued hours earlier delivered when the device reconnects
Expected result
Expired commands are discarded, since a heating instruction from six hours ago applied on reconnection is actively unsafe.
IOT-22

Handle protocol and schema version differences

TypeCompatibilityPriorityHigh
Test data
A device on the oldest supported firmware alongside the newest, against the current platform
Expected result
Both are accepted, unknown fields are ignored rather than rejected, and a schema change does not orphan devices that cannot be updated remotely.
IOT-23

Encrypt telemetry in transit and verify the server

TypeSecurityPriorityHigh
Test data
Inspect the connection, and present an invalid or self signed certificate to the device
Expected result
Transport is encrypted and the device validates the server certificate, so it cannot be redirected to an attacker endpoint on a hostile network.
IOT-24

Keep local network access from bypassing authorisation

TypeSecurityPriorityHigh
Test data
Send commands to the device directly over the local network
Expected result
Local access is authenticated too, since an unauthenticated local API means anyone on the same network controls the device.
IOT-25

Enforce per device rate limits

TypeSecurityPriorityHigh
Test data
A malfunctioning device publishing far above its expected rate
Expected result
Throttled per device with a visible alert, so one faulty unit cannot consume the ingest capacity of the entire fleet.
IOT-26

Factory reset and re-pair cleanly

TypeStatePriorityHigh
Test data
Factory reset a paired device, then pair it to a different account
Expected result
All previous credentials and network details are erased, and no data from the previous owner is accessible to the new one.
IOT-27

Handle a device removed from the account

TypeStatePriorityMedium
Test data
Remove a device from the interface while it is still powered and connected
Expected result
Device stops publishing and enters an unprovisioned state, rather than continuing to send telemetry that no longer has an owner.
IOT-28

Reconcile device, platform and reporting figures

TypeStatePriorityHigh
Test data
A day of readings compared on the device, in the live interface and in the reporting extract
Expected result
All three agree, including for the buffered period, since a gap that appears only in reporting is invisible until somebody audits it.

What goes in each field

ID

Required

Stable identifier, prefixed by module.

Test case

Required

What is being verified, in one line.

Type

Functional, negative, boundary, security, state, performance, accessibility or compatibility. Use it to check coverage is spread rather than clustered on the happy path.

Priority

Risk based, weighted by fleet scale. Anything that loses readings, lets one device act on another behalf, or allows a reconnecting fleet to overwhelm ingest is High. A defect on one device is a defect on all of them.

Test data

The specific values, including the invalid and boundary ones.

Expected result

Required

The precise observable outcome, including message text where the wording itself is the requirement.

How To Use This

End the outage and watch ingest

One device on a good connection tells you nothing about a fleet. These four conditions are where IoT platforms fall over.

Reconnect the whole fleet at once

Without randomised backoff every device arrives in the same second when an outage ends, and the platform goes down again immediately after recovering.

Let one device buffer for hours

Then reconnect it. A device dumping its entire backlog at full speed is how one unit degrades ingest for everybody else on the platform.

Power cycle a device with no clock

Readings land in 1970 and quietly corrupt every aggregate built on them. Timestamps need correcting against a trusted source or flagging as unreliable.

Queue a command, reconnect hours later

A heating or unlock instruction from six hours ago applied on reconnection is not just wrong, it is unsafe. Commands need expiry, not just delivery.

What Most Sets Miss

Why IoT defects multiply by the fleet

Every defect in an IoT system is multiplied by the number of units in the field, and the units cannot be patched as easily as a server. That changes which cases matter. A shared credential across a batch means compromising one device compromises every device ever shipped, and there is no way to recall them. A reconnection strategy without randomised backoff means the whole fleet arrives in the same second when an outage ends, so the platform recovers and is immediately taken down by its own devices. Neither of these is visible when testing with one device on a desk.

Offline behaviour is the second theme. A device that buffers while disconnected is doing the right thing, but the reconnection is where it goes wrong: uploading the entire backlog at full speed floods the ingest, and doing that across many devices at once is indistinguishable from an attack. Paced upload solves it. Alongside that sit the data correctness cases, since buffered readings arrive out of order and must be stored by their reading timestamp rather than their arrival time, and unreliable links mean the same reading will sometimes be delivered twice.

Time is a genuine hazard on constrained hardware. A device with no real time clock has no idea what time it is after a power cycle, and readings stamped in 1970 will silently distort every aggregate they land in. The related case is distinguishing a missing reading from a zero: a sensor that has stopped reporting is not a sensor measuring nothing, and rendering them the same way turns an outage into an apparently valid measurement.

Commands need more care than telemetry because they act on the physical world. A command queued while a device is offline and delivered hours later can be actively unsafe, so expiry is a requirement rather than a refinement. The interface has to reflect the acknowledged state rather than the requested one, otherwise a switch that failed to actuate is displayed as on. And local network access needs its own authentication, because an unauthenticated local API means anyone on the same network controls the device regardless of how well the cloud path is secured.

Suggest an improvement

Testing a connected device platform?

QAble tests IoT systems end to end, including provisioning and credential lifecycle, offline buffering, fleet scale reconnection behaviour and command reliability.

IoT testing services

More test case sets

View all

Test cases for a login page

Test cases
25 cases across functional, negative, boundary, security, session and accessibility paths, including account enumeration and lockout.

Test cases for a registration form

Test cases
28 cases covering validation, duplicate accounts, email verification, password rules and the enumeration leak most signup forms ship with.

Test cases for search functionality

Test cases
28 cases across relevance, partial and fuzzy matching, filters, pagination, empty states, injection attempts and performance under load.

Test cases for a shopping cart

Test cases
27 cases on quantity limits, price recalculation, stock changes, coupon stacking, guest to account merge and cart persistence.

Test cases for checkout and payment

Test cases
30 cases including 3D Secure, declines, timeouts, duplicate charges, idempotency, refunds and partial captures.

Test cases for file upload

Test cases
28 cases on size and type limits, spoofed content types, malicious filenames, progress, resume, virus scanning and storage limits.

Test cases for forgot password

Test cases
26 cases on reset token expiry, single use enforcement, session invalidation and the enumeration and rate limit gaps that are routine here.

Test cases for OTP verification

Test cases
26 cases on expiry, resend throttling, attempt limits, code reuse, delivery failure and the brute force window teams forget to close.

Test cases for user roles and permissions

Test cases
26 cases on horizontal and vertical privilege checks, direct object access, role changes mid-session and permission inheritance.

Test cases for form validation

Test cases
27 rules-based cases on required fields, length and numeric boundaries, client and server parity, hidden field tampering and error accessibility.

Test cases for a date picker

Test cases
26 cases on timezone shifts, ambiguous day and month order, impossible dates, min and max limits, leap years and keyboard operation.

Test cases for pagination

Test cases
24 cases on ordering stability, records changing mid-session, page size caps, deep offset cost, permission-filtered totals and state restore.

Test cases for push notifications

Test cases
26 cases on app states, deep link routing, token release on sign out, lock screen privacy, preferences, provider failures and platform differences.

Test cases for reports and data export

Test cases
25 cases on permission filtering in the file, spreadsheet formula injection, encoding, typed numbers and dates, row limits and audit logging.

Test cases for a chatbot

Test cases
28 cases on paraphrased intents, context, fallback loops, human handoff, policy grounding, prompt injection and data scoping.

Test cases for net banking transactions

Test cases
28 cases on duplicate debits from a retried request, concurrent transfers against one balance, daily limits across channels, beneficiary cooling periods, second factor binding and reconciliation.

Test cases for wallet and UPI payments

Test cases
28 cases on payments that time out with no response, idempotency on retry, racing balances, caps across devices, collect request fraud, mandates and refunds.

Test cases for insurance claim submission

Test cases
28 cases on coverage at the date of loss, waiting periods, deductibles and sub limits, exclusions and riders, duplicate claims and settlement reconciliation.

Test cases for patient records in an EHR

Test cases
28 cases on duplicate detection and merge, wrong patient entry, units of measure, allergy and interaction alerting, break glass access and audit of reads.

Test cases for CRM lead management

Test cases
28 cases on duplicate leads under concurrency, routing and the unrouted fallback, round robin races, territory visibility, conversion and bulk import.

Test cases for an ERP purchase order

Test cases
28 cases on approval thresholds, amendments that must reset approval, budget commitment races, over receipt tolerance, three-way match and duplicate invoices.

Test cases for OTT video playback

Test cases
28 cases on bitrate recovery after a dip, DRM renewal mid stream, concurrent stream limits and leaked slots, resume conflicts, ad cue points and offline expiry.

Test cases for game level progression

Test cases
28 cases on save corruption during a crash write, cloud save conflicts, offline queue replay, unlock gating, currency exploits and purchase restore.

Test cases for a REST API

Test cases
28 cases on status code correctness, cross tenant resource access, mass assignment, idempotent retries, cursor pagination, rate limits and contract drift.

Test cases for SSO and social login

Test cases
28 cases on linking an account on an unverified email, state and code replay, redirect allow lists, token signature and issuer, deprovisioning and session rotation.

Test cases for subscription and billing

Test cases
28 cases on mid cycle proration, duplicate and out of order webhooks, renewal double charges, dunning and grace, trials, coupons, metered usage and tax.

Test cases for data tables, filters and sorting

Test cases
28 cases on unstable sorts across pages, filters that must reset pagination, selection surviving a filter change, bulk action scope and export fidelity.

Test cases for session timeout and concurrent login

Test cases
28 cases on tokens that survive sign out, refresh token reuse, idle against absolute lifetime, multi tab expiry, session limits and remote revocation.

Test cases for a multi step form wizard

Test cases
28 cases on values lost to back navigation, refresh and session expiry, step skipping, server side revalidation, duplicate submission and conditional branches.

Test cases for email verification

Test cases
28 cases on token reuse and expiry, invalidating earlier links, account enumeration, header injection, safe address change and mail scanner prefetching.

Test cases for dashboards and analytics widgets

Test cases
28 cases on reconciling against source rows, widgets that disagree, timezone aggregation, zero baselines, no data shown as zero and permission leaks in aggregates.

Test cases for booking and reservation

Test cases
28 cases on concurrent bookings for the last slot, inventory holds that leak, payment without a booking, cancellation boundaries and channel sync.

Test cases for mobile app install and update

Test cases
28 cases on migration chains across skipped versions, crashes during post upgrade migration, forced update lockouts, deep links and clean reinstall.

Test cases for accessibility (WCAG 2.2 AA)

Test cases
28 cases on keyboard only completion, focus management, live region announcements, contrast, reflow at 320 pixels, target size and screen reader verification.

Test cases for performance and load

Test cases
28 cases on spikes with no ramp, recovery after peak, soak and leak detection, pool exhaustion, cold caches, retry storms and data correctness under load.

Test cases for the OWASP Top 10

Test cases
28 cases on broken access control, mass assignment, injection across every input surface, credential stuffing, session invalidation, SSRF and exposed secrets.

Test cases for cross browser compatibility

Test cases
28 cases on storage that throws in private mode, blocked third party cookies, engine date parsing, mobile viewport units, in app browsers and ad blockers.

Test cases for database and data integrity

Test cases
28 cases on uniqueness under concurrency, lost updates, counter races, orphaned rows, migration and backfill safety, replica lag and verified restores.

Test cases for localisation and multi language support

Test cases
28 cases on text expansion, concatenated sentences, plural rules, locale date parsing, decimal separators, right to left layout, collation and encoding.

Test cases for outbound webhooks

Test cases
28 cases on retry backoff and dead letter stores, one dead consumer degrading the pipeline, payload signing and replay windows, out of order delivery and endpoint SSRF.

Test cases for background jobs and queues

Test cases
28 cases on work outliving the visibility timeout, idempotent handlers, poison messages, priority starvation, scheduler overlap across instances and graceful drain.

Test cases for real time features and websockets

Test cases
28 cases on messages lost in the reconnect gap, half open connections, per channel authorisation, tokens expiring mid connection, backpressure and fanout across instances.

Test cases for file storage and media processing

Test cases
28 cases on signed URL scope and expiry, serving before scanning completes, content type sniffing, metadata stripping, orphaned objects and derivative failures.

Test cases for CSV import and bulk operations

Test cases
28 cases on reruns duplicating successes, delimiters inside quoted fields, byte order marks, leading zeros, ambiguous dates and bulk action scope.

Test cases for feature flags and progressive rollout

Test cases
28 cases on unreachable flag services, unstable bucketing, rollouts that reshuffle users, kill switch latency, server and client mismatch and stale flags.

Test cases for Android app lifecycle and permissions

Test cases
28 cases on state lost to process death, configuration changes, permanent permission denial, revocation while backgrounded, doze and battery restrictions.

Test cases for iOS app lifecycle and permissions

Test cases
28 cases on the keychain surviving uninstall, suspended termination, limited photo access, allow once location, app switcher snapshots and biometric invalidation.

Test cases for wearable app sync

Test cases
28 cases on data recorded away from the phone, duplicate records on resync, full buffers, clock drift, health permissions, battery budgets and unworn readings.

Test cases for VR and AR experiences

Test cases
28 cases on the frame rate comfort floor, tracking loss, guardian boundaries, involuntary camera movement, AR anchor drift and spatial data privacy.

Test cases for embedded firmware update

Test cases
28 cases on power loss mid write, automatic rollback and health confirmation, signature and anti rollback checks, staged rollouts and recovery mode.

Test cases for user profile and account settings

Test cases
28 cases on partial saves reported as success, optimistic updates the server rejected, mass assignment through a profile form, avatar content inspection and session invalidation.

Test cases for account deletion and data export

Test cases
28 cases on export links that must be authorised and expiring, deletion cascading to storage, caches, logs and processors, grace periods, legal holds and deadlines.

Test cases for consent and cookie management

Test cases
28 cases on cookies and tracking requests firing before consent, reject parity with accept, tag manager bypass, withdrawal, cached banners and server side forwarding.

Test cases for notification preferences and delivery

Test cases
28 cases on opt outs honoured on one channel and ignored on another, marketing sent as transactional, unsubscribe scope, imports resetting consent and digest timezones.

Test cases for admin impersonation and support access

Test cases
28 cases on actions attributed to the customer instead of the admin, credential exposure, chained and upward impersonation, session expiry and immutable access records.

Test cases for audit logs and activity history

Test cases
28 cases on forged entries through log injection, immutability and tamper detection, actor attribution across impersonation and jobs, retention and legal holds.

Want your fleet behaviour proven, not assumed?

QAble covers functional, boundary and security paths with ISTQB-certified engineers. Start with a free QA audit of your platform.

Talk to QA Advisor