# add 2 custom cookies

**URL:** <https://community.gatling.io/t/add-2-custom-cookies/5482>\
**Category:** Gatling (Open-Source)\
**Created:** [February 7, 2020, 3:26pm UTC](https://community.gatling.io/t/add-2-custom-cookies/5482 "2020-02-07T15:26:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![test\_user1](https://avatars.discourse-cdn.com/v4/letter/t/ecb155/32.png) [@test\_user1](https://community.gatling.io/u/test_user1)\
**Post date:** [February 7, 2020, 3:26pm UTC](https://community.gatling.io/t/add-2-custom-cookies/5482/1 "2020-02-07T15:26:42Z")

</div>

I have to add 2 custom cookies to a http request. How can I do this in gatling. I tried using ``headers` but I can add only one custom cookie using that .

`.header(Map("Cookie" -> "testcookie1:assd; testcookie2::abcd"))`

The above doesn’t work but if I use only one, it works. How can I add the second
