Closed VasiliyRusin closed 5 years ago
Hi @VasiliyRusin
This is by design, when you set json_output to False it will print the results to stdout/stderr. See docs here: https://iperf3-python.readthedocs.io/en/latest/modules.html#iperf3.IPerf3.json_output
If you want to capture the output in a variable you will need to catch the stdout output and store it.
There is my function
If I set client.json_output = False, I will get "None". If I set output as json, everything work like a charm.
iperf version: