Note: You are currently viewing documentation for Moodle 3.4. Up-to-date documentation for the latest stable version of Moodle is likely available here: JMeter test plan generator.

JMeter test plan generator: Difference between revisions

From MoodleDocs
No edit summary
(Developer tools template)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
(This in only available from 2.5.2+ (Build: 20131004) onwards)
{{Developer tools}}
 
The JMeter test plan generator allows you to run performance tests over a Moodle course, it works along with https://github.com/moodlehq/moodle-performance-comparison, you can find more info about how to use it in https://github.com/moodlehq/moodle-performance-comparison/blob/master/README.md
The JMeter test plan generator allows you to run performance tests over a Moodle course, it works along with https://github.com/moodlehq/moodle-performance-comparison, you can find more info about how to use it in https://github.com/moodlehq/moodle-performance-comparison/blob/master/README.md


Line 28: Line 27:
For more help:
For more help:
  php admin/tool/generator/cli/maketestplan.php --help
  php admin/tool/generator/cli/maketestplan.php --help
[[es:Generador de plan de prueba JMeter]]

Latest revision as of 13:29, 8 May 2015

The JMeter test plan generator allows you to run performance tests over a Moodle course, it works along with https://github.com/moodlehq/moodle-performance-comparison, you can find more info about how to use it in https://github.com/moodlehq/moodle-performance-comparison/blob/master/README.md

Requirements

This tool is for developer use only and should not be used on a live site. It is disabled unless you set the debugging option to DEVELOPER.

Finding the generator tool

The tool can be found in:

  • Web interface
    • The Site Administration block -> Development -> Make JMeter test plan
  • CLI
    • admin/tool/generator/cli/maketestplan.php

Usage

cd /moodle/dirroot
php admin/tool/generator/cli/maketestplan.php --size=S --shortname="course_short_name"

Options

  • Course shortname: Shortname of the test plan's target course (required)
  • Size: Size of the test plan to create XS, S, M, L, XL, or XXL options (required)
  • By pass check: Bypasses the developer-mode check (be careful!)
  • Update users password: Updates the target course users password

For more help:

php admin/tool/generator/cli/maketestplan.php --help