|
SOASTA CloudTest supports testing web sites and web applications that use the Windows Communication Foundation (WCF) as their communication protocol. CloudTest handles the encoding (for outgoing messages) and decoding (for incoming responses) of WCF’s .NET binary XML layer, and then presents plain text in both message responses and in test results within CloudTest. |
|
|
The Recording Editor supports WCF applications that use .NET binary XML. When recording from a WCF-based application, the Recording Editor will automatically decode the binary XML and then display the plain-text version. Recording from WCF-based applications that do not use binary XML was already possible since only plain text was involved in those cases. Once this target exists, you can record WCF-based binary sites using the Recording Editor in the same manner as you would with any other site. |
|
|
To get started, use the following steps:
|
|
|
The Define the WSDL Target step appears.
Note: The Target Name will be required when you convert your WCF-based recording to a test clip. |
|
You must create a recording containing all the SOAP operations that you wish to use, and then convert that recording to a clip. You cannot create a new WCF test clip "from scratch" (e.g. manually).
|
![]() |
|
The display of messages can be filtered so that only those messages that meet the specified criteria will display. This can be very useful in narrowing the set of messages to examine. The filter is available in the upper right hand corner.
|
![]() |
|
The Match Targets to Recording Messages page appears.
|
|
|
|
The selected message is opened in the sub-pane with the tab title Selected: <MessageName> active. The decoded content is presented as plain text just as with any other message. Note: The XML view is editable, but the user must take care to use only well-formed XML. |
|
When you play a message in the Clip Editor, if it is using binary XML, CloudTest will automatically encode it before sending the request. |
|
|
Similarly, message responses are decoded before display in the Message Editor sub-pane of the Clip Editor. The decoded response will be displayed in results (such as in the Result Details widget). |
|