Value from command line does not get into the simulation

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

Could you try this -DMiljo=“https://utv2.kj.nhn.no” instead of -Dgatling.Miljo=“https://utv2.kj.nhn.no

And by stating this instead
val myProperty = sys.props.get(“gatling.Miljo”)

println("Miljo: " + myProperty)

I get:

MILJO:

Some(https://utv2.kj.nhn.no)

I found my incorrect implementation I needed to use:

val myProperty = sys.props.get(“gatling.Miljo”).mkString