views:

105

answers:

4

I am looking for Ajax testing tools . is there any free tools avilable for testing ajax

Edit 2 : apart from firebug is there any other tools ;)

+2  A: 

Firebug for Firefox is the most common answer. Combine that with firephp for server side debugging. It works great for AJAX scripts as well.

Marius
i am looking for apart from firebug
joe
+1  A: 

If you are familiar with jQuery and are looking for unit testing, then QUnit is decent and helps prevents the obvious bugs. As far as getting the right data back from the server, you will probably want to combine it with unit tests to ensure the server's data is correct.

Here's an example from some jQuery extensions I've written:

function run()
{
    module("Extensions");
    test("isNumber", function()
    {
     var anInt = new Number(42);
     var aFloat = new Number(42.500);
     equals(jQuery.isNumber(anInt),true);
     equals(jQuery.isNumber(aFloat),true);

     equals(jQuery.isNumber(42),true);
     equals(jQuery.isNumber(42.235),true);

     equals(jQuery.isNumber("test"),false);
     equals(jQuery.isNumber([]),false);
     equals(jQuery.isNumber(true),false);
     equals(jQuery.isNumber(undefined),false);
     equals(jQuery.isNumber(null),false);
    });
}

run();
Chris S
A: 

OK, I'm happy to shamelessly plug my own log4javascript, which is a cross-browser logging tool. I think it's pretty good.

Tim Down
A: 

I tend to use Fiddler when looking at XMLHttpRequests.

If you are on a mac, there is Charles

epascarello