Sha256: 547a368b67858944339b98f9868e8fd51fefed94fbed94e4849d3e768c57a46f

Contents?: true

Size: 1.47 KB

Versions: 4

Compression:

Stored size: 1.47 KB

Contents

Feature: proxy configuration options

Scenario: Proxy settings are provided as configuration options
  When I set environment variable "BUGSNAG_PROXY_HOST" to "maze-runner"
  And I set environment variable "BUGSNAG_PROXY_PORT" to "9339"
  And I set environment variable "BUGSNAG_PROXY_USER" to "tester"
  And I set environment variable "BUGSNAG_PROXY_PASSWORD" to "testpass"
  When I run the service "plain-ruby" with the command "bundle exec ruby configuration/proxy.rb"
  Then I wait to receive a request
  And the "proxy-authorization" header equals "Basic dGVzdGVyOnRlc3RwYXNz"
  And the event "metaData.proxy.user" equals "tester"

Scenario: Proxy settings are provided as the HTTP_PROXY environment variable
  Given I set environment variable "http_proxy" to "http://tester:testpass@maze-runner:9339"
  When I run the service "plain-ruby" with the command "bundle exec ruby configuration/proxy.rb"
  Then I wait to receive a request
  And the "proxy-authorization" header equals "Basic dGVzdGVyOnRlc3RwYXNz"
  And the event "metaData.proxy.user" equals "tester"

Scenario: Proxy settings are provided as the HTTPS_PROXY environment variable
  Given I set environment variable "https_proxy" to "http://tester:testpass@maze-runner:9339"
  When I run the service "plain-ruby" with the command "bundle exec ruby configuration/proxy.rb"
  Then I wait to receive a request
  And the "proxy-authorization" header equals "Basic dGVzdGVyOnRlc3RwYXNz"
  And the event "metaData.proxy.user" equals "tester"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
bugsnag-6.15.0 features/plain_features/proxies.feature
bugsnag-6.14.0 features/plain_features/proxies.feature
bugsnag-6.13.1 features/plain_features/proxies.feature
bugsnag-6.13.0 features/plain_features/proxies.feature