Some ways to test WCF services :

Posted: December 4, 2010 in Categories, WCF

It’s been few months since I have started working with wcf services &  I have already talked about the same topic, way to test wcf services in linkedin.I thought this is the best place to share it once again.

For testing WCF services,there is a tool that microsoft ships with visual studio called WCF Test Client(WcfTestClient.exe)

This can be found at the following location

C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\
More details on this can be found at .

A limitation I found with this is,only Soap endpoints which can expose metadata about itself (WSDL or Mex) can be invoked using this.

For Wcf REST services,One alternative you can try is to create the test client yourself in code using the ChannelFactory<T> class using the same contract used in the service(You will have to manually write a proxy as svcutil.exe do not support automatic proxy generation for REST services). Then use some network capture tool such as Fiddler ( to send requests to the service.

Though not all WCF tools are free,here are a few which you can try out.I have tried out SOAP Ui & SOA Cleaner for my services & seems to be good.

SoapUI can be found at :

SOA Cleaner can be found at:

WCFStorm can be found at: 

One more useful way for developers to unit test WCF methods is to right click & generate test method.More details on this is available here

Hope you find this information useful.If you have come across any other ways to test WCF services,please share.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s