Client to Load Test an Etherpad Instance
npm install etherpad-load-test-socket-io!Publish Status !Backend Tests Status
settings.json by setting "loadTest":true.
2. Reload Etherpad instance.
3. Install etherpad-load-test globally via npm install -g etherpad-load-test.
4. Use etherpad-loadtest command (cf. Usage).
(Important: Don't forget to set "loadTest":false afterwards)
Usage
etherpad-loadtest [ -l -a -d ]
Basic load test will increase # of lurkers and authors every 5 seconds until changesets are stopped processing in a timely fashion.
At this point the # of lurkers and authors tells the admin how many people could use their instance. Roughly. Take into account as documents grow they have heavier computing costs.
You should modify your tests to your use case.
$3
-l number of lurkers.
-a number of active authors.
-d duration in seconds to test for. Default is unlimited.
$3
- etherpad-loadtest(Basic Example, url defaults to http://127.0.0.1:9001)
- etherpad-loadtest http://127.0.0.1:9001 (Test specific Etherpad instance)
- etherpad-loadtest http://127.0.0.1:9001/p/test (Test specific Pad)
- etherpad-loadtest -d 60 (Test for 60 seconds)
- etherpad-loadtest -l 50 -a 10 (Test with 50 lurkers and 10 authors)
$3
etherpad-loadtest-multi [] (default is 10 pads)
(Example: etherpad-loadtest-multi 10`)