问题描述
我一直在寻找可以帮助我进行负载测试和基准测试的工具.我发现了一些类似的夫妇: https://github.com/wg/wrk , http://www.joedog.org/siege-home/, https://github.com/rakyll/boom .我想知道是否有人对这些工具有任何经验,对这些工具有何利弊.我的工作压力将包括使用DELETE,PUT,GET,POST ...标头的不同测试用例
I have been looking around for tools that can help me to do load testing and benchmarking. I found couples like: https://github.com/wg/wrk , http://www.joedog.org/siege-home/ , https://github.com/rakyll/boom . I'm wondering if anyone has any experience with these tools and have any feedback pros vs cons of these tools. My load stress will include different test cases using DELETE, PUT, GET, POST... headers
谢谢
推荐答案
我使用了wrk和siege,siege是一个非常易于使用的工具,但是我不确定是否可以使用siege测试DELETE或PUT.
I've used wrk and siege, siege is a really easy to use tool, but I'm not sure if you can test DELETE or PUT with siege.
Wrk可以使用提供的lua脚本生成请求,因此DELETE和PUT不会成为问题. AND wrk是一种可以超越NGINX静态文件服务器的工具,因此我认为它足够快进行通用负载测试.
Wrk can use provided lua script to generate requests, so DELETE and PUT won't be a problem. AND wrk is a tool that can overpower NGINX static file server, so I think it's fast enough for general purpose load testing.
我从未使用过@Direvius建议的boom或Yandex.tank,基本上是因为wrk很简单并且可以满足我们的需求.但是JMeter对我来说太复杂了.
I've never used boom or Yandex.tank suggested by @Direvius, basically because wrk is simple enough and fit our needs. But JMeter is too complex for me.
这篇关于使用siege vs wrk进行负载测试和基准测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!