Grab has developed Loki, a dynamic mock server for local box testing of mobile apps. Loki simulates backend services over HTTP and TCP protocols, allowing developers to test complex use cases without external dependencies. It supports runtime response generation via JavaScript injection, sequential responses for API endpoints, and configurable message delimiters for TCP. Loki can run in Docker containers locally or in CI, with pluggable storage options (MySQL, in-memory cache, Redis) to manage mock expectations.
All Grab trails