WebSocket stress testing
-
22-09-2019 - |
문제
I would like to do some stress testing to a WebSocket based application. Anyone knows a tool that may help me in this task?
Update: I forgot to mention, but I'm favoring open source or free tools, given that the tests I'm performing are not for production.
Thanks, Luís M. Costa
해결책
You could adapt the Visual Studio test edition coded webtests to make socket load tests instead of http tests.
Instrumentation is done from perfmon stats and can be stored in a database for more complex reporting.
This is free with the Test Edition SKU or the full Visual Studio licence, so will not be applicable depending on your toolset.
다른 팁
The usual web tools for stress testing are based on pooling (for this I would recommend SoapUI). The idea is to measure the response time for a given request. I don't think this would help to test the actual Web Sockets behavior because that doesn't involve a request; the server just sends data when it is available.