WireMock Mock Server

SkillDev tools

Start or stop the WireMock API mock server for UI testing and E2E verification.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the WireMock Mock Server skill

What this skill tells your AI

The instructions your AI receives, as published by woocommerce/woocommerce-ios in .claude/skills/mocks/SKILL.md and read by ahel’s review.

Manage the WireMock mock server that serves API responses for UI tests and E2E verification.

Requires Java (brew install openjdk if missing).

Start

./API-Mocks/scripts/start.sh 8282 &
sleep 3

Verify it's running:

curl -s http://localhost:8282/__admin/ > /dev/null && echo "WireMock running on port 8282" || echo "WireMock failed to start"

If Java is not installed, report the prerequisite and stop.

Stop

./API-Mocks/scripts/stop.sh 8282

Uses WireMock's graceful shutdown endpoint. Falls back to kill-by-port if the shutdown endpoint is unreachable:

kill $(lsof -ti:8282) 2>/dev/null

Details

  • Port: 8282 (default)
  • Mappings: Modules/Sources/APIMocks/Resources/mappings/
  • Response files: Modules/Sources/APIMocks/Resources/__files/
  • Start script: API-Mocks/scripts/start.sh
  • WireMock: auto-downloaded on first run (version configured in start.sh)

Signals

GitHub stars
359
Forks
123
Last commit
Sep 2026

ahel review

  • K1binfo
    installs-packages

Automated review, not a security audit. Ruleset v1+k2.

Advanced
Catalog kind
skill
Gateway key
mocks
Source
github.com/woocommerce/woocommerce-ios