Generating Sample Data
This repository contains jMeter scripts and resources to generate sample data for sites.
##Requirements Apache jMeter (http://jmeter.apache.org/) must be installed on the server and to be executable
##Installation Clone the respository to a location on the server - this does not have to be web accessible.
##Use
-
Navigate to folder containing scripts
cd /path/to/infinitesamples
-
Run the script from command line using the relevant test plan and host
jmeter -n -t testplan-demo_moodle.jmx -Jhost="demo.infiniterooms.co.uk/moodle"
##Demo Moodle Sample Plan Generates a plan with a random number of users (1-20) and loops per user (1-30)
- Login
- View Site Calendar
- Browse Course
- Submit Online Text Assignment
- Post to a chat room
- Select an option in a straw poll
- Add an entry in the database module
- Reply to a forum discussion
- Start a new forum discussion
- Add a new glossary entry
- Attempt a multiple choice quiz
- Edit a Wiki page
- View a file resource
- View a web page resource
- View an external web site resource
###Modification A number of static module and instance IDs are defined in the "Module IDs" User Defined Variables element - changing these would allow adaptation to a different course. All other variables are dynamically generated and need not be altered.