Skip To Content
sounding.Conversations. Context.
Follow-Through.
Connection Evaluation

Test Pagination While Source Records Change

An import can finish every page request and still miss a record. When source records change during retrieval, page boundaries may move. Test the exact endpoint with a small, controlled dataset and a written rule for which records and versions belong in the result. This proposed evaluation does not establish a Sounding connector or any provider's consistency guarantee.

Review Your Connector Evaluation

Define What Complete Means

Choose the expected result before testing: a snapshot at a specified point, or a continuing collection with a documented reconciliation step. Record the endpoint, filters, sort order, page size and continuation mechanism. GitHub's REST documentation, for example, directs clients to continuation URLs in Link headers; that navigation mechanism alone is not a snapshot promise.

For a SQL-backed test you control, PostgreSQL advises a unique ORDER BY ordering when using LIMIT/OFFSET. Its Read Committed documentation also explains that successive SELECT commands can see different committed data. These PostgreSQL rules do not describe every API. Read the actual endpoint's ordering, cursor and consistency contract.

Change One Boundary At A Time

Start with six fictional IDs, A through F, sorted in that order, and a page size of three. Save a fixture manifest with each ID and version. Pause after reading A, B and C; apply one change in the isolated source, then continue using the documented next request. Reset the fixture before each case.

Moving Dataset Test Matrix
Change After Page OneEvidence To Compare
InsertInsert X before A. Compare repeated IDs and X's inclusion against the chosen completeness rule.
DeleteRemove B. Check whether D disappears from later pages even though D still exists.
UpdateChange an unread record's sort value. Track its ID and version across the moved boundary.
TieGive adjacent records equal sort values. Verify the endpoint's documented tie handling.
RetryRepeat a page after an interrupted test import. Check that the destination does not create a second copy.

Compare IDs And Versions

Log the ordered IDs and versions returned by each request, the fixture change and the request's continuation reference. Keep credentials and sensitive cursor material out of shared evidence. Compare expected IDs with observed IDs, then count repeated IDs separately. Equal row counts cannot establish equal membership.

Compare versions under the chosen rule as well. A repeated ID with newer content is different from a repeated identical row. Preserve enough evidence to explain how the destination selected a version; do not conceal missing records by merely deduplicating the imported list.

Retest The Supported Recovery

Evaluate a provider-supported snapshot, continuation or change-reconciliation method only where documented and available. A cursor's name alone does not prove stable membership. Repeat the same fixture against the proposed recovery, inspect actual saved IDs and versions, and leave unsupported deletion or late-change behavior as an explicit limitation. Do not create live matters, contact clients or trigger follow-up during this test.

Hypothetical Example

Five Rows Can Still Be The Wrong Five

In a hypothetical offset-based run, page one returns A, B and C. B is then removed, leaving A, C, D, E and F. Skipping three current rows for page two returns E and F. The collected list A, B, C, E, F contains five unique IDs, just like the current source count, but D is missing and B is retained. The reviewer rejects count-only acceptance and tests the connector's documented reconciliation method. This illustrates the fixture; it is not a finding about a live provider.

Your Action Checklist

  • Define expected membership and version timing.
  • Reset and change one fixture boundary per run.
  • Compare ID sets, duplicates and versions separately.
  • Verify saved results after the supported recovery.

Questions Teams Ask

Does Removing Duplicate IDs Fix Pagination?

It can remove repeats, but cannot recover an ID that no page returned. Check missing membership and version selection against the stated rule before accepting the import.

Sources And Further Reading

Put The Guide To Work.

Bring a fictional moving-data fixture and the endpoint documentation to a Sounding audit discussion.

Review Your Connector Evaluation
Useful Guidance, With Clear Boundaries

Sounding guides are operational frameworks, not legal advice or a promise of results. Examples are hypothetical. Product fit, source access, and available connections are confirmed for each deployment. Read Our Editorial Approach.