谁能推荐一些好的负载测试软件?
谁能推荐一些好的负载测试软件?
我有一个网站,它通过 ajax 调用每分钟更新分数,并且需要一个也支持 ajax 调用(javascript)的负载测试软件!
Can anyone please recommend any good Load Testing software?
I have a website which updates scores every minute via ajax calls and need a load testing software which supports ajax calls (javascript) too!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
虽然我不能推荐 AJAX 负载测试实用程序,但是我可以向我推荐普通 AJAX 调用的替代方案,听起来您需要的是 APE(Ajax 推送引擎)。
因此,如果您的应用程序重复生成并联系服务器
APE 的作用是什么?它将数据/信息直接推送到您的用户浏览器,而无需
应用程序联系服务器。可以这样想,服务器“喊出”一条消息,然后您的网络应用程序接收该消息并解释它。这个概念称为长轮询。
APE 速度相当快,而且实现起来并不困难。
这是 APE 项目的链接 - http://ape-project.org
有一些人有一些互联网上提供的优秀示例,
这里有一个有趣的链接,该链接使用 APE 创建 SMS 网关。
http://www.ifc0nfig.com/esenape-send-and-receive-sms-in-real-time-using-ape-jquery-php-and-libape_controller/
我希望您对此感兴趣。
问候
Although I cant recommend an AJAX load testing utility I can however recommend an alternative to normal AJAX calls to me it sounds like what you need is APE (Ajax Push Engine).
So instead if your application spawn repeatedly contacting the server
What APE does it pushes the data/information directly to your users browser without
the application contacting the server. Think of it this way, the server "shouts" a message and your web apps then receive this message and interprets it. This concepts is known as long polling.
APE is pretty darn fast and not that difficult to implement.
Heres a link to the APE project - http://ape-project.org
Theres a few guys that have some excellent examples available on the Internet,
heres a link to an interesting one which uses APE to create an SMS gateway.
http://www.ifc0nfig.com/esenape-send-and-receive-sms-in-real-time-using-ape-jquery-php-and-libape_controller/
I hope this interests you.
Regards
Ajax 只是一个 HTTP 调用,因此您有很多选择。
我可以推荐 WebLOAD。
与 Ajax 配合良好。该脚本是用 JavaScript 编写的,这是一个优点。
Ajax is just an HTTP call, so you have many options.
I can recommend WebLOAD.
Works well with Ajax. The script is written in JavaScript, which is a plus.
这是一个相当广泛的问题,很大程度上取决于您想要测试的内容以及如何定义“好”软件。许多人会说您无法使用 HTTP 模拟工具对基于 AJAX 的站点进行负载测试。我们每天都这样做,所以我可以告诉你这不是真的。然而,任务的难度根据您选择的测试软件以及您正在测试的站点和场景的复杂程度而有很大差异。
我的建议是在您的价格范围内选择一些工具,并评估它们对您的特定场景的工作效果。如果他们有良好的支持,您应该在遇到任何困难时与他们联系。如果他们无法在短时间内让您上手,请继续使用下一个产品。
(免责声明:我从事 Web 性能工作 - 我们的负载测试器产品可以很好地处理大多数 AJAX 场景 - 这可能就是我们在“ajax 负载测试”的第一个 google 页面上出现的原因)。
This is a pretty broad question that depends greatly on exactly what you want to test and how you define "good" software. Many people will say you can't load test AJAX based sites using HTTP-simulation tools. We do it every day, so I can tell you that isn't true. However, the difficulty of the task varies greatly depending on the testing software you choose and the complexity of the site and scenarios you are testing.
My recommendation is to pick a few tools within your price range and evaluate how well they work for your particular scenario. If they have good support, you should contact them with any difficulties. If they can't get you going in short order, move on to the next product.
(Disclaimer: I work for Web Performance - our Load Tester product handles most AJAX scenarios just fine - which may be why we're on the first google page for "ajax load testing").