Skip to content

cgoldberg/edx-load-tests

 
 

Repository files navigation

edX Load Tests Travis_

This repository is home to public load tests for edX software components. New tests should be developed here. Old tests should be scrubbed and moved here over time.

Getting Started

If you have not already done so, create and activate a virtualenv. Unless otherwise stated, assume all commands below are executed within said virtualenv.

Next, install load testing requirements.

$ pip install -r requirements.txt

Start Locust by providing the Locust CLI with a target host and pointing it to the location of your desired locustfile. For example,

$ locust --host=http://localhost:8009 -f programs

Repository Structure

Tests are organized into top-level packages. For examples, see csm and programs. A module called locustfile.py is included inside each test package, within which a subclass of the Locust class is defined. This subclass is imported into the test package's __init__.py to facilitate discovery at runtime.

License

The code in this repository is licensed under the AGPLv3 unless otherwise noted. Please see LICENSE.txt for details.

How To Contribute

Contributions are very welcome.

Please read How To Contribute for details.

Even though they were written with edx-platform in mind, the guidelines should be followed for Open edX code in general.

Reporting Security Issues

Please do not report security issues in public. Please email security@edx.org.

Mailing List and IRC Channel

You can discuss this code in the edx-code Google Group or in the #edx-code IRC channel on Freenode.

About

Open source load tests for edX software components

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 95.1%
  • Jupyter Notebook 3.0%
  • HTML 1.9%