Hello, First thanks for your feedback on nightly build, it really helps us a lot. Some of the issues you reported are now fixed in next nightly build that you can download here: https://builds.apache.org/job/JMeter-trunk/lastSuccessfulBuild/artifact/trunk/dist/ It should be build 4992 or higher.
Please note that for now, last JMeter nightly build does not yet uses HttpClient 4.5.2 (as it is not released, should happen in few hours I think). So there are still known bugs: https://bz.apache.org/bugzilla/show_bug.cgi?id=58881 https://bz.apache.org/bugzilla/show_bug.cgi?id=58583 https://bz.apache.org/bugzilla/show_bug.cgi?id=58950 Once HC4.5.2 is released, we will commit it and fix those 3 bugs. Find inline below my other answers. On Thu, Feb 25, 2016 at 3:32 PM, Maxime Chassagneux < maxime.chassagn...@gmail.com> wrote: > Hi, > > Since I test JMeter with the latest snapshot of HC I experience issues > with HTTP Cookie Manager. > Now the defautl Implementation is HC4 with cookie Policy to default. When > I use it, most of scenario stop working with a problem of date : > > 2016/02/23 10:27:05 INFO - jmeter.threads.JMeterThread: Thread finished: > P11 - Admin A/C SubTypes 10-1 > 2016/02/23 10:27:05 ERROR - jmeter.protocol.http.control.HC4CookieHandler: > Unable to add the cookie org.apache.http.cookie.MalformedCookieException: > Invalid 'expires' attribute: Thu, 27 Aug 2015 09:27:05 GMT > at > org.apache.http.impl.cookie.BasicExpiresHandler.parse(BasicExpiresHandler.java:63) > at > org.apache.http.impl.cookie.CookieSpecBase.parse(CookieSpecBase.java:112) > at > org.apache.http.impl.cookie.DefaultCookieSpec.parse(DefaultCookieSpec.java:139) > at > org.apache.jmeter.protocol.http.control.HC4CookieHandler.addCookieFromHeader(HC4CookieHandler.java:115) > at > org.apache.jmeter.protocol.http.control.CookieManager.addCookieFromHeader(CookieManager.java:355) > at > org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.saveConnectionCookies(HTTPHC4Impl.java:1371) > at > org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.sample(HTTPHC4Impl.java:386) > at > org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:74) > at > org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.followRedirects(HTTPSamplerBase.java:1552) > at > org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.resultProcessing(HTTPSamplerBase.java:1629) > at > org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl.resultProcessing(HTTPAbstractImpl.java:463) > at > org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.sample(HTTPHC4Impl.java:394) > at > org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:74) > at > org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1148) > at > org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1137) > at > org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:455) > at > org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThread.java:400) > at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:249) > at java.lang.Thread.run(Unknown Source) > > I created this: https://bz.apache.org/bugzilla/show_bug.cgi?id=59071 And fixed it But as part of https://bz.apache.org/bugzilla/show_bug.cgi?id=58756 , there is still an issue when you open a 2.13 Plan from a 3.0 plan. CookieManager configuration will be lost. > And some time, with other site I have this issue : > > java.net.SocketException: Connection reset > at java.net.SocketInputStream.read(Unknown Source) > at java.net.SocketInputStream.read(Unknown Source) > at > org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:160) > at > org.apache.http.impl.io.SocketInputBuffer.fillBuffer(SocketInputBuffer.java:84) > at > org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:273) > at > org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:140) > at > org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57) > at > org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:261) > at > org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:283) > at > org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:251) > at > org.apache.http.impl.conn.ManagedClientConnectionImpl.receiveResponseHeader(ManagedClientConnectionImpl.java:197) > at > org.apache.jmeter.protocol.http.sampler.MeasuringConnectionManager$MeasuredConnection.receiveResponseHeader(MeasuringConnectionManager.java:218) > at > org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:272) > at > org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:124) > at > org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:685) > at > org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:487) > at > org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:882) > at > org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) > at > org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55) > at > org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.executeRequest(HTTPHC4Impl.java:555) > at > org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.sample(HTTPHC4Impl.java:314) > at > org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:74) > at > org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1148) > at > org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1137) > at > org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:455) > at > org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThread.java:400) > at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:249) > at java.lang.Thread.run(Unknown Source) > On what request are you getting this ? : - http ? - https ? Not sure it's a jmeter issue. We would need more details. > > When I change the Cookie Policy to "Standard" all is working back. ( But > each time a Clear GUI this option is lost ... and default is apply ) > I opened https://bz.apache.org/bugzilla/show_bug.cgi?id=59069 and fixed it. > > I have one other problem during a test who use https and http protocol : > > org.apache.http.client.ClientProtocolException > at > org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:886) > at > org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) > at > org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55) > at > org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.executeRequest(HTTPHC4Impl.java:555) > at > org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.sample(HTTPHC4Impl.java:314) > at > org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:74) > at > org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1148) > at > org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1137) > at > org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:455) > at > org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThread.java:400) > at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:249) > at java.lang.Thread.run(Thread.java:745) > Caused by: org.apache.http.HttpException: Unable to establish route: > planned = {}->https://xxxx.xxxxx.fr:443; current = {s}-> > https://xxxx.xxxx.fr:443 > at > org.apache.http.impl.client.DefaultRequestDirector.establishRoute(DefaultRequestDirector.java:818) > at > org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:615) > at > org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446) > at > org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:882) > > No problem with JMeter 2.13. > You faced a regression I fixed on 19th february, see comment of: https://bz.apache.org/bugzilla/show_bug.cgi?id=58099#c14 > > > > > 2016-02-21 18:09 GMT+01:00 Oleg Kalnichevski <ol...@apache.org>: > >> On Sat, 2016-02-20 at 01:14 +0100, Philippe Mouawad wrote: >> > Hello, >> > I tested 4.5.X branch, I reported an issue which Gary handled: >> > >> > - https://issues.apache.org/jira/browse/HTTPCLIENT-1665 >> > >> > The 3 bugs we are concerned about are fixed: >> > >> > - https://bz.apache.org/bugzilla/show_bug.cgi?id=58950 >> > - https://bz.apache.org/bugzilla/show_bug.cgi?id=58881 >> > - https://bz.apache.org/bugzilla/show_bug.cgi?id=58583 >> > >> > >> > Maybe a bug in HttpClient should be created for >> > https://issues.apache.org/jira/browse/HTTPCORE-397 so that release >> notes >> > are complete: >> > >> > - http://svn.apache.org/viewvc?view=revision&revision=1722952 >> > >> > >> > Looking at this file: >> > >> > >> https://github.com/apache/httpclient/blob/04fb7e6d8e2aef7ae4465b26a931deffb9775450/RELEASE_NOTES.txt >> > >> > >> > It seems to me it is incomplete and should mention all those no ?: >> > >> > >> https://issues.apache.org/jira/browse/HTTPCLIENT-1665?jql=project%20%3D%20HTTPCLIENT%20AND%20fixVersion%20%3D%204.5.2%20AND%20status%20%3D%20Resolved%20ORDER%20BY%20priority%20DESC >> > >> > >> > Anyway thanks at your team for the work. >> > >> > Regards >> > >> > Philippe >> > >> >> The release vote is now ongoing. You are welcome to participate even if >> your vote is not going to be considered binding. >> >> http://markmail.org/message/qjg7ocb5pznyzbmv >> >> Oleg >> >> > -- Regards Philippe M. @philmdot