Service Virtualization

 View Only
  • 1.  How to Filter an attachment from Response

    Posted Aug 29, 2018 08:00 AM

    Hi, We have web service which will get back the attachment in response. When tested using "Web Service Execution"  step from DevTest 9.5 workstation in the Response section's "Attachments" tab we could see the "cid" and "content type" with values but we are not able to filter the attachment content.

     

    cid: v1-515b1b46708dd783-165854bcb2f@ijfv.a6op.filenet.com

    content type: application/octet-stream

     

    Attachment has content in PDF format

     

    Please help me solving this issue. Thanks in Advance.



  • 2.  Re: How to Filter an attachment from Response

    Broadcom Employee
    Posted Aug 30, 2018 01:14 AM

    Hi,

     

    Could you please read "Design Time Execution" in the manual?
    The attachment is saved as a property value.

     

    Thank you,



  • 3.  Re: How to Filter an attachment from Response
    Best Answer

    Posted Aug 30, 2018 02:52 AM

    Thanks Yusuke for the reply.

     

    As per the information in the Design Time Execution Page we have retrieved the content and decoded the same and could see a bank document without any content.

     

    We have checked the .rsp file corresponding to the .tst file in the DevTest project folder and could see the Attachement in base64 encoded format. When decoded and viewed we could see the expected content in the pdf document.