๐Ÿงช DexFakeApp

A test endpoint for Cloudflare Digital Experience monitoring

What is this?

DexFakeApp is a fake website that acts as a test endpoint for monitoring services like Cloudflare Digital Experience. It allows you to simulate different scenarios by configuring per-device response delays and HTTP status codes.

๐Ÿ“ก Request Logging

All HTTP requests to /test are logged with full details including headers, query parameters, and body content.

๐Ÿ” Device Fingerprinting

Each request is associated with a device fingerprint based on IP address and browser headers. Track unique devices and their behavior.

โฑ๏ธ Configurable Delays

Set fixed or random delays per device to simulate slow responses and test timeout handling in your monitoring.

๐Ÿ”ง Status Code Simulation

Configure custom HTTP status codes per device (200, 404, 500, etc.) to test error handling in your monitoring setup.

How to Use

1

Make a Test Request

Send an HTTP request to the /test endpoint:

curl https://your-worker.your-subdomain.workers.dev/test
2

View in Dashboard

Open the dashboard to see your device fingerprint and logged request.

3

Configure the Device

Click "Configure" on your device to set delays and status codes for future requests.

4

Test Scenarios

Make more requests to see your configured delays and status codes in action.

API Endpoints

GET /test Main test endpoint - logs request and returns configured response
POST /test Same as GET, accepts request body
GET /dashboard Web UI to view and manage devices
GET /api/devices List all fingerprinted devices
GET /api/devices/:id Get device details and recent requests
PUT /api/devices/:id Update device configuration (delay, status code)
GET /api/requests List recent requests (with optional device_id filter)
GET /api/stats Get dashboard statistics