Test retries with toxiproxy
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 12.4k
- Forks
- 509
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
i would like to test the retry function of my application which sends up to three HTTP-requests to an external API if it didn't get a response.
Is it possible to implement a function to toxiproxy that it discard the first two requests or a function that toxiproxy discard all requests in a specific period of time x and continues after that.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named in the issue. Start by locating toxiproxy's request-handling and toxic behavior tests, then define coverage for discarding the first two requests and for discarding requests during a time window; the work is done when the selected behavior is reliably testable for retrying clients.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- networking, testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100