The following steps describes how to Create a new Test Case:
- Perform the steps described in WCF Test Harness: Add Proxy via URL.
- Launch the WCF Test Harness by double-clicking on the Spike.TestHarness.exe and select the New Test Case menu item under the File menu:
- In the New Test Case dialogue, enter a meaningful name for the Test Case and select the contract created in Step 1:

- A Test Case page will be added to the tool and will contain two sections: Request Section and Response Section. In the Request Section, the editable text box contains a serialized version of the request message. For this example, change the Customer Name to "Sally" as shown below:
- Select the Execute Single button to submit the request:
- Depending on your IE security settings, you might be presented with the following dialogue. If so, add the Test Harness as a trusted site so you will not see the error message in the future:

- If the message was submitted to the host successful and a fault was not returned, the response will be displayed and the response bar will turn green:
Overview
Posted
Tue, Nov 11 2008 8:24 PM
by
chilberto