想在不同的环境(测试和开发环境等)中运行相同的 gatling 测试,如何从不同的环境中获取 url 并使用它来运行相同的 gatling 测试
like env.qa - store all qa urls
env.dev - store all dev urls
env.prod - store all prod urls
Pass env as a run time variable that should go and run the gatling in test in that particular environment
and ./gradlew clean gatlingRun -DGATLING_ENV="dev"
./gradlew clean gatlingRun -DGATLING_ENV="qa"
./gradlew clean gatlingRun -DGATLING_ENV="prod"
something like this.