使用Siege测试https

时间:2014-01-07 21:43:12

标签: load-testing performance-testing

我正在尝试使用Siege加载测试https网站并获得SegFaults。我在OS X Mavericks上使用siege homebrew formula(已启用openssl支持)安装Siege 3.0.5。

HTTP工作正常:

$ siege http://www.google.com
** SIEGE 3.0.5
** Preparing 15 concurrent users for battle.
The server is now under siege...
HTTP/1.1 302   0.67 secs:     261 bytes ==> GET  /
HTTP/1.1 302   1.02 secs:     261 bytes ==> GET  /
HTTP/1.1 200   0.78 secs:   14409 bytes ==> GET  /?gws_rd=cr&ei=H3TMUrb8BojolAXvrYCwBA

但是HTTPS段错误(我测试过其他网站而不是谷歌并得到相同的错误)

$ siege https://www.google.com
** SIEGE 3.0.5
** Preparing 15 concurrent users for battle.
The server is now under siege...
[1]    5789 segmentation fault  siege https://www.google.com

1 个答案:

答案 0 :(得分:1)

看起来这是一个错误。我在代理后面使用围攻。我在.siegerc文件中有代理设置。当我删除代理设置时,siege https://www.google.com可以正常工作。

相关问题