Hello,
i am really new to gatling.
I build some objects which gatling can execute. It looks similar to this:
`
object test {
val action = exec(http(test)
.get("/")
.check(status.is(200)))
.exec(session => session.set(“sessionKey”, “test”)
}
object start {
private val feeder = csv(“path/to/csv”)
val action = feed(feeder)
.exec(http(start)
.get("/")
.check(status.is(200)))
.exec(session => session.set(“sessionKey”, “start”)
}
`
Everything works if I run my gatling application.
Now my question. Is it possible to test my objects? I would like to write JUnit tests or something similar.
The problem I have got is that, for testing the objects i need to run gatling in some JUnit test environment, or? Is that even possible?
How are you testing your gatling configuration?