A docker-based client that can be used as a vantage point against a custom MobiPerf server.
The above architecture now supports Android phones as well as docker-based nodes for running 5 types of measurements - ping, DNS lookup, HTTP download, Traceroute and TCP Speed test.
To launch a docker-based node, run the below commands in order:
- Clone this repository:
git clone [email protected]:staveesh/mobiperf-simulator.git
- Change current directory to
mobiperf-simulator
cd mobiperf-simulator
- Create a
.env
file inside this directory and enter the following lines into it:
SERVER_PORT=value
MEASUREMENT_SERVER_ENDPOINT=ws://{mobiperf_host}:{mobiperf_port}/mobiperf
MOBIPERF_DEVICE_ID=value (A unique identifier)
MOBIPERF_SCHEDULE_FILE_PATH=/var/lib/schedule
- Launch the node:
docker-compose up --build