• Advertisement
Sign in to follow this  

Simlulating Many Clients

This topic is 2089 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

How would I go around simulating multiple (50+ or more clients) connecting to a game server I made for testing purposed. I also want to artificially add latency.

Replies are appreciated, thanks.

Share this post


Link to post
Share on other sites
Advertisement
You build a headless client (ideally that runs on UNIX) and start up many copies of it.
You can add latency with tools like "netem."

Share this post


Link to post
Share on other sites
I have a related problem. I have thought about headless clients too. What is a good approach to writing one, given that the lack of user input will change behaviour? Just test idle behaviour? Test with scripted user input? Test by recording a real session with a user and replay it on multiple headless clients?

Share this post


Link to post
Share on other sites

I have a related problem. I have thought about headless clients too. What is a good approach to writing one, given that the lack of user input will change behaviour? Just test idle behaviour? Test with scripted user input? Test by recording a real session with a user and replay it on multiple headless clients?


Yes, yes, and yes.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement