After starting a pdf download service in jmeter, the "badly formatted" Sponse can turn into a pdf? If so, how?

Asked

Viewed 83 times

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’s answer, which comes with characters like "Åßn-&ë Úñï", is passive to be downloaded 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 by Beanshell Postprocessor in java.

However the structure and return of Rest does not provide me with this. I wonder if I can download the . pdf from Response?

1 answer

1


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

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

inserir a descrição da imagem aqui

inserir a descrição da imagem aqui

You can see a pdf file is saved in bin directory.

The best way to run the tests is to use the cloud. Read this article to run AWS cloud tests

  • thanks buddy, perfect ! was what I needed.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.