Hi,
I have noticed an intermittent issue when running tests which fails with connection times out.
I’m not sure if this is acoincidence but each time I see a broken report there are also error messages (connection timeout most of the cases)
I haven’t seen it so far for successfull tests.
The test I’m running is the following: 2000-5000 active users/injector with peak requests rate of 700req/sec.
Is there a way to avoid these exceptions ?
Thank you in advance!
gatling.version: 3.5.1 (tried also with 3.2.0 with same results)
gatling.maven.plugin.version:3.1.(3.0.5)
scala-maven-plugin.version 4.4.1(4.1.1)
Guilty line:
USER Varnish START 161701795909url get request 1617017959045 1617017959066 KO status.find.is(200), but actually found 429
Exception sample catched when trying to merge report from multiple injectors:
Exception in thread “main” java.lang.NumberFormatException: For input string: “161701795909url get request”
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.StringOps$.toLong$extension(StringOps.scala:902)
at io.gatling.charts.stats.LogFileReader.$anonfun$firstPass$1(LogFileReader.scala:98)
at scala.collection.IterableOnceOps.foreach(IterableOnce.scala:553)
at scala.collection.IterableOnceOps.foreach$(IterableOnce.scala:551)
at scala.collection.AbstractIterator.foreach(Iterator.scala:1279)
at io.gatling.charts.stats.LogFileReader.firstPass(LogFileReader.scala:87)
at io.gatling.charts.stats.LogFileReader.$anonfun$firstPassData$1(LogFileReader.scala:139)
at io.gatling.charts.stats.LogFileReader.parseInputFiles(LogFileReader.scala:65)
at io.gatling.charts.stats.LogFileReader.(LogFileReader.scala:139)
at io.gatling.app.RunResultProcessor.initLogFileReader(RunResultProcessor.scala:52)
at io.gatling.app.RunResultProcessor.processRunResult(RunResultProcessor.scala:34)
at io.gatling.app.Gatling$.start(Gatling.scala:89)
at io.gatling.app.Gatling$.fromArgs(Gatling.scala:45)
at io.gatling.app.Gatling$.main(Gatling.scala:37)
at io.gatling.app.Gatling.main(Gatling.scala)
another example:
12:50:36,048 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
12:50:36,048 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
12:50:36,048 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [jar:file:zzzzz.jar!/logback.xml]
12:50:36,056 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList@763d9750 - URL [jar:file:/opt/gatling/zzzzz.jar.jar!/logback.xml] is not of type file
12:50:36,099 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
12:50:36,099 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
12:50:36,104 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [CONSOLE]
12:50:36,108 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
12:50:36,145 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.FileAppender]
12:50:36,148 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [FILE]
12:50:36,153 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
12:50:36,153 |-INFO in ch.qos.logback.core.FileAppender[FILE] - File property is set to [GATLING_LOGS_IS_UNDEFINED/gatling_logs/test_loadtest-gatling-summary-936323-f2t95.log]
12:50:36,156 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@17:22 - no applicable action for [immediateFlush], current ElementPath is [[configuration][immediateFlush]]
12:50:36,156 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to ERROR
12:50:36,156 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [CONSOLE] to Logger[ROOT]
12:50:36,156 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
12:50:36,157 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@5c0369c4 - Registering current configuration as safe fallback point
Parsing log file(s)…
Exception in thread “main” java.lang.NumberFormatException: For input string: “START”
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.StringOps$.toLong$extension(StringOps.scala:902)
at io.gatling.charts.stats.LogFileReader.$anonfun$firstPass$1(LogFileReader.scala:98)
at scala.collection.IterableOnceOps.foreach(IterableOnce.scala:553)
at scala.collection.IterableOnceOps.foreach$(IterableOnce.scala:551)
at scala.collection.AbstractIterator.foreach(Iterator.scala:1279)
at io.gatling.charts.stats.LogFileReader.firstPass(LogFileReader.scala:87)
at io.gatling.charts.stats.LogFileReader.$anonfun$firstPassData$1(LogFileReader.scala:139)
at io.gatling.charts.stats.LogFileReader.parseInputFiles(LogFileReader.scala:65)
at io.gatling.charts.stats.LogFileReader.(LogFileReader.scala:139)
at io.gatling.app.RunResultProcessor.initLogFileReader(RunResultProcessor.scala:52)
at io.gatling.app.RunResultProcessor.processRunResult(RunResultProcessor.scala:34)
at io.gatling.app.Gatling$.start(Gatling.scala:89)
at io.gatling.app.Gatling$.fromArgs(Gatling.scala:45)
at io.gatling.app.Gatling$.main(Gatling.scala:37)
at io.gatling.app.Gatling.main(Gatling.scala)