Testing sample files

Generic binary and log files built for size limits, speed tests and transfer verification.

Formats in this category

FormatWhat it isSizes
BIN sample files.bin application/octet-streamPseudo-random bytes with no structure. The right file for measuring transfer speed and size limits.1 KB to 20 MB
LOG sample files.log text/plainLine-oriented text records of events. The samples use the web-server Combined Log Format.1 KB to 10 MB
TXT sample files.txt text/plainUnformatted text with no structure beyond characters and line breaks. The simplest possible upload.1 KB to 20 MB
ZIP sample files.zip application/zipThe most common archive format: many files compressed individually in one container.1 KB to 20 MB

About these files

Sometimes the content of a file does not matter at all: you need exactly ten megabytes to prove that a limit is enforced, or incompressible bytes to measure a connection honestly.

The BIN samples are pure pseudo-random data for that purpose. The LOG samples are realistic access logs for testing anything that reads line-oriented text at volume.

Ready-made samples

Hand-designed files with realistic content or a specific edge case.

Curated sample files: Testing
FileFormatSizeContentsDownload
Sample web server access log (500 lines)sample-access.log LOG 80.2 KB82,141 bytes Lines: 500 Download LOG

Popular downloads by size

Jump straight to a file. Every size is exact to the byte.

Or browse every format at one size: 1 KB, 5 KB, 10 KB, 25 KB, 50 KB, 100 KB, 200 KB, 500 KB, 1 MB, 2 MB, 5 MB, 10 MB, 20 MB.

What to test

Related categories

Testing files: questions

Which file should I use for a speed test?
A BIN sample. Its random bytes cannot be compressed, so the transfer you measure is the full size of the file.

Engineering test checklist for testing sample files

When designing automated integration suites for testing pipelines, QA engineers must validate three distinct layers: binary container framing, metadata extraction accuracy, and resource-bounded parsing under concurrent load.

Verification layerTarget assertion for testingRecommended test fixture or tool
1. Signature & MIME checkConfirm backend inspects leading magic bytes rather than trusting the client Content-Type header for testing uploadsMagic-Byte File Inspector & Spoofed-Extension Fixtures
2. Boundary byte sizesTest minimum valid header size, 1 MB default proxy limit, 10 MB application ceiling, and 50 MB+ streaming transfersSize Buckets (1 KB–1 GB) & In-Browser Generator
3. Corrupt payload handlingVerify that truncated streams or malformed headers in testing return HTTP 400/422 instead of crashing the workerBroken-File QA Suite & errors-400.json
4. Checksum reproducibilityAssert that round-trip storage in cloud object storage preserves the exact byte length and SHA-256 digestSHA-256 Checksum Directory

Common failure points in testing ingestion workflows