Home/Documentation/Production Test Suite

419/419 Tests Passing

100% Pass Rate

Comprehensive production test suite covering GUI interactions, API endpoints, security, performance, and cross-browser compatibility — all verified with Playwright and automated API testing.

13 Milestones48 Languages4 Browsers5 Operators
419
Total Tests
48
Languages
4
Browsers
5
Operators

Infrastructure Upgrade

Up to 467× Faster

In March 2026, we migrated from a shared VPS to a dedicated server with 16× more RAM, 5 parallel analyzer workers, and all 48 language models preloaded. Cold starts eliminated. Every language responds in milliseconds.

Old Server
CPUShared vCPU
RAM8 GB
StorageSSD
Analyzer Workers1
Cached Languages3
Preloaded Models1
Avg Response2,358 ms
New Server
CPUDedicated CPU
RAM128 GB
StorageNVMe RAID
Analyzer Workers5
Cached Languages48
Preloaded Models23
Avg Response17 ms
141×
Average Improvement
across all 48 languages
467×
Peak Improvement
Catalan: 3,267ms → 7ms
634
Peak Throughput
500 concurrent requests
23
Cold Starts Eliminated
all models preloaded at boot

Concurrent Performance

The new server handles hundreds of simultaneous requests across all services with zero failures.

ServiceConcurrentSuccessAvgRPS
Analyzer (spaCy)500100%331 ms634
Analyzer (12-lang mix)120100%114 ms515
Anonymizer1,000100%8 ms1,501
Structured Data100100%331 ms144
Frontend (Next.js)200100%979 ms104
Mixed Workload110100%56 ms536

Full Pipeline Speed

End-to-end analyze + anonymize latency on the new server, measured with all language models warm.

LanguageEnginePipeline AvgEntities
EnglishspaCy10.2 ms9
GermanspaCy13.4 ms9
FrenchspaCy10.5 ms10
SpanishspaCy7.8 ms9
JapanesespaCy9.9 ms6
ChinesespaCy13.6 ms5
ArabicTransformer12.7 ms7
HebrewStanza117.3 ms6

Old server times include full GUI test pipeline (Playwright + API). New server times are API-only benchmarks with all models warm. The improvement reflects real infrastructure gains: eliminated cold starts, 5× parallelism, and NVMe storage.

13 Test Milestones

Each milestone covers a distinct functional area of the platform, from authentication to cross-browser compatibility.

1
100%

Authentication & Session

22/22 tests

Login, session persistence, profile, health checks, auth guards, logout/re-login

2
100%

PII Detection (Analyzer)

62/62 tests

48-language analysis via GUI, entity filters, score thresholds, edge cases, keyboard shortcuts

3
100%

Anonymizer (5 Operators)

40/40 tests

Replace, Redact, Hash, Mask, Encrypt operators via API and GUI, quick actions, multi-language

4
100%

Decrypt (Roundtrip)

22/22 tests

Encrypt-then-decrypt roundtrips for AES-256/128/192, multi-language, key validation, large text

5
100%

Batch & File Upload

20/20 tests

Batch text processing, file upload UI, tab switching, processing status

6
100%

Entity Management

28/28 tests

Entity CRUD across 3 tabs, AI Creator, validation rules, cleanup verification

7
100%

Preset Management

28/28 tests

Preset CRUD across 3 tabs, apply flow, validation rules, cleanup verification

8
100%

Settings (10 Tabs)

42/42 tests

All 10 settings tabs: Account, Billing, Tokens, Security, History, Language, Encryption Keys, Services, Developer

9
100%

API Security

35/35 tests

Core endpoints, security headers, CORS policy, input validation, auth security, rate limiting

10
100%

Token Usage Monitoring

24/24 tests

Token consumption by text size, operator, language, entity filter, decrypt, batch, CSV export

11
100%

Lighthouse & Quality

20/20 tests

Lighthouse scores on 8 pages, viewport responsiveness, accessibility, SEO, console errors, broken links

12
100%

48 Languages + RTL

56/56 tests

Analysis for all 48 languages, 4 RTL layout checks, language switching, selector validation

13
100%

Cross-Browser

20/20 tests

5 pages across Chromium, Firefox, WebKit, and Mobile Chrome — zero console errors

48-Language Coverage

Every supported language is tested with real PII samples. Three NLP engine types ensure optimal accuracy per language.

