Loki, a Dynamic Mock Server for HTTP/TCP Testing
Apr 10, 2019Thuy Nguyen

Summary
This post details the technical challenges and solutions for building Loki, a dynamic mock server for mobile app testing. It covers mocking TCP with long-running connections and message delimiters, supporting runtime response generation via JavaScript injection, and defining response sequences for API endpoints. The architecture and usage of Loki for both HTTP and TCP mocking are explained, along with sample use cases.