Issues with HTTP-Body

343 views
Skip to first unread message

nikolaos....@googlemail.com

unread,
Apr 20, 2016, 11:55:45 AM4/20/16
to Gatling User Group
Hi,

does anyone run into the same issue with bodyPart:

<<<<<<<<<<<<<<<<<<<<<<<<<
17:43:52.574 [DEBUG] i.g.h.a.s.HttpTx$ - Sending request=MailImportRequest uri=http://192.168.32.185:80/ajax/mail?action=import&session=2cec2b5e1f1e44a8bdabd41073f86ff9&folder=default0%2FINBOX&force=true: scenario=TestSim, userId=1
17:43:52.599 [ERROR] i.g.h.a.ResponseProcessor - AsyncHandlerActor crashed on tx HttpTx(Session(TestSim,1,Map(OX_FID_SPAM -> default0/INBOX/Spam, gatling.http.cache.dns -> io.gatling.http.resolver.ShuffleJdkNameResolver@7abf8617, username -> ntsapanidis, OX_CID -> 10, OX_LOCALE -> en_US, OX_FID_CONTACTS -> 72, OX_FID_DRAFTS -> default0/INBOX/Drafts, OX_FID_INBOX -> default0/INBOX, OX_USER_FIRST_NAME -> Nikolaos, OX_FID_TRASH -> default0/INBOX/Trash, OX_USER_ID -> 7, OX_USER_EMAIL1 -> ntsap...@qa.open-xchange.com, OX_FID_SENT -> default0/INBOX/Sent Items, OX_USER_LAST_NAME -> Tsapanidis, gatling.http.cookies -> CookieJar(Map(CookieKey(jsessionid,192.168.32.185,/) -> StoredCookie(JSESSIONID=6420423192345160903.OX0; path=/; HTTPOnly,true,false,1461167032470), CookieKey(open-xchange-secret-8qexptgwfutdjyq2ozcctg,192.168.32.185,/) -> StoredCookie(open-xchange-secret-8QEXPtGwFUTDjyQ2ozCCTg=c54010a279724a43b6966b9eef8e345a; path=/; HTTPOnly,true,false,1461167032470), CookieKey(open-xchange-public-session-6c0cdcee26d746ee17ec4d8496604707,192.168.32.185,/) -> StoredCookie(open-xchange-public-session-6c0cdcee26d746ee17ec4d8496604707=c630638c22ad4e4ea1afd1cb6b18c943; path=/; HTTPOnly,true,false,1461167032470))), password -> secret, OX_SESSION -> 2cec2b5e1f1e44a8bdabd41073f86ff9),1461167032111,144,OK,List(GroupBlock(List(Mail),1461167032555,0,OK)),io.gatling.core.protocol.ProtocolComponentsRegistry$$Lambda$205/238712030@335db09f),HttpRequest(MailImportRequest,http://192.168.32.185:80/ajax/mail?action=import&session=2cec2b5e1f1e44a8bdabd41073f86ff9&folder=default0%2FINBOX&force=true POST headers: Connection:keep-alive Content-Type:multipart/form-data Accept-Charset:application/json, text/javascript, */*; q=0.01 Accept-Language:en-US,en;q=0.5 Accept-Encoding:gzip, deflate User-Agent:GATLING/TestSim,HttpRequestConfig(List(HttpCheck(CheckBase(io.gatling.http.check.HttpCheckBuilders$$$Lambda$37/875506178@61396862,io.gatling.core.session.package$ExpressionSuccessWrapper$$$Lambda$35/507097049@653fb547,<function1>,None),Status,None)),None,None,None,false,None,false,true,CoreComponents(Actor[akka://GatlingSystem/user/gatling-controller#-755869383],io.gatling.core.controller.throttle.Throttler@1cfcc44f,io.gatling.core.stats.DataWritersStatsEngine@4f1cf1a,io.gatling.core.action.Exit@5fcf844e,GatlingConfiguration(CoreConfiguration(2.2.0,None,None,utf-8,None,ExtractConfiguration(RegexConfiguration(200),XPathConfiguration(200),JsonPathConfiguration(200,false),CssConfiguration(200)),DirectoryConfiguration(user-files/data,user-files/bodies,user-files/simulations,None,None,/home/zap23/git/performance/com.openexchange.test.performance.gatling/project-ajax/target/gatling),true,200,200,1000),ChartingConfiguration(false,1000,false,IndicatorsConfiguration(800,1200,50.0,75.0,95.0,99.0)),HttpConfiguration(200,200,200,Some(http://gatling.io),true,SslConfiguration(None,None),AhcConfiguration(true,60000,60000,60000,2,60000,true,4096,8192,8192,10240000,List(TLSv1.2, TLSv1.1, TLSv1),List(),0,0,false,false,true,true,false,-1,-1,-1),DnsConfiguration(5000,3)),JmsConfiguration(5000),DataConfiguration(ArrayBuffer(io.gatling.core.stats.writer.ConsoleDataWriterType$@40734828, io.gatling.core.stats.writer.FileDataWriterType$@3ad732d5),FileDataWriterConfiguration(8192),LeakDataWriterConfiguration(30),ConsoleDataWriterConfiguration(false),GraphiteDataWriterConfiguration(false,localhost,2003,Tcp,gatling,8192,1)),Config(SimpleConfigObject({"awt":{"toolkit":"sun.awt.X11.XToolkit"},"file":{"encoding":{"pkg":"sun.io"},"separator":"/"},"gatling":{"charting":{"indicators":{"higherBound":1200,"lowerBound":800,"percentile1":50,"percentile2":75,"percentile3":95,"percentile4":99},"maxPlotPerSeries":1000,"noReports":false,"useGroupDurationMetric":false},"core":{"directory":{"binaries":"","bodies":"user-files/bodies","data":"user-files/data","reportsOnly":"","results":"/home/zap23/git/performance/com.openexchange.test.performance.gatling/project-ajax/target/gatling","simulations":"user-files/simulations"},"elFileBodiesCacheMaxCapacity":200,"encoding":"utf-8","extract":{"css":{"cacheMaxCapacity":200},"jsonPath":{"cacheMaxCapacity":200,"preferJackson":false},"regex":{"cacheMaxCapacity":200},"xpath":{"cacheMaxCapacity":200}},"mute":true,"outputDirectoryBaseName":"","rawFileBodiesCacheMaxCapacity":200,"rawFileBodiesInMemoryMaxSize":1000,"runDescription":"","simulationClass":""},"data":{"console":{"light":false},"file":{"bufferSize":8192},"graphite":{"bufferSize":8192,"host":"localhost","light":false,"port":2003,"protocol":"tcp","rootPathPrefix":"gatling","writeInterval":1},"leak":{"noActivityTimeout":30},"writers":["console","file"]},"http":{"ahc":{"acceptAnyCertificate":true,"connectTimeout":60000,"httpClientCodecMaxChunkSize":8192,"httpClientCodecMaxHeaderSize":8192,"httpClientCodecMaxInitialLineLength":4096,"keepAlive":true,"maxRetry":2,"pooledConnectionIdleTimeout":60000,"readTimeout":60000,"requestTimeout":60000,"soLinger":-1,"soRcvBuf":-1,"soReuseAddress":false,"soSndBuf":-1,"sslEnabledCipherSuites":[],"sslEnabledProtocols":["TLSv1.2","TLSv1.1","TLSv1"],"sslSessionCacheSize":0,"sslSessionTimeout":0,"tcpNoDelay":true,"useNativeTransport":false,"useOpenSsl":false,"usePooledMemory":true,"webSocketMaxFrameSize":10240000},"dns":{"maxQueriesPerResolve":3,"queryTimeout":5000},"enableGA":true,"fetchedCssCacheMaxCapacity":200,"fetchedHtmlCacheMaxCapacity":200,"perUserCacheMaxCapacity":200,"ssl":{"keyStore":{"algorithm":"","file":"","password":"","type":""},"trustStore":{"algorithm":"","file":"","password":"","type":""}},"warmUpUrl":"http://gatling.io"},"jms":{"acknowledgedMessagesBufferSize":5000}},"java":{"awt":{"graphicsenv":"sun.awt.X11GraphicsEnvironment","printerjob":"sun.print.PSPrinterJob"},"class":{"path":"/home/zap23/git/performance/com.openexchange.test.performance.gatling/project-ajax/target/scala-2.11/test-classes:/home/zap23/git/performance/com.openexchange.test.performance.gatling/project-ajax/target/scala-2.11/classes:/home/zap23/git/performance/com.openexchange.test.performance.gatling/project-common/target/scala-2.11/classes:/home/zap23/git/performance/com.openexchange.test.performance.gatling/project-common/target/scala-2.11/test-classes:/home/zap23/.ivy2/cache/com.fasterxml.jackson.module/jackson-module-scala_2.11/bundles/jackson-module-scala_2.11-2.7.3.jar:/home/zap23/.ivy2/cache/org.scala-lang/scala-library/jars/scala-library-2.11.8.jar:/home/zap23/.ivy2/cache/org.scala-lang/scala-reflect/jars/scala-reflect-2.11.8.jar:/home/zap23/.ivy2/cache/com.fasterxml.jackson.core/jackson-core/bundles/jackson-core-2.7.3.jar:/home/zap23/.ivy2/cache/com.fasterxml.jackson.core/jackson-annotations/bundles/jackson-annotations-2.7.3.jar:/home/zap23/.ivy2/cache/com.fasterxml.jackson.core/jackson-databind/bundles/jackson-databind-2.7.3.jar:/home/zap23/.ivy2/cache/com.fasterxml.jackson.module/jackson-module-paranamer/bundles/jackson-module-paranamer-2.7.3.jar:/home/zap23/.ivy2/cache/com.thoughtworks.paranamer/paranamer/bundles/paranamer-2.8.jar:/home/zap23/.ivy2/cache/joda-time/joda-time/jars/joda-time-2.9.3.jar:/home/zap23/.ivy2/cache/org.joda/joda-convert/jars/joda-convert-1.8.1.jar:/home/zap23/.ivy2/cache/org.apache.tika/tika-parsers/bundles/tika-parsers-1.12.jar:/home/zap23/.ivy2/cache/org.apache.tika/tika-core/jars/tika-core-1.12.jar:/home/zap23/.ivy2/cache/org.gagravarr/vorbis-java-tika/jars/vorbis-java-tika-0.6.jar:/home/zap23/.ivy2/cache/com.healthmarketscience.jackcess/jackcess/jars/jackcess-2.1.2.jar:/home/zap23/.ivy2/cache/commons-lang/commons-lang/jars/commons-lang-2.6.jar:/home/zap23/.ivy2/cache/commons-logging/commons-logging/jars/commons-logging-1.1.3.jar:/home/zap23/.ivy2/cache/com.healthmarketscience.jackcess/jackcess-encrypt/jars/jackcess-encrypt-2.1.1.jar:/home/zap23/.ivy2/cache/net.sourceforge.jmatio/jmatio/jars/jmatio-1.0.jar:/home/zap23/.ivy2/cache/org.apache.james/apache-mime4j-core/jars/apache-mime4j-core-0.7.2.jar:/home/zap23/.ivy2/cache/org.apache.james/apache-mime4j-dom/jars/apache-mime4j-dom-0.7.2.jar:/home/zap23/.ivy2/cache/org.apache.commons/commons-compress/jars/commons-compress-1.10.jar:/home/zap23/.ivy2/cache/org.tukaani/xz/jars/xz-1.5.jar:/home/zap23/.ivy2/cache/commons-codec/commons-codec/jars/commons-codec-1.9.jar:/home/zap23/.ivy2/cache/org.apache.pdfbox/pdfbox/bundles/pdfbox-1.8.10.jar:/home/zap23/.ivy2/cache/org.apache.pdfbox/fontbox/bundles/fontbox-1.8.10.jar:/home/zap23/.ivy2/cache/org.apache.pdfbox/jempbox/bundles/jempbox-1.8.10.jar:/home/zap23/.ivy2/cache/org.bouncycastle/bcmail-jdk15on/jars/bcmail-jdk15on-1.52.jar:/home/zap23/.ivy2/cache/org.apache.poi/poi/jars/poi-3.13.jar:/home/zap23/.ivy2/cache/org.apache.poi/poi-scratchpad/jars/poi-scratchpad-3.13.jar:/home/zap23/.ivy2/cache/org.apache.poi/poi-ooxml/jars/poi-ooxml-3.13.jar:/home/zap23/.ivy2/cache/org.apache.poi/poi-ooxml-schemas/jars/poi-ooxml-schemas-3.13.jar:/home/zap23/.ivy2/cache/org.apache.xmlbeans/xmlbeans/jars/xmlbeans-2.6.0.jar:/home/zap23/.ivy2/cache/org.ccil.cowan.tagsoup/tagsoup/jars/tagsoup-1.2.1.jar:/home/zap23/.ivy2/cache/org.ow2.asm/asm/jars/asm-5.0.4.jar:/home/zap23/.ivy2/cache/com.googlecode.mp4parser/isoparser/jars/isoparser-1.0.2.jar:/home/zap23/.ivy2/cache/org.aspectj/aspectjrt/jars/aspectjrt-1.8.0.jar:/home/zap23/.ivy2/cache/com.drewnoakes/metadata-extractor/jars/metadata-extractor-2.8.0.jar:/home/zap23/.ivy2/cache/com.adobe.xmp/xmpcore/jars/xmpcore-5.1.2.jar:/home/zap23/.ivy2/cache/de.l3s.boilerpipe/boilerpipe/jars/boilerpipe-1.1.0.jar:/home/zap23/.ivy2/cache/com.rometools/rome/jars/rome-1.5.1.jar:/home/zap23/.ivy2/cache/com.rometools/rome-utils/jars/rome-utils-1.5.1.jar:/home/zap23/.ivy2/cache/org.jdom/jdom/jars/jdom-2.0.2.jar:/home/zap23/.ivy2/cache/org.gagravarr/vorbis-java-core/jars/vorbis-java-core-0.6.jar:/home/zap23/.ivy2/cache/com.googlecode.juniversalchardet/juniversalchardet/jars/juniversalchardet-1.0.3.jar:/home/zap23/.ivy2/cache/org.codelibs/jhighlight/jars/jhighlight-1.0.2.jar:/home/zap23/.ivy2/cache/com.pff/java-libpst/jars/java-libpst-0.8.1.jar:/home/zap23/.ivy2/cache/com.github.junrar/junrar/jars/junrar-0.7.jar:/home/zap23/.ivy2/cache/commons-logging/commons-logging-api/jars/commons-logging-api-1.1.jar:/home/zap23/.ivy2/cache/org.apache.commons/commons-vfs2/jars/commons-vfs2-2.0.jar:/home/zap23/.ivy2/cache/org.apache.maven.scm/maven-scm-api/jars/maven-scm-api-1.4.jar:/home/zap23/.ivy2/cache/org.codehaus.plexus/plexus-utils/jars/plexus-utils-1.5.6.jar:/home/zap23/.ivy2/cache/org.apache.maven.scm/maven-scm-provider-svnexe/jars/maven-scm-provider-svnexe-1.4.jar:/home/zap23/.ivy2/cache/org.apache.maven.scm/maven-scm-provider-svn-commons/jars/maven-scm-provider-svn-commons-1.4.jar:/home/zap23/.ivy2/cache/regexp/regexp/jars/regexp-1.3.jar:/home/zap23/.ivy2/cache/org.apache.cxf/cxf-rt-rs-client/bundles/cxf-rt-rs-client-3.0.3.jar:/home/zap23/.ivy2/cache/org.apache.cxf/cxf-rt-transports-http/bundles/cxf-rt-transports-http-3.0.3.jar:/home/zap23/.ivy2/cache/org.apache.cxf/cxf-core/bundles/cxf-core-3.0.3.jar:/home/zap23/.ivy2/cache/org.codehaus.woodstox/woodstox-core-asl/jars/woodstox-core-asl-4.4.1.jar:/home/zap23/.ivy2/cache/org.codehaus.woodstox/stax2-api/bundles/stax2-api-3.1.4.jar:/home/zap23/.ivy2/cache/org.apache.ws.xmlschema/xmlschema-core/bundles/xmlschema-core-2.1.0.jar:/home/zap23/.ivy2/cache/org.apache.cxf/cxf-rt-frontend-jaxrs/bundles/cxf-rt-frontend-jaxrs-3.0.3.jar:/home/zap23/.ivy2/cache/javax.ws.rs/javax.ws.rs-api/jars/javax.ws.rs-api-2.0.1.jar:/home/zap23/.ivy2/cache/javax.annotation/javax.annotation-api/jars/javax.annotation-api-1.2.jar:/home/zap23/.ivy2/cache/org.apache.opennlp/opennlp-tools/bundles/opennlp-tools-1.5.3.jar:/home/zap23/.ivy2/cache/org.apache.opennlp/opennlp-maxent/bundles/opennlp-maxent-3.0.3.jar:/home/zap23/.ivy2/cache/net.sf.jwordnet/jwnl/jars/jwnl-1.3.3.jar:/home/zap23/.ivy2/cache/commons-io/commons-io/jars/commons-io-2.4.jar:/home/zap23/.ivy2/cache/org.apache.commons/commons-exec/jars/commons-exec-1.3.jar:/home/zap23/.ivy2/cache/com.googlecode.json-simple/json-simple/bundles/json-simple-1.1.1.jar:/home/zap23/.ivy2/cache/org.json/json/jars/json-20140107.jar:/home/zap23/.ivy2/cache/com.google.code.gson/gson/jars/gson-2.2.4.jar:/home/zap23/.ivy2/cache/edu.ucar/netcdf4/jars/netcdf4-4.5.5.jar:/home/zap23/.ivy2/cache/net.jcip/jcip-annotations/jars/jcip-annotations-1.0.jar:/home/zap23/.ivy2/cache/net.java.dev.jna/jna/jars/jna-4.1.0.jar:/home/zap23/.ivy2/cache/edu.ucar/grib/jars/grib-4.5.5.jar:/home/zap23/.ivy2/cache/com.google.protobuf/protobuf-java/bundles/protobuf-java-2.5.0.jar:/home/zap23/.ivy2/cache/org.jdom/jdom2/jars/jdom2-2.0.4.jar:/home/zap23/.ivy2/cache/org.jsoup/jsoup/jars/jsoup-1.7.2.jar:/home/zap23/.ivy2/cache/edu.ucar/jj2000/jars/jj2000-5.2.jar:/home/zap23/.ivy2/cache/org.itadaki/bzip2/jars/bzip2-0.9.1.jar:/home/zap23/.ivy2/cache/edu.ucar/cdm/jars/cdm-4.5.5.jar:/home/zap23/.ivy2/cache/edu.ucar/udunits/jars/udunits-4.5.5.jar:/home/zap23/.ivy2/cache/edu.ucar/httpservices/jars/httpservices-4.5.5.jar:/home/zap23/.ivy2/cache/org.apache.httpcomponents/httpclient/jars/httpclient-4.2.6.jar:/home/zap23/.ivy2/cache/org.apache.httpcomponents/httpcore/jars/httpcore-4.2.5.jar:/home/zap23/.ivy2/cache/org.apache.httpcomponents/httpmime/jars/httpmime-4.2.6.jar:/home/zap23/.ivy2/cache/org.quartz-scheduler/quartz/jars/quartz-2.2.0.jar:/home/zap23/.ivy2/cache/c3p0/c3p0/jars/c3p0-0.9.1.1.jar:/home/zap23/.ivy2/cache/net.sf.ehcache/ehcache-core/jars/ehcache-core-2.6.2.jar:/home/zap23/.ivy2/cache/com.google.guava/guava/bundles/guava-17.0.jar:/home/zap23/.ivy2/cache/com.beust/jcommander/jars/jcommander-1.35.jar:/home/zap23/.ivy2/cache/org.apache.commons/commons-csv/jars/commons-csv-1.0.jar:/home/zap23/.ivy2/cache/org.apache.sis.core/sis-utility/jars/sis-utility-0.5.jar:/home/zap23/.ivy2/cache/org.opengis/geoapi/bundles/geoapi-3.0.0.jar:/home/zap23/.ivy2/cache/javax.measure/jsr-275/jars/jsr-275-0.9.3.jar:/home/zap23/.ivy2/cache/org.apache.sis.storage/sis-netcdf/bundles/sis-netcdf-0.5.jar:/home/zap23/.ivy2/cache/org.apache.sis.storage/sis-storage/bundles/sis-storage-0.5.jar:/home/zap23/.ivy2/cache/org.apache.sis.core/sis-metadata/jars/sis-metadata-0.5.jar:/home/zap23/.ivy2/cache/org.apache.sis.core/sis-referencing/bundles/sis-referencing-0.5.jar:/home/zap23/.ivy2/cache/io.gatling.highcharts/gatling-charts-highcharts/jars/gatling-charts-highcharts-2.2.0.jar:/home/zap23/.ivy2/cache/io.gatling/gatling-charts/jars/gatling-charts-2.2.0.jar:/home/zap23/.ivy2/cache/io.gatling/gatling-core/jars/gatling-core-2.2.0.jar:/home/zap23/.ivy2/cache/io.gatling/gatling-commons/jars/gatling-commons-2.2.0.jar:/home/zap23/.ivy2/cache/com.typesafe/config/bundles/config-1.3.0.jar:/home/zap23/.ivy2/cache/com.dongxiguo/fastring_2.11/jars/fastring_2.11-0.2.4.jar:/home/zap23/.ivy2/cache/me.chrons/boopickle_2.11/jars/boopickle_2.11-1.1.3.jar:/home/zap23/.ivy2/cache/com.softwaremill.quicklens/quicklens_2.11/jars/quicklens_2.11-1.4.6.jar:/home/zap23/.ivy2/cache/org.scala-lang.modules/scala-java8-compat_2.11/bundles/scala-java8-compat_2.11-0.7.0.jar:/home/zap23/.ivy2/cache/com.typesafe.scala-logging/scala-logging_2.11/jars/scala-logging_2.11-3.1.0.jar:/home/zap23/.ivy2/cache/ch.qos.logback/logback-classic/jars/logback-classic-1.1.7.jar:/home/zap23/.ivy2/cache/ch.qos.logback/logback-core/jars/logback-core-1.1.7.jar:/home/zap23/.ivy2/cache/com.typesafe.akka/akka-actor_2.11/jars/akka-actor_2.11-2.4.3.jar:/home/zap23/.ivy2/cache/com.typesafe.akka/akka-slf4j_2.11/jars/akka-slf4j_2.11-2.4.3.jar:/home/zap23/.ivy2/cache/com.fasterxml.jackson.dataformat/jackson-dataformat-csv/bundles/jackson-dataformat-csv-2.7.3.jar:/home/zap23/.ivy2/cache/com.googlecode.concurrentlinkedhashmap/concurrentlinkedhashmap-lru/jars/concurrentlinkedhashmap-lru-1.4.2.jar:/home/zap23/.ivy2/cache/org.scala-lang.modules/scala-parser-combinators_2.11/bundles/scala-parser-combinators_2.11-1.0.4.jar:/home/zap23/.ivy2/cache/com.github.scopt/scopt_2.11/jars/scopt_2.11-3.4.0.jar:/home/zap23/.ivy2/cache/io.gatling/jsonpath_2.11/jars/jsonpath_2.11-0.6.6.jar:/home/zap23/.ivy2/cache/io.gatling.advantageous.boon/boon-json/jars/boon-json-0.5.7-RC1.jar:/home/zap23/.ivy2/cache/io.gatling.advantageous.boon/boon-reflekt/jars/boon-reflekt-0.5.7-RC1.jar:/home/zap23/.ivy2/cache/org.slf4j/slf4j-api/jars/slf4j-api-1.7.21.jar:/home/zap23/.ivy2/cache/net.sf.saxon/Saxon-HE/jars/Saxon-HE-9.7.0-4.jar:/home/zap23/.ivy2/cache/org.jodd/jodd-lagarto/jars/jodd-lagarto-3.7.jar:/home/zap23/.ivy2/cache/org.jodd/jodd-core/jars/jodd-core-3.7.jar:/home/zap23/.ivy2/cache/org.jodd/jodd-log/jars/jodd-log-3.7.jar:/home/zap23/.ivy2/cache/com.tdunning/t-digest/jars/t-digest-3.1.jar:/home/zap23/.ivy2/cache/io.gatling/gatling-app/jars/gatling-app-2.2.0.jar:/home/zap23/.ivy2/cache/io.gatling/gatling-http/jars/gatling-http-2.2.0.jar:/home/zap23/.ivy2/cache/org.asynchttpclient/async-http-client/jars/async-http-client-2.0.0.jar:/home/zap23/.ivy2/cache/io.netty/netty-codec-http/jars/netty-codec-http-4.0.36.Final.jar:/home/zap23/.ivy2/cache/io.netty/netty-codec/jars/netty-codec-4.0.36.Final.jar:/home/zap23/.ivy2/cache/io.netty/netty-transport/jars/netty-transport-4.0.36.Final.jar:/home/zap23/.ivy2/cache/io.netty/netty-buffer/jars/netty-buffer-4.0.36.Final.jar:/home/zap23/.ivy2/cache/io.netty/netty-common/jars/netty-common-4.0.36.Final.jar:/home/zap23/.ivy2/cache/io.netty/netty-handler/jars/netty-handler-4.0.36.Final.jar:/home/zap23/.ivy2/cache/org.asynchttpclient/netty-resolver-dns/jars/netty-resolver-dns-2.0.0.jar:/home/zap23/.ivy2/cache/org.asynchttpclient/netty-resolver/jars/netty-resolver-2.0.0.jar:/home/zap23/.ivy2/cache/org.asynchttpclient/netty-codec-dns/jars/netty-codec-dns-2.0.0.jar:/home/zap23/.ivy2/cache/org.reactivestreams/reactive-streams/jars/reactive-streams-1.0.0.jar:/home/zap23/.ivy2/cache/com.typesafe.netty/netty-reactive-streams/jars/netty-reactive-streams-1.0.4.jar:/home/zap23/.ivy2/cache/org.javassist/javassist/bundles/javassist-3.20.0-GA.jar:/home/zap23/.ivy2/cache/io.netty/netty-transport-native-epoll/jars/netty-transport-native-epoll-4.0.36.Final-linux-x86_64.jar:/home/zap23/.ivy2/cache/org.scala-lang.modules/scala-xml_2.11/bundles/scala-xml_2.11-1.0.5.jar:/home/zap23/.ivy2/cache/io.gatling/gatling-jms/jars/gatling-jms-2.2.0.jar:/home/zap23/.ivy2/cache/org.apache.geronimo.specs/geronimo-jms_1.1_spec/jars/geronimo-jms_1.1_spec-1.1.1.jar:/home/zap23/.ivy2/cache/io.gatling/gatling-jdbc/jars/gatling-jdbc-2.2.0.jar:/home/zap23/.ivy2/cache/io.gatling/gatling-redis/jars/gatling-redis-2.2.0.jar:/home/zap23/.ivy2/cache/net.debasishg/redisclient_2.11/jars/redisclient_2.11-3.0.jar:/home/zap23/.ivy2/cache/commons-pool/commons-pool/jars/commons-pool-1.6.jar:/home/zap23/.ivy2/cache/io.gatling/gatling-metrics/jars/gatling-metrics-2.2.0.jar:/home/zap23/.ivy2/cache/org.hdrhistogram/HdrHistogram/bundles/HdrHistogram-2.1.8.jar:/home/zap23/.ivy2/cache/io.gatling/gatling-recorder/jars/gatling-recorder-2.2.0.jar:/home/zap23/.ivy2/cache/org.scala-lang.modules/scala-swing_2.11/bundles/scala-swing_2.11-1.0.2.jar:/home/zap23/.ivy2/cache/org.bouncycastle/bcpkix-jdk15on/jars/bcpkix-jdk15on-1.54.jar:/home/zap23/.ivy2/cache/org.bouncycastle/bcprov-jdk15on/jars/bcprov-jdk15on-1.54.jar:/home/zap23/.ivy2/cache/io.gatling/gatling-test-framework/jars/gatling-test-framework-2.2.0.jar:/home/zap23/.ivy2/cache/org.scala-sbt/test-interface/jars/test-interface-1.0.jar:/home/zap23/.sbt/boot/scala-2.10.6/org.scala-sbt/sbt/0.13.11/test-agent-0.13.11.jar:/home/zap23/.sbt/boot/scala-2.10.6/org.scala-sbt/sbt/0.13.11/test-interface-1.0.jar","version":"52.0"},"endorsed":{"dirs":"/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/endorsed"},"ext":{"dirs":"/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext:/usr/java/packages/lib/ext"},"home":"/usr/lib/jvm/java-8-openjdk-amd64/jre","io":{"tmpdir":"/tmp"},"library":{"path":"/usr/java/packages/lib/amd64:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib"},"net":{"preferIPv4Stack":"true","preferIPv6Addresses":"false"},"runtime":{"name":"OpenJDK Runtime Environment","version":"1.8.0_66-internal-b17"},"specification":{"name":"Java Platform API Specification","vendor":"Oracle Corporation","version":"1.8"},"vendor":{"url":{"bug":"http://bugreport.sun.com/bugreport/"}},"version":"1.8.0_66-internal","vm":{"info":"mixed mode","name":"OpenJDK 64-Bit Server VM","specification":{"name":"Java Virtual Machine Specification","vendor":"Oracle Corporation","version":"1.8"},"vendor":"Oracle Corporation","version":"25.66-b17"}},"line":{"separator":"\n"},"os":{"arch":"amd64","name":"Linux","version":"4.2.0-35-generic"},"path":{"separator":":"},"sun":{"arch":{"data":{"model":"64"}},"boot":{"class":{"path":"/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/resources.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/rt.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jsse.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jce.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/charsets.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jfr.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/classes"},"library":{"path":"/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64"}},"cpu":{"endian":"little","isalist":""},"io":{"unicode":{"encoding":"UnicodeLittle"}},"java":{"command":"sbt.ForkMain 43033","launcher":"SUN_STANDARD"},"jnu":{"encoding":"UTF-8"},"management":{"compiler":"HotSpot 64-Bit Tiered Compilers"},"os":{"patch":{"level":"unknown"}}},"user":{"country":"US","dir":"/home/zap23/git/performance/com.openexchange.test.performance.gatling/project-ajax","home":"/home/zap23","language":"en","name":"zap23","timezone":"Europe/Berlin"}})))),HttpComponents(HttpProtocol(List(http://192.168.32.185:80),Some(http://gatling.io),HttpProtocolEnginePart(true,false,6,false,Map(),None,List()),HttpProtocolRequestPart(Map(Connection -> <function1>, Accept-Charset -> <function1>, Accept-Language -> <function1>, Accept-Encoding -> <function1>, User-Agent -> <function1>),None,true,false,false,None,false,None),HttpProtocolResponsePart(false,None,false,true,None,List(),None,false,None),HttpProtocolWsPart(List(),false,None),HttpProtocolProxyPart(None,List())),io.gatling.http.ahc.HttpEngine@5fede427,io.gatling.http.cache.HttpCaches@1950780c,io.gatling.http.ahc.ResponseProcessor@445c7693),List())),io.gatling.http.response.ResponseBuilder$$$Lambda$196/1201034915@c946816,io.gatling.core.action.GroupEnd@3ce8797f,None,0,io.gatling.core.session.Session$$$Lambda$219/1683446587@26e2e6f6), forwarding user to the next action
java.lang.IllegalArgumentException: minWritableBytes: -1038 (expected: >= 0)
at io.netty.buffer.AbstractByteBuf.ensureWritable(AbstractByteBuf.java:246)
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:866)
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:858)
at org.asynchttpclient.request.body.multipart.part.MultipartPart.transfer(MultipartPart.java:194)
at org.asynchttpclient.request.body.multipart.part.StringMultipartPart.transferContentTo(StringMultipartPart.java:40)
at org.asynchttpclient.request.body.multipart.part.MultipartPart.transferTo(MultipartPart.java:127)
at org.asynchttpclient.request.body.multipart.MultipartBody.transferTo(MultipartBody.java:96)
at io.gatling.http.util.package$HttpStringBuilder$.appendRequest$extension(package.scala:144)
at io.gatling.http.ahc.ResponseProcessor.dump$1(ResponseProcessor.scala:90)
at io.gatling.http.ahc.ResponseProcessor.logRequest(ResponseProcessor.scala:101)
at io.gatling.http.ahc.ResponseProcessor.logAndExecuteNext(ResponseProcessor.scala:168)
at io.gatling.http.ahc.ResponseProcessor.checkAndProceed$1(ResponseProcessor.scala:291)
at io.gatling.http.ahc.ResponseProcessor.processResponse(ResponseProcessor.scala:321)
at io.gatling.http.ahc.ResponseProcessor.onCompleted(ResponseProcessor.scala:61)
at io.gatling.http.ahc.AsyncHandler.onCompleted(AsyncHandler.scala:127)
at io.gatling.http.ahc.AsyncHandler.onCompleted(AsyncHandler.scala:46)
at org.asynchttpclient.netty.NettyResponseFuture.getContent(NettyResponseFuture.java:188)
at org.asynchttpclient.netty.NettyResponseFuture.done(NettyResponseFuture.java:223)
at org.asynchttpclient.netty.handler.HttpHandler.finishUpdate(HttpHandler.java:58)
at org.asynchttpclient.netty.handler.HttpHandler.handleChunk(HttpHandler.java:159)
at org.asynchttpclient.netty.handler.HttpHandler.handleRead(HttpHandler.java:189)
at org.asynchttpclient.netty.handler.AsyncHttpClientHandler.channelRead(AsyncHttpClientHandler.java:82)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:292)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:278)
at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:86)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:292)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:278)
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:292)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:278)
at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:428)
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:277)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:264)
at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:243)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:292)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:278)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:962)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:528)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:485)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:399)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:371)
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)
at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)
at java.lang.Thread.run(Thread.java:745)


