Dear JMeter Users,

Seeking your assistance for the problem statement I have.

I am actually trying to download the binaries (word, pdf, excel, pptx,
docm, xlsm etc.) via an api and saving the response in the local folder.
However, when I reviewed the saved binaries, except the pdfs all have
extensions set  as
"vnd.openxmlformats-officedocument.wordprocessingml.Document" for docx and
docm; "vnd.openxmlformats-officedocument.presentationml.presentation" for
pptx;
"vnd.openxmlformats-officedocument.spreadsheetml.sheet" for excel and xlsm

But for the pdf it shows up correctly.

Any ideas on how to fix that in JMeter only? I tried passing the extensions
as above in 'Content-Type' also but still no help. Just an additional
point, when I run the same api via postman, I get the files with the right
extensions; so not sure why JMeter behaves this way.

Thanks in advance for your help.

Reply via email to