Faking socket.io connection from command line
Once you have in place a failry complex socket.io + node.js setup, how could you make some tests without using the browser? Do you know if is it possible to create node.js clients that use socket.io to communicate with the "ma开发者_开发百科ster" node.js server? (the one to which are talking to the browsers). Of course, the logic in the browser would be copied in those clients, but still...
There is now the official socket.io-client by LearnBoost
npm -g install socket.io-client
I also made some tests using the phantomjs headless browser
精彩评论