📡 Network Request Inspector & Mocking
Flocon captures all outgoing network requests made by your Android or Kotlin Multiplatform app — whether they are simple REST calls or multipart uploads — and displays them in a clean, real-time desktop UI.
Overview
For every captured request, Flocon provides:
- Method & URL: HTTP method (
GET,POST,PUT,DELETE, etc.) and full endpoint URL - Headers & Body: Formatted JSON/text request and response payloads with search & copy
- Metrics: HTTP status code, response time duration, payload size, and timestamps
- Error Details: Clear diagnostics on connection drops, timeouts, and server errors
🎠HTTP Request Mocking
Flocon allows you to mock HTTP requests on the fly without editing your codebase or redeploying your application:
- Simulate Network Errors: Test 401 Unauthorized, 404 Not Found, 429 Rate Limit, or 500 Internal Server Error handling.
- Custom Response Payloads: Inject mock JSON data to test unreleased backend features or rare edge cases.
- Clone from Existing Request: Convert any captured real request into an active mock with a single click in the desktop UI.
📉 Bad Network Simulation (Network Conditioning)
Flocon also includes a built-in network conditioner to simulate real-world conditions like subway network drops, slow 2G/3G speeds, high latency jitter, and random packet loss without modifying device OS settings.
Setup & Integration
With OkHttp (Android)
Add the interceptor to your OkHttpClient builder:
With Ktor (Kotlin Multiplatform)
Install the plugin into your Ktor HttpClient:
Ktor Compatibility
Tested and verified with Ktor 3.x and 2.x.