We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i tried to modify the following cmd: mqtt-benchmark --broker tcp://myhost:1883 --count 100 --size 100 --clients 100 --qos 2 --format text
to: mqtt-benchmark --broker ws://myhost:8083 --count 100 --size 100 --clients 100 --qos 2 --format text
but got errors like: 2020/08/09 02:13:35 Starting client 95 2020/08/09 02:13:35 Starting client 96 2020/08/09 02:13:35 Starting client 97 2020/08/09 02:13:35 Starting client 98 2020/08/09 02:13:35 Starting client 99 2020/08/09 02:13:36 CLIENT 48 had error connecting to the broker: Network Error : websocket: bad handshake 2020/08/09 02:13:36 CLIENT 55 had error connecting to the broker: Network Error : websocket: bad handshake 2020/08/09 02:13:36 CLIENT 98 had error connecting to the broker: Network Error : websocket: bad handshake 2020/08/09 02:13:36 CLIENT 30 had error connecting to the broker: Network Error : websocket: bad handshake 2020/08/09 02:13:36 CLIENT 31 had error connecting to the broker: Network Error : websocket: bad handshake 2020/08/09 02:13:36 CLIENT 72 had error connecting to the broker: Network Error : websocket: bad handshake ......
so, i was wondering hot to make a successful websocket test?
The text was updated successfully, but these errors were encountered:
Unfortunately the tool doesn't support WebSocket connection. Maybe you would be willing to investigate it and prepare a PR?
Sorry, something went wrong.
--broker ws://myhost/foo. Also works with wss for websockets over TLS
--broker ws://myhost/foo
wss
@krylovsk If this works, can we close this ticket @liufanghua2012 ?
any updates on the state?
No branches or pull requests
i tried to modify the following cmd:
mqtt-benchmark --broker tcp://myhost:1883 --count 100 --size 100 --clients 100 --qos 2 --format text
to:
mqtt-benchmark --broker ws://myhost:8083 --count 100 --size 100 --clients 100 --qos 2 --format text
but got errors like:
2020/08/09 02:13:35 Starting client 95
2020/08/09 02:13:35 Starting client 96
2020/08/09 02:13:35 Starting client 97
2020/08/09 02:13:35 Starting client 98
2020/08/09 02:13:35 Starting client 99
2020/08/09 02:13:36 CLIENT 48 had error connecting to the broker: Network Error : websocket: bad handshake
2020/08/09 02:13:36 CLIENT 55 had error connecting to the broker: Network Error : websocket: bad handshake
2020/08/09 02:13:36 CLIENT 98 had error connecting to the broker: Network Error : websocket: bad handshake
2020/08/09 02:13:36 CLIENT 30 had error connecting to the broker: Network Error : websocket: bad handshake
2020/08/09 02:13:36 CLIENT 31 had error connecting to the broker: Network Error : websocket: bad handshake
2020/08/09 02:13:36 CLIENT 72 had error connecting to the broker: Network Error : websocket: bad handshake
......
so, i was wondering hot to make a successful websocket test?
The text was updated successfully, but these errors were encountered: