After triggering a pdf download service on jmeter, can the "badly formatted" response be a pdf? If yes, how?

0

I'm working on a stress test where I download a file, in a very simple GET service:

/ api / report / XXXXXXXX / user / 23452 / file / 9989 / download

Everything happens OK, I wonder if the download response, which comes with characters of type "ÅßN- & ë · Úñï", is possible to download the pdf file by Jmeter?

Note: This service also has a SOAP version, in it I was able to decode the base64 and download the .pdf from the BeanShell PostProcessor in Java.

But the structure and return of the rest does not give me this. I would like to know if I can download .pdf from the response?

    
asked by anonymous 28.11.2018 / 21:35

1 answer

1

You can save the response of an HTTP request to a file by using Save responses in a file listener.

For the get request, include a backup respone in the file listener and enter the File Name prefix. By default, JMeter saves the file in the bin directory.

Youcanseeapdffileissavedinthebindirectory.

Thebestwaytorunthetestsistousethecloud. Read this article to run tests on the AWS cloud

    
29.11.2018 / 07:03