Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Load testing Moodle with JMeter

From MoodleDocs

This article is a stub until we collect enough information about the developments since previous update in 2012. All improvements are welcome!

You can also add your comments to the discussion page or to the the discussion in the General developer forum.


The Apace JMeter has always been the most common load testing resp. performance measurement tool for Moodle. Since release 2.5, Moodle makes the process vastly simpler through two built-in scripts Make test course (Site administration > Development > Make test course) and Make JMeter test plan (Site administration > Development > Make JMeter test plan) augmented by the add-ons Moodle performance comparison. This document is about the two built-in scripts.

Warning: Do not run these scripts on a production system!

These tests load the server to its limits and beyond, making it nonreponsive. Even if you can afford down-times don't run them on a separate Moodle instance on the production server: their effect on the DBMS is undocumented.

Make test course

(to be filled)

Make JMeter test plan

(to be filled)

Running the test plan on JMeter

(to be filled)


See also