JMeter test plan generator: Difference between revisions

From MoodleDocs
No edit summary
m (added link to spanish translation of page)
Line 28: Line 28:
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]]

Revision as of 17:23, 12 October 2014

(This in only available from 2.5.2+ (Build: 20131004) onwards)

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