> On Tue, Feb 5, 2013 at 9:49 PM, xyz <
chang...@gmail.com> wrote:
>>
>> I like to know the best stress and load testing tool for sockjs with
>> node.js applications.
Unfortunately that ain't easy. I'd suggest to first get the numbers on
what percentage of your users use websockets.
With that handy, you could try to replicate traffic patterns,
and for example try opening 60% of websocket and 40%
of xhr sessions.
Load-testing websockets is fairly easy - all you need is a
decent websocket client, and make it to open hundreds
of connections.
Load-testing xhr transports is way harder, as it requires
a lot of state on the client. I don't think there is a decent
xhr-transport client that could be used for load testing.
(on second thought - xhr-streaming is hard to simulate,
writing an xhr-polling client should be doable)
Hope that helps.
Marek