Can any one help out please how to run the simulation using IDE?I have no prior experience on maven and IDE.
do the following steps:
Documentation: Maven Archetype
Create a new Maven-Project and use the following Maven Archetype properties:
In IntelliJ: File → New → Project… → Maven → Create from archtype (check) → Add Archtype…
You need to install the following IDE-Plugins, for example in eclipse:
- Scala IDE plugin: http://scala-ide.org. CAUTION, you need the correct Scala version: Gatling 1 use Scala 2.9 and Gatling 2 use Scala 2.10. Update Site: http://download.scala-ide.org/sdk/lithium/e44/scala211/stable/site
- Maven Integration for Scala Plugin (m2e AND m2e-scala). Update Site: http://alchim31.free.fr/m2e-scala/update-site
For intelliJ IDE you need to install the Scala Plugin.
After you created a new maven project, you find the following project structure:
a new simulation is saved in src/test/scala. The results are saved in target/results.
The execution of Recorder.scala opens the recorder and Engine.scala will execute the simulation.
Hope this helps you.
Thanks a lot its working fine.