Skip to main content

Locust custom client: odoorpc

Project description

Locust odoorpc

Description

Locust custom client integrating the odoorpc library, so you can run load-testing on your odoo services. Have a look at the feature list of locust to see what you can do.

Installation

virtualenv .env
source .env/bin/activate
pip install locustodoorpc

Usage

For the general documentation on Locust, heads on https://docs.locust.io/en/latest/ A few options can be customized with environment variables:

Name Usage
ODOO_DB_NAME Configure the name of the database to load-test (default: odoo)
ODOO_LOGIN Login to use for the actions (default: admin)
ODOO_PASSWORD Password for the user (default: admin)
ODOO_VERSION Force an Odoo version (e.g. 9.0, 10.0, 11.0), normally automatically recognized

Example:

ODOO_DB_NAME=demo locust -f examples/locustfile.py --host http://localhost:8069

Check the examples

https://raw.githubusercontent.com/camptocamp/locustodoorpc/master/images/locustodoorpc.png

Release History

0.0.2 (2017-11-03)

  • Fix support of jsonrpc-ssl

0.0.1 (2017-11-03)

Initial release.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for locustodoorpc, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size locustodoorpc-0.0.2.linux-x86_64.tar.gz (4.8 kB) File type Source Python version None Upload date Hashes View
Filename, size locustodoorpc-0.0.2-py2-none-any.whl (5.6 kB) File type Wheel Python version py2 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page