
Wiremock Standalone Docker
Sets up WireMock as a standalone Docker container so you can mock external APIs during integration testing. You get a complete docker-compose config with WireMock 3.5.2, directory structure for mappings and response files, and JSON stubs for the scenarios that actually matter: success responses, 404s, 500s, timeouts, and rate limits. The skill walks you through pointing your app at localhost:8080 instead of real endpoints, then testing all the edge cases your HTTP client needs to handle. It's straightforward if you're tired of flaky tests that depend on external services or need to simulate API failures without breaking production systems.
- skills.sh installs
- 3.5K
- GitHub stars
- 369
- last updated
- Aug 21, 2026
Install
$ npx -y skills add giuseppe-trisciuoglio/developer-kit --skill wiremock-standalone-docker --agent claude-codeInstalls into .claude/skills of the current project.
Files
WireMock Standalone Docker Skill
Overview
Provides patterns for running WireMock as a standalone Docker container to mock external APIs during integration and end-to-end testing. Runs WireMock as a separate service that simulates real API behavior for testing HTTP clients, retry logic, and error handling.
When to Use
Use when you need to:
- Mock external APIs during integration or end-to-end testing
- Simulate error conditions (timeouts, 5xx, rate limiting) without real services
- Test HTTP client configurations, retry logic, and error handling
- Create portable, reproducible test environments
- Validate API contracts before implementing the real service
Instructions
Step 1: Set Up Docker Compose
Create a docker-compose.yml with WireMock 3.5.2, port mapping, and volume mounts for mappings and files:
version: "3.8"
services:
wiremock:
image: wiremock/wiremock:3.5.2
ports:
- "8080:8080"
volumes:
- ./wiremock:/home/wiremock
command: ["--global-response-templating"]
Step 2: Create Directory Structure
Create the WireMock configuration directories:
Sponsors
Details
- Repository
- github.com/giuseppe-trisciuoglio/developer-kit
- Categories
- Backend & APIs, Testing & QA, DevOps & CI/CD, Debugging
- First seen
- May 16, 2026
More from giuseppe-trisciuoglio/developer-kit
All 102- Aws Cdk3.5K
- Learn3.5K
- Qwen Coder3.4K
- Bug Fix Brief3.1K
- Knowledge Graph1.9K
- Specs Code Cleanup1.8K
- Ralph Loop1.7K
- Create Pr From Spec1.5K
- Constitution1.4K
- Task Quality Kpi532
- Claude Md Management320
- Shadcn Ui22.7K
- Tailwind Css Patterns18K
- Drizzle Orm Patterns5.7K
- Nextjs Performance5K
- Unit Test Bean Validation5K
- React Patterns4.9K
- Tailwind Design System4.7K
- React Code Review4.5K
- Spring Boot Test Patterns4.4K
- Nestjs4.4K
- Typescript Docs4.4K
- Spring Boot Rest Api Standards4.3K
- Spring Boot Security Jwt4.3K