蝗虫客户:Odoorpc
locustodoorpc的Python项目详细描述
蝗虫类
链接
- 蝗虫:https://locust.io/
- 蝗虫文档:https://docs.locust.io/
- 臭氧层:https://pythonhosted.org/OdooRPC/
- 源代码:https://github.com/camptocamp/locustodoorpc
- 备选方案:https://github.com/nseinlet/OdooLocust(使用openerplib而不是odoorpc)
安装
virtualenv .env
source .env/bin/activate
pip install locustodoorpc
使用量
关于蝗虫的一般文献,请看https://docs.locust.io/en/latest/
可以使用环境变量自定义一些选项:
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
示例:
ODOO_DB_NAME=demo locust -f examples/locustfile.py --host http://localhost:8069
检查examples
![https://raw.githubusercontent.com/camptocamp/locustodoorpc/master/images/locustodoorpc.png](https://warehouse-camo.cmh1.psfhosted.org/b00eaffded3d033c3f00dd7c8132a68239d1cb7d/68747470733a2f2f7261772e67697468756275736572636f6e74656e742e636f6d2f63616d70746f63616d702f6c6f637573746f646f6f7270632f6d61737465722f696d616765732f6c6f637573746f646f6f7270632e706e67)
链接
- 蝗虫:https://locust.io/
- 蝗虫文档:https://docs.locust.io/
- 臭氧层:https://pythonhosted.org/OdooRPC/
- 源代码:https://github.com/camptocamp/locustodoorpc
- 备选方案:https://github.com/nseinlet/OdooLocust(使用openerplib而不是odoorpc)
安装
virtualenv .env source .env/bin/activate pip install locustodoorpc
使用量
关于蝗虫的一般文献,请看https://docs.locust.io/en/latest/ 可以使用环境变量自定义一些选项:
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 |
示例:
ODOO_DB_NAME=demo locust -f examples/locustfile.py --host http://localhost:8069
检查examples
发布历史记录
0.0.2(2017-11-03)
- 修复对jsonrpc ssl的支持
0.0.1(2017-11-03)
初次发布。