chutney-testing / chutney-legacy

An opinionated test application to help you practice Specification by Example

Home Page:https://www.chutney-testing.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸš€ | Use a given proxy for HTTP tasks

boddissattva opened this issue Β· comments

commented

Describe your use case

I want to set a proxy definition to use for HTTP tasks.

Is your feature request related to a problem ?

For the moment, only Java System proxy is taken into account :
https://github.com/chutney-testing/chutney/blob/e590ac6be3f7bd55b09f0d8ad16791885081e7aa/task-impl/src/main/java/com/chutneytesting/task/http/domain/HttpClientFactory.java#L66

Describe the solution you'd like

I would like to set some properties on a target like the following ones :

  • http[s].proxy (locahost:3128 for example)
  • http[s].nonProxyHosts (localhost|127.0.0.1|10...|.example.com|etc for example)

The properties setted on target would override Java System proxy properties.

Link to examples

No response