Mock Server is a powerful Android developer tool for creating, testing and managing local mock API endpoints directly on your device.
It helps developers, testers, students and teams test apps without waiting for a real backend server. You can start a local mock server, create custom endpoints, define response data, inspect incoming requests and simulate
common API behaviours from one clean Android interface.
Whether you are building a new app, testing an API integration, prototyping a product, debugging request data or preparing demo responses, Mock Server gives you a fast and flexible local API testing workflow.
Key features:
• Local mock server
Start and stop a local HTTP server on localhost:8080 directly from your Android device.
• Endpoint management
Create, edit, update, enable, disable, delete and clear mock endpoints.
• Custom responses
Configure HTTP method, request path, status code, response body, headers, description and response delay.
• Request logs
Inspect incoming requests with method, path, status code, headers, body, query parameters and path variables.
• Path variables
Create dynamic routes such as /api/users/:id and use path values in your mock response.
• Dynamic response values
Generate useful mock data such as UUID, timestamp, random numbers, random names, random emails and random IP addresses.
• Conditional matching
Match requests using header, query and body conditions with equals, contains and regex operators.
• Response scenarios
Keep multiple response scenarios for an endpoint and switch the active response when testing different cases.
• Delay simulation
Add response delays to test loading states, timeouts and slow network behaviour.
• Error simulation
Mock common API errors such as 400, 401, 404, 422, 429 and 500 responses.
• Proxy mode
Forward unmatched requests to an upstream server when you want mock and real API behaviour together.
• Import and export
Export endpoint data as JSON and import it again when needed.
• Comfortable interface
Use dark mode, theme colours and font size options for a cleaner testing experience.
Mock Server is useful for:
• Android app development
• API integration testing
• UI testing with predictable responses
• Prototype and demo preparation
• Backend-independent frontend testing
• Debugging request headers, body and query parameters
• Testing success, error, empty and slow response states
• Learning how REST-style API endpoints work
The app is designed to be simple enough for quick testing and flexible enough for advanced mock API workflows. You can create endpoints in minutes, test them from your app, review request logs and adjust responses without
needing to run a separate backend on your computer.
Privacy and data handling:
Mock Server does not include ads, analytics, accounts, location access, camera access, contacts access or third-party tracking SDKs. Request logs and mock endpoint data are handled on your device. If you use proxy mode,
request data may be forwarded only to the upstream server that you configure.