Skip to main content

Locust custom client: odoorpc

Project description

Locust odoorpc
==============

Links
-----

* Locust: https://locust.io/
* Locust docs: https://docs.locust.io/
* OdooRPC: https://pythonhosted.org/OdooRPC/
* Source code: https://github.com/camptocamp/locustodoorpc
* Alternative: https://github.com/nseinlet/OdooLocust (using ``openerplib`` instead of ``odoorpc``)

Description
-----------

Locust custom client integrating the `odoorpc <https://github.com/osiell/odoorpc>`_ library, so you can run load-testing on your odoo services. Have a look at the feature list of `locust <https://github.com/locustio/locust/#description>`_ 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/profile.py --host http://localhost:8069

```

Check the `examples <https://github.com/camptocamp/locustodoorpc/tree/master/examples>`_

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



.. :changelog:

Release History
===============

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.

Source Distribution

locustodoorpc-0.0.1.linux-x86_64.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

locustodoorpc-0.0.1-py2-none-any.whl (5.6 kB view details)

Uploaded Python 2

File details

Details for the file locustodoorpc-0.0.1.linux-x86_64.tar.gz.

File metadata

File hashes

Hashes for locustodoorpc-0.0.1.linux-x86_64.tar.gz
Algorithm Hash digest
SHA256 d32f4b92e57ace33b3d0a39a3b5ba3e2263cc400a5c0ec9bbccc0d1ad978cbba
MD5 c52441e5c09edf4f9ffda63e025bfaae
BLAKE2b-256 7dc022d8a71e060dfe50d9cdcb44a6ab1f478b53d174ae95f0c8eb5bd3d25a33

See more details on using hashes here.

File details

Details for the file locustodoorpc-0.0.1-py2-none-any.whl.

File metadata

File hashes

Hashes for locustodoorpc-0.0.1-py2-none-any.whl
Algorithm Hash digest
SHA256 b432c4d9c429e66abf70dae8dfa81b823360881e74fa6ba4d8f5336fe18b52bd
MD5 ccbffd1818a15bfaf823ae63036ae589
BLAKE2b-256 82baa93cd0d2ecce874cf42c5177ee0d652e6cb8df15957b748c38c84afc5669

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page