Showcase
Real-world use cases and examples of how developers use Trace for debugging, testing, and analysis. From API development to security auditing.
Use cases
API development & testing
Debug API integrations in real-time. Inspect request/response payloads, validate headers, and test against staging environments.
WebSocket debugging
Capture and analyze real-time communication. Frame-by-frame inspection with timestamps and full payload visibility.
Performance analysis
Identify slow requests, optimize payload sizes, and analyze timing breakdowns for DNS, TLS, and data transfer.
Security auditing
Verify TLS configurations, check for sensitive data leaks, and validate certificate pinning implementations.
CI/CD integration
Automate network testing in CI pipelines. Export HAR files for regression testing and validate API contracts.
Request modification
Mock API responses, test error conditions, and redirect traffic to staging servers without modifying app code.
Configuration examples
Add custom headers to all API requests
Automatically inject authorization headers or feature flags into requests matching a pattern.
{
"name": "Add Auth Header",
"enabled": true,
"pattern": "api.example.com/*",
"action": "modify-request",
"modifications": {
"headers": {
"Authorization": "Bearer YOUR_TOKEN_HERE",
"X-Feature-Flag": "new-ui-enabled"
}
}
}Mock API response for offline testing
Return a static JSON response without hitting the real API, perfect for testing error states.
{
"name": "Mock User Profile",
"enabled": true,
"pattern": "api.example.com/user/profile",
"response": {
"status": 200,
"headers": {
"Content-Type": "application/json"
},
"body": {
"id": "12345",
"name": "Test User",
"email": "test@example.com"
}
}
}Redirect production API to staging
Test against staging servers without modifying your app's configuration.
{
"hosts": {
"api.example.com": "staging-api.example.com",
"cdn.example.com": "staging-cdn.example.com"
}
}Show only failed API requests
Quickly filter for errors and warnings to focus on what needs fixing.
{
"name": "Errors Only",
"filters": [
{
"field": "status_code",
"operator": ">=",
"value": 400
},
{
"field": "domain",
"operator": "contains",
"value": "api.example.com"
}
]
}Share your use case
Found a creative way to use Trace? Share it with the community in GitHub Discussions.