I have been trying to simulate a good amount of concurrent users receiving a simple message containing the time the message was sent from the lightstreamer server.

I have been doing this by creating a new System Thread every 500ms (!) and creating a new client connection in it (because to initiate a new TcpClient, it needs to be in a new Thread (?)). The problem with this is of course that as soon as some 300 Threads are created a Thread Overflow Exception is thrown.

Can anyone enlighten me on how to achieve this in any way possible? I am doing this because I need to get visible results of a comet server stress/performance testing for my University thesis.

Would really appreciate any help! Thanks