IntelliJ IDEA inegration with Gatling

3,272 views
Skip to first unread message

Ashish Kumar

unread,
Nov 8, 2016, 1:58:41 AM11/8/16
to Gatling User Group
Can any one help out please how to run the simulation using IDE?I have no prior experience on maven and IDE.

Mario Mann

unread,
Nov 8, 2016, 7:21:32 AM11/8/16
to Gatling User Group
Hi Ashish,

do the following steps:

Documentation: Maven Archetype

Maven-Central: io.gatling.highcharts


Create a new Maven-Project and use the following Maven Archetype properties:


In IntelliJ: File -> New -> Project... -> Maven -> Create from archtype (check) -> Add Archtype...


GroupIdio.gatling.highcharts
ArtifactIdgatling-highcharts-maven-archetype
Version2.1.7
Repository (optional) 


You need to install the following IDE-Plugins, for example in eclipse:

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.

Greets
Mario

Ashish Kumar

unread,
Nov 11, 2016, 12:36:24 AM11/11/16
to Gatling User Group
Thanks a lot its working fine.
Reply all
Reply to author
Forward
0 new messages