macOS
brew install wiremock-standalonelocal Homebrew formula metadata
安装
brew install wiremock-standalonelocal Homebrew formula metadata
nix profile install nixpkgs#wiremocknixpkgs package indexes · pkgs/by-name/wi/wiremock/package.nix · 来源: api.github.com
概览
Simulator for HTTP-based APIs
历史
WireMock Standalone packages the WireMock API simulation engine as a runnable server instead of only a Java test library. It is used to mock HTTP-based APIs in local development, integration tests, CI jobs, and service-virtualization environments.
WireMock started in 2011 as a Java library by Tom Akehurst. The project grew from a JVM testing utility into a broader API mocking ecosystem with standalone server, Docker, language adapters, framework integrations, and a commercial WireMock Cloud product around the open-source core.
The standalone distribution became important because it decoupled WireMock from a single test process. Teams could run a mock HTTP server as an external dependency, configure it through Java, JSON files, or JSON over HTTP, and share mappings between local development, CI, containers, and service virtualization setups.
WireMock 3 marked a modernization phase for the Java project, including Java 11-oriented API cleanup and packaging changes. At the same time, the project continued to publish the standalone JAR and Docker image as the most direct way to run WireMock outside embedded unit tests.
WireMock's adoption followed the rise of microservices, API-first development, and flaky third-party API dependencies. The official documentation describes it as a popular open-source API mock testing tool with millions of monthly downloads, and its GitHub README frames it as a common way to create stable test and development environments.
The standalone form broadened adoption beyond Java unit tests. A frontend team, QA engineer, platform team, or CI pipeline can run the same mock server from a JAR or container without embedding WireMock in application code, which made it practical as shared test infrastructure.
Typical standalone usage is to run `java -jar wiremock-standalone-<version>.jar`, optionally setting a port and a root directory. Stub mappings live under a `mappings` directory and larger response bodies under `__files`, allowing mocks to be versioned as ordinary project files.
For service virtualization, teams point an application at WireMock instead of a real upstream service. They can hand-write stubs, record traffic from a real service through proxy mode, replay captured mappings, inject latency or failures, and model stateful flows.
As a package, wiremock-standalone is valuable because it turns a Java library into a universal command-line tool. Homebrew users can install one executable and get a local API simulator without wiring Gradle, Maven, or test framework dependencies into the project under test.
It sits in the same practical toolbox as mock servers, contract-testing helpers, and local service emulators: not the production app, but the thing that makes distributed software testable when the real dependency is missing, expensive, slow, or deliberately hostile for resilience tests.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
wiremock | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:wiremock-standalone |
|---|---|
| 版本 | 3.13.2 |
| 软件包管理器 | Homebrew |
| 主页 | https://wiremock.org/docs/running-standalone/ |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
wiremock
nix profile install nixpkgs#wiremock来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.