ЯТ
Size: a a a
ЯТ
ΙΤ
ЯТ
ΙΤ
import io.gatling.recorder.GatlingRecorder
import io.gatling.recorder.config.RecorderPropertiesBuilder
object Recorder extends App {
val props = new RecorderPropertiesBuilder()
.simulationsFolder(IDEPathHelper.recorderSimulationsDirectory.toString)
.simulationPackage("com.proj")
.resourcesFolder(IDEPathHelper.resourcesDirectory.toString)
GatlingRecorder.fromMap(props.build, Some(IDEPathHelper.recorderConfigFile))
}
ВС
io.gatling.commons.util.PathHelper$.url2path(PathHelper.scala:34)
at IDEPathHelper$.<init>(IDEPathHelper.scala:7)
ВС
ΙΤ
ΙΤ
ВС
"C:\Program Files\Java\jdk1.8.0_212\bin\java.exe" Recorder
Exception in thread "main" java.lang.ExceptionInInitializerError
at Recorder$.delayedEndpoint$Recorder$1(Recorder.scala:7)
at Recorder$delayedInit$body.apply(Recorder.scala:4)
at scala.Function0.apply$mcV$sp(Function0.scala:39)
at scala.Function0.apply$mcV$sp$(Function0.scala:39)
at scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:17)
at scala.App.$anonfun$main$1$adapted(App.scala:80)
at scala.collection.immutable.List.foreach(List.scala:392)
at scala.App.main(App.scala:80)
at scala.App.main$(App.scala:78)
at Recorder$.main(Recorder.scala:4)
at Recorder.main(Recorder.scala)
Caused by: java.lang.NullPointerException
at io.gatling.commons.util.PathHelper$.url2path(PathHelper.scala:34)
at IDEPathHelper$.<init>(IDEPathHelper.scala:7)
at IDEPathHelper$.<clinit>(IDEPathHelper.scala)
... 11 more
Process finished with exit code 1
ΙΤ
ВС
ΙΤ
ЯТ
sbt new gatling/gatling.g8и там рекордер работает через gatling:startRecorder
ΙΤ
ΙΤ
MS
ЕЕ
ΙΤ
ЕЕ