Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.10.x will end 8 November 2021 (12 months).
  • Bug fixes for security issues in 3.10.x will end 9 May 2022 (18 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

Differences Between: [Versions 310 and 402] [Versions 310 and 403]

   1  <?php
   2  // This file is part of Moodle - http://moodle.org/
   3  //
   4  // Moodle is free software: you can redistribute it and/or modify
   5  // it under the terms of the GNU General Public License as published by
   6  // the Free Software Foundation, either version 3 of the License, or
   7  // (at your option) any later version.
   8  //
   9  // Moodle is distributed in the hope that it will be useful,
  10  // but WITHOUT ANY WARRANTY; without even the implied warranty of
  11  // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12  // GNU General Public License for more details.
  13  //
  14  // You should have received a copy of the GNU General Public License
  15  // along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
  16  
  17  /**
  18   * Language strings.
  19   *
  20   * @package tool_generator
  21   * @copyright 2013 The Open University
  22   * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
  23   */
  24  
  25  $string['bigfile'] = 'Big file {$a}';
  26  $string['courseexplanation'] = 'This tool creates standard test courses that include many
  27  sections, activities, and files.
  28  
  29  This is intended to provide a standardised measure for checking the reliability
  30  and performance of various system components (such as backup and restore).
  31  
  32  This test is important because there have been many cases previously where,
  33  faced with real-life use cases (e.g. a course with 1,000 activities), the system
  34  does not work.
  35  
  36  Courses created using this feature can occupy a large amount of database and
  37  filesystem space (tens of gigabytes). You will need to delete the courses
  38  (and wait for various cleanup runs) to release this space again.
  39  
  40  **Do not use this feature on a live system**. Use only on a developer server.
  41  (To avoid accidental use, this feature is disabled unless you have also selected
  42  DEVELOPER debugging level.)';
  43  
  44  $string['coursesize_0'] = 'XS (~10KB; create in ~1 second)';
  45  $string['coursesize_1'] = 'S (~10MB; create in ~30 seconds)';
  46  $string['coursesize_2'] = 'M (~100MB; create in ~2 minutes)';
  47  $string['coursesize_3'] = 'L (~1GB; create in ~30 minutes)';
  48  $string['coursesize_4'] = 'XL (~10GB; create in ~2 hours)';
  49  $string['coursesize_5'] = 'XXL (~20GB; create in ~4 hours)';
  50  $string['coursewithoutusers'] = 'The selected course has no users';
  51  $string['createcourse'] = 'Create course';
  52  $string['createtestplan'] = 'Create test plan';
  53  $string['creating'] = 'Creating course';
  54  $string['done'] = 'done ({$a}s)';
  55  $string['downloadtestplan'] = 'Download test plan';
  56  $string['downloadusersfile'] = 'Download users file';
  57  $string['error_nocourses'] = 'There are no courses to generate the test plan';
  58  $string['error_noforumdiscussions'] = 'The selected course does not contain forum discussions';
  59  $string['error_noforuminstances'] = 'The selected course does not contain forum module instances';
  60  $string['error_noforumreplies'] = 'The selected course does not contain forum replies';
  61  $string['error_nonexistingcourse'] = 'The specified course does not exist';
  62  $string['error_nopageinstances'] = 'The selected course does not contain page module instances';
  63  $string['error_notdebugging'] = 'Not available on this server because debugging is not set to DEVELOPER';
  64  $string['error_nouserspassword'] = 'You need to set $CFG->tool_generator_users_password in config.php to generate the test plan';
  65  $string['fullname'] = 'Test course: {$a->size}';
  66  $string['maketestcourse'] = 'Make test course';
  67  $string['maketestplan'] = 'Make JMeter test plan';
  68  $string['notenoughusers'] = 'The selected course does not have enough users';
  69  $string['pluginname'] = 'Development data generator';
  70  $string['progress_checkaccounts'] = 'Checking user accounts ({$a})';
  71  $string['progress_coursecompleted'] = 'Course completed ({$a}s)';
  72  $string['progress_createaccounts'] = 'Creating user accounts ({$a->from} - {$a->to})';
  73  $string['progress_createassignments'] = 'Creating assignments ({$a})';
  74  $string['progress_createbigfiles'] = 'Creating big files ({$a})';
  75  $string['progress_createcourse'] = 'Creating course {$a}';
  76  $string['progress_createforum'] = 'Creating forum ({$a} posts)';
  77  $string['progress_createpages'] = 'Creating pages ({$a})';
  78  $string['progress_createsmallfiles'] = 'Creating small files ({$a})';
  79  $string['progress_enrol'] = 'Enrolling users into course ({$a})';
  80  $string['progress_sitecompleted'] = 'Site completed ({$a}s)';
  81  $string['shortsize_0'] = 'XS';
  82  $string['shortsize_1'] = 'S';
  83  $string['shortsize_2'] = 'M';
  84  $string['shortsize_3'] = 'L';
  85  $string['shortsize_4'] = 'XL';
  86  $string['shortsize_5'] = 'XXL';
  87  $string['sitesize_0'] = 'XS (~10MB; 3 courses, created in ~30 seconds)';
  88  $string['sitesize_1'] = 'S (~50MB; 8 courses, created in ~2 minutes)';
  89  $string['sitesize_2'] = 'M (~200MB; 73 courses, created in ~10 minutes)';
  90  $string['sitesize_3'] = 'L (~1\'5GB; 277 courses, created in ~1\'5 hours)';
  91  $string['sitesize_4'] = 'XL (~10GB; 1065 courses, created in ~5 hours)';
  92  $string['sitesize_5'] = 'XXL (~20GB; 4177 courses, created in ~10 hours)';
  93  $string['size'] = 'Size of course';
  94  $string['smallfiles'] = 'Small files';
  95  $string['targetcourse'] = 'Test target course';
  96  $string['testplanexplanation'] = 'This tool creates a JMeter test plan file along with the user credentials file.
  97  
  98  This test plan is designed to work along with {$a}, which makes easier to run the test plan in a specific Moodle environment, gathers information about the runs and compares the results, so you will need to download it and use it\'s test_runner.sh script or follow the installation and usage instructions.
  99  
 100  You need to set a password for the course users in config.php (e.g. $CFG->tool_generator_users_password = \'moodle\';). There is no default value for this password to prevent unintended usages of the tool. You need to use the update passwords option in case your course users have other passwords or they were generated by tool_generator but without setting a $CFG->tool_generator_users_password value.
 101  
 102  It is part of tool_generator so it works well with the courses generated by the courses and the site generators, it can
 103  also be used with any course that contains, at least:
 104  
 105  * Enough enrolled users (depends on the test plan size you select) with the password reset to \'moodle\'
 106  * A page module instance
 107  * A forum module instance with at least one discussion and one reply
 108  
 109  You might want to consider your servers capacity when running large test plans as the amount to load generated by JMeter
 110  can be specially big. The ramp up period has been adjusted according to the number of threads (users) to reduce this kind
 111  of issues but the load is still huge.
 112  
 113  **Do not run the test plan on a live system**. This feature only creates the files to feed JMeter so is not dangerous by
 114  itself, but you should **NEVER** run this test plan in a production site.
 115  
 116  ';
 117  $string['testplansize_0'] = 'XS ({$a->users} users, {$a->loops} loops and {$a->rampup} rampup period)';
 118  $string['testplansize_1'] = 'S ({$a->users} users, {$a->loops} loops and {$a->rampup} rampup period)';
 119  $string['testplansize_2'] = 'M ({$a->users} users, {$a->loops} loops and {$a->rampup} rampup period)';
 120  $string['testplansize_3'] = 'L ({$a->users} users, {$a->loops} loops and {$a->rampup} rampup period)';
 121  $string['testplansize_4'] = 'XL ({$a->users} users, {$a->loops} loops and {$a->rampup} rampup period)';
 122  $string['testplansize_5'] = 'XXL ({$a->users} users, {$a->loops} loops and {$a->rampup} rampup period)';
 123  $string['updateuserspassword'] = 'Update course users password';
 124  $string['updateuserspassword_help'] = 'JMeter needs to login as the course users, you can set the users password using $CFG->tool_generator_users_password in config.php; this setting updates the course user\'s password according to $CFG->tool_generator_users_password. It can be useful in case you are using a course not generated by tool_generator or $CFG->tool_generator_users_password was not set when you created the test courses.';
 125  $string['privacy:metadata'] = 'The Development data generator plugin does not store any personal data.';