Python-Meteora: A performance testing web application made in Python

Alt text

Meteora

A performance testing web application made in Python

Installation

Note: Meteora requires Python 3.4

mkvirtualenv meteora
pip install -e .

Running tests

First, install tox:

sudo pip install tox

Then run:

tox

Contributors

  • Davide Ceretti
  • Raúl Cumplido
  • Fran Hermoso
  • Anshuman Kanetkar
  • Bri Murphy
  • Aleksej Polukarov

Comments

  • Reflection in the requests object
    Reflection in the requests object

    Feb 7, 2015

    There are too many ifs in https://github.com/raulcd/meteora/blob/master/meteora/requestor.py#L60-L75

    Please use reflection instead

    REQUEST = requests.Session()
    func = getattr(REQUEST, METHOD.lower())
    r = func(ENDPOINT.substitute(info),
    params=info,
    headers=headers)
    [...]
    
    enhancement 
    Reply
  • Add functionality to find maximum number of requests
    Add functionality to find maximum number of requests

    Feb 8, 2015

    Setting a trigger of errors (%?) try to find which is the maximum number of requests that the server is able to handle.

    enhancement 
    Reply
  • Split django app branch on another project
    Split django app branch on another project

    Feb 8, 2015

    Separate the django app branch (https://github.com/raulcd/meteora/tree/django_app) into another project to integrate with meteora.

    enhancement 
    Reply
  • Register the application on Pypi
    Register the application on Pypi

    Feb 15, 2015

                                                                                                                                                                                                           
    Reply
  • Create CLI
    Create CLI

    Feb 15, 2015

    pip install -e .
    metereoa --help
    
    Reply
  • Fix flake8 violations
    Fix flake8 violations

    Feb 15, 2015

    ./meteora/requestor.py:58:34: E901 SyntaxError: invalid syntax
    ./meteora/server.py:35:1: W293 blank line contains whitespace
    ./meteora/server.py:38:1: F401 'time' imported but unused
    ./meteora/server.py:42:1: W293 blank line contains whitespace
    ./meteora/server.py:44:1: W293 blank line contains whitespace
    ./meteora/server.py:48:1: E302 expected 2 blank lines, found 1
    ./meteora/server.py:51:1: W293 blank line contains whitespace
    ./meteora/server.py:56:1: W293 blank line contains whitespace
    ./meteora/server.py:59:1: W293 blank line contains whitespace
    ./meteora/server.py:60:1: E302 expected 2 blank lines, found 1
    ./meteora/server.py:67:1: E302 expected 2 blank lines, found 1
    ./meteora/server.py:73:29: E128 continuation line under-indented for visual indent
    ./meteora/server.py:74:29: E128 continuation line under-indented for visual indent
    ./meteora/server.py:74:80: E501 line too long (80 > 79 characters)
    ./meteora/server.py:75:29: E128 continuation line under-indented for visual indent
    ./meteora/server.py:76:29: E128 continuation line under-indented for visual indent
    ./meteora/server.py:77:29: E128 continuation line under-indented for visual indent
    ./meteora/server.py:78:29: E128 continuation line under-indented for visual indent
    ./meteora/server.py:79:29: E128 continuation line under-indented for visual indent
    ./meteora/server.py:80:29: E128 continuation line under-indented for visual indent
    ./meteora/server.py:81:29: E128 continuation line under-indented for visual indent
    ./meteora/server.py:81:80: E501 line too long (81 > 79 characters)
    ./meteora/server.py:82:55: E231 missing whitespace after ','
    ./meteora/server.py:83:28: E231 missing whitespace after ','
    ./meteora/server.py:90:1: W293 blank line contains whitespace
    ./meteora/server.py:91:1: E302 expected 2 blank lines, found 1
    ./meteora/server.py:96:1: W293 blank line contains whitespace
    ./meteora/server.py:105:1: W293 blank line contains whitespace
    ./meteora/server.py:108:11: W292 no newline at end of file
    ./meteora/utils.py:7:1: W391 blank line at end of file
    
    Reply
  • Add tox.ini
    Add tox.ini

    Feb 15, 2015

    Test on different versions of Python, flake8 and all of that

    Reply
  • Integrate with TravisCI
    Integrate with TravisCI

    Feb 15, 2015

    Optionally you want to give coveralls.io a try

    Reply
  • Add .travis.yml
    Add .travis.yml

    Mar 4, 2015

    @raulcd You also need to enable travis (https://travis-ci.com/) to run CI on merges and PRs.

    Fixes https://github.com/raulcd/meteora/issues/8

    Reply
  • Review that requests are made asynchronously
    Review that requests are made asynchronously

    Feb 8, 2015

    Is requests permitting doing requests asynchronously. Should we use aiohttp?

    bug 
    Reply
  • Add tox.ini and setup.py
    Add tox.ini and setup.py

    Feb 15, 2015

    Fixes https://github.com/raulcd/meteora/issues/6

    Reply