spaCy25Stanza7Transformer16
LanguageCodeEngineEntitiesOld ServerNew ServerSpeed GainStatus
Englishenspacy113270 ms8 ms34×
Germandespacy148313 ms7 ms45×
Spanishesspacy1041,841 ms6 ms307×
Frenchfrspacy1332,327 ms8 ms291×
Italianitspacy971,787 ms7 ms255×
Portugueseptspacy611,764 ms6 ms294×
Dutchnlspacy1222,486 ms6 ms414×
Polishplspacy701,726 ms8 ms216×
Russianruspacy412,226 ms6 ms371×
Japanesejaspacy231,436 ms6 ms239×
Chinesezhspacy242,554 ms7 ms365×
Koreankospacy161,305 ms6 ms218×
Arabicartransformer20554 ms8 ms69×
Hindihitransformer22486 ms7 ms69×
Turkishtrspacy112504 ms6 ms84×
Romanianrospacy1221,730 ms6 ms288×
Greekelspacy291,822 ms7 ms260×
Croatianhrspacy67989 ms7 ms141×
Slovenianslspacy641,264 ms7 ms181×
Macedonianmkspacy241,259 ms7 ms180×
Swedishsvspacy1401,002 ms6 ms167×
Danishdaspacy1071,910 ms7 ms273×
Norwegiannbspacy1091,606 ms7 ms229×
Finnishfispacy1181,229 ms7 ms176×
Icelandicistransformer73559 ms8 ms70×
Ukrainianukspacy251,434 ms9 ms159×
Lithuanianltspacy861,601 ms7 ms229×
Bulgarianbgstanza248,735 ms98 ms89×
Serbiansrtransformer24519 ms8 ms65×
Hungarianhustanza828,141 ms39 ms209×
Czechcstransformer81562 ms8 ms70×
Slovaksktransformer70577 ms8 ms72×
Latvianlvtransformer83526 ms8 ms66×
Estonianettransformer79531 ms8 ms66×
Hebrewhestanza178,850 ms101 ms88×
Persianfatransformer12439 ms7 ms63×
Vietnamesevistanza7411,282 ms99 ms114×
Indonesianidtransformer79524 ms7 ms75×
Thaithtransformer20521 ms5 ms104×
Malaymstransformer87510 ms7 ms73×
Filipinotltransformer75501 ms7 ms72×
Bengalibntransformer18455 ms7 ms65×
Urduurtransformer12445 ms7 ms64×
Afrikaansafstanza1197,867 ms55 ms143×
Swahiliswtransformer68526 ms7 ms75×
Armenianhystanza6919,643 ms85 ms231×
Catalancaspacy1003,267 ms7 ms467×
Basqueeustanza82783 ms40 ms20×

Cross-Browser Compatibility

5 critical pages tested across 4 browser engines with zero console errors and no horizontal overflow.

Chromium

5 of 5 pages

All Passing

Firefox

5 of 5 pages

All Passing

WebKit

5 of 5 pages

All Passing

Mobile Chrome

5 of 5 pages

All Passing

Security Testing

35 Tests

35 dedicated security tests covering API endpoints, headers, CORS, input validation, authentication, and rate limiting.

Core Endpoints

8 tests

8 tests verifying API endpoint accessibility and response codes

Security Headers

6 tests

6 tests for CSP, X-Frame-Options, HSTS, and more

CORS Policy

5 tests

5 tests for cross-origin request handling

Input Validation

6 tests

6 tests for XSS, SQL injection, and malformed input

Auth Security

5 tests

5 tests for authentication bypass and session security

Rate Limiting

5 tests

5 tests for API rate limit enforcement and Retry-After headers

Token Usage Analysis

Total Tokens Used: 768

22 token consumption tests measuring cost efficiency across operations, text sizes, languages, and operators.

OperationCharsLanguageEntitiesOperatorTokensResponse Time
analyze50en44N/A4220 ms
analyze200en140N/A9276 ms
analyze500en387N/A21367 ms
analyze1,000en745N/A39542 ms
analyze5,000en3776N/A1934,398 ms
analyze10,000en7566N/A38514,494 ms
anonymize160en113replace7291 ms
anonymize160en113redact7236 ms
anonymize160en113hash7243 ms
anonymize160en113mask7276 ms
anonymize160en113encrypt7242 ms
analyze165de148N/A9272 ms
analyze151fr133N/A9282 ms
analyze75ja23N/A31,608 ms
analyze125ru41N/A42,588 ms
analyze113ar20N/A3501 ms
analyze63zh24N/A32,591 ms
analyze160en106PERSON only7258 ms
analyze160en108PERSON+EMAIL+PHONE8266 ms
analyze160en113All entities8264 ms
decrypt342en37decrypt2188 ms
batch-analyze476en,de,fr394N/A265,278 ms

Testing Methodology

Our test suite combines GUI-level Playwright testing with direct API validation for comprehensive coverage.

GUI Testing

Playwright browser automation tests real user workflows — clicking buttons, filling forms, navigating between pages, and verifying visual output.

API Testing

Direct HTTP requests validate every endpoint with edge cases, malformed input, and boundary conditions that GUI testing alone cannot cover.

Session Caching

Authenticated sessions are cached and reused across milestones, reducing test runtime while maintaining realistic user behavior.

CRUD Cleanup

Every entity, preset, and encryption key created during testing is cleaned up afterward, ensuring tests are idempotent and repeatable.

See It In Action

Try anonym.legal yourself — 48 languages, 285+ entity types, 5 anonymization operators, all verified by our test suite.