Which version of the org.apache.commons.math and net.tootallnate.websocket.WebSocketClient are you using?
Hi,
I'm just trying to build your benchmark but I'm having some problems with the Java libraries. Could you tell me which version of
org.apache.commons.math net.tootallnate.websocket.WebSocketClient
you originally worked with? Doesn't seem to be working with the latest versions.
Thanks
Edit: Sorry, it does work I was checking out the HEAD of the net.tootallnate.websocket.WebSocketClient git repo rather than the latest stable release (0.7 at the time of writing)
Looks like apache.commons.math is 2.2.
Looks like WebSocketClient is under active development. I don't recall if I pulled from master or used the 0.7 packaged download. Which did you try?
If I pulled from master, it would have been on December 1, so it was this tree: https://github.com/TooTallNate/Java-WebSocket/tree/816e3841f97f0d10f63e3d603f8a3edb6a300ea4
I know this is super unhelpful and there should be clearer docs on this stuff. If you did manage to get it working with modern versions of both libraries I would be super grateful to pull those kinds of changes in!
Ok I have it sort of running now. For anybody else trying to run this you need the following node_modules
async colors commander connect express express-config mime pkginfo qs socket.io socket.io-client stack-trace uglify-js winston
to run the server.js
I used the 0.7 version of Java-WebSocket here: https://github.com/TooTallNate/Java-WebSocket/tags And got the org.apache.commons.math library here: http://commons.apache.org/math/download_math.cgi
Finally, to test you need to change the following line in client/SocketIOLoadTester.java:
-SocketIOClient client = new SocketIOClient(SocketIOClient.getNewSocketURI("roar.media.mit.edu:8080"), this); +SocketIOClient client = new SocketIOClient(SocketIOClient.getNewSocketURI("localhost:8080"), this);
Quite so. If I can find a free second I'll try to put all this in a README file and fix the default server issue (since clearly you don't want to test against my server).
A lot of those modules are dependencies of some other module. I think the actual set that I first-class depend on is pretty small. I can work that out.