HTML5 压力测试
我们有一个由 java spring Web 应用程序支持的 Web 应用程序。显然,我们通常用来对浏览器应用程序进行压力测试的 Rational Robot 工具并不处理我们应用程序的 HTML5 特性。我们正在考虑简单地编写原始 http 请求的脚本来在应用程序上进行处理,但想知道是否有人知道有任何工具可以执行相同的操作,而不必手工制作所有的 http 请求?
We have a webapp that's backed by a java spring web application. Apparently our Rational Robot tool that we normally would use to stress test a browser application doesn't deal with the HTML5'ness of our app. We are considering simply scripting the raw http requests to beat on the application, but wondering if anyone knows of any tools out there to do the same without having to craft all of the http requests by hand?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
Apache JMeter 允许您通过将其设置为代理来记录所有 http 请求。然后,您可以保存这些请求并在多个线程中回放它们以模拟用户。
Apache JMeter allows you to record all http requests by setting it up as a proxy. You can then save those requests and play them back in multiple threads to simulate users.
Fiddler 与我们的免费压力测试插件 StresStimulus 是另一个记录 HTTP 请求并使用可配置用户重放它们的代理斜坡。
Fiddler with our free stress testing add-on called StresStimulus is another proxy that records HTTP requests and replays them with configurable user ramping.
如果您有一些复杂的事情,在负载测试工具之一中记录脚本会更容易。我过去使用过 WebLOAD ,它可以处理诸如获取所有子组件、脚本关联、AJAX 记录之类的事情,等。
您可以直接从 Android 设备录制,或使用您喜欢的桌面浏览器。
If you have anything a bit complex, it would be easier to record a script in one of the load testing tools. I have used WebLOAD in the past, which handles things like fetching all the sub-components, script correlation, AJAX recording, etc.
You can record straight from the Android device, or use a desktop browser you like.