Skip to content

Locust 性能测试 · 课程导学

本课程共 20 章,基于 Locust 2.46.x 官方文档,从零基础到分布式生产级压测。

你将学到什么

阶段章节内容
入门01–05性能测试基础、HttpUser、任务编写、Web UI、断言
进阶06–10TaskSet 嵌套、事件钩子、参数化、分布式、Docker
高级11–15Kubernetes、非 HTTP 协议、asyncio、作为库使用、插件
生产16–20性能调优、CI/CD、监控分析、综合实战

官方参考源

来源链接
docs.locust.iohttps://docs.locust.io/en/stable/
github.comhttps://github.com/locustio/locust

学习前提

  • Python 基础;建议先完成本站 pytest 前 6 章
  • 了解 HTTP 基础概念。

👉 从 第 1 章 开始。