Python性能測試工具Locust安裝及使用
介紹
An open source load testing tool.
一個開源性能測試工具。
define user behaviour with python code, and swarm your system with millions of simultaneous users.
使用Python代碼來定義用戶行為。用它可以模擬百萬計的并發(fā)用戶訪問你的系統(tǒng)。
官方網(wǎng)站:http://locust.io/
Locust安裝
1、安裝Python:
官方:https://www.python.org/
安裝Python2 或Python3
2、安裝Locuse
2.1, 通過pip命令安裝 /> pip install locustio
2.2, 通過GitHub上克隆項目安裝(Python3推薦):https://github.com/locustio/locust
3、安裝 pyzmq
If you intend to run Locust distributed across multiple processes/machines, we recommend you to also install pyzmq.
如果你打算運行Locust 分布在多個進程/機器,我們建議你也安裝pyzmq.
通過pip命令安裝。 /> pip install pyzmq
4、安裝成功,CMD敲入命令驗證。 /> locust --help
快速使用
以上就是本文的全部內容,希望對大家的學習有所幫助,也希望大家多多支持腳本之家。
相關文章
Python中私有屬性“_“下劃線和“__“雙下劃線區(qū)別
本文主要介紹了Python中私有屬性“_“下劃線和“__“雙下劃線區(qū)別,文中通過示例代碼介紹的非常詳細,對大家的學習或者工作具有一定的參考學習價值,需要的朋友們下面隨著小編來一起學習學習吧2023-03-03
解決pip安裝報錯required?to?install?pyproject.toml-based?projec
這篇文章主要介紹了解決pip安裝報錯required?to?install?pyproject.toml-based?projects問題,具有很好的參考價值,希望對大家有所幫助,如有錯誤或未考慮完全的地方,望不吝賜教2024-05-05

