WireMock公开文档;未核安装、未执行,限所列输入输出。
调用方式 / profile:wiremock-standalone-loopback-documentation · 组件版本:documentation-sha256:f6c5fa150be1e08059bc910dd3e151c63a5cc408d10782f058e0e04c50781cc0 · 引用此版本与调用方式
已记录条件
- invocation_mode = cli:支持。Supported within this profile and component version. 依据:wiremock-standalone-loopback-documentation-e1, wiremock-standalone-loopback-documentation-e2, wiremock-standalone-loopback-documentation-e3
- execution_location = local:支持。Supported within this profile and component version. 依据:wiremock-standalone-loopback-documentation-e1
入口与前提
- 协议
- CLI;启动本地HTTP mock server
- 认证
- unknown;admin-api-basic-auth仅说明管理接口,不据此断言所有端点匿名。
- 价格是否查明
- unknown
- 配额是否查明
- unknown
java -jar wiremock-standalone-<VERSION>.jar
- 仅官方文档声明,配方proposed;本站未连接、注册、调用第三方工具或核验实际账户。
- 文档JAR版本不是本机版本,最低Java、当前OS和安装状态unknown。
- bind-address默认所有网卡,配方须显式127.0.0.1;不用固定8080,port 0为动态端口。
- 设置https-port并不自动关闭HTTP。
- 未下载JAR、启动服务或调用mock/admin接口;不借用Cloud/Runner条件。
配方 wiremock-standalone-loopback-documentation-recipe · 修订 1
所需调用能力:
- run_loopback_http_mock_server
运行前提:
- 仅官方文档声明,配方proposed;本站未连接、注册、调用第三方工具或核验实际账户。
- 文档JAR版本不是本机版本,最低Java、当前OS和安装状态unknown。
- bind-address默认所有网卡,配方须显式127.0.0.1;不用固定8080,port 0为动态端口。
- 设置https-port并不自动关闭HTTP。
- 未下载JAR、启动服务或调用mock/admin接口;不借用Cloud/Runner条件。
使用步骤:
- 准备已获授权的最小输入,核对本profile的适用范围、认证与费用;不填私人信息或凭据到公开示例。
- java -jar wiremock-standalone-<VERSION>.jar --bind-address 127.0.0.1 --port 0 --root-dir <AUTHORIZED_LOCAL_STUB_ROOT>
- 未来获准执行后核对实际诊断、输出文件或对象与输入条件,保留缺项和运行错误;本次没有执行此步骤。
- 输入约定
- 已有受控JAR、兼容Java和获准本地stub root;仅回环及动态端口,不启用代理、录制或webhooks。JSON mapping不证明所有HTTP输入都是JSON。
- 输出约定
- 本地HTTP mock进程和按stub配置产生的响应;port 0须从启动输出核实实际端口,本次没有启动。
- 成功检查
- 未来获准后核受控JAR与Java、回环绑定、动态端口和最小stub响应;不启用代理、录制或webhook。当前仅文档配方。
- 失败与回退
- 条件不满足、认证/限流/结构错误即停止该调用并保留unknown;不切换付费服务、不猜工具名、不执行写操作。
适用证据
wiremock-standalone-loopback-documentation-e1 · 来源文档声明
- 原文定位
- .local/deep-cards-v1/cli-sdk-batch-20261024-05/sources/wiremock-standalone-loopback-documentation.txt:L169-L173
- 来源版本
- documentation-sha256:f6c5fa150be1e08059bc910dd3e151c63a5cc408d10782f058e0e04c50781cc0
- 内容摘要
- f6c5fa150be1e08059bc910dd3e151c63a5cc408d10782f058e0e04c50781cc0
- 采集时间
- 2026-10-20T11:07:16.7618690+00:00
The WireMock server can be run in its own process, and configured via the Java API, JSON over HTTP or JSON files. Once you have downloaded the standalone JAR you can run it simply by doing this: Terminal window $ java -jar wiremock-standalone-3.13.2.jar
覆盖条件:invocation_mode=cli; execution_location=local
wiremock-standalone-loopback-documentation-e2 · 来源文档声明
- 原文定位
- .local/deep-cards-v1/cli-sdk-batch-20261024-05/sources/wiremock-standalone-loopback-documentation.txt:L177-L179
- 来源版本
- documentation-sha256:f6c5fa150be1e08059bc910dd3e151c63a5cc408d10782f058e0e04c50781cc0
- 内容摘要
- f6c5fa150be1e08059bc910dd3e151c63a5cc408d10782f058e0e04c50781cc0
- 采集时间
- 2026-10-20T11:07:16.7618690+00:00
--admin-api-basic-auth : Require HTTP Basic authentication for admin API calls with the supplied credentials in username:password format --admin-api-require-https : Require HTTPS to be used to access the admin API --port: Set the HTTP port number e.g. --port 9999. Use --port 0 to dynamically determine a port.
覆盖条件:invocation_mode=cli
wiremock-standalone-loopback-documentation-e3 · 来源文档声明
- 原文定位
- .local/deep-cards-v1/cli-sdk-batch-20261024-05/sources/wiremock-standalone-loopback-documentation.txt:L184-L185
- 来源版本
- documentation-sha256:f6c5fa150be1e08059bc910dd3e151c63a5cc408d10782f058e0e04c50781cc0
- 内容摘要
- f6c5fa150be1e08059bc910dd3e151c63a5cc408d10782f058e0e04c50781cc0
- 采集时间
- 2026-10-20T11:07:16.7618690+00:00
Note: When you specify this parameter, WireMock will still, additionally, bind to an HTTP port (8080 by default). So when running multiple WireMock servers you will also need to specify the --port parameter in order to avoid conflicts. --bind-address: The IP address the WireMock server should serve from. Binds to all local network adapters if unspecified.
覆盖条件:invocation_mode=cli
结构化配方尚未提供或不适用于本版本;旧用法文字保留,连接与执行结果未知。