You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jmeter.apache.org by Milamber <mi...@apache.org> on 2013/09/12 19:24:37 UTC
Re: svn commit: r1522662 - in /jmeter/trunk: build.properties eclipse.classpath
lib/ lib/httpclient-4.2.6.jar lib/httpcore-4.2.5.jar lib/httpmime-4.2.6.jar
res/maven/ApacheJMeter_parent.pom xdocs/changes.xml
Le 12/09/2013 18:01, sebb@apache.org a ecrit :
> Author: sebb
> Date: Thu Sep 12 17:01:14 2013
> New Revision: 1522662
>
> URL: http://svn.apache.org/r1522662
> Log:
> Update to httpclient 4.2.6
Note, I've tried to upgrade directly to 4.3 GA (core&client), but I've
found these errors (charset problem?)
[java] >>>>>>>>>>>>>>>>>>>> expected:
[java] --lmkdlXzyJIcHi_s7mI4oMYgNet8XqC
[java] Content-Disposition: form-data; name="title"
* [java] Content-Type: text/plain;**charset=US-ASCII*
[java] Content-Transfer-Encoding: 8bit
[java] mytitle
[java] --lmkdlXzyJIcHi_s7mI4oMYgNet8XqC
[java] Content-Disposition: form-data; name="description"
* [java] Content-Type: text/plain; charset=US-ASCII*
[java] Content-Transfer-Encoding: 8bit
[java] mydescription
[java] --lmkdlXzyJIcHi_s7mI4oMYgNet8XqC--
[java] ==================== actual:
[java] --lmkdlXzyJIcHi_s7mI4oMYgNet8XqC
[java] Content-Disposition: form-data; name="title"
* [java] Content-Type: text/plain*
[java] Content-Transfer-Encoding: 8bit
[java] mytitle
[java] --lmkdlXzyJIcHi_s7mI4oMYgNet8XqC
[java] Content-Disposition: form-data; name="description"
* [java] Content-Type: text/plain*
[java] Content-Transfer-Encoding: 8bit
[java] mydescription
[java] --lmkdlXzyJIcHi_s7mI4oMYgNet8XqC--
[java] <<<<<<<<<<<<<<<<<<<<
[java] URL=http://localhost:8182/test/somescript.jsp
[java] F....
[java] >>>>>>>>>>>>>>>>>>>> expected:
[java] --nfQRFjLCW7FdkZjqa3Tuv2DGOR1551K
[java] Content-Disposition: form-data; name="title"
[java] Content-Type: text/plain; charset=US-ASCII
[java] Content-Transfer-Encoding: 8bit
[java] mytitle
[java] --nfQRFjLCW7FdkZjqa3Tuv2DGOR1551K
[java] Content-Disposition: form-data; name="description"
[java] Content-Type: text/plain; charset=US-ASCII
[java] Content-Transfer-Encoding: 8bit
[java] mydescription
[java] --nfQRFjLCW7FdkZjqa3Tuv2DGOR1551K
[java] Content-Disposition: form-data; name="file1";
filename="TestHTTPSamplersAgainstHttpMirrorServer6657123704494824584tmp"
[java] Content-Type: text/plain
[java] Content-Transfer-Encoding: binary
[java] some foo content &?=01234+56789-|�����������������������%C3%85
[java] --nfQRFjLCW7FdkZjqa3Tuv2DGOR1551K--
[java] ==================== actual:
[java] --nfQRFjLCW7FdkZjqa3Tuv2DGOR1551K
[java] Content-Disposition: form-data; name="title"
[java] Content-Type: text/plain
[java] Content-Transfer-Encoding: 8bit
[java] mytitle
[java] --nfQRFjLCW7FdkZjqa3Tuv2DGOR1551K
[java] Content-Disposition: form-data; name="description"
[java] Content-Type: text/plain
[java] Content-Transfer-Encoding: 8bit
[java] mydescription
[java] --nfQRFjLCW7FdkZjqa3Tuv2DGOR1551K
[java] Content-Disposition: form-data; name="file1"
[java] Content-Type: text/plain
[java] Content-Transfer-Encoding: binary
[java] some foo content &?=01234+56789-|�����������������������%C3%85
[java] --nfQRFjLCW7FdkZjqa3Tuv2DGOR1551K--
[java] <<<<<<<<<<<<<<<<<<<<
[java] URL=http://localhost:8182/test/somescript.jsp
[java] F.......................
[java] .........................................
[java] .........................................
[java] .........................................
[java] .........................................
[java] .........................................
[java] .........................................
[java] .........................................
[java] .........................................
[java] .........................................
[java] .........................................
[java] .........................................
[java] .........................................
[java] .........................................
[java] .........................................
[java] .........................................
[java] .........................................
[java] .........................................
[java] .........................................
[java] .........................................
[java] .........................................
[java] .........................................
[java] .........................................
[java] ..................................
[java] Time: 72.46
[java] There were 2 failures:
[java] 1)
testPostRequest_FormMultipart3(org.apache.jmeter.protocol.http.sampler.TestHTTPSamplersAgainstHttpMirrorServer)junit.framework.AssertionFailedError:
arrays have different length, expected is 384, actual is 348
[java] at
org.apache.jmeter.protocol.http.sampler.TestHTTPSamplersAgainstHttpMirrorServer.checkArraysHaveSameContent(TestHTTPSamplersAgainstHttpMirrorServer.java:1240)
[java] at
org.apache.jmeter.protocol.http.sampler.TestHTTPSamplersAgainstHttpMirrorServer.checkPostRequestFormMultipart(TestHTTPSamplersAgainstHttpMirrorServer.java:831)
[java] at
org.apache.jmeter.protocol.http.sampler.TestHTTPSamplersAgainstHttpMirrorServer.testPostRequest_FormMultipart(TestHTTPSamplersAgainstHttpMirrorServer.java:342)
[java] at
org.apache.jmeter.protocol.http.sampler.TestHTTPSamplersAgainstHttpMirrorServer.testPostRequest_FormMultipart3(TestHTTPSamplersAgainstHttpMirrorServer.java:153)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[java] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at
junit.extensions.TestDecorator.basicRun(TestDecorator.java:23)
[java] at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
[java] at junit.extensions.TestSetup.run(TestSetup.java:27)
[java] at org.apache.jorphan.test.AllTests.main(AllTests.java:236)
[java] 2)
testPostRequest_FileUpload3(org.apache.jmeter.protocol.http.sampler.TestHTTPSamplersAgainstHttpMirrorServer)junit.framework.AssertionFailedError:
arrays have different length, expected is 669, actual is 559
[java] at
org.apache.jmeter.protocol.http.sampler.TestHTTPSamplersAgainstHttpMirrorServer.checkArraysHaveSameContent(TestHTTPSamplersAgainstHttpMirrorServer.java:1240)
[java] at
org.apache.jmeter.protocol.http.sampler.TestHTTPSamplersAgainstHttpMirrorServer.checkPostRequestFileUpload(TestHTTPSamplersAgainstHttpMirrorServer.java:893)
[java] at
org.apache.jmeter.protocol.http.sampler.TestHTTPSamplersAgainstHttpMirrorServer.testPostRequest_FileUpload(TestHTTPSamplersAgainstHttpMirrorServer.java:441)
[java] at
org.apache.jmeter.protocol.http.sampler.TestHTTPSamplersAgainstHttpMirrorServer.testPostRequest_FileUpload3(TestHTTPSamplersAgainstHttpMirrorServer.java:165)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[java] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at
junit.extensions.TestDecorator.basicRun(TestDecorator.java:23)
[java] at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
[java] at junit.extensions.TestSetup.run(TestSetup.java:27)
[java] at org.apache.jorphan.test.AllTests.main(AllTests.java:236)
[java] FAILURES!!!
[java] Tests run: 2453, Failures: 2, Errors: 0
BUILD FAILED
>
> Added:
> jmeter/trunk/lib/httpclient-4.2.6.jar (with props)
> jmeter/trunk/lib/httpcore-4.2.5.jar (with props)
> jmeter/trunk/lib/httpmime-4.2.6.jar (with props)
> Modified:
> jmeter/trunk/build.properties
> jmeter/trunk/eclipse.classpath
> jmeter/trunk/lib/ (props changed)
> jmeter/trunk/res/maven/ApacheJMeter_parent.pom
> jmeter/trunk/xdocs/changes.xml
>
> Modified: jmeter/trunk/build.properties
> URL: http://svn.apache.org/viewvc/jmeter/trunk/build.properties?rev=1522662&r1=1522661&r2=1522662&view=diff
> ==============================================================================
> --- jmeter/trunk/build.properties (original)
> +++ jmeter/trunk/build.properties Thu Sep 12 17:01:14 2013
> @@ -153,16 +153,16 @@ htmlparser.jar = htmlparser
> htmlparser.md5 = aa05b921026c228f92ef8b4a13c26f8d
>
> # Apache HttpClient 4.x
> -httpclient.version = 4.2.5
> +httpclient.version = 4.2.6
> #
> httpclient.jar = httpclient-${httpclient.version}.jar
> httpclient.loc = ${maven2.repo}/org/apache/httpcomponents/httpclient/${httpclient.version}
> -httpclient.md5 = d57d9336b460a91be6880784bdadc124
> +httpclient.md5 = 7bae53a30550dd3eb62db72ab08fcd94
>
> # Required for HttpClient
> httpmime.jar = httpmime-${httpclient.version}.jar
> httpmime.loc = ${maven2.repo}/org/apache/httpcomponents/httpmime/${httpclient.version}
> -httpmime.md5 = fb4e2205b683ef6c64cba3a876969e27
> +httpmime.md5 = 291ec6eac9dfb76f2b8c4f1b647b9a21
>
> # Required for HttpClient
> httpcore.version = 4.2.5
>
> Modified: jmeter/trunk/eclipse.classpath
> URL: http://svn.apache.org/viewvc/jmeter/trunk/eclipse.classpath?rev=1522662&r1=1522661&r2=1522662&view=diff
> ==============================================================================
> --- jmeter/trunk/eclipse.classpath (original)
> +++ jmeter/trunk/eclipse.classpath Thu Sep 12 17:01:14 2013
> @@ -63,9 +63,9 @@
> <classpathentry kind="lib" path="lib/geronimo-jms_1.1_spec-1.1.1.jar"/>
> <classpathentry kind="lib" path="lib/htmllexer-2.1.jar"/>
> <classpathentry kind="lib" path="lib/htmlparser-2.1.jar"/>
> - <classpathentry kind="lib" path="lib/httpclient-4.2.5.jar"/>
> + <classpathentry kind="lib" path="lib/httpclient-4.2.6.jar"/>
> <classpathentry kind="lib" path="lib/httpcore-4.2.5.jar"/>
> - <classpathentry kind="lib" path="lib/httpmime-4.2.5.jar"/>
> + <classpathentry kind="lib" path="lib/httpmime-4.2.6.jar"/>
> <classpathentry kind="lib" path="lib/jcharts-0.7.5.jar"/>
> <classpathentry kind="lib" path="lib/jdom-1.1.3.jar"/>
> <classpathentry kind="lib" path="lib/jodd-core-3.4.4.jar"/>
>
> Propchange: jmeter/trunk/lib/
> ------------------------------------------------------------------------------
> --- svn:ignore (original)
> +++ svn:ignore Thu Sep 12 17:01:14 2013
> @@ -20,9 +20,9 @@ excalibur-pool-1.2.jar
> geronimo*.jar
> htmllexer-2.1.jar
> htmlparser-2.1.jar
> -httpclient-4.2.5.jar
> +httpclient-4.2.6.jar
> httpcore-4.2.5.jar
> -httpmime-4.2.5.jar
> +httpmime-4.2.6.jar
> jcharts-0.7.5.jar
> jdom-1.1.3.jar
> jms*.jar
>
> Added: jmeter/trunk/lib/httpclient-4.2.6.jar
> URL: http://svn.apache.org/viewvc/jmeter/trunk/lib/httpclient-4.2.6.jar?rev=1522662&view=auto
> ==============================================================================
> Binary file - no diff available.
>
> Propchange: jmeter/trunk/lib/httpclient-4.2.6.jar
> ------------------------------------------------------------------------------
> svn:mime-type = application/octet-stream
>
> Added: jmeter/trunk/lib/httpcore-4.2.5.jar
> URL: http://svn.apache.org/viewvc/jmeter/trunk/lib/httpcore-4.2.5.jar?rev=1522662&view=auto
> ==============================================================================
> Binary file - no diff available.
>
> Propchange: jmeter/trunk/lib/httpcore-4.2.5.jar
> ------------------------------------------------------------------------------
> svn:mime-type = application/octet-stream
>
> Added: jmeter/trunk/lib/httpmime-4.2.6.jar
> URL: http://svn.apache.org/viewvc/jmeter/trunk/lib/httpmime-4.2.6.jar?rev=1522662&view=auto
> ==============================================================================
> Binary file - no diff available.
>
> Propchange: jmeter/trunk/lib/httpmime-4.2.6.jar
> ------------------------------------------------------------------------------
> svn:mime-type = application/octet-stream
>
> Modified: jmeter/trunk/res/maven/ApacheJMeter_parent.pom
> URL: http://svn.apache.org/viewvc/jmeter/trunk/res/maven/ApacheJMeter_parent.pom?rev=1522662&r1=1522661&r2=1522662&view=diff
> ==============================================================================
> --- jmeter/trunk/res/maven/ApacheJMeter_parent.pom (original)
> +++ jmeter/trunk/res/maven/ApacheJMeter_parent.pom Thu Sep 12 17:01:14 2013
> @@ -72,7 +72,7 @@ under the License.
> <excalibur-logger.version>1.1</excalibur-logger.version>
> <excalibur-pool.version>1.2</excalibur-pool.version>
> <htmlparser.version>2.1</htmlparser.version>
> - <httpclient.version>4.2.5</httpclient.version>
> + <httpclient.version>4.2.6</httpclient.version>
> <httpcore.version>4.2.5</httpcore.version>
> <jakarta-oro.version>2.0.8</jakarta-oro.version>
> <jcharts.version>0.7.5</jcharts.version>
>
> Modified: jmeter/trunk/xdocs/changes.xml
> URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/changes.xml?rev=1522662&r1=1522661&r2=1522662&view=diff
> ==============================================================================
> --- jmeter/trunk/xdocs/changes.xml (original)
> +++ jmeter/trunk/xdocs/changes.xml Thu Sep 12 17:01:14 2013
> @@ -436,7 +436,7 @@ Previously the default was 1, which coul
> <ul>
> <li>Updated to jsoup-1.7.2</li>
> <li><bugzilla>54776</bugzilla> - Update the dependency on Bouncy Castle to 1.48. Contributed by Emmanuel Bourg (ebourg at apache.org)</li>
> -<li>Updated to HttpComponents Client 4.2.5 (from 4.2.3)</li>
> +<li>Updated to HttpComponents Client 4.2.6 (from 4.2.3)</li>
> <li>Updated to HttpComponents Core 4.2.5 (from 4.2.3)</li>
> <li>Updated to commons-codec 1.8 (from 1.6)</li>
> <li>Updated to commons-io 2.4 (from 2.2)</li>
>
>
>
Re: svn commit: r1522662 - in /jmeter/trunk: build.properties
eclipse.classpath lib/ lib/httpclient-4.2.6.jar lib/httpcore-4.2.5.jar
lib/httpmime-4.2.6.jar res/maven/ApacheJMeter_parent.pom xdocs/changes.xml
Posted by sebb <se...@gmail.com>.
On 12 September 2013 18:24, Milamber <mi...@apache.org> wrote:
>
> Le 12/09/2013 18:01, sebb@apache.org a ecrit :
>
>> Author: sebb
>> Date: Thu Sep 12 17:01:14 2013
>> New Revision: 1522662
>>
>> URL: http://svn.apache.org/r1522662
>> Log:
>> Update to httpclient 4.2.6
>
>
> Note, I've tried to upgrade directly to 4.3 GA (core&client), but I've found
> these errors (charset problem?)
I has the same issue; see my e-mail to dev@