工具Ajax的负载测试 [英] Tools for Ajax load testing

查看:153
本文介绍了工具Ajax的负载测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

似乎有很多支持AJAX的压力/负载测试工具。
我想知道如何做这些工具来实现。

There seems to be a lot of stress/load testing tool that support AJAX.
I am wondering how well does these tool implemented.

难道他们只记录http请求和重播?
是不是正确的方法来测试AJAX应用程序?
谷歌是如何测试自己的Ajax应用程序?

Do they only record http request and replay it?
Is it the right way to test AJAX app?
How does google test their ajax apps?

推荐答案

如果你担心的功能而已,像华廷, Watir 或为此事会工作的任何功能的工具。只要你把你的功能测试足够的时间,以便AJAX回调,然后应该做的伎俩。

If you are worried about functionality only, something like Watin, Watir, Selenium or any functional tool for that matter would work. As long as you put sufficient timing in your functional tests to allow for ajax callbacks then that should do the trick.

要添加到我的反应,

如果你正在谈论单元测试您在此张贴描述的一个老乡LosTechian,你可以使用类似qunit的JavaScript。这是一个pretty的创造性使用NUnit的插件和qunit的集成js的单元测试。

If you are talking about unit testing your javascript you could use something like qunit as described by a fellow LosTechian in this posting. This is a pretty inventive use of an nunit addin and qunit for integrating js unit tests.

纯属巧合,同样的人认为发帖说qunit测试的博客文章只是一个昨天发布关于<一个href="http://www.lostechies.com/blogs/johnteague/archive/2009/02/10/another-way-to-test-ajax-methods.aspx"相对=nofollow>这个题目

By pure coincidence, the same person that posted that qunit testing blog post just posted one yesterday about this very topic

这篇关于工具Ajax的负载测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