# Adding a Sequence of string in gatling feeder

**URL:** <https://community.gatling.io/t/adding-a-sequence-of-string-in-gatling-feeder/6886>\
**Category:** Gatling (Open-Source)\
**Created:** [July 1, 2022, 5:58am UTC](https://community.gatling.io/t/adding-a-sequence-of-string-in-gatling-feeder/6886 "2022-07-01T05:58:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sn02](https://avatars.discourse-cdn.com/v4/letter/s/8e7dd6/32.png) [@sn02](https://community.gatling.io/u/sn02)\
**Post date:** [July 1, 2022, 5:58am UTC](https://community.gatling.io/t/adding-a-sequence-of-string-in-gatling-feeder/6886/1 "2022-07-01T05:58:59Z")

</div>

Hello Gatling community,

I would like to use Seq(String) in the feeder. How can I achieve this?

My input to the API should be something like

Seq(“a” , “b”, “c”)  
Seq(“d” , “e”, “f”)  
Seq(“g” , “h”, “i”)

How can I put such a list/sequence in the feeder and iterate through those values as input to the request?

---

<div class="post-metadata">

**Author:** ![sbrevet](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/sbrevet/32/830_2.png) [@sbrevet](https://community.gatling.io/u/sbrevet)\
**Post date:** [July 1, 2022, 7:19am UTC](https://community.gatling.io/t/adding-a-sequence-of-string-in-gatling-feeder/6886/2 "2022-07-01T07:19:07Z")

</div>

Hello!

I’m not sure what you want to achieve with such a `Seq`.  
Feeder need to specify the session variable name to put the value.

```scala
  val myFeeder: Feeder[Seq[String]] = Iterator.from(List(
    Seq("a", "b", "c"),
    Seq("d", "e", "f"),
    Seq("g", "h", "i"),
  )).map(seq => Map("sessionVar" -> seq))

```

Is it what you want?

Cheers!
