Click here to Skip to main content
13,351,661 members (43,410 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as


13 bookmarked
Posted 8 Jan 2011

Different tools to unit test your WCF services

, 8 Jan 2011
Rate this:
Please Sign up or sign in to vote.
Different tools to unit test your WCF services
A programmer's duty doesn't get over by just writing the code. It gets completed when you test each part of the program & make sure that the individual parts are correctly developed. I am adding some different tools details herewith which will help you to test your WCF services.

There is a tool that Microsoft ships with Visual Studio called WCF Test Client(WcfTestClient.exe) which 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 does 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.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Anupama Roy
Software Developer (Senior) Dell
India India
I am a .Net developer working on C#,,WCF,WF etc.I would like to utilize this space to share whatever I have come across so far working in .Net so that you can also learn & explore.

I hope you find these posts useful.I’d love to hear from you,so please post in your comments/feedback.

Visit my blog for more technical articles:

You may also be interested in...


Comments and Discussions

GeneralMessage Removed Pin
23-Oct-13 18:28
memberAshish Ramteke23-Oct-13 18:28 
QuestionFor REST services, you should add WcfStorm.REST Pin
pogiman23-Aug-12 0:14
memberpogiman23-Aug-12 0:14 
GeneralReason for my vote of 5 Good links Miss Pin
thatraja1-Feb-11 5:04
mvpthatraja1-Feb-11 5:04 
GeneralThank you Sandeep. Pin
Anupama Roy8-Jan-11 8:00
memberAnupama Roy8-Jan-11 8:00 
Thank you Sandeep.
GeneralReason for my vote of 5 Should be helpful! Pin
Sandeep Mewara8-Jan-11 7:59
mvpSandeep Mewara8-Jan-11 7:59 
GeneralSounds and looks good! :) Pin
Sandeep Mewara8-Jan-11 7:58
mvpSandeep Mewara8-Jan-11 7:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.180111.1 | Last Updated 8 Jan 2011
Article Copyright 2011 by Anupama Roy
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid