Traveloka Jan 24, 2020

Reproxy: Mock Server for Mobile App Development

Article Summary

Ahmad Fadli from Traveloka's Experience team built a mock server that freed his mobile team from backend API dependencies. What started as a simple workaround evolved into a tool now used across product teams.

Mobile teams often get blocked waiting for backend APIs during development and testing. Traveloka's Android engineers tried multiple approaches (runtime value changes, abstraction layers, in-app mocks) before creating Reproxy, an Express.js-based mock server that runs locally with zero-rebuild JSON configuration.

Key Takeaways

Critical Insight

Reproxy eliminated backend dependencies for mobile testing through a flexible, rule-based mock server that requires minimal app code changes and no rebuilds.

The article reveals how the team uses SEQUENCE and DELAY response types to test a specific UI state that's nearly impossible to reproduce with real APIs.

Recent from Traveloka

Related Articles