Testing Legacy Apps on Android, Episode 4: Set Up Your Local Web Server | Kodeco

This content was released on Feb 9 2023. The official support period is 6-months from this date.

Mock web server sets up a local web server that runs on a random port on an Android Device. To use this local web server along with retrofit you need to point your retrofit instance at this local web server instead of the one at petfinder. Here I am going to show you how to do just that.


This is a companion discussion topic for the original entry at https://www.kodeco.com/32839187-testing-legacy-apps-on-android/lessons/4