This topic explains how to configure and apply the Attachment Handler tool in SOAtest and Virtualize. This tool manages MIME attachments.
Sections include:
The Attachment Handler tool manages all of the MIME attachments that are received as part of a SOAP response or an incoming message. Since so many MIME attachments can be sent, it is useful to be able to keep track of each attachment.
To use the Attachment Handler tool, you must chain it to a SOAP Client (SOAtest) or Message Responder (Virtualize) tool that receives MIME attachments as part of the response or incoming message. The MIME attachments that are returned will be managed by the Attachment Handler.
To configure the Attachment Handler tool:
Add the Attachment Handler tool as an output to the SOAP Client or Message Responder. In the Add Output wizard, select Response> Attachment from the left pane, Attachment Handler from the right pane, and click the Finish button.
You can also add outputs such as Diff tools or XML Data Banks to the Attachment Handler tool. To do so, complete the following:
Select All Attachments from the left pane and the desired output tool from the right pane and click Finish. The tool selected will be applied to all Response MIME Attachments specified in the Attachment Handler tool.
Select Attachment # from the left pane and the desired output tool from the right pane and click Finish. The tool selected will be applied to the specific Attachment corresponding to the chosen Index number in the Available Attachments list.