MockServer on Ubuntu 24.04

Azure Developer Tools

MockServer, an open source HTTP and HTTPS mock, service virtualisation and proxy server, with every dashboard password generated on first boot.

Base
Hardened build
minimal ports, security patches applied at build time
Access
Unique credentials
generated on first boot, readable only by root
Verified
Boots working
services pass a health gate before release
Support
24/7, 365 days
by email and live chat, 24 hour response SLA

Overview

MockServer is an open source tool for mocking and virtualising the HTTP and HTTPS services your application depends on. You configure expectations, request matchers paired with mock responses, forwards or callbacks, through a control API, then point systems under test at MockServer so they receive deterministic mocked responses instead of calling real dependencies that may be slow, costly, rate limited or not yet built. It can also run as a forward or reverse proxy to record and replay real traffic, and it ships a live web dashboard for inspecting requests and the expectations that matched them. Teams use it to develop against unfinished APIs, to isolate integration and end to end tests from flaky third parties, and to reproduce hard to trigger error and latency conditions on demand.

Why the cloudimg image

cloudimg delivers MockServer preconfigured on a hardened, fully patched base with the server bound to loopback behind an nginx reverse proxy. MockServer's control API and dashboard are unauthenticated by default, so this image is secure by default: the only reachable path is through nginx, and a unique HTTP Basic Auth password is generated on each instance's first boot and written to a root only file, so no two deployments ever share a login and no usable credential ships in the image. An unauthenticated health endpoint is provided for load balancer probes. Every deployment carries a paired deployment guide and 24/7 cloudimg support.

Common uses

  • Mock and virtualise HTTP and HTTPS service dependencies
  • Isolate integration and end to end tests from flaky third parties
  • Proxy, record and replay traffic and simulate error conditions

See it running

Real screenshots taken while testing this image against its deployment guide.

MockServer on Ubuntu 24.04 screenshot 1 MockServer on Ubuntu 24.04 screenshot 2 MockServer on Ubuntu 24.04 screenshot 3