How to stress test Moodle?

Re: How to stress test Moodle?

by Jeff White -
Number of replies: 0
+1 for jmeter.
recommend using blazemeter to analyze the data.
If you want to be fancy with drag and drop, actual user movement on the browser, etc. You will likely need to use a real browser. Jmeter can still be the driver of the stress test but you will need chromedriver installed that allows jmeter to control an actual browser. I recommend Katalon Recorder browser extension to record your browser actions then export them to jmeter. If you can figure out how to make multiple sessions with chromedriver please share as I have only able to get 1 user per desktop. This is likely to be your biggest hold up for a test that spawns 120 users that login, go to the course, and take the quiz.

If you are willing to do more basic load testing you can build your test script using the /admin/tool/generator/maketestplan.php & admin/tool/generator/maketestcourse.php Moodle has built in. I would be surprised if the load on the server is all that different from the basic quizzes and the drag and drop quizzes.
Average of ratings: Useful (1)