QA-T38

Pre-auth : 11 - HTTP Proxy set up

OBJECTIVE
Additional detail to help the purpose of the test be clear:
The purpose of this test is to verify that proxy settings are saved and the gateway uses the specified proxy for communicating with factory

critical criteria of test (CCT)
  • Proxy settings are stored and the gateway uses the proxy for communicating with factory
PRECONDITION
- You have a proxy server setup and know the proxy IP, port and credentials. See this for QA proxy server info.
- You are connected to the gateway through the wired lan or access point.
- The gateway does not have proxy enabled 
- you know your gateway password and you are logged into the gateway and currently in the Network config step of the setup

PROXY:
  • Start proxy server (from confluence if unable to load)
  • Part of test involves accessing embedded website.  Example of embedded website to use:  https://www.youtube.com
  • You will need to setup and use local proxy for this test case.  To do so, see the info contained in the Proxy sections of the Confluence page:  https://docs.google.com/document/d/14_CaDxa5kIT2Ir5Wb1GkX3J0eBZsdzQ34v2YaRa82gY/edit#heading=h.i7rla188k2ck
  • To set proxy on Mac: Go into system settings on MAC to set Proxy for HTTP and HTTPS (enter IP address, port, user and password) and click OK, and before you plug cable from Proxy box to the MAC, you will get a window prompting you to enter the user and pwd for Proxy

Hardware needed to set up for Proxy:
  • In the Lab here at HQ, for Proxy, we have a hub on the metal wall at QA station and the Squid box that is on the Engineering desk. 
    • Q for Edge team:  - What hardware specifically would Budapest QA need in their Hardware Lab in order to set up to use Proxy?
  • A from Misch on Edge team:   - 
    • — The hub is a small router. Anything like this will do. It is configured to block all traffic except that to the proxy box.
    • — The squid box can be any small computer (i.e. raspberry pi) that supports Squid and MitmProxy.
  •            — It should be dedicated hardware to prevent them from going missing or being borrowed for any reason.
    • — QA team would want some kind of UI for accessing the logs so Ubuntu or similar would be preferred.

      and from Matt A: -
       — Squid and proxy setup is a great first x86 bitbake project

On Mac: 
Go into system settings on MAC to set Proxy for HTTP and HTTPS (enter IP address, port, user and password) and click OK, and before you plug cable from Proxy box to the MAC, you will get a window prompting you to enter the user and pwd for Proxy.

On Windows: 
Right-click on Windows icon and search for Proxy.  Click toggle to enable Proxy and enter the Ip address, port, user id and password. 

Covers

overview
routes