Thanks for getting back, Stephane. So Im using 1.5.4 and this error happens during runtime. Her eis the full stack trace
14:37:00.331 [INFO ] c.e.e.g.h.a.HttpRequestAction - Sending Request ‘Home Page’: Scenario ‘Storefront Gatling’, UserId #1
14:37:00.459 [INFO ] c.e.e.g.h.c.CacheHandling$ - Setting LastModified for url https://abc.com:443
14:37:00.466 [INFO ] c.e.e.g.h.a.HttpRequestAction - Sending Request ‘EDP’: Scenario ‘Storefront Gatling’, UserId #1
14:37:02.799 [INFO ] c.e.e.g.h.c.CacheHandling$ - Setting LastModified for url https://abc.com:443/sales/39395
[ERROR] [07/23/2014 14:37:02.802] [GatlingSystem-akka.actor.default-dispatcher-20] [akka://GatlingSystem/user/$Ib] java.lang.String cannot be cast to scala.collection.immutable.List
java.lang.ClassCastException: java.lang.String cannot be cast to scala.collection.immutable.List
at storefront.StorefrontScenario$$anonfun$1.apply(StorefrontScenario.scala:84)
at storefront.StorefrontScenario$$anonfun$1.apply(StorefrontScenario.scala:83)
at com.excilys.ebi.gatling.core.action.SimpleAction.execute(SimpleAction.scala:37)
at com.excilys.ebi.gatling.core.action.Action$$anonfun$receive$1.apply(Action.scala:31)
at com.excilys.ebi.gatling.core.action.Action$$anonfun$receive$1.apply(Action.scala:30)
at akka.actor.Actor$class.apply(Actor.scala:318)
at com.excilys.ebi.gatling.core.action.SimpleAction.apply(SimpleAction.scala:29)
at akka.actor.ActorCell.invoke(ActorCell.scala:626)
at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:197)
at akka.dispatch.Mailbox.run(Mailbox.scala:179)
at akka.dispatch.ForkJoinExecutorConfigurator$MailboxExecutionTask.exec(AbstractDispatcher.scala:516)
at akka.jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:259)
at akka.jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975)
at akka.jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1479)
at akka.jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)
14:37:03.488 [ERROR] c.e.e.g.c.a.SimpleAction - Action SimpleAction crashed, forwarding user to next one
java.lang.ClassCastException: java.lang.String cannot be cast to scala.collection.immutable.List
at storefront.StorefrontScenario$$anonfun$1.apply(StorefrontScenario.scala:84) ~[na:na]
at storefront.StorefrontScenario$$anonfun$1.apply(StorefrontScenario.scala:83) ~[na:na]
at com.excilys.ebi.gatling.core.action.SimpleAction.execute(SimpleAction.scala:37) ~[gatling-core-1.5.4.jar:na]
at com.excilys.ebi.gatling.core.action.Action$$anonfun$receive$1.apply(Action.scala:31) ~[gatling-core-1.5.4.jar:na]
at com.excilys.ebi.gatling.core.action.Action$$anonfun$receive$1.apply(Action.scala:30) ~[gatling-core-1.5.4.jar:na]
at akka.actor.Actor$class.apply(Actor.scala:318) ~[akka-actor-2.0.4.jar:2.0.4]
at com.excilys.ebi.gatling.core.action.SimpleAction.apply(SimpleAction.scala:29) ~[gatling-core-1.5.4.jar:na]
at akka.actor.ActorCell.invoke(ActorCell.scala:626) ~[akka-actor-2.0.4.jar:2.0.4]
at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:197) ~[akka-actor-2.0.4.jar:2.0.4]
at akka.dispatch.Mailbox.run(Mailbox.scala:179) ~[akka-actor-2.0.4.jar:2.0.4]
at akka.dispatch.ForkJoinExecutorConfigurator$MailboxExecutionTask.exec(AbstractDispatcher.scala:516) [akka-actor-2.0.4.jar:2.0.4]
at akka.jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:259) [akka-actor-2.0.4.jar:2.0.4]
at akka.jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975) [akka-actor-2.0.4.jar:2.0.4]
at akka.jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1479) [akka-actor-2.0.4.jar:2.0.4]
at akka.jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) [akka-actor-2.0.4.jar:2.0.4]
14:37:03.488 [INFO ] c.e.e.g.h.a.HttpRequestAction - Sending Request ‘EDP’: Scenario ‘Storefront Gatling’, UserId #1
14:37:03.704 [WARN ] c.e.e.g.h.a.GatlingAsyncHandlerActor - Request ‘EDP’ failed : Check ‘is’ failed, found 304 but expected 200
14:37:03.712 [DEBUG] c.e.e.g.h.a.GatlingAsyncHandlerActor -
Request:
EDP: KO Check ‘is’ failed, found 304 but expected 200