MockServer HTTP/HTTPS Mock and Proxy on Ubuntu 24.04 | 24/7 Support by cloudimg
by cloudimg
MockServer HTTP/HTTPS mock, service virtualization and proxy server on Ubuntu 24.04, secured behind per-VM auth
MockServer is an open source tool for mocking and virtualizing the HTTP and HTTPS services your application depends on. You configure expectations - a request matcher paired with a mock response, a forward, or a callback - through its control API, then point systems under test at MockServer so they receive deterministic mocked responses instead of calling real dependencies that are slow, costly, rate limited or not yet built. MockServer also runs as a forward or reverse proxy to record and replay real traffic, and ships a live web dashboard for inspecting requests and the expectations that matched them. It is widely used to develop against unfinished APIs, isolate integration and end-to-end tests from flaky third parties, and reproduce hard-to-trigger error and latency conditions on demand.
The cloudimg image installs the pinned official MockServer 7.4.0 runnable jar and runs it under OpenJDK 21 as a dedicated systemd service. Because MockServer's control API and dashboard are unauthenticated by default, this image is secure by default: MockServer itself is bound to loopback only, and nginx does all customer-facing work. Port 80 fronts the control/expectation API, the web dashboard, and every mock endpoint you configure behind a per-VM HTTP Basic Auth gate whose password is generated uniquely on first boot. An unauthenticated /healthz endpoint on port 80 supports Azure Load Balancer probes. The image ships with zero expectations, so you start from a clean slate. Backed by 24/7 cloudimg support.
Licensing - Apache-2.0, FREE. No per-mock or per-seat fee. The cloudimg charge (0.04 USD per vCPU/hour) covers packaging, security patching, image maintenance and 24/7 expert support.