Gatling Error: RecordedSimulation is already defined as class RecordedSimulation

Hello,

I’m seeing following error on trying to run Recorded Simulation using Engine. Could you please advise how to resolve this.

I’m using Gatling 2.0.0-SNAPSHOT + Maven Plugin in IntelliJ.

I can’t find similar error in this forum, My sincere apologies if I had missed this.
Many thanks in advance.

Information:Compilation completed with 1 error and 0 warnings in 1 sec
Information:1 error
Information:0 warnings
/Users/z608174/Performance_POC/Gatling_workspaces/MygovAlphaPerf/src/test/scala/com/mygov/alpha/RecordedSimulation.scala
Error:(9, 7) RecordedSimulation is already defined as class RecordedSimulation
class RecordedSimulation extends Simulation {

Please see below recorded Script.

package com.testsite.performance

import scala.concurrent.duration._

import io.gatling.core.Predef._
import io.gatling.http.Predef._
import io.gatling.jdbc.Predef._

class RecordedSimulation extends Simulation {

val httpProtocol = http
.baseURL(“http://testagent.testsite.com”)
.inferHtmlResources(white = WhiteList(), black = BlackList("""..js""", “”"..css""", “”"..gif""", “”"..jpeg""", “”"..jpg""", “”"..ico""", “”"..woff""", “”"..(t|o)tf""", “”"..png"""))
.acceptHeader("""text/html,application/xhtml+xml,application/xml;q=0.9,
/*;q=0.8""")
.acceptEncodingHeader(""“gzip, deflate”"")
.acceptLanguageHeader(""“en-gb,en;q=0.5"”")
.connection(""“keep-alive”"")
.userAgentHeader(""“Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:30.0) Gecko/20100101 Firefox/30.0"”")

val headers_1 = Map(
“”“Accept”"" → “”“application/json, text/javascript, /; q=0.01"”",
“”“Origin”"" → “”“http://buildagent.digital.gov.uk”"")

val uri1 = “”“http://testagent.testsite.com”""

val scn = scenario(“RecordedSimulation”)
.exec(http(“request_0”)
.get("""/privacy""")
.resources(http(“request_1”)
.get(“http://” + uri1 + “”":3000/related/privacy""")
.headers(headers_1)))
.pause(3)
.exec(http(“request_2”)
.get("""/cookies""")
.resources(http(“request_3”)
.get(“http://” + uri1 + “”":3000/related/cookies""")
.headers(headers_1)))
.pause(1)
.exec(http(“request_4”)
.get("""/accessibility""")
.resources(http(“request_5”)
.get(“http://” + uri1 + “”":3000/related/accessibility""")
.headers(headers_1)))

setUp(scn.inject(atOnceUsers(1))).protocols(httpProtocol)
}

Thanks,
Raja