How To Generate Unit Test Using WCF Load Test – Quick Steps
This is quick summary of steps for creating WCF Unit Tests using WCF Load Test available for free on Codeplex. This quick summary created based on the Lab materials that ship with the tool. | Quick Resource Box |
Summary of steps
Step 1. Configure message tracing in the app.config file on client side.
Step 2. Run WCF client to invoke the remote methods and generate trace file.Run your WCF client. Make sure WCFClient.svclog generated. This log file will be used in the next step to generate Unit Tests Step 3. Generate Unit test based on trace file.
<?xml version='1.0' encoding='utf-8' ?><WcfUnitConfiguration xmlns='https://microsoft.com/wcfunit' testMethodMode='ScenarioMethodOnly' operationTimerMode='IncludeOperationTimers'> <assembly fileName="C:\Client\bin\Debug\ConsoleClient.exe"/> <soapActions soapActionMode='Include'> </soapActions></WcfUnitConfiguration>
|
Comments
- Anonymous
August 18, 2009
regardingstep 1:where can i find app.config file?step2:where can i find WCF client? - Anonymous
August 23, 2009
suneetha,I suggest you following the explanations detailed here:http://wcfloadtest.codeplex.com/