We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(4)
如果您熟悉 python requests 包,那么在 Locust 中编写负载测试非常容易。
http://locust.io/< /a>
我用它来编写我们所有的性能测试。
If you're familiar with the python requests package, locust is very easy to write load tests in.
http://locust.io/
I've used it to write all of our perf tests in it.
您也许可以查看这些工具:
palb(类似 Python Apache 的基准工具) -具有命令行界面的 HTTP 基准测试工具类似于 ab。
它缺乏 ab 的高级功能,但它支持多个 URL(来自参数、文件、标准输入和 Python 代码)。
Multi-Mechanize - Python 中的性能测试框架
Multi-Mechanize 是一个用于性能和负载测试的开源框架。
Pylot(Python 负载测试器) - Web 性能工具
Pylot 是一个免费的开源工具,用于测试 Web 服务的性能和可扩展性。
它运行 HTTP 负载测试,这对于容量规划、基准测试、分析和系统调整非常有用。
Pylot 生成并发负载(HTTP 请求)、验证服务器响应并生成包含指标的报告。
测试套件通过 GUI 或 shell/控制台执行和监控。
( GoogleCode 上的 Pylot )
研磨机
默认脚本语言是 Jython。
非常紧凑操作指南。
Tsung
第一次使用可能有点不寻常,但对于压力测试来说确实很好。
分步指南.
在上面的回答中为 locust.io +1。
You can maybe look onto these tools:
palb (Python Apache-Like Benchmark Tool) - HTTP benchmark tool with command line interface resembles ab.
It lacks the advanced features of ab, but it supports multiple URLs (from arguments, files, stdin, and Python code).
Multi-Mechanize - Performance Test Framework in Python
Multi-Mechanize is an open source framework for performance and load testing.
Pylot (Python Load Tester) - Web Performance Tool
Pylot is a free open source tool for testing performance and scalability of web services.
It runs HTTP load tests, which are useful for capacity planning, benchmarking, analysis, and system tuning.
Pylot generates concurrent load (HTTP Requests), verifies server responses, and produces reports with metrics.
Tests suites are executed and monitored from a GUI or shell/console.
( Pylot on GoogleCode )
The Grinder
Default script language is Jython.
Pretty compact how-to guide.
Tsung
Maybe a bit unusual for the first use but really good for stress-testing.
Step-by-step guide.
+1 for locust.io in answer above.
我会推荐 JMeter。
请参阅:http://jmeter.apache.org/
您可以将 JMeter 设置为浏览器的代理来记录操作例如登录然后对您的 Web 应用程序进行压力测试。您还可以为其编写脚本。
I would recommend JMeter.
See: http://jmeter.apache.org/
You can setup JMeter as proxy of your browser to record actions like login and then stress test your web application. You can also write scripts to it.
不要忘记FunkLoad,它非常容易使用
Don't forget FunkLoad, it's very easy to use