views:

165

answers:

2

I have written my first rest services and currently i am testing them in a browser.

Is there a test client or some sort that provides additional features or is this the normal way of testing i.e. in IE, Firefox etc?

+2  A: 

You may want to consider testing them through a unit testing framework instead of through the browsers. E.g. NUnit or - depending on your Visual Studio edition - MS Test might be options.

You may be able to avoid the WCF protocol overhead and talk straight to the service implementations, unless you specifically want to test the protocol.

Automating the test will help you to test more often and increase the test coverage, so you can move faster.

John
Yes i will be using a testing framework - most probably nunit
mark smith
+4  A: 

I use Fiddler. Browsers are a real pain to try and test with.

Darrel Miller
Thanks darrel, yep i have just installed fiddler... Yet another piece of software to learn!! ah ah ... but it doesn't look a better idea... THanks
mark smith
+1 for fiddler, it's an invaluable tool.
Rob