Goal
We want to test:
1. how many players can be in the same world, moving around, before it
a) slows down the server
b) slows down the client
2. how many players can be in different worlds in the game, moving around, before it
a) slows down the server
b) slows down the client
Specification
We want to be able to run multiple browser instances or private tab (which ever is more convenient) on a computer. Each instance (or private tab) is logged in as a different user.
Get username and password from gdoc sheet or SVG file.
A script logs the users in from a file.
The script directs the users to go to the artworld scene
The script moves the user with a randomized timer, such that the server load is spread out over time, simulating a more common usecase.
On a client device we will check the performance:
1. desktop
2. slow laptop
3. android phone
4. iPhone
5. iPad
Technical
https://jamesbachini.com/browser-automation/