See
<https://builds.apache.org/job/JMeter-trunk/6746/display/redirect?page=changes>
Changes:
[pmouawad] [Bug 60190] Content-Type is added for POST unconditionally
Fix test failure in Java
Bugzilla Id: 60190
[pmouawad] [Bug 60190] Content-Type is added for POST unconditionally
Fix test failure in Java
Bugzilla Id: 60190
------------------------------------------
[...truncated 192.10 KB...]
[java] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[java] at java.lang.reflect.Method.invoke(Method.java:498)
[java] at junit.framework.TestCase.runTest(TestCase.java:176)
[java] at junit.framework.TestCase.runBare(TestCase.java:141)
[java] at junit.framework.TestResult$1.protect(TestResult.java:122)
[java] at junit.framework.TestResult.runProtected(TestResult.java:142)
[java] at junit.framework.TestResult.run(TestResult.java:125)
[java] at junit.framework.TestCase.run(TestCase.java:129)
[java] at junit.framework.TestSuite.runTest(TestSuite.java:252)
[java] at junit.framework.TestSuite.run(TestSuite.java:247)
[java] at
junit.extensions.TestDecorator.basicRun(TestDecorator.java:23)
[java] at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
[java] at junit.framework.TestResult.runProtected(TestResult.java:142)
[java] at junit.extensions.TestSetup.run(TestSetup.java:27)
[java] at
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
[java] at org.junit.runners.Suite.runChild(Suite.java:128)
[java] at org.junit.runners.Suite.runChild(Suite.java:27)
[java] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
[java] at
org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
[java] at
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
[java] at
org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
[java] at
org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
[java] at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
[java] at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
[java] at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
[java] at org.apache.jorphan.test.AllTests.main(AllTests.java:219)
[java] 9)
itemised_testPostRequest_UrlEncoded(org.apache.jmeter.protocol.http.sampler.TestHTTPSamplersAgainstHttpMirrorServer)
[java] junit.framework.AssertionFailedError: Expected no Content-Type in
request headers:
[java] Connection: close
[java]
[java] at junit.framework.Assert.fail(Assert.java:57)
[java] at junit.framework.Assert.assertTrue(Assert.java:22)
[java] at junit.framework.TestCase.assertTrue(TestCase.java:192)
[java] at
org.apache.jmeter.protocol.http.sampler.TestHTTPSamplersAgainstHttpMirrorServer.checkHeaderContentType(TestHTTPSamplersAgainstHttpMirrorServer.java:1163)
[java] at
org.apache.jmeter.protocol.http.sampler.TestHTTPSamplersAgainstHttpMirrorServer.checkPostRequestBody(TestHTTPSamplersAgainstHttpMirrorServer.java:956)
[java] at
org.apache.jmeter.protocol.http.sampler.TestHTTPSamplersAgainstHttpMirrorServer.checkPostRequestUrlEncoded(TestHTTPSamplersAgainstHttpMirrorServer.java:843)
[java] at
org.apache.jmeter.protocol.http.sampler.TestHTTPSamplersAgainstHttpMirrorServer.testPostRequest_UrlEncoded(TestHTTPSamplersAgainstHttpMirrorServer.java:255)
[java] at
org.apache.jmeter.protocol.http.sampler.TestHTTPSamplersAgainstHttpMirrorServer.itemised_testPostRequest_UrlEncoded(TestHTTPSamplersAgainstHttpMirrorServer.java:131)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[java] at java.lang.reflect.Method.invoke(Method.java:498)
[java] at junit.framework.TestCase.runTest(TestCase.java:176)
[java] at junit.framework.TestCase.runBare(TestCase.java:141)
[java] at junit.framework.TestResult$1.protect(TestResult.java:122)
[java] at junit.framework.TestResult.runProtected(TestResult.java:142)
[java] at junit.framework.TestResult.run(TestResult.java:125)
[java] at junit.framework.TestCase.run(TestCase.java:129)
[java] at junit.framework.TestSuite.runTest(TestSuite.java:252)
[java] at junit.framework.TestSuite.run(TestSuite.java:247)
[java] at
junit.extensions.TestDecorator.basicRun(TestDecorator.java:23)
[java] at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
[java] at junit.framework.TestResult.runProtected(TestResult.java:142)
[java] at junit.extensions.TestSetup.run(TestSetup.java:27)
[java] at
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
[java] at org.junit.runners.Suite.runChild(Suite.java:128)
[java] at org.junit.runners.Suite.runChild(Suite.java:27)
[java] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
[java] at
org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
[java] at
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
[java] at
org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
[java] at
org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
[java] at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
[java] at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
[java] at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
[java] at org.apache.jorphan.test.AllTests.main(AllTests.java:219)
[java] 10)
itemised_testPostRequest_UrlEncoded(org.apache.jmeter.protocol.http.sampler.TestHTTPSamplersAgainstHttpMirrorServer)
[java] junit.framework.AssertionFailedError: Expected no Content-Type in
request headers:
[java] Connection: close
[java]
[java] at junit.framework.Assert.fail(Assert.java:57)
[java] at junit.framework.Assert.assertTrue(Assert.java:22)
[java] at junit.framework.TestCase.assertTrue(TestCase.java:192)
[java] at
org.apache.jmeter.protocol.http.sampler.TestHTTPSamplersAgainstHttpMirrorServer.checkHeaderContentType(TestHTTPSamplersAgainstHttpMirrorServer.java:1163)
[java] at
org.apache.jmeter.protocol.http.sampler.TestHTTPSamplersAgainstHttpMirrorServer.checkPostRequestBody(TestHTTPSamplersAgainstHttpMirrorServer.java:956)
[java] at
org.apache.jmeter.protocol.http.sampler.TestHTTPSamplersAgainstHttpMirrorServer.checkPostRequestUrlEncoded(TestHTTPSamplersAgainstHttpMirrorServer.java:843)
[java] at
org.apache.jmeter.protocol.http.sampler.TestHTTPSamplersAgainstHttpMirrorServer.testPostRequest_UrlEncoded(TestHTTPSamplersAgainstHttpMirrorServer.java:267)
[java] at
org.apache.jmeter.protocol.http.sampler.TestHTTPSamplersAgainstHttpMirrorServer.itemised_testPostRequest_UrlEncoded(TestHTTPSamplersAgainstHttpMirrorServer.java:131)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[java] at java.lang.reflect.Method.invoke(Method.java:498)
[java] at junit.framework.TestCase.runTest(TestCase.java:176)
[java] at junit.framework.TestCase.runBare(TestCase.java:141)
[java] at junit.framework.TestResult$1.protect(TestResult.java:122)
[java] at junit.framework.TestResult.runProtected(TestResult.java:142)
[java] at junit.framework.TestResult.run(TestResult.java:125)
[java] at junit.framework.TestCase.run(TestCase.java:129)
[java] at junit.framework.TestSuite.runTest(TestSuite.java:252)
[java] at junit.framework.TestSuite.run(TestSuite.java:247)
[java] at
junit.extensions.TestDecorator.basicRun(TestDecorator.java:23)
[java] at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
[java] at junit.framework.TestResult.runProtected(TestResult.java:142)
[java] at junit.extensions.TestSetup.run(TestSetup.java:27)
[java] at
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
[java] at org.junit.runners.Suite.runChild(Suite.java:128)
[java] at org.junit.runners.Suite.runChild(Suite.java:27)
[java] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
[java] at
org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
[java] at
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
[java] at
org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
[java] at
org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
[java] at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
[java] at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
[java] at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
[java] at org.apache.jorphan.test.AllTests.main(AllTests.java:219)
[java] 11)
itemised_testPostRequest_UrlEncoded(org.apache.jmeter.protocol.http.sampler.TestHTTPSamplersAgainstHttpMirrorServer)
[java] junit.framework.AssertionFailedError: Expected no Content-Type in
request headers:
[java] Connection: close
[java]
[java] at junit.framework.Assert.fail(Assert.java:57)
[java] at junit.framework.Assert.assertTrue(Assert.java:22)
[java] at junit.framework.TestCase.assertTrue(TestCase.java:192)
[java] at
org.apache.jmeter.protocol.http.sampler.TestHTTPSamplersAgainstHttpMirrorServer.checkHeaderContentType(TestHTTPSamplersAgainstHttpMirrorServer.java:1163)
[java] at
org.apache.jmeter.protocol.http.sampler.TestHTTPSamplersAgainstHttpMirrorServer.checkPostRequestBody(TestHTTPSamplersAgainstHttpMirrorServer.java:956)
[java] at
org.apache.jmeter.protocol.http.sampler.TestHTTPSamplersAgainstHttpMirrorServer.checkPostRequestUrlEncoded(TestHTTPSamplersAgainstHttpMirrorServer.java:843)
[java] at
org.apache.jmeter.protocol.http.sampler.TestHTTPSamplersAgainstHttpMirrorServer.testPostRequest_UrlEncoded(TestHTTPSamplersAgainstHttpMirrorServer.java:279)
[java] at
org.apache.jmeter.protocol.http.sampler.TestHTTPSamplersAgainstHttpMirrorServer.itemised_testPostRequest_UrlEncoded(TestHTTPSamplersAgainstHttpMirrorServer.java:131)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[java] at java.lang.reflect.Method.invoke(Method.java:498)
[java] at junit.framework.TestCase.runTest(TestCase.java:176)
[java] at junit.framework.TestCase.runBare(TestCase.java:141)
[java] at junit.framework.TestResult$1.protect(TestResult.java:122)
[java] at junit.framework.TestResult.runProtected(TestResult.java:142)
[java] at junit.framework.TestResult.run(TestResult.java:125)
[java] at junit.framework.TestCase.run(TestCase.java:129)
[java] at junit.framework.TestSuite.runTest(TestSuite.java:252)
[java] at junit.framework.TestSuite.run(TestSuite.java:247)
[java] at
junit.extensions.TestDecorator.basicRun(TestDecorator.java:23)
[java] at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
[java] at junit.framework.TestResult.runProtected(TestResult.java:142)
[java] at junit.extensions.TestSetup.run(TestSetup.java:27)
[java] at
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
[java] at org.junit.runners.Suite.runChild(Suite.java:128)
[java] at org.junit.runners.Suite.runChild(Suite.java:27)
[java] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
[java] at
org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
[java] at
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
[java] at
org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
[java] at
org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
[java] at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
[java] at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
[java] at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
[java] at org.apache.jorphan.test.AllTests.main(AllTests.java:219)
[java] 12)
itemised_testPostRequest_UrlEncoded(org.apache.jmeter.protocol.http.sampler.TestHTTPSamplersAgainstHttpMirrorServer)
[java] junit.framework.AssertionFailedError: Expected no Content-Type in
request headers:
[java] Connection: close
[java]
[java] at junit.framework.Assert.fail(Assert.java:57)
[java] at junit.framework.Assert.assertTrue(Assert.java:22)
[java] at junit.framework.TestCase.assertTrue(TestCase.java:192)
[java] at
org.apache.jmeter.protocol.http.sampler.TestHTTPSamplersAgainstHttpMirrorServer.checkHeaderContentType(TestHTTPSamplersAgainstHttpMirrorServer.java:1163)
[java] at
org.apache.jmeter.protocol.http.sampler.TestHTTPSamplersAgainstHttpMirrorServer.checkPostRequestBody(TestHTTPSamplersAgainstHttpMirrorServer.java:956)
[java] at
org.apache.jmeter.protocol.http.sampler.TestHTTPSamplersAgainstHttpMirrorServer.checkPostRequestUrlEncoded(TestHTTPSamplersAgainstHttpMirrorServer.java:843)
[java] at
org.apache.jmeter.protocol.http.sampler.TestHTTPSamplersAgainstHttpMirrorServer.testPostRequest_UrlEncoded(TestHTTPSamplersAgainstHttpMirrorServer.java:297)
[java] at
org.apache.jmeter.protocol.http.sampler.TestHTTPSamplersAgainstHttpMirrorServer.itemised_testPostRequest_UrlEncoded(TestHTTPSamplersAgainstHttpMirrorServer.java:131)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[java] at java.lang.reflect.Method.invoke(Method.java:498)
[java] at junit.framework.TestCase.runTest(TestCase.java:176)
[java] at junit.framework.TestCase.runBare(TestCase.java:141)
[java] at junit.framework.TestResult$1.protect(TestResult.java:122)
[java] at junit.framework.TestResult.runProtected(TestResult.java:142)
[java] at junit.framework.TestResult.run(TestResult.java:125)
[java] at junit.framework.TestCase.run(TestCase.java:129)
[java] at junit.framework.TestSuite.runTest(TestSuite.java:252)
[java] at junit.framework.TestSuite.run(TestSuite.java:247)
[java] at
junit.extensions.TestDecorator.basicRun(TestDecorator.java:23)
[java] at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
[java] at junit.framework.TestResult.runProtected(TestResult.java:142)
[java] at junit.extensions.TestSetup.run(TestSetup.java:27)
[java] at
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
[java] at org.junit.runners.Suite.runChild(Suite.java:128)
[java] at org.junit.runners.Suite.runChild(Suite.java:27)
[java] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
[java] at
org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
[java] at
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
[java] at
org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
[java] at
org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
[java] at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
[java] at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
[java] at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
[java] at org.apache.jorphan.test.AllTests.main(AllTests.java:219)
[java] 13)
itemised_testPostRequest_UrlEncoded(org.apache.jmeter.protocol.http.sampler.TestHTTPSamplersAgainstHttpMirrorServer)
[java] junit.framework.AssertionFailedError: Expected no Content-Type in
request headers:
[java] Connection: close
[java]
[java] at junit.framework.Assert.fail(Assert.java:57)
[java] at junit.framework.Assert.assertTrue(Assert.java:22)
[java] at junit.framework.TestCase.assertTrue(TestCase.java:192)
[java] at
org.apache.jmeter.protocol.http.sampler.TestHTTPSamplersAgainstHttpMirrorServer.checkHeaderContentType(TestHTTPSamplersAgainstHttpMirrorServer.java:1163)
[java] at
org.apache.jmeter.protocol.http.sampler.TestHTTPSamplersAgainstHttpMirrorServer.checkPostRequestBody(TestHTTPSamplersAgainstHttpMirrorServer.java:956)
[java] at
org.apache.jmeter.protocol.http.sampler.TestHTTPSamplersAgainstHttpMirrorServer.checkPostRequestUrlEncoded(TestHTTPSamplersAgainstHttpMirrorServer.java:843)
[java] at
org.apache.jmeter.protocol.http.sampler.TestHTTPSamplersAgainstHttpMirrorServer.testPostRequest_UrlEncoded(TestHTTPSamplersAgainstHttpMirrorServer.java:324)
[java] at
org.apache.jmeter.protocol.http.sampler.TestHTTPSamplersAgainstHttpMirrorServer.itemised_testPostRequest_UrlEncoded(TestHTTPSamplersAgainstHttpMirrorServer.java:131)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[java] at java.lang.reflect.Method.invoke(Method.java:498)
[java] at junit.framework.TestCase.runTest(TestCase.java:176)
[java] at junit.framework.TestCase.runBare(TestCase.java:141)
[java] at junit.framework.TestResult$1.protect(TestResult.java:122)
[java] at junit.framework.TestResult.runProtected(TestResult.java:142)
[java] at junit.framework.TestResult.run(TestResult.java:125)
[java] at junit.framework.TestCase.run(TestCase.java:129)
[java] at junit.framework.TestSuite.runTest(TestSuite.java:252)
[java] at junit.framework.TestSuite.run(TestSuite.java:247)
[java] at
junit.extensions.TestDecorator.basicRun(TestDecorator.java:23)
[java] at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
[java] at junit.framework.TestResult.runProtected(TestResult.java:142)
[java] at junit.extensions.TestSetup.run(TestSetup.java:27)
[java] at
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
[java] at org.junit.runners.Suite.runChild(Suite.java:128)
[java] at org.junit.runners.Suite.runChild(Suite.java:27)
[java] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
[java] at
org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
[java] at
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
[java] at
org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
[java] at
org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
[java] at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
[java] at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
[java] at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
[java] at org.apache.jorphan.test.AllTests.main(AllTests.java:219)
[java]
[java] FAILURES!!!
[java] Tests run: 3219, Failures: 13
[java]
[java] ................................................
[java] Time: 4.396
[java]
[java] OK (48 tests)
[java]
BUILD FAILED
<https://builds.apache.org/job/JMeter-trunk/ws/trunk/build.xml>:3068: Java
returned: 1
Total time: 2 minutes 26 seconds
Build step 'Invoke Ant' marked build as failure
[locks-and-latches] Releasing all the locks
[locks-and-latches] All the locks released
Archiving artifacts
Recording test results
ERROR: Step ?Publish JUnit test result report? failed: Test reports were found
but none of them are new. Did leafNodes run?
For example,
<https://builds.apache.org/job/JMeter-trunk/ws/trunk/reports/TEST-org.apache.commons.cli.avalon.ClutilTestCase.xml>
is 4 days 0 hr old