Coder Social home page Coder Social logo

appsembler / edx-load-tests Goto Github PK

View Code? Open in Web Editor NEW

This project forked from edx/edx-load-tests

0.0 14.0 1.0 10.88 MB

Open source load tests for edX software components

License: Apache License 2.0

Python 91.39% HTML 1.04% Jupyter Notebook 1.63% Makefile 1.50% JavaScript 3.70% Shell 0.74%

edx-load-tests's Introduction

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.

Prepare a load test using its make target. This should install pip dependencies and a settings file. For example:

$ make <test-name>

If you are testing against a specific environment, such as devstack:

$ LT_ENV=devstack make <test-name>

Optionally modify the settings:

$ editor settings_files/<test-name>.yml

Start Locust by supplying a target host and pointing it to the location of your desired load test module:

$ locust --host=http://localhost:8009 -f loadtests/<test-name>

Repository Structure

path description
helpers/* generally helpful modules for writing load tests
util/* standalone scripts and data
loadtests/<test-name>/* a load test module
loadtests/<test-name>/__init__.py contains code which exposes a Locust subclass
loadtests/<test-name>/requirements.txt all pip requirements for running this load test
settings_files/<test-name>.yml settings for <test-name>

Load test modules are organized under the top level loadtests directory. A locustfile.py is included inside each load test module, 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. Settings for each test are read from settings_files/<testname>.yml, and examples are provided.

License

The code in this repository is licensed under the Apache License, Version 2.0, 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 [email protected].

Mailing List and Slack Channel

You can discuss this code in the edx-code Google Group or in the #general slack channel.

edx-load-tests's People

Contributors

cpennington avatar pwnage101 avatar robrap avatar feanil avatar dianakhuang avatar alawibaba avatar maxrothman avatar amangano-edx avatar davec-edx avatar muhammad-ammar avatar vkaracic avatar clintonb avatar cgoldberg avatar

Watchers

Anders Pearson avatar John Baldwin avatar Anna Callahan avatar Omar Al-Ithawi avatar Deni Bertovic avatar James Cloos avatar Morgan Robertson avatar Maximiliano Fernandez avatar Amir Tadrisi avatar Nishant Dixit avatar Matthew Harrington avatar Matej Grozdanović avatar Scott avatar  avatar

Forkers

bhanditz

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.