Submit and vote on feature ideas.

Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

Create Responder Attachment using Scripting or Java

jefftuckerbofa Posts: 227

Is it possible to add a file attachment to a message responder using scripting or Java? I didn't see support for attachments in the API (unless I overlooked it) so I was hoping it's possible to do it with a different approach. Thanks JT


  • jefftuckerbofa
    jefftuckerbofa Posts: 227

    I believe I can do it with Content-Disposition headers and updating the response. Wondered if there was anything already built into the scripting context to handle it.

  • williammccusker
    williammccusker Posts: 640 ✭✭✭


    I don't think there is anything in the scripting context for directly setting a file attachment on a response. These are SOAP attachments that we're discussing? Or just a mime multipart response payload?

  • jefftuckerbofa
    jefftuckerbofa Posts: 227

    multipart payload.... Looking around and I am pretty sure I can handle this within the confines of the response header and payload. I just need to construct the mime encoding.