Https ToxiProxy & Postman
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 12.4k
- Forks
- 510
- PR merge metrics
- No merged PRs in 30d
Description
Hi All,
I have an upstream https service, in which I would like to inject delay using toxiproxy.
Postman ( https://x.y.com:5556/a/b/c + request ) <-> Response (works)
Postman ( https://localhost:10200/ + request ) <-> ToxiProxy ( refer below ) <-> No Response
I am on macOS,
Below are the settings I have tried.
Start the server ./toxiproxy-server
- Toxiproxy-cli create https-https --Listen localhost:10200 --upstream https://x.y.com:5556/a/b/c
or - Toxiproxy-cli create https-https --Listen localhost:10200 --upstream https://x.y.com/a/b/c:5556
With 1st
INFO[0179] Accepted client client=127.0.0.1:49200 name https-https proxy=127.0.0.1:10200 upstream:https://x.y.com:5556/a/b/c
ERRO[0179] Unable to open connection to upstream client=127.0.0.1:49200 name https-https proxy=127.0.0.1:10200 upstream:https://x.y.com:5556/a/b/c
With 2nd
INFO[0179] Accepted client client=127.0.0.1:49200 name https-https proxy=127.0.0.1:10200 upstream:https://x.y.com/a/b/c:5556
ERRO[0179] Unable to open connection to upstream client=127.0.0.1:49200 name https-https proxy=127.0.0.1:10200 upstream:https://x.y.com/a/b/c:5556
Today, I am using postman as client, I would like to expand to Jmeter, Java HttpURLConnection.
Can someone please guide, point to any tutorials etc.
Thanks and gratitude in advance.
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
Start by reproducing the HTTPS proxy setup from the issue with toxiproxy-server and the two toxiproxy-cli create commands on macOS. Compare the direct Postman request with the localhost:10200 request and inspect the logged upstream connection failure; done means a request receives a response through ToxiProxy.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, postman
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100