2015-11-05 133 views
0

有没有办法从仿真中配置Gatling?我尝试从Scala中设置lowerBound和higherBound。我想出了如何覆盖它:有没有一种方法可以在模拟中配置Gatling?

val props = new HashMap[String, Any]() 
props += ("gatling.charting.indicators.lowerBound" -> 5) 
props += ("gatling.charting.indicators.higherBound" -> 100) 
GatlingConfiguration.setUp(props) 

但我只是想添加两个属性。

回答

1

不,它为时已晚:配置在仿真之前加载。