thiezn / iperf3-python

Python wrapper around iperf3
https://iperf3-python.readthedocs.org/
MIT License
111 stars 51 forks source link

Added the option of fetching the server output on the client side. #48

Open franciscolfraga opened 5 years ago

franciscolfraga commented 5 years ago

Added the option of fetching the server output on the client side. A boolean variable (get_server_output) was added to the Client class that enables the --get-server-output argument on the original iperf3 tool when set to True. The class TestResult has also a new parameter (server_output) that is set to None when the information is not available. In addition, some tests where performed on the implemented features.

coveralls commented 5 years ago

Coverage Status

Coverage increased (+0.07%) to 97.772% when pulling a8b8bcc590bc70c6a3767e29b09ea83cb4fb7a21 on franciscolfraga:get-server-output into 094a6e043f44fb154988348603661b1473c23a50 on thiezn:master.

coveralls commented 5 years ago

Coverage Status

Coverage increased (+0.07%) to 97.772% when pulling a8b8bcc590bc70c6a3767e29b09ea83cb4fb7a21 on franciscolfraga:get-server-output into 094a6e043f44fb154988348603661b1473c23a50 on thiezn:master.

coveralls commented 5 years ago

Coverage Status

Coverage increased (+0.07%) to 97.772% when pulling a8b8bcc590bc70c6a3767e29b09ea83cb4fb7a21 on franciscolfraga:get-server-output into 094a6e043f44fb154988348603661b1473c23a50 on thiezn:master.

coveralls commented 5 years ago

Coverage Status

Coverage increased (+0.07%) to 97.772% when pulling a8b8bcc590bc70c6a3767e29b09ea83cb4fb7a21 on franciscolfraga:get-server-output into 094a6e043f44fb154988348603661b1473c23a50 on thiezn:master.

coveralls commented 5 years ago

Coverage Status

Coverage increased (+0.07%) to 97.772% when pulling a8b8bcc590bc70c6a3767e29b09ea83cb4fb7a21 on franciscolfraga:get-server-output into 094a6e043f44fb154988348603661b1473c23a50 on thiezn:master.

coveralls commented 5 years ago

Coverage Status

Coverage increased (+0.07%) to 97.772% when pulling a8b8bcc590bc70c6a3767e29b09ea83cb4fb7a21 on franciscolfraga:get-server-output into 094a6e043f44fb154988348603661b1473c23a50 on thiezn:master.

franciscolfraga commented 5 years ago

Only for complementing purposes, the --get-server-output feature is available since the iperf release 3.0.5., which suits the tool versions that iperf3-python was tested against.