api-testing
Skill3 starsChanged 7 months agoMITView on GitHub
Test browser-side API integrations by mocking responses, intercepting requests, and monitoring network traffic from the page. Use when the user wants to mock backend APIs at the browser level, simulate errors, test offline behavior, intercept requests, or add authentication headers from the page. For server-side API testing (drive real HTTP/gRPC/GraphQL/WS endpoints, log correlation, db verification), use the `backend-testing` skill instead.
17 other projects use a version of this.
Adopted by
Most recently taken up by
- HACK-WU/skillstheir own version, first seen Sep 23, 2026
- lintangknitto/agent-skillstheir own version, first seen Sep 23, 2026
- Strategic-Automation/violintheir own version, first seen Sep 22, 2026
- fishzjp/qa-skillstheir own version, first seen Sep 7, 2026
- idavidov13/agentic-playwrighttheir own version, first seen Aug 13, 2026
- int2t05/engineering-skillstheir own version, first seen Aug 13, 2026
Used with
Projects with it also use performance-testing, e2e-testing and 3 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
belokonmSkillperformance-testing
Performance testing specialist for load testing, stress testing, and performance optimization across applications and infrastructure
Also in 3 projects that use this
Svenja-devSkille2e-testing
Also in 3 projects that use this
MicrosoftSkillapi-design
Guide for designing and documenting RESTful APIs. Use when asked to design an API, create endpoints, or document an API.
Also in 5 projects that use this
SentrySkillsecurity-review
Finds exploitable application security vulnerabilities in code changes. Use for Warden security scans, appsec review, OWASP-style checks, authentication or authorization bugs, injection, XSS, SSRF, path traversal, secrets, unsafe crypto, webhook verification, open redirects, or sensitive data exposure.
Also in 4 projects that use this
GoogleSkillcode-review
Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.
Also in 4 projects that use this
Other versions17 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 17
- fugazi/test-automation-skills-agents★ 245same name
- idavidov13/agentic-playwright★ 222same name
- petrkindlmann/qa-skills★ 160same name
- Strategic-Automation/violin★ 145same name
- fishzjp/qa-skills★ 35same name
- mindfortai/security-skills★ 16same name
- kevinnft/ai-agent-skills★ 13same name
- vikisingh23/neuraforge-ai★ 4same name
- int2t05/engineering-skills★ 3same name
- HACK-WU/skills★ 2same name
7 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository18 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- accessibility-auditSkill
- backend-testingSkill
- browser-testingSkill
- debuggingSkill
- ironbee-android-devtools-cliSkill
- ironbee-backend-devtools-cliSkill
- ironbee-browser-devtools-cliSkill
- ironbee-node-devtools-cliSkill
- ironbee-python-devtools-cliSkill
- ironbee-terminal-devtools-cliSkill
- mobile-testingSkill
- observabilitySkill
- performance-auditSkill
- react-debuggingSkill
- terminal-testingSkill
- visual-testingSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 15 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Test browser-side API integrations by mocking responses, intercepting requests, and monitoring network traffic from the page perspective.
- Very specific: line 187
When testing against a real backend and need to debug why an endpoint fails or returns unexpected data, use ironbee-node-devtools-cli:
- Distinctive: line 212
Test error scenarios: not just happy paths
“Common” is measured: kept by at least 6 in 10 of the 15 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
API Testing Skill
Test browser-side API integrations by mocking responses, intercepting requests, and monitoring network traffic from the page perspective.
Server-side API testing — driving real backend endpoints over HTTP/1.1+HTTP/2, gRPC, GraphQL, or WebSocket, correlating with server logs (file/Docker/Kubernetes), and asserting on database state — belongs in the
backend-testingskill.
When to Use
This skill activates when:
- User wants to test API integrations
- User needs to mock backend responses
- User wants to simulate error scenarios
- User asks about request interception
- User needs to test offline behavior
Capabilities
Response Mocking
ironbee-browser-devtools-cli stub mock-http-response \
--pattern "**/api/users" \
--response '{"action":"fulfill","status":200,"body":[{"id":1,"name":"Test"}]}'Request Interception
ironbee-browser-devtools-cli stub intercept-http-request \
--pattern "**/api/**" \
--modifications '{"headers":{"Authorization":"Bearer token"}}'Network Monitoring
ironbee-browser-devtools-cli --json o11y get-http-requests
ironbee-browser-devtools-cli --json o11y get-http-requests --resource-type fetch
ironbee-browser-devtools-cli --json o11y get-http-requests --status '{"min":400}'Stub Management
ironbee-browser-devtools-cli stub list
ironbee-browser-devtools-cli stub clear --stub-id <id>
ironbee-browser-devtools-cli stub clearCommon Scenarios
Mock Successful Response
ironbee-browser-devtools-cli stub mock-http-response \
--pattern "**/api/users" \
--response '{"action":"fulfill","status":200,"body":[{"id":1,"name":"Test"}]}'Simulate Server Error
ironbee-browser-devtools-cli stub mock-http-response \
--pattern "**/api/checkout" \
--response '{"action":"fulfill","status":500,"body":{"error":"Internal Server Error"}}'Simulate 404 Not Found
ironbee-browser-devtools-cli stub mock-http-response \
--pattern "**/api/missing" \
--response '{"action":"fulfill","status":404,"body":{"error":"Not Found"}}'Simulate Network Timeout
ironbee-browser-devtools-cli stub mock-http-response \
--pattern "**/api/slow-endpoint" \
--response '{"action":"abort","abortErrorCode":"timedout"}'Simulate Connection Failed
ironbee-browser-devtools-cli stub mock-http-response \
--pattern "**/api/offline" \
--response '{"action":"abort","abortErrorCode":"connectionfailed"}'Add Auth Header
ironbee-browser-devtools-cli stub intercept-http-request \
--pattern "**/api/**" \
--modifications '{"headers":{"Authorization":"Bearer test-token"}}'Modify Request Body
ironbee-browser-devtools-cli stub intercept-http-request \
--pattern "**/api/submit" \
--modifications '{"body":{"injected":"value"}}'Add Delay
ironbee-browser-devtools-cli stub mock-http-response \
--pattern "**/api/slow" \
--response '{"action":"fulfill","status":200,"body":{}}' \
--delay-ms 3000Simulate Flaky API
ironbee-browser-devtools-cli stub mock-http-response \
--pattern "**/api/unreliable" \
--response '{"action":"fulfill","status":503}' \
--chance 0.3One-Shot Mock
ironbee-browser-devtools-cli stub mock-http-response \
--pattern "**/api/once" \
--response '{"action":"fulfill","status":200,"body":{"first":true}}' \
--times 1Testing Workflow
SESSION="--session-id api-test"
# 1. Setup mocks before navigation
ironbee-browser-devtools-cli $SESSION stub mock-http-response \
--pattern "**/api/users" \
--response '{"action":"fulfill","status":200,"body":[{"id":1,"name":"Mock User"}]}'
# 2. Navigate to application
ironbee-browser-devtools-cli $SESSION navigation go-to --url "https://app.example.com"
ironbee-browser-devtools-cli $SESSION sync wait-for-network-idle
# 3. Interact with the app
ironbee-browser-devtools-cli $SESSION interaction click --selector "#load-users"
ironbee-browser-devtools-cli $SESSION sync wait-for-network-idle
# 4. Check network requests
ironbee-browser-devtools-cli $SESSION --json o11y get-http-requests
# 5. Verify UI shows mocked data
ironbee-browser-devtools-cli $SESSION content get-as-text --selector ".user-list"
# 6. List active stubs
ironbee-browser-devtools-cli $SESSION stub list
# 7. Clear all stubs
ironbee-browser-devtools-cli $SESSION stub clear
# 8. Cleanup
ironbee-browser-devtools-cli session delete api-testError Testing Workflow
SESSION="--session-id error-test"
# Mock error response
ironbee-browser-devtools-cli $SESSION stub mock-http-response \
--pattern "**/api/checkout" \
--response '{"action":"fulfill","status":500,"body":{"error":"Payment failed"}}'
# Navigate and trigger error
ironbee-browser-devtools-cli $SESSION navigation go-to --url "https://app.example.com/checkout"
ironbee-browser-devtools-cli $SESSION interaction click --selector "#pay-button"
ironbee-browser-devtools-cli $SESSION sync wait-for-network-idle
# Check error handling in UI
ironbee-browser-devtools-cli $SESSION content take-screenshot --name "error-state"
ironbee-browser-devtools-cli $SESSION content get-as-text --selector ".error-message"
# Cleanup
ironbee-browser-devtools-cli $SESSION stub clear
ironbee-browser-devtools-cli session delete error-testDebugging Backend During API Tests
When testing against a real backend and need to debug why an endpoint fails or returns unexpected data, use ironbee-node-devtools-cli:
# Connect to API server process
ironbee-node-devtools-cli --session-id api-debug debug connect --process-name "api"
# Set tracepoint on the handler
ironbee-node-devtools-cli --session-id api-debug debug put-tracepoint \
--url-pattern "routes/users.ts" \
--line-number 42
# Trigger the API from browser (or curl), then get snapshots
ironbee-node-devtools-cli --session-id api-debug --json debug get-probe-snapshots
# Or inspect backend console logs
ironbee-node-devtools-cli --session-id api-debug --json debug get-logs --search "error"Best Practices
- Use specific patterns to avoid mocking unintended requests
- Clear stubs after tests to prevent interference
- List stubs to debug unexpected behavior
- Use times limit for one-shot mocks
- Add delays to test loading states
- Test error scenarios not just happy paths
- Set up mocks before navigation for first-load testing
- Monitor actual requests to verify mocks are working
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

