chaining problem with forever()

I have

`

package se.sweet

import io.gatling.core.Predef._
import io.gatling.http.Predef._
import scala.concurrent.duration._

class testSimulation extends Simulation {

val httpConf = http
.baseURL(“https://app.sweet.se”)
.acceptEncodingHeader(“gzip,deflate”)
.headers(Map(“Content-Type” → “application/json”, “charset” → “UTF-8”, “User-Agent” → “Android(4.4)/Coop(0.4)/0.1”))

val scn = scenario(“Scenario”)

forever{

feed(csv(“memberInfo.csv”).random)

.exec(
http(“activateCoupon”)
.post("/coupon/activate")
.header(“X-Token”, “xxx”)
.body(ELFileBody(“activateCoupons.json”)).asJSON
.check(status.is(200))
.check(jsonPath("$.resultCode").is(“SUCCESS”)))

}
setUp(scn.inject(rampUsersPerSec(1) to((5)) during (1 minutes))).maxDuration(3 minutes).protocols(httpConf)
}

`

I have tried to chain this but I cannot make it work even when intelliJ says it is ok.

My error when running the simulation is:

`

[ERROR] [11/15/2014 00:20:59.919] [GatlingSystem-akka.actor.default-dispatcher-4] [akka://GatlingSystem/user/$a] requirement failed: Scenario Scenario is empty
java.lang.IllegalArgumentException: requirement failed: Scenario Scenario is empty
at scala.Predef$.require(Predef.scala:233)
at io.gatling.core.scenario.Simulation$$anonfun$scenarios$2.apply(Simulation.scala:40)
at io.gatling.core.scenario.Simulation$$anonfun$scenarios$2.apply(Simulation.scala:40)

.
.
.

00:20:59.924 [ERROR] i.g.c.c.Controller - Actor Controller crashed on message Some(Run(no.coop.testSimulation@56c872fa,testsimulation,Timings(Some(3 minutes),None,Map())))
java.lang.IllegalArgumentException: requirement failed: Scenario Scenario is empty
at scala.Predef$.require(Predef.scala:233) ~[scala-library-2.10.4.jar:na]
at io.gatling.core.scenario.Simulation$$anonfun$scenarios$2.apply(Simulation.scala:40) ~[gatling-core-2.0.2.jar:2.0.2]
at io.gatling.core.scenario.Simulation$$anonfun$scenarios$2.apply(Simulation.scala:40) ~[gatling-core-2.0.2.jar:2.0.2]

`

Can anyone see if my chain-order is incorrect?

Found it: I forgot a .
simple as that.

.forever.

Stupid mistake.

Magnus