# Circular feeder is not working

**URL:** <https://community.gatling.io/t/circular-feeder-is-not-working/2096>\
**Category:** Gatling (Open-Source)\
**Created:** [March 10, 2015, 6:37am UTC](https://community.gatling.io/t/circular-feeder-is-not-working/2096 "2015-03-10T06:37:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![47saikumar](https://avatars.discourse-cdn.com/v4/letter/4/a9a28c/32.png) [@47saikumar](https://community.gatling.io/u/47saikumar)\
**Post date:** [March 10, 2015, 6:37am UTC](https://community.gatling.io/t/circular-feeder-is-not-working/2096/1 "2015-03-10T06:37:52Z")

</div>

Hi,

I used circular feeder in this manner

First I took users from config file and I created a variable and in the feeder i am giving .feeder(users.circular).Then it is throwing following error

**Error log:**

**value circular is not a member of Iterator[Map[String,String]]**

 

**```auto
 [ERROR] i.g.a.ZincCompiler$ - .feed(users.circular)**

**```**

  \*\*Code:\*\*

**private val users: Iterator[Map[String, String]] = User.getUsers(allUsersCount)**

**val scn = scenario(“View Post”)**  
**.feed(users.circular)**

Note:I Included all the dependent files but still its not working

---

<div class="post-metadata">

**Author:** ![slandelle](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/slandelle/32/4_2.png) [@slandelle](https://community.gatling.io/u/slandelle)\
**Post date:** [March 10, 2015, 7:39am UTC](https://community.gatling.io/t/circular-feeder-is-not-working/2096/2 "2015-03-10T07:39:43Z")

</div>

circular works on IndexedSeq[Map[String, \_]]

How would something like circular or random work on an Iterator which is a one way stream of data that doesn’t remember the previous values?

---

<div class="post-metadata">

**Author:** ![47saikumar](https://avatars.discourse-cdn.com/v4/letter/4/a9a28c/32.png) [@47saikumar](https://community.gatling.io/u/47saikumar)\
**Post date:** [March 10, 2015, 10:46am UTC](https://community.gatling.io/t/circular-feeder-is-not-working/2096/3 "2015-03-10T10:46:33Z")

</div>

Thanks Stéphane,Can you please give one code sample for circular feeder with IndexedSeq[Map[String, \_]].So that I can analyse more…
