Gatling IntelliJ import io.gatling failure

1,066 views
Skip to first unread message

Bharathan Kumaran

unread,
Oct 1, 2015, 12:57:36 AM10/1/15
to Gatling User Group
Hi All,

I created a maven project for gatling using the maven archetype mentioned in as mentioned in Step by step guide to setting up IDEA to write gatling simulations the maven build was successful.
but the import files mentioned below are not imported. Correct me what went wrong.
import io.gatling.core.config.GatlingPropertiesBuilder
import io.gatling.app.Gatling 
import scala.tools.nsc.io.File
import scala.tools.nsc.io.Path.string2path
import io.gatling.recorder.controller.RecorderController
import io.gatling.recorder.config.RecorderPropertiesBuilder
pom.xml
GatlingMavenProjectScreenshot.jpg

Pierre DAL-PRA

unread,
Oct 1, 2015, 2:12:50 AM10/1/15
to gat...@googlegroups.com
Look at the versions. That gist is ANCIENT. those imports are simply not needed anymore.

If the build is successful, it's probably because it's all good and your project works, no ? :)

--
You received this message because you are subscribed to the Google Groups "Gatling User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gatling+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Pierre DAL-PRA

unread,
Oct 1, 2015, 2:14:11 AM10/1/15
to gat...@googlegroups.com
Btw, your version of Gatling is ancient too, latest is 2.1.7.

Boris K

unread,
Oct 3, 2015, 6:03:26 AM10/3/15
to Gatling User Group
Hi all,

I've created a new Intellij project with archetype 1.5.6 and Gatling version 2.1.7. And I have the same issues.
Should the project be created as archetype? Because in your example here it looks much simpler, but I wonder how it works - https://github.com/gatling/gatling-maven-plugin-demo/blob/master/pom.xml

Thanks,
Boris
pom.xml
gatling.PNG

Pierre DAL-PRA

unread,
Oct 3, 2015, 6:06:10 AM10/3/15
to gat...@googlegroups.com
Using a version of the archetype almost 2 years old with the latest version of Gatling has little chance to work.
Use the 2.1.7 version of the archetype.

--
Reply all
Reply to author
Forward
0 new messages