【文件属性】:
文件名称:PostgresLocust:Locust.io的Postgres和Redshift客户端
文件大小:6KB
文件格式:ZIP
更新时间:2021-05-16 23:45:51
postgres locust redshift postgres-client Python
刺槐
Locust.io的Postgres客户端
使用pg8000 Python Postgres客户端和SQLAlchemy进行连接池。
启动示例postgre_locust_example.py
python postgres_locust_example.py
使用Web UI启动脚本
C:\Users\[user]\Anaconda3\Scripts\locust.exe -f postgres_locust_example.py
在没有Web UI的情况下启动脚本
-c指定要生成的蝗虫用户数,-r指定孵化率(每秒要生成的用户数)。 --no-web在没有UI的情况下运行--csv = locust_results自动将结果写入csv文件
C:\Users\[user]\Anaconda3\Scripts\locust.exe -f postgres_locust_exa
【文件预览】:
PostgresLocust-master
----LICENSE(1KB)
----postgres_locust_example_parallel_queries.py(2KB)
----postgreslocust()
--------postgreslocust.py(4KB)
--------__init__.py(57B)
----requirements.txt(34B)
----database_login_params.json(118B)
----.gitignore(136B)
----postgres_locust_example.py(2KB)
----README.md(689B)