Testing Latency and Throughput

How to test for latency and throughput between Radiomaster TX 16S and Pixhawk ?