简体   繁体   中英

karate-gatling report aggregation

One question as just starting to use karate-gatling: is it possible to aggregate the reports generated? So after multiple runs to get one single report? It would be nice to be able to compare somehow the performance - to get automatically the information if there is a performance degradation or not. What I did try but did not work, was to copy the simulation logs and afterwards only generate the reports ("gatling.bat -ro simulations") but this did not work. The error that I got was: gatling.bat -ro simulations/catskaratesimulation-1544015145031 GATLING_HOME is set to "D:\\AutomationTeam\\gatling-charts-highcharts-bundle-3.0.1.1" JAVA = ""C:\\Program Files\\Java\\jdk1.8.0_131\\bin\\java.exe"" Parsing log file(s)... Exception in thread "main" java.lang.NumberFormatException: For input string: "catskaratesimulation" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Long.parseLong(Long.java:589) at java.lang.Long.parseLong(Long.java:631) at scala.collection.immutable.StringLike.toLong(StringLike.scala:305) at scala.collection.immutable.StringLike.toLong$(StringLike.scala:305) at scala.collection.immutable.StringOps.toLong(StringOps.scala:29) at io.gatling.charts.stats.LogFileReader.$anonfun$firstPass$1(LogFileReader.scala:102) at scala.collection.Iterator.foreach(Iterator.scala:937) at scala.collection.Iterator.foreach$(Iterator.scala:937) at scala.collection.AbstractIterator.foreach(Iterator.scala:1425) a t io.gatling.charts.stats.LogFileReader.firstPass(LogFileReader.scala:86) at io.gatling.charts.stats.LogFileReader.$anonfun$x$4$1(LogFileReader.scala:125) at io.gatling.charts.stats.LogFileReader.parseInputFiles(LogFileReader.scala:63) at io.gatling.charts.stats.LogFileReader.(LogFileReader.scala:125) at io.gatling.app.RunResultProcessor.initLogFileReader(RunResultProcessor.scala:67) at io.gatling.app.RunResultProcessor.processRunResult(RunResultProcessor.scala:49) at io.gatling.app.Gatling$.start(Gatling.scala:81) at io.gatling.app.Gatling$.fromArgs(Gatling.scala:46) at io.gatling.app.Gatling$.main(Gatling.scala:38) at io.gatling.app.Gatling.main(Gatling.scala)

Is there another way to do it? Should I somehow reconfigure gatling? Thanks!

通过gatling.bat -ro folder_with_simulations使用相同版本(2.2.4)时,它可以工作。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM