---
# System prepended metadata

title: '#168802905 Proxy'

---

# #168802905 Proxy

https://www.pivotaltracker.com/story/show/168802905

## Scenario Test

### On Postman
```gherkin
Feature: Hit Hydra using proxy
```
##### 1. Positive Scenario
```gherkin=
Scenario Outline: Hit hydra using proxy success
    Given proxy with auth exists
    When User hit hydra with proxy and valid auth
    Then User get response code : <response_code>

    Examples: 
      | response_code |
      |            00 |
```

##### 2. Negative Scenario
```gherkin=
Scenario Outline: Hit hydra using proxy failed - invalid auth
    Given proxy with auth exists
    When User hit hydra with proxy : <proxy>
    Then User get response code : <response_code>
    And User get response_data : response_data

    Examples: 
      | proxy                      | response_code | response_data                 |
      | http://13.250.242.158:3128 |            91 | Proxy Authentication Required |

  Scenario Outline: Hit hydra using proxy failed - invalid proxy
    Given proxy with auth exists
    When User hit hydra with proxy : <proxy>
    Then User get response code : <response_code>
    And User get response_data : response_data

    Examples: 
      | proxy                 | response_code | response_data      |
      | asd                   |            91 | connection refused |
      | http://asd            |            91 | no such host       |
      | http://asd.com        |            91 | Method Not Allowed |
      | http://google.com     |            91 | Not Found          |
      | http://13.250.242.158 |            91 | Bad Request        |
      
```