I am playing with the OrbiterMicroNodeLoadTest.js.
In the page http://www.unionplatform.com/?page_id=2881 it says that in this load test,
But we I really run it, although there are many clients connected, it is always ONE of the clients keeps sending message to itself."Each connected client generates traffic for load testing by sending one message to itself every n milliseconds for long as it is connected."
It is easy to tell by adding
- Code: Select all
out(orbiter.getClientID());
before
- Code: Select all
msgManager.sendUPC(UPC.SEND_MESSAGE_TO_CLIENTS, "TEST", orbiter.getClientID());
in the addClient() function.
I'm wondering how to really make EVERY client send out messages very n milliseconds.