JMeter test plan generator

Z MoodleDocs
Wersja z dnia 10:32, 1 paź 2013 autorstwa David Monllaó Olivé (dyskusja | edycje) (Created page with "{{Work in progress}} The JMeter test plan generator allows you to run performance tests over a Moodle course, it works along with https://github.com/moodlehq/moodle-performan...")
(różn.) ← poprzednia wersja | przejdź do aktualnej wersji (różn.) | następna wersja → (różn.)
Skocz do:nawigacja, szukaj

Note: This article is a work in progress. Please use the page comments or an appropriate moodle.org forum for any recommendations/suggestions for improvement.


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