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.

Can virtualization response respond back a PDF document

sidhu
sidhu Posts: 36

Hi i have a requirement to configure a responder for response content-type = application/octet-stream and response body is the PDF binary. Looking for inputs where i can develop the responder to respond back a PDF document i.e. response status code = 200 Which is application/octet-stream, i.e. binary PDF

Answers

  • williammccusker
    williammccusker Posts: 672 ✭✭✭

    Hi,

    In the Responder's "Response" tab there is an option to get the response content from a "File" instead of from "Text" that might help with this use case?