substitutefor

Contribute to the catalog

Improve MockServer

Help someone find the right substitute. Share what you know, explain its limits, and show your sources.

Keep useful details and sources from the current draft as you make your changes.

Sign in or create an account ↗ to earn credit. You can also submit anonymously and save a private receipt. Contributions go to review before publication.

Your own projects are welcome, and an AI assistant can contribute on your behalf. Describe the project accurately and cite sources. You can submit immediately; no minimum karma or prior reviews are required.

1

Identify the subject

Which product or service are you writing about?

This entry can substitute forOptional

Choose the product this entry can replace. For example, when editing GIMP, choose Photoshop to describe GIMP as a substitute for Photoshop. Use “unknown” if the evidence does not show whether the task is supported; “unsupported” means the evidence shows it cannot do the task.

0 of 200 substitute relationships.

Draft comparisons

These comparisons link to articles by their planned address. Edit them under Structured data.

  • wiremock — Programmatic service dependency testing
2

Write & cite

Help readers understand what it does and where it falls short.

Article sections and citations
Sources for the overview

Sources

Reuse throughout the article

Add each source once. Select it under the paragraphs it supports.

Source 1 · MockServer license

Source 1

Source details

To remove this source, first uncheck its citations.

Source 2 · MockServer repository

Source 2

Source details

To remove this source, first uncheck its citations.

Source 3 · MockServer record and replay

Source 3

Source details

To remove this source, first uncheck its citations.

Source 4 · Persisting MockServer expectations

Source 4

Source details

To remove this source, first uncheck its citations.

Source 5 · MockServer security policy

Source 5

Source details

To remove this source, first uncheck its citations.

Source 6 · WireMock standalone service

Source 6

Source details

To remove this source, first uncheck its citations.

Source 7 · WireMock record and playback

Source 7

Source details

To remove this source, first uncheck its citations.

Article sections

Explain uses, limitations, or compatibility. Give each paragraph the sources that support it.

1 · Programmable expectations

Section 1

Sources for paragraph 1
2 · Capturing dependencies

Section 2

Sources for paragraph 1
3 · Saving fixtures between runs

Section 3

Sources for paragraph 1
4 · Runtime and trust boundary

Section 4

Sources for paragraph 1
5 · Substitution scope

Section 5

Linked to wiremock. Keep surrounding spaces so the text reads naturally.

Sources for paragraph 1
Structured data Advanced

For agents and detailed edits, including links within paragraphs. Follow the article schema, or use the API. Applying JSON replaces the body, references, article address, and draft comparisons shown here.

Include up to 200 draft comparisons, preserving the existing sources and relationships when adding more.

3

Add useful details Optional

Add what you know. You can submit without filling these in.

Capabilities3

Describe a task this product can perform, its limits, and the evidence. Use “unknown” if the evidence does not show whether the task is supported; “unsupported” means the evidence shows it cannot do the task.

Help readers find related options Optional

Have a useful detail to add? Choose a question, give a short answer, and reuse an article source. Skip this section if you prefer.

Which article sources support this answer?
Only saved answers are included. A blank section is fine.
Screenshots Optional

Show the website or a useful part of its interface. Add up to three still PNG, JPEG or WebP images, each up to 5 MiB. Screenshot guidelines ↗

Crop to the relevant screen. Remove personal information, credentials, account balances and private messages. Images keep their stated rights; they are not automatically CC0.

Sign in to upload screenshots. You can submit the article without them.

License, other names & status
Sources for the license or business model
4

Check & submit

Give reviewers a clear summary and a source they can check.

Preview your article

MockServer

Programmable service mocks, proxy recordings and fault injection for trusted test environments.

Overview

MockServer is an Apache-2.0 mock server and proxy for isolating service dependencies during development and testing. It matches requests to configured expectations, can record upstream interactions and supports controlled delays or failures for testing client behavior.[2]

Programmable expectations

Expectations connect request conditions with canned, templated or callback-based responses. Matching can inspect methods, paths, headers, cookies and bodies, including structured JSON and XML criteria. Client libraries and an HTTP control interface let a test suite configure behavior programmatically. The current project also documents a dashboard, several deployment formats and fault injection; these capabilities serve controlled test environments rather than a production application backend.[2]

Capturing dependencies

Proxy traffic can be retrieved as editable recorded expectations, including JSON or Java representations. This lets a team turn observed interactions into fixtures and adjust them when the API changes. Plain retrieval leaves recorded output unchanged unless generalization or consolidation options are enabled. The recordings/promote endpoint follows different defaults: it consolidates, parameterizes and redacts credentials by default before activating the mocks. Matching still needs checking against the intended requests; neither workflow guarantees that every future identifier or timestamp will match.[3]

Saving fixtures between runs

Authored expectations and recorded proxy expectations have separate persistence controls and can be saved to different files. Replaying a saved recording after restart requires loading the corresponding file as initialization data. Recording traffic, persisting it and restoring a mock are thus distinct steps. A test setup should make the intended fixture source explicit rather than assuming all state survives a process restart.[4]

Runtime and trust boundary

MockServer's current repository specifies Java 17 or newer for the runtime, while the official container includes its own JVM. The source is Apache-2.0 licensed. Its security policy explicitly limits intended use to development, testing and QA, with trusted users, expectations and networks; it advises against production deployment or exposure to untrusted networks. These constraints matter when choosing a shared test server.[1][2][5]

Substitution scope

MockServer can substitute for WireMock for programmable HTTP dependency simulation and proxy-derived fixtures. Both can decouple a test from live upstream responses, but use different configuration and recording models. This is not a claim of compatible mapping files or identical matching precedence. Teams should translate expectations, verify persistence and reset behavior, and isolate the service according to its documented trust assumptions before relying on migrated tests.[2][3][5][6][7]

References

  1. MockServer license

    Apache License 2.0

    vendor · retrieved 2026-10-07
  2. MockServer repository

    Request matching, fault injection, distribution and Java requirements

    vendor · retrieved 2026-10-07
  3. MockServer record and replay

    Plain retrieval versus recordings/promote: consolidation, parameterization and redaction defaults; checked 2026-10-14.

    vendor · retrieved 2026-10-14
  4. Persisting MockServer expectations

    Separate persistence controls for authored and recorded expectations

    vendor · retrieved 2026-10-07
  5. MockServer security policy

    Development/testing-only posture and trusted environment assumptions

    vendor · retrieved 2026-10-07
  6. WireMock standalone service

    Java/JSON configuration and JAR/container distribution

    vendor · retrieved 2026-10-07
  7. WireMock record and playback

    Recording and snapshotting stub mappings

    vendor · retrieved 2026-10-07

Also included: 3 capabilities and 0 substitute relationships. Check substitutes in section 1 and capabilities in section 3.

Contribution type

Agree to CC0 above to submit your contribution.