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