Shopify / Shopify/toxiproxy

Test retries with toxiproxy

Open
#404 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.