Hello All,
I have some multiple simulation.log files generated from the distributed loadtest from Gatling.
I want to generate a single report or merge the reports to make it single report.
Therefore, I have placed all the simulation.log files inside a folder and executing the below command:
gatling -ro /Users/xxxx/Documents/random/rans/
But, it seems that the execution is giving error as below:
gatling -ro /Users/xxxxxxxx/Documents/random/rans/
GATLING_HOME is set to /Users/xxxxxxxx/Downloads/gatling-charts-highcharts-bundle-3.3.1
13:04:25,065 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
13:04:25,066 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
13:04:25,067 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/Users/xxxxxxxx/Downloads/gatling-charts-highcharts-bundle-3.3.1/conf/logback.xml]
13:04:25,067 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs multiple times on the classpath.
13:04:25,067 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [file:/Users/xxxxxxxx/workspace/qa_checkout_nonfunctional_tests/logback.xml]
13:04:25,067 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [file:/Users/xxxxxxxx/Downloads/gatling-charts-highcharts-bundle-3.3.1/conf/logback.xml]
13:04:25,160 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
13:04:25,160 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
13:04:25,167 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [CONSOLE]
13:04:25,175 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
13:04:25,228 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to WARN
13:04:25,228 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [CONSOLE] to Logger[ROOT]
13:04:25,228 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
13:04:25,230 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@dd3b207 - Registering current configuration as safe fallback point
13:04:53.119 [ERROR] i.g.c.ZincCompiler$ - Error while emitting completeScript
Method too large: completeScript. ()V
13:04:53.120 [ERROR] i.g.c.ZincCompiler$ - Error while emitting filteredScript
Method too large: filteredScript. ()V
13:04:53.120 [ERROR] i.g.c.ZincCompiler$ - Error while emitting mytoysPerformance
Method too large: mytoysPerformance. ()V
13:04:53.120 [ERROR] i.g.c.ZincCompiler$ - Error while emitting sixthAprilScript
Method too large: sixthAprilScript. ()V
13:04:53.128 [ERROR] i.g.c.ZincCompiler$ - four errors found
13:04:53.131 [ERROR] i.g.c.ZincCompiler$ - Compilation crashed
sbt.internal.inc.CompileFailed: null
at sbt.internal.inc.AnalyzingCompiler.call(AnalyzingCompiler.scala:253)
at sbt.internal.inc.AnalyzingCompiler.compile(AnalyzingCompiler.scala:122)
at sbt.internal.inc.AnalyzingCompiler.compile(AnalyzingCompiler.scala:95)
at sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$4(MixedAnalyzingCompiler.scala:91)
at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
at sbt.internal.inc.MixedAnalyzingCompiler.timed(MixedAnalyzingCompiler.scala:186)
at sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$3(MixedAnalyzingCompiler.scala:82)
at sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$3$adapted(MixedAnalyzingCompiler.scala:77)
at sbt.internal.inc.JarUtils$.withPreviousJar(JarUtils.scala:215)
at sbt.internal.inc.MixedAnalyzingCompiler.compileScala$1(MixedAnalyzingCompiler.scala:77)
at sbt.internal.inc.MixedAnalyzingCompiler.compile(MixedAnalyzingCompiler.scala:146)
at sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1(IncrementalCompilerImpl.scala:343)
at sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1$adapted(IncrementalCompilerImpl.scala:343)
at sbt.internal.inc.Incremental$.doCompile(Incremental.scala:120)
at sbt.internal.inc.Incremental$.$anonfun$compile$4(Incremental.scala:100)
at sbt.internal.inc.IncrementalCommon.recompileClasses(IncrementalCommon.scala:180)
at sbt.internal.inc.IncrementalCommon.cycle(IncrementalCommon.scala:98)
at sbt.internal.inc.Incremental$.$anonfun$compile$3(Incremental.scala:102)
at sbt.internal.inc.Incremental$.manageClassfiles(Incremental.scala:155)
at sbt.internal.inc.Incremental$.compile(Incremental.scala:92)
at sbt.internal.inc.IncrementalCompile$.apply(Compile.scala:75)
at sbt.internal.inc.IncrementalCompilerImpl.compileInternal(IncrementalCompilerImpl.scala:348)
at sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileIncrementally$1(IncrementalCompilerImpl.scala:301)
at sbt.internal.inc.IncrementalCompilerImpl.handleCompilationError(IncrementalCompilerImpl.scala:168)
at sbt.internal.inc.IncrementalCompilerImpl.compileIncrementally(IncrementalCompilerImpl.scala:248)
at sbt.internal.inc.IncrementalCompilerImpl.compile(IncrementalCompilerImpl.scala:74)
at io.gatling.compiler.ZincCompiler$.doCompile(ZincCompiler.scala:211)
at io.gatling.compiler.ZincCompiler$.delayedEndpoint$io$gatling$compiler$ZincCompiler$1(ZincCompiler.scala:216)
at io.gatling.compiler.ZincCompiler$delayedInit$body.apply(ZincCompiler.scala:39)
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 io.gatling.compiler.ZincCompiler$.main(ZincCompiler.scala:39)
at io.gatling.compiler.ZincCompiler.main(ZincCompiler.scala)
13:04:53,473 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
13:04:53,474 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
13:04:53,475 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/Users/xxxxxxxx/Downloads/gatling-charts-highcharts-bundle-3.3.1/conf/logback.xml]
13:04:53,475 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs multiple times on xxxxxxxx classpath.
13:04:53,475 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [file:/Users/xxxxxxxx/workspace/project_name/logback.xml]
13:04:53,475 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [file:/Users/xxxxxxxx/Downloads/gatling-charts-highcharts-bundle-3.3.1/conf/logback.xml]
13:04:53,533 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
13:04:53,533 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
13:04:53,537 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [CONSOLE]
13:04:53,543 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
13:04:53,584 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to WARN
13:04:53,584 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [CONSOLE] to Logger[ROOT]
13:04:53,584 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
13:04:53,585 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@4671e53b - Registering current configuration as safe fallback point
Parsing log file(s)…
Parsing log file(s) done
Generating reports…
Exception in thread “main” java.lang.ArrayIndexOutOfBoundsException: Index -69 out of bounds for length 1000
at io.gatling.charts.stats.buffers.SessionDeltaBuffer.$anonfun$distribution$5(SessionDeltaPerSecBuffers.scala:63)
at scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:238)
at scala.collection.mutable.HashMap.$anonfun$foreach$1(HashMap.scala:149)
at scala.collection.mutable.HashTable.foreachEntry(HashTable.scala:237)
at scala.collection.mutable.HashTable.foreachEntry$(HashTable.scala:230)
at scala.collection.mutable.HashMap.foreachEntry(HashMap.scala:44)
at scala.collection.mutable.HashMap.foreach(HashMap.scala:149)
at scala.collection.TraversableLike.map(TraversableLike.scala:238)
at scala.collection.TraversableLike.map$(TraversableLike.scala:231)
at scala.collection.AbstractTraversable.map(Traversable.scala:108)
at io.gatling.charts.stats.buffers.SessionDeltaBuffer.distribution(SessionDeltaPerSecBuffers.scala:60)
at io.gatling.charts.stats.LogFileReader.numberOfActiveSessionsPerSecond(LogFileReader.scala:197)
at io.gatling.charts.report.AllSessionsReportGenerator.generate(AllSessionsReportGenerator.scala:32)
at io.gatling.charts.report.ReportsGenerator.$anonfun$generateFor$2(ReportsGenerator.scala:62)
at io.gatling.charts.report.ReportsGenerator.$anonfun$generateFor$2$adapted(ReportsGenerator.scala:62)
at scala.collection.immutable.List.foreach(List.scala:392)
at io.gatling.charts.report.ReportsGenerator.generateFor(ReportsGenerator.scala:62)
at io.gatling.app.RunResultProcessor.generateReports(RunResultProcessor.scala:62)
at io.gatling.app.RunResultProcessor.processRunResult(RunResultProcessor.scala:40)
at io.gatling.app.Gatling$.start(Gatling.scala:88)
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)
Could someone please guide me whats wrong here?
Regards,
Ramandeep Singh