Browse QA Engineers Section 6: API & Integration Testing

Mock Server Configuration

5 fill-in slots · from The AI Prompt Handbook for QA Engineers

Your details

0/5 filled

Mock Server Configuration

Generate mock server responses for testing this feature offline.

ENDPOINTS TO MOCK:
1. [Method] [URL][Description of response]
2. [Method] [URL][Description of response]
3. [Method] [URL][Description of response]

MOCK TOOL: [WireMock / MockWebServer / Charles Proxy / Postman Mock / custom]

For each endpoint, provide mock responses for:
1. Success response (200) — realistic data
2. Empty data response (200) — valid but empty collection
3. Error response (400) — validation error with field-level messages
4. Auth error (401) — expired token
5. Not found (404)
6. Server error (500)
7. Slow response (200 after 10-second delay)
8. Malformed response (invalid JSON)

Include the complete JSON body for each mock response.
Format for direct import into [mock tool].

Highlighted [slots] are still empty. Downloads are plain .txt — paste into any AI assistant.