we have some load tests in gatling (written in Scala), we can run the test from command but cannot run/debug it in IntelliJ. in the IntelliJ, i don't see there is no green button(arrow) next to that class that I can click and run it; right click that class in the popup menu there is no option as 'run ClassName' or 'debug ClassName'. I'm wondering if we define the class wrong. here is the test class:
class IngestionTestExecution
extends IngestionScenarios
with TestScenariosExecution { ... }
trait IngestionScenarios extends CommonScenarios with RequestBuilders {..}
trait TestScenariosExecution extends Simulation with StrictLogging {...}
the commandline to run the test:
sbt "project qaLoad" "gatling-it:testOnly com.example.load.gatling.execution.IngestionTestExecution"
is that true that i have to have my test class IngestionTestExecution
directly extends Simulation
in order to run/debug in IntelliJ?