Locust 安装 1、安装依赖包 1、gevent:微线程库(Coroutine) 2、flask:轻量级Web 开发框架。 3、Requests:发送http请求。 4、msgpack-python:二进制序列化格式,适用于类似JSON的数据。 2、安装locust pip install locust