Production personal data should reach a Polish QA (quality assurance, here software testing) vendor's test environment only after three lower-risk options fail: synthetic data, anonymized data that survives a re-identification test, and pseudonymized data whose key stays with the buyer. Copying production records into a test database is further processing; where its purpose differs from the original one and no consent or EU or Member State law covers it, the buyer has to establish that the two are compatible ev-content-gdprtest-019confidence A ev-content-gdprtest-004confidence A. Data protection by default also limits processing to the personal data each purpose needs ev-market-reg-005confidence A.
On this page
This article is the decision tree for one question: which data a vendor's testers may use. The clause list for the whole contract sits in the contracts guide, and when access by a separate company outside the European Economic Area counts as a transfer is set out in the EU jurisdiction article. Neither is repeated here.
The article assumes the buyer is the controller (the party that decides why and how personal data is processed). A buyer that holds the data as a processor (a party that processes personal data on behalf of the controller) for its own customers cannot decide a new testing purpose alone: a processor that determines purposes itself in breach of the rules is treated as a controller for that processing ev-content-dpaqa-002confidence A. That buyer needs its controller's instruction, and its QA vendor becomes a sub-processor (a further processor that a processor engages for part of the work). The controller's prior authorization is then required ev-market-reg-006confidence A, and the same data protection obligations pass down to the vendor by contract ev-content-dpaqa-001confidence A.
No vendor is named or preferred. The methodology does not score how a vendor handles test data, so the evidence a buyer needs comes from the vendor's answers to the questions at the end of this article.
Why a production copy needs its own justification
A copy made for testing is further processing of production data ev-content-gdprtest-019confidence A. A buyer should compare its purpose with the original one before a vendor sees it. The GDPR (General Data Protection Regulation (EU) 2016/679, the EU law on personal data) requires data to be collected for specified purposes and not further processed in a way incompatible with them ev-content-gdprtest-001confidence A.
The Court of Justice ruled on a test database in case C-77/21 (Digi, 20 October 2022). Purpose limitation does not preclude a controller's test copy that is compatible with the purposes of collection under the Article 6(4) criteria ev-content-gdprtest-019confidence A. The Court saw a specific link between correcting errors in a subscriber database and performing the subscription contracts, and left the assessment to the national court ev-content-gdprtest-019confidence A. The judgment concerned the controller's own copy, made after a server failure ev-content-gdprtest-019confidence A, so a buyer exporting data to a vendor for routine regression testing runs the check on its own facts.
Where the testing purpose differs and does not rest on consent or on EU or Member State law, Article 6(4) lists what the compatibility check weighs: the link between the purposes, the context of collection, the nature of the data, the consequences for the people concerned and the safeguards in place ev-content-gdprtest-004confidence A. Its point (e) names encryption and pseudonymization (replacing identifiers so records cannot be linked to a person without separately held information) as safeguards ev-content-gdprtest-004confidence A. A buyer that pseudonymizes before export therefore strengthens its own compatibility case.
Two more principles shape the extract. Data must be limited to what is necessary for the purpose ev-content-gdprtest-002confidence A, which rules out a full clone when a test needs only a sample of representative accounts. Data must also be kept in identifiable form no longer than the purpose needs ev-content-gdprtest-003confidence A, which matters because test environments are refreshed, snapshotted and forgotten. The Digi judgment precludes keeping data collected for other purposes in a test database longer than the tests and error correction need, and treats failure to delete by oversight as irrelevant to that assessment ev-content-gdprtest-020confidence A.
The decision tree for test data
Each step below is a gate. A buyer moves to the next step only when the current one cannot meet the test's need, and records the reason in writing.
- 1. Can the test run on synthetic data?
Start by asking what the test checks. Functional regression, user interface flows, contract tests on an API (application programming interface, the layer other software calls) and the suites that automate them check behavior against formats and rules, not against real people. A generator that builds records from the schema and business rules, with valid formats for national ID numbers, bank account numbers and postcodes, can meet those tests without personal data.
If the answer is yes, the branch ends here. The vendor works only on generated data, has no access to production or its copies, and the contract says so. One check remains: a generator trained or seeded on production records can reproduce real values, so the buyer asks how the vendor's tool was built before treating its output as synthetic.
- 2. Does the test need a property only real data has?
Some tests need production characteristics. Data migration validation must prove that real records survive the move. Performance tests can need production-like value distributions. Reproducing a production incident can need the exact record that failed.
If none applies, the buyer returns to step 1 and widens the generator. If one applies, the buyer writes down which property is needed, for example the distribution of account ages or the malformed address that broke an import, because the next steps preserve that property and remove the rest. The performance testing cost drivers article covers what volume data preparation adds to a quote.
- 3. Does the extract contain special categories of data?
The special categories (the kinds of personal data GDPR Article 9(1) lists, among them health, genetic and biometric data) raise the bar for the whole engagement ev-content-gdprtest-005confidence A. A claims system, a patient portal or a dating app holds them in ordinary tables. Processing special categories on a large scale is one of the cases where a DPIA (data protection impact assessment, the documented risk analysis GDPR Article 35 requires before high-risk processing) is required in particular ev-content-gdprtest-006confidence A.
If the extract contains such fields, the buyer removes or replaces them, or carries them through steps 4 and 5 and reaches step 6 only with an impact assessment. Buyers in health care can compare vendors on the healthcare facet, which lists the evidence each vendor publishes for that industry.
- 4. Can the extract be anonymized and survive a re-identification test?
Anonymous data falls outside data protection rules ev-market-reg-003confidence A, but the anonymizing itself is processing of personal data. The Article 29 Working Party's Opinion 05/2014, adopted in April 2014 under the former Data Protection Directive, treats anonymization as further processing that must pass the compatibility test, and judges each technique on three risks: singling out a person, linking records about the same person, and inferring information about them ev-content-gdprtest-008confidence B.
An update is pending. The EDPB (European Data Protection Board, the body of EU data protection authorities that issues GDPR guidance) adopted draft Guidelines 02/2026 on anonymization for consultation on 7 July 2026, and presents them as the update of that opinion ev-content-gdprtest-016confidence A. The draft says anonymization should have a legal basis under Article 6, plus an Article 9(2) exemption where the data set contains special category data, and presumes that both coincide with those of the preceding processing where the activity and purposes are the same ev-content-gdprtest-018confidence A. No final version was listed on 23 November 2026 ev-content-gdprtest-016confidence A, so a buyer checks its status before relying on either text.
A buyer tests a sample against the three risks before the export, not after. The fields to check first in a test extract are free text in support tickets, exact timestamps, rare combinations such as postcode plus birth date, and attachments.
Anonymization is not a one-off: the 2014 opinion says the risks should be reassessed regularly ev-content-gdprtest-009confidence B. A data set anonymized for last year's release can become identifiable when a new field is added to the export script.
- 5. If not, pseudonymize and keep the key with the buyer
The 2014 opinion says pseudonymization is not a method of anonymization and only reduces linkability ev-content-gdprtest-009confidence B. The EDPB's Guidelines 01/2025, a consultation draft adopted in January 2025, say that pseudonymized data attributable with additional information is personal data, even when the data and the additional information are held by different parties ev-content-gdprtest-010confidence A.
The Court of Justice has since said, according to its press release on case C-413/23 P of 4 September 2025, that pseudonymized data is not personal data in every case and for every person, while the controller's duty to inform people is assessed from the controller's point of view at collection ev-content-gdprtest-013confidence A. That case concerned Regulation 2018/1725, the data protection rules for EU institutions, not the GDPR ev-content-gdprtest-013confidence A.
A vendor that tests on the buyer's behalf is a narrower question. The draft Guidelines 02/2026 assess data an entity processes on behalf of a controller from the controller's perspective, so data that is personal for the buyer should also be considered personal for its processor ev-content-gdprtest-017confidence A. A cautious design treats the test copy as personal data at the buyer that keeps the key and at the vendor too.
The 2025 draft calls the circle of people who must not re-identify the data the pseudonymization domain (the defined set of recipients and systems in which pseudonymized data must not be attributable to a person); it says recipients must demonstrably keep the data inside it, and that audits under Article 28 support this where the recipient is a processor ev-content-gdprtest-011confidence A. In a QA engagement the domain is the vendor's testers, tools and environments, and the lookup table or hashing key stays in the buyer's own systems. The same draft says that, under GDPR Article 29, a processor or a person under its authority that reverses the pseudonymization against the controller's instruction acts unlawfully ev-content-gdprtest-012confidence A. The processing agreement (the contract GDPR Article 28 requires between a controller and its processor) therefore says who may hold the key. The article on processing agreement clauses lists the clause.
- 6. If a production copy is unavoidable, assess it, then contain it
The last branch is a production extract with identifiers intact. Where it is likely to result in high risk, the buyer completes an impact assessment before the copy is made ev-content-gdprtest-006confidence A. Each supervisory authority publishes its own list of operations that require one ev-content-gdprtest-006confidence A.
Poland's authority, UODO (Urząd Ochrony Danych Osobowych, the Polish data protection authority), lists 12 criteria and states that processing meeting at least two of them will as a rule require an assessment ev-content-gdprtest-007confidence A. Large-scale processing and comparison, evaluation or inference from data obtained from different sources are two of them ev-content-gdprtest-007confidence A. A full clone used to test a migration that matches customer records from two systems can meet both. A buyer supervised by another authority checks that authority's list instead.
Containment then follows from the storage limitation rule ev-content-gdprtest-003confidence A: a named environment, named testers, an end date for the copy, and, as the processing agreement must provide, deletion or return of the data at the buyer's choice and deletion of existing copies when the services end ev-market-reg-013confidence A. Where the testers who touch the copy sit, and whether their employer creates a transfer, is answered in the EU jurisdiction article linked above.
The expected branch for each type of test
Functional test types belong at step 1. Manual exploratory testing, user interface automation, API tests and regression packs check formats and rules, so generated data that is valid can meet them. A generator in place at the start keeps production data out of that part of the work.
The later branches belong to a few activities. Data migration and reporting validation are expected at step 5 or 6 where the point is to prove that real records come through intact. Incident reproduction is expected at step 5, with a minimal, time-boxed extract of the affected records. Performance testing is expected at step 1 or 2, with a generator tuned to production distributions.
UAT (user acceptance testing, where client staff confirm a release meets their requirements) in a vendor-hosted environment is a separate case. When the buyer's own staff log in with real customer records, the environment holds production data whatever the vendor's testers do, so it goes through step 6.
What the vendor should show before receiving data
The decision tree belongs to the buyer, but the vendor's answers decide whether each branch is workable. Before the first export, a buyer asks for evidence rather than assurances.
For step 1, the vendor names its generation tooling and says whether any generator was trained or seeded on client data. For step 4, it shows the result of a re-identification test on a sample, including the free-text and attachment fields. For step 5, it confirms in writing that no tester or tool holds the key and that pseudonymized exports never leave the named environments. For step 6, it supplies the access list for the environment and a dated deletion record at the end.
The contract turns these answers into obligations. The contracts guide holds the full clause table, and the UK article covers the extra safeguard choice a UK buyer makes when the vendor's chain reaches a country without UK adequacy.