Hi,
I have a download scenario when I click on download mannualy it will download excel file.
Here is my gatling script
.exec(http(“download excel report”)
.get(“downloadreport.htm”);
.headers(headers_0_download))
below are the header i’m sending
“Accept” → “text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3”,
"Upgrade-Insecure-Requests" -> "1",
"Accept-Encoding" -> "gzip, deflate, br",
"Accept-Language" -> "en-US,en;q=0.9",
"Content-Type"-> "application/force-download"
)
i'm getting proper response but how do I save that into excel file on my system for further use like re-uploading back by modifying.g.
Please can anyone help me with this? I tried bodyString checks but it didn't help me.
Thanks in Advance!
Regards,
Murthy