HTTP Proxy
Fixture
Two devices A B, each with:
-
… and set up with the following Phone Numbers and Names:
Ensure both devices A and B are associated to the same Wi-Fi access point (router) with Internet access
Go to Serval main screen → Connect
Ensure that the Wi-Fi entry is ON (checkbox checked) and the Access Point name shown in small print is the same on A and B
Ensure Enable Services is ON (check the checkbox if necessary)
Go to peer list: Serval main screen → Contacts → List Phones On The Mesh)
Ensure that each device shows the other in its peer list
Test
On device A:
Go to Serval main screen → Proxy
Press Http Proxy Start button
On device B:
Go to Serval main screen → Proxy
ASSERT 55501 appears immediately beaneath Http Proxy heading
Press the 55501 entry
ASSERT After a short delay the Http Proxy 55501 entry turns green
ASSERT The third row of the screen shows 127.0.0.1:8123
On device B:
Go to Android System Settings → Wi-Fi → Advanced → Proxy
Set Host to 127.0.0.1, Port to 8123
Open Web Browser app
Browse to any web page
ASSERT All web pages load and display properly
Browse to a non-existent web page
ASSERT Browser displays Micro Proxy Not Found page (pink background)