简体   繁体   English

空手道情报报告汇总

[英]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. 我试过但没有用的是复制模拟日志,然后仅生成报告(“ gatling.bat -ro模拟”),但这没有用。 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 我得到的错误是:gatling.bat -ro Simulations / catskaratesimulation-1544015145031 GATLING_HOME设置为“ D:\\ AutomationTeam \\ gatling-charts-highcharts-bundle-3.0.1.1” JAVA =“” C:\\ Program Files \\ Java \\ jdk1.8.0_131 \\ bin \\ java.exe“”正在解析日志文件...线程“ main”中的异常java.lang.NumberFormatException:对于输入字符串:java.lang.NumberFormatException.forInputString(在java.lang.Long.parseLong(Long.java:589)处的NumberFormatException.java:65)在scala.collection.immutable.StringLike.toLong(StringLike.scala)处的java.lang.Long.parseLong(Long.java:631)处:305)在scala.collection.immutable.StringLike.toLong $(StringLike.scala:305)在scala.collection.immutable.StringOps.toLong(StringOps.scala:29)在io.gatling.charts.stats.LogFileReader。$ anonfun $ firstPass $ 1(LogFileReader.scala:102)位于scala.collection.Iterator.foreach(Iterator.scala:937)位于scala.collection.Iterator.foreach $(Iterator.scala:937)位于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) t io.gatling.charts.stats.LogFileReader。$ anonfun $ x $ 4 $ 1(LogFileReader.scala:125)上的io.gatling.charts.stats.LogFileReader.firstPass(LogFileReader.scala:86)在io.gatling.charts上。 io的io.gatling.charts.stats.LogFileReader。(LogFileReader.scala:125)的stats.LogFileReader.parseInputFiles(LogFileReader.scala:63)io的io.gatling.app.RunResultProcessor.initLogFileReader(RunResultProcessor.scala:67) io.gatling.app.Gatling $ .start(Gatling.scala:81)的gatling.app.RunResultProcessor.processRunResult(RunResultProcessor.scala:49)在io.gatling.app.Gatling $ .fromArgs(Gatling.scala:46)在io.gatling.app.Gatling $ .main(Gatling.scala:38)在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)时,它可以工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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