obeliss-nlesc / otree-waiting-room

Apache License 2.0
0 stars 0 forks source link

Create load testing framework #18

Open recap opened 3 months ago

ewan-escience commented 3 months ago

Two suitable options are:

  1. k6 Open Source, where you write tests in JavaScript
  2. Locust, where you write tests in Python
ewan-escience commented 3 months ago

Since you also need to test client side behaviour, e.g. keeping WebSocket connections open, it seems like Locust can not be used. An alternative to k6 can be Artillery, which allows you to load test with connections coming from different computers. You need an AWS account for this, and you will be charged for this of course.

recap commented 2 weeks ago

Createed a script with virtual users to hit the server