Origin Test Server

Deterministic traffic generator for proxy/WAF/AV testing

Available Endpoints

GET /login Login form page
POST /login Simulate authentication
GET /loginupload Login with optional file upload
POST /loginupload Authenticate and optionally upload file
GET /upload File upload form
POST /upload Accept file uploads
GET /download Download generator
ANY /echo Echo request details
GET /headers Show received headers
GET /cookies Cookie testing
GET /slow Slow response simulation
GET /gzip Gzip response testing
GET /fuzz Deterministic fuzzing
GET /evasion WAF evasion patterns
GET /crashme Simulate broken origin
ANY /chunked Chunked transfer encoding test
GET /challenges Imperva challenge trigger endpoints (CAPTCHA, JS, 2FA, etc.)
ANY /config Runtime configuration
GET /healthz Health check
GET /metrics Server metrics

Quick curl Examples

# Health check
curl http://prd.linuxsurfer.com/healthz

# Login simulation
curl -X POST -d "username=test&password=test&mode=valid" http://prd.linuxsurfer.com/login

# Upload file
curl -X POST -F "file=@myfile.txt" http://prd.linuxsurfer.com/upload

# Download 1MB binary
curl -o test.bin "http://prd.linuxsurfer.com/download?type=bin&size=1MB"

# Echo with custom headers
curl -H "X-Custom: value" http://prd.linuxsurfer.com/echo

# Slow response test
curl -w "Time: %{time_total}s\n" "http://prd.linuxsurfer.com/slow?sleep=2s"