Fault injection for an outbound HTTP boundary
For engineers adding repeatable transport failures without making tests depend on the network.
Works with
- Cursor
The prompt270 words · 3 blanks
What you fill in
- Implementation language
[language]ExampleGo - Test framework
[test_framework]ExampleRepository default - Injection boundary
[injection_boundary]ExampleHTTP client adapter
How to use it
- 1Open it in PromptVault. Find it in Coding, or search for “Fault injection for an outbound HTTP boundary”.
- 2Fill in the 3 blanks. implementation language, test framework and injection boundary — the only things the prompt cannot know.
- 3Copy and paste it into Cursor. That is the tool it is written for.
About this prompt
“Fault injection for an outbound HTTP boundary” is a advanced coding prompt. For engineers adding repeatable transport failures without making tests depend on the network. It is 270 words long and written to get a usable answer on the first message, in Cursor or any other chat assistant. Good for: testing, automation, architecture, first draft and deep dive. Like every prompt in PromptVault, it was written and edited in-house, and it works offline once the app is installed.
