Doing this:
.
.
.
class KubtestSimulation extends Simulation {
val myProperty = sys.props.get(“Miljo”)
println("Miljo: " + myProperty)
val httpProtocol = http
.baseUrl(myProperty.toString)
Results in this being printed:
MILJO:
None
My command (line) statement is:
mvn gatling:test -Dgatling.simulationClass=kjernejournal.KubtestSimulation -Dgatling.Miljo=“https://utv2.kj.nhn.no”