Install
$ agentstack add skill-jovd83-restassured-skill-virtualization ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
Service Virtualization
1. Decide Whether To Mock
- Mock only third-party or unstable dependencies.
- Keep real dependencies for the system under test whenever practical.
- Read [when-to-mock-vs-real.md](references/when-to-mock-vs-real.md) before adding stubs.
2. Create The Stub Layer
- Use WireMock for HTTP downstream dependencies.
- Model stable happy-path stubs first.
- Add negative behavior only when the scenario requires it.
- Read [wiremock-patterns.md](references/wiremock-patterns.md) for stub structure.
3. Inject Failure Modes
- Add latency, resets, malformed payloads, and error statuses deliberately.
- Read [fault-injection.md](references/fault-injection.md) before writing resilience tests.
4. Verify Intent
- Assert that the system under test handled the dependency behavior correctly.
- Assert that the stub was called only when interaction verification matters.
5. Examples
- Input:
Simulate the shipping provider timing out.
Output: Add a WireMock delayed response and assert the API returns the documented fallback error.
- Input:
Stub the tax provider for local CI.
Output: Add deterministic success and validation-failure stubs, then route the tests to the stub base URL.
6. Troubleshooting
- Problem: The suite still calls the live dependency.
Fix: Verify the service under test points to the stubbed base URL.
- Problem: Contract drift breaks the stub.
Fix: Rebuild the stub from the latest contract or response samples.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: jovd83
- Source: jovd83/restassured-skill
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.