Jump to content

Load Testing (headless phantomjs scripted with selenium)


StCredZero
 Share

Recommended Posts

I'm developing a multiplayer game server for a 60 fps space combat game, and I'm at the point where I can create any number of logins to do load testing. All I have to do is to log in so that I can measure websocket traffic. I've been trying to use selenium webdriver against phantomjs with just two clients (one a manual browser login, the other phantomjs), but somehow the phantomjs instance causes what looks like massive network lag. Just using two browsers manually produces normal lag-free performance. 

 

I would eventually like to make scripts that start 80 or 150 headless browsers and simply log those in automatically, but I'm stuck at two clients with odd behavior I can't easily diagnose. 

 

Does anyone out there do something like this? (Automated client login using many, many headless browser processes as a load test.) What software do you use to script it?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...