Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configurable exceptions for use of system proxy #2988

Open
wandi34 opened this issue Jun 22, 2022 · 0 comments
Open

Configurable exceptions for use of system proxy #2988

wandi34 opened this issue Jun 22, 2022 · 0 comments

Comments

@wandi34
Copy link

wandi34 commented Jun 22, 2022

  1. Newman Version (can be found via newman -v): 5.3.2
  2. OS details (type, version, and architecture): Mac OS 12.2.1, Win 10 x64
  3. Are you using Newman as a library, or via the CLI? Lib
  4. Did you encounter this recently, or has this bug always been there: Always been there
  5. Expected behaviour: The newman command should have be configurable to use the system proxy not for specified urls
  6. Command / script used to run Newman: newman.run

Steps to reproduce the problem:

  1. Use newman in a node application
  2. Setup a small local proxy for testing purpose which loggs incoming requests
  3. Configure this proxy to use in newman

I want to code a node application for my customer which makes requests against their local server (intranet). To do this, i configured newman to get the environment and collection folders from the postman api (internet). The corporate network is secured by a http proxy. When I use newman, the system proxy of the use will be used. So all requests (postman api and the ones against the local server) will be executed against the corporate proxy. I dont want this behaviour. Only postman api requests should go through the proxy. I dont want to use the proxy for the local destination server.

I cant find a configuration option in the lib to to this. There is just the NO_PROXY option when using newman via CLI, right?

Thanks for help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants