# Handling Excel download

**URL:** <https://community.gatling.io/t/handling-excel-download/5009>\
**Category:** Gatling (Open-Source)\
**Created:** [May 9, 2019, 4:38pm UTC](https://community.gatling.io/t/handling-excel-download/5009 "2019-05-09T16:38:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Murthy\_N](https://avatars.discourse-cdn.com/v4/letter/m/76d3ee/32.png) [@Murthy\_N](https://community.gatling.io/u/Murthy_N)\
**Post date:** [May 9, 2019, 4:38pm UTC](https://community.gatling.io/t/handling-excel-download/5009/1 "2019-05-09T16:38:45Z")

</div>

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”,

```auto
    "Upgrade-Insecure-Requests" -> "1",
    "Accept-Encoding" -> "gzip, deflate, br",
    "Accept-Language" -> "en-US,en;q=0.9",
    "Content-Type"-> "application/force-download"
  )

```

```auto

```

```auto
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.

```

```auto
Please can anyone help me with this? I tried bodyString checks but it didn't help me.

```

```auto
Thanks in Advance!

```

```auto
Regards,

```

```auto
Murthy

```