how my request look like:

http("foo").post("skata").queryParam("foo", "bar").bodyPart(ElFileBodyPart("file"))

Or did I missed something?!

Btw. the cheat sheet still uses the "old" name for ElFileBody(Part)

Thx
Niko

slan...@gatling.io

unread,
Apr 20, 2016, 12:15:44 PM4/20/16
to gat...@googlegroups.com
Hey Niko,

Could you please share a reproducer?
--
You received this message because you are subscribed to the Google Groups "Gatling User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gatling+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

slan...@gatling.io

unread,
Apr 21, 2016, 3:30:26 AM4/21/16
to gat...@googlegroups.com
Could you please provide your multipart please? I should be able to easily reproduce then

Le 20 avr. 2016 à 17:55, nikolaos.tsapanidis via Gatling User Group <gat...@googlegroups.com> a écrit :

--
Message has been deleted

Rob Gates

unread,
Apr 29, 2016, 8:18:09 AM4/29/16
to Gatling User Group
I'm seeing a similar issue with a lot of my tests having upgraded to 2.2.0. An example stack trace:

13:11:06.833 [ERROR] i.g.h.a.ResponseProcessor - AsyncHandlerActor crashed on tx HttpTx(Session(No proxy Users (0),38,Map(gatling.http.cache.dns -> io.gatling.http.resolver.ShuffleJdkNameResolver@8a8b440, url ->milwaukeeinsurance.jobs, timestamp.833c9b5d-e846-4934-9ef2-03e11ab5f618 -> 1461931866342, 0ddcc6fe-b6e5-47c2-aeb9-1825732a0b04 -> 0, term -> giving usa 2012 report, link -> http://veterans.jobs/, 833c9b5d-e846-4934-9ef2-03e11ab5f618 -> 0, timestamp.0ddcc6fe-b6e5-47c2-aeb9-1825732a0b04 -> 1461931866342, gatling.http.cookies -> CookieJar(Map(CookieKey(sessionid,milwaukeeinsurance.jobs,/) -> StoredCookie(sessionid=317tulq2477spttntefut1auny4emaod; path=/; maxAge=1209600s; HTTPOnly,true,true,1461931866684), CookieKey(aguid,my.jobs,/) -> StoredCookie(aguid=2a031ab961d140d8b9ebbfcad2b5174b; domain=.my.jobs; path=/,false,false,1461931866649)))),1461931859434,22,OK,List(ExitOnCompleteLoopBlock(833c9b5d-e846-4934-9ef2-03e11ab5f618), TryMaxBlock(0ddcc6fe-b6e5-47c2-aeb9-1825732a0b04,io.gatling.core.action.InnerTryMax@2bdc07e6,OK)),io.gatling.core.protocol.ProtocolComponentsRegistry$$Lambda$208/1949126165@19af0ea0),HttpRequest(jqsmoothness.css,http://d2e48ltfsb5exy.cloudfront.net/framework/css/code/jqsmoothness.css GET headers: Accept:text/css,*/*;q=0.1DNT:1 Accept-Language:en-US,en;q=0.5 Accept-Encoding:gzip, deflate User-Agent:Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36 Chrome 45.0,

...

a load of additional info

...

:{"compiler":"HotSpot 64-Bit Tiered Compilers"},"os":{"patch":{"level":"unknown"}}},"user":{"country":{"format":"GB"},"dir":"/Users/robertgates55/web_security_performance_gatling","home":"/Users/robertgates55","language":"en","name":"robertgates55","timezone":"Europe/London"}})))),HttpComponents(HttpProtocol(List(),Some(http://gatling.io),HttpProtocolEnginePart(true,false,6,false,Map(),None,List()),HttpProtocolRequestPart(Map(Accept -> <function1>, DNT -> <function1>, Accept-Language -> <function1>, Accept-Encoding -> <function1>, User-Agent -> <function1>),None,false,false,false,None,true,None),HttpProtocolResponsePart(true,Some(5),false,true,None,List(),None,true,None),HttpProtocolWsPart(List(),false,None),HttpProtocolProxyPart(None,List())),io.gatling.http.ahc.HttpEngine@7c997144,io.gatling.http.cache.HttpCaches@24e997dd,io.gatling.http.ahc.ResponseProcessor@577211c2),List())),io.gatling.http.response.ResponseBuilder$$$Lambda$194/1907467420@2b52ef02,io.gatling.core.action.Pause@7f73a495,Some(Actor[akka://GatlingSystem/user/resourceFetcher-130#299735574]),0,io.gatling.core.session.Session$$$Lambda$226/2128742070@3365dd45), forwarding user to the next action

java
.nio.charset.CharacterCodingException: null

at io
.gatling.http.util.Utf8ByteBuffersDecoder.write(ByteBuffersDecoder.scala:135)

at
io.gatling.http.util.Utf8ByteBuffersDecoder.io$gatling$http$util$Utf8ByteBuffersDecoder$$$anonfun$6(ByteBuffersDecoder.scala:144)

at
io.gatling.http.util.Utf8ByteBuffersDecoder.io$gatling$http$util$Utf8ByteBuffersDecoder$$$anonfun$6$adapted(ByteBuffersDecoder.scala:142)

at io
.gatling.http.util.Utf8ByteBuffersDecoder$$Lambda$311/442344649.apply(Unknown Source)

at scala
.collection.immutable.List.foreach(List.scala:381)

at io
.gatling.http.util.Utf8ByteBuffersDecoder.decode(ByteBuffersDecoder.scala:142)

at io
.gatling.http.util.ByteBuffersDecoder$.decode(ByteBuffersDecoder.scala:52)

at io
.gatling.http.util.BytesHelper$.byteArraysToString(BytesHelper.scala:61)

at io
.gatling.http.response.InputStreamResponseBody.liftedTree1$1(ResponseBody.scala:125)

at io
.gatling.http.response.InputStreamResponseBody.string$lzycompute(ResponseBody.scala:124)

at io
.gatling.http.response.InputStreamResponseBody.string(ResponseBody.scala:120)

at io
.gatling.http.ahc.ResponseProcessor.executeNext(ResponseProcessor.scala:152)

at io
.gatling.http.ahc.ResponseProcessor.logAndExecuteNext(ResponseProcessor.scala:169)



I can't seem to replicate it directly (eg with a single call to the site in question), but it seems to happen when running in parallel with other tests. I believe this (or a related issue) is currently causing gatling to make far fewer requests than it should do - the requests/sec rates I'm seeing having upgraded are far lower.



Thanks,

Rob


Rob Gates

unread,
May 1, 2016, 7:32:33 AM5/1/16
to Gatling User Group
For those coming across this error, it was tracked as an issue on github (https://github.com/gatling/gatling/issues/2981) and fixed - and is currently available in the 2.2.1 snapshot from sonatype.
...
Reply all
Reply to author
Forward
0 new messages