• Home
Name Date Size #Lines LOC

..--

androidapp/03-May-2024-186140

BUILD.gnD03-May-20245.2 KiB185156

READMED03-May-20241.1 KiB3625

config_reader.ccD03-May-20241.9 KiB5538

config_reader.hD03-May-20241.4 KiB5433

create_network_tester_config.pyD03-May-20241 KiB3115

jni.ccD03-May-20242.1 KiB6951

network_tester_config.protoD03-May-2024328 1511

network_tester_packet.protoD03-May-2024400 1916

network_tester_unittest.ccD03-May-20241.2 KiB3821

packet_logger.ccD03-May-20241.7 KiB4521

packet_logger.hD03-May-20241.3 KiB4726

packet_sender.ccD03-May-20244.4 KiB134107

packet_sender.hD03-May-20242.2 KiB7248

parse_packet_log.pyD03-May-20245 KiB151111

server.ccD03-May-2024874 2411

test_controller.ccD03-May-20245.7 KiB159135

test_controller.hD03-May-20243.3 KiB9670

README

1This file explains how to run the network tester and how to analyze the results.
2
3create config files
4===================
5use create_network_tester_config.py  to create config files.
6you can add or change the AddConfig call in the main function to create a
7the desired network config.
8
9run network_tester_server
10=========================
11place the network config file next to the server binary and name it
12"server_config.dat".
13
14the network_tester_server should run on a server with a public IP address.
15
16the log file of network_tester_server will be created next to the binary with
17the name "server_packet_log.dat"
18
19
20run NetworkTesterMobile (apk)
21=============================
22change the IP and the port in the jni.cpp file and set it to the port and IP
23you run the network_tester_server on.
24
25place the network config file as "/mnt/sdcard/network_tester_client_config.dat"
26on the tester android phone.
27
28The log file of network_tester_server will be created at
29"/mnt/sdcard/network_tester_client_packet_log.dat"
30
31
32analyze the results
33====================
34run "python parse_packet_log.py -f <log_file_to_parse>" to analyze the
35log results.
36