locust load test
来源:互联网 发布:cici网络里是什么意思 编辑:程序博客网 时间:2024/04/27 22:45
fromlocust importHttpLocust, TaskSet, task
"""
http://docs.locust.io/en/latest/
locust -f ./demolocust.py --host=http://docs.locust.io"""class UserBehavior(TaskSet): def on_start(self): """ on_start is called when a Locust start before any task is scheduled """ self.index() def index(self): self.client.get("/") @task(2) def quickstart(self): self.client.get("/en/latest/quickstart.html") @task(1) def api(self): self.client.get("/en/latest/api.html")class WebsiteUser(HttpLocust): task_set = UserBehavior min_wait=5000 max_wait=9000
0 0
- locust load test
- Battle test(Locust and Apache Bench)
- locust
- WCF Load Test
- .net load test
- Install load test reports
- Debugging errors in Load Test
- Load and Performance Test Tools
- 负载测试(Load Test)
- Apache JMeter - load test tool
- Web Service Load Test Strategies
- Locust安装
- 如何创建并运行一个Load Test
- Test Load Balancer 测试均衡负载
- Locust使用点滴
- Locust学习笔记
- Locust简单例子
- Locust性能测试
- CSDN Code使用图文教程(详细)
- Linux环境下python的tab键补全
- C++学习笔记-容器
- Cocos2d-x Programmers Guide v3.3 译本和阅读笔记(第7章:其他节点类型)
- 我也要做大神
- locust load test
- SpringMVC的配置详解
- kettle从hive取数乱码-问题解决方法(可下载改写驱动)
- 模拟计算器进行四则运算(同等优先级)(第2届第3题)
- 第三十六课 用循环处理文字 【项目1-5】
- WCF之配置文件详解
- sublime 使用笔记
- 初识工作流
- postgresql 入门(PostgreSQL 9.4.5) - createdb 问题汇总