Very strange error?

Hello All,

I am a quite lost, because every time I run this scenario everything works.

import Setup._
import Test._
import scala.concurrent.duration._
import io.gatling.core.Predef._
import io.gatling.http.Predef._
import io.gatling.jdbc.Predef._
import io.gatling.core.feeder._
import io.gatling.core.json.Jackson

class Runner extends Simulation {

val httpProtocol = new configuration testProtocol
val login = new tLogin tLogin
val You = new tAdvies tYRun
val Advice = new configuration mAdvice
val Credentials = new configuration mUser // goes to => val mUser = csv(“mUser.csv”)

val scn = scenario(“Scenario”).feed(Credentials).feed(Advice)
.group(“testScenario”) {
exec(login, You)

BUT when i run this with multiple users I get this error:

16:16:40.172 [][ERROR][SingletonFeed.scala:59] i.g.c.a.SingletonFeed - Feeder is now empty, stopping engine

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at scala_maven_executions.MainHelper.runMain(
at scala_maven_executions.MainWithArgsInFile.main(
Caused by: java.lang.IllegalStateException: Feeder is now empty, stopping engine
at io.gatling.core.action.SingletonFeed.feed(SingletonFeed.scala:60)
at io.gatling.core.action.SingletonFeed$$anonfun$receive$1.applyOrElse(SingletonFeed.scala:28)
at io.gatling.core.akka.BaseActor.aroundReceive(BaseActor.scala:23)
at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:238)
at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:393)
at scala.concurrent.forkjoin.ForkJoinTask.doExec(
at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(
at scala.concurrent.forkjoin.ForkJoinPool.runWorker(

My feeder = val mUser = csv(“mUser.csv”)

and looks like this



and so one.

tnx all really lost in this one

“.queue // default behavior: use an Iterator on the underlying sequence”
“If the Feeder can’t produce enough records, Gatling will complain about it and your simulation will stop.”

Sorry for wasting your time on something this small, but I am still at a loss.

How can it be that when I have 9 user/passwords and I want to use 9 users and the I use .circular or .random that I keep getting this error?

sorry and tnx

You’re obviously doing something wrong, but can’t tell without see your real code.

import Setup._

the strange thing is that I am seeing the credentials when I println the val?

My2cents: the feeder that’s empty is the second one: Advice.