Skip to content
New issue

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

Cannot open multiple websockets #6

Closed
marcoeg opened this issue Aug 12, 2015 · 1 comment
Closed

Cannot open multiple websockets #6

marcoeg opened this issue Aug 12, 2015 · 1 comment

Comments

@marcoeg
Copy link

marcoeg commented Aug 12, 2015

When trying to open more than one websocket endpoint, only the first one is used.

$ tcpkali --websocket --message "ping" --message-rate=20 --latency-marker="\n" --verbose=3 devel.cometa.io:8000/v1/websockets/1/ca77d88d78ff01fbe816490e8fb436c61d9f3fb3 devel.cometa.io:8000/v1/websockets/2/1cc75625d88fce1777b6b5cf8dfd5344a3a2d0df

I get the double destination but messages are only sent to the first one.

Destination: [54.241.247.101]:8000
Destination: [54.241.247.101]:8000

@vlm
Copy link
Contributor

vlm commented Oct 28, 2015

Use -c 2 flag. By default, only one connection is opened, irrespectively of the number of destinations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants