Re: svn commit: r1028515 - in /jakarta/jmeter/trunk: bin/ bin/examples/ src/core/org/apache/jmeter/reporters/ src/core/org/apache/jmeter/services/ xdocs/ xdocs/usermanual/
On 3 November 2010 10:57, sebb wrote: > On 3 November 2010 10:18, sebb wrote: >> On 3 November 2010 09:32, sebb wrote: >>> On 3 November 2010 08:03, Milamber wrote: Hello, When I use Ant script [tests] (on same project), I have the following errors : * 1 error with jdk1.6_21 * 1 error + 4 failures with jdk1.6_22 For the error, I think that must remove a slash in test/src/org/apache/jmeter/services/TestFileServer.java on this line : "infile=findTestPath("/testfiles/test.csv");" to infile=findTestPath("testfiles/test.csv"); >>> >>> Oops! >>> >>> No idea why this works on Windows. >>> For failures, I don't understand now (I don't really searching the root cause) >>> >>> Me neither, but I will investigate. >> >> Looks like the HTTP implementation has changed - it no longer seems to >> send the Content-Length header with POST requests. Not so - the length is sent as before. It looks like the test case assumes that one can set Content-Length in the header and then retrieve it. I'm not sure what this achieves in the context of this test, so I think the best would be to remove that check of the request header. The mirrored content is checked later anyway. > Appears to be related to this bug: > > http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6996110 > > as setting "sun.net.http.allowRestrictedHeaders=true" allows the test > to complete successfully. > > Unfortunately "sun.net.http.allowRestrictedHeaders" does not appear to > be documented anywhere yet apart from the bug report. > - To unsubscribe, e-mail: dev-unsubscr...@jakarta.apache.org For additional commands, e-mail: dev-h...@jakarta.apache.org
Re: svn commit: r1028515 - in /jakarta/jmeter/trunk: bin/ bin/examples/ src/core/org/apache/jmeter/reporters/ src/core/org/apache/jmeter/services/ xdocs/ xdocs/usermanual/
On 3 November 2010 10:18, sebb wrote: > On 3 November 2010 09:32, sebb wrote: >> On 3 November 2010 08:03, Milamber wrote: >>> Hello, >>> >>> When I use Ant script [tests] (on same project), I have the following >>> errors : >>> >>> * 1 error with jdk1.6_21 >>> * 1 error + 4 failures with jdk1.6_22 >>> >>> For the error, I think that must remove a slash in >>> test/src/org/apache/jmeter/services/TestFileServer.java >>> on this line : "infile=findTestPath("/testfiles/test.csv");" >>> to infile=findTestPath("testfiles/test.csv"); >> >> Oops! >> >> No idea why this works on Windows. >> >>> For failures, I don't understand now (I don't really searching the root >>> cause) >> >> Me neither, but I will investigate. > > Looks like the HTTP implementation has changed - it no longer seems to > send the Content-Length header with POST requests. Appears to be related to this bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6996110 as setting "sun.net.http.allowRestrictedHeaders=true" allows the test to complete successfully. Unfortunately "sun.net.http.allowRestrictedHeaders" does not appear to be documented anywhere yet apart from the bug report. >> >> I'm also updating the build script and test code so Hudson should >> catch failures better. >> >>> == JDK1.6 u21= >>> [echo] >>> [echo] gump.run = false >>> [echo] java.awt.headless = ${java.awt.headless} >>> [echo] test.headless = >>> [echo] user.dir = >>> /home/milamber/W-workspaces/Workspaces-JMeter/JMeter-Integration >>> [echo] basedir = >>> /home/milamber/W-workspaces/Workspaces-JMeter/JMeter-Integration >>> [echo] test dir = build/test >>> [echo] test dir gump = build/test >>> [echo] testsaveservice.saveout = ${testsaveservice.saveout} >>> [echo] >>> [java] Setting JMeterHome: >>> /home/milamber/W-workspaces/Workspaces-JMeter/JMeter-Integration >>> [java] Setting up logging props using file: >>> /home/milamber/W-workspaces/Workspaces-JMeter/JMeter-Integration/bin/testfiles/jmetertest.properties >>> [java] Using initializeProperties() from >>> org.apache.jmeter.util.JMeterUtils >>> [java] Setting up initial properties using: >>> /home/milamber/W-workspaces/Workspaces-JMeter/JMeter-Integration/bin/testfiles/jmetertest.properties >>> [java] Initializing Properties: >>> /home/milamber/W-workspaces/Workspaces-JMeter/JMeter-Integration/bin/testfiles/jmetertest.properties >>> [java] java.version=1.6.0_21 >>> [java] java.home=/home/milamber/opt/jdk1.6.0_21/jre >>> [java] >>> user.dir=/home/milamber/W-workspaces/Workspaces-JMeter/JMeter-Integration/bin >>> [java] os.name=Linux >>> [java] os.version=2.6.32-5-amd64 >>> [java] +++ >>> [java] java.awt.headless= >>> [java] java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment >>> [java] >>> [java] Creating test suite >>> [java] Scanning build/test for test cases >>> [java] ClassFinder found: 87 TestCase classes >>> [java] INFO: JMeterGUIComponent: skipping some tests >>> org.apache.jmeter.testbeans.gui.TestBeanGUI >>> [java] Created: 87 tests including 8 suites >>> [java] Starting test run, test count = 1999 >>> [java] . >>> [java] . >>> [java] . >>> [java] . >>> [java] . >>> [java] . >>> [java] . >>> [java] . >>> [java] . >>> [java] . >>> [java] . >>> [java] . >>> [java] . >>> [java] . >>> [java] . >>> [java] . >>> [java] . >>> [java] . >>> [java] . >>> [java] . >>> [java] . >>> [java] . >>> [java] . >>> [java] . >>> [java] . >>> [java] . >>> [java] . >>> [java] . >>> [java] . >>> [java] . >>> [java]
Re: svn commit: r1028515 - in /jakarta/jmeter/trunk: bin/ bin/examples/ src/core/org/apache/jmeter/reporters/ src/core/org/apache/jmeter/services/ xdocs/ xdocs/usermanual/
On 3 November 2010 09:32, sebb wrote: > On 3 November 2010 08:03, Milamber wrote: >> Hello, >> >> When I use Ant script [tests] (on same project), I have the following >> errors : >> >> * 1 error with jdk1.6_21 >> * 1 error + 4 failures with jdk1.6_22 >> >> For the error, I think that must remove a slash in >> test/src/org/apache/jmeter/services/TestFileServer.java >> on this line : "infile=findTestPath("/testfiles/test.csv");" >> to infile=findTestPath("testfiles/test.csv"); > > Oops! > > No idea why this works on Windows. > >> For failures, I don't understand now (I don't really searching the root >> cause) > > Me neither, but I will investigate. Looks like the HTTP implementation has changed - it no longer seems to send the Content-Length header with POST requests. > > I'm also updating the build script and test code so Hudson should > catch failures better. > >> == JDK1.6 u21= >> [echo] >> [echo] gump.run = false >> [echo] java.awt.headless = ${java.awt.headless} >> [echo] test.headless = >> [echo] user.dir = >> /home/milamber/W-workspaces/Workspaces-JMeter/JMeter-Integration >> [echo] basedir = >> /home/milamber/W-workspaces/Workspaces-JMeter/JMeter-Integration >> [echo] test dir = build/test >> [echo] test dir gump = build/test >> [echo] testsaveservice.saveout = ${testsaveservice.saveout} >> [echo] >> [java] Setting JMeterHome: >> /home/milamber/W-workspaces/Workspaces-JMeter/JMeter-Integration >> [java] Setting up logging props using file: >> /home/milamber/W-workspaces/Workspaces-JMeter/JMeter-Integration/bin/testfiles/jmetertest.properties >> [java] Using initializeProperties() from >> org.apache.jmeter.util.JMeterUtils >> [java] Setting up initial properties using: >> /home/milamber/W-workspaces/Workspaces-JMeter/JMeter-Integration/bin/testfiles/jmetertest.properties >> [java] Initializing Properties: >> /home/milamber/W-workspaces/Workspaces-JMeter/JMeter-Integration/bin/testfiles/jmetertest.properties >> [java] java.version=1.6.0_21 >> [java] java.home=/home/milamber/opt/jdk1.6.0_21/jre >> [java] >> user.dir=/home/milamber/W-workspaces/Workspaces-JMeter/JMeter-Integration/bin >> [java] os.name=Linux >> [java] os.version=2.6.32-5-amd64 >> [java] +++ >> [java] java.awt.headless= >> [java] java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment >> [java] >> [java] Creating test suite >> [java] Scanning build/test for test cases >> [java] ClassFinder found: 87 TestCase classes >> [java] INFO: JMeterGUIComponent: skipping some tests >> org.apache.jmeter.testbeans.gui.TestBeanGUI >> [java] Created: 87 tests including 8 suites >> [java] Starting test run, test count = 1999 >> [java] . >> [java] . >> [java] . >> [java] . >> [java] . >> [java] . >> [java] . >> [java] . >> [java] . >> [java] . >> [java] . >> [java] . >> [java] . >> [java] . >> [java] . >> [java] . >> [java] . >> [java] . >> [java] . >> [java] . >> [java] . >> [java] . >> [java] . >> [java] . >> [java] . >> [java] . >> [java] . >> [java] . >> [java] . >> [java] . >> [java] . >> [java] . >> [java] . >> [java] . >> [java] . >> [java] . >> [java] . >> [java] . >> [java] ..
Re: svn commit: r1028515 - in /jakarta/jmeter/trunk: bin/ bin/examples/ src/core/org/apache/jmeter/reporters/ src/core/org/apache/jmeter/services/ xdocs/ xdocs/usermanual/
On 3 November 2010 08:03, Milamber wrote: > Hello, > > When I use Ant script [tests] (on same project), I have the following > errors : > > * 1 error with jdk1.6_21 > * 1 error + 4 failures with jdk1.6_22 > > For the error, I think that must remove a slash in > test/src/org/apache/jmeter/services/TestFileServer.java > on this line : "infile=findTestPath("/testfiles/test.csv");" > to infile=findTestPath("testfiles/test.csv"); Oops! No idea why this works on Windows. > For failures, I don't understand now (I don't really searching the root > cause) Me neither, but I will investigate. I'm also updating the build script and test code so Hudson should catch failures better. > == JDK1.6 u21= > [echo] > [echo] gump.run = false > [echo] java.awt.headless = ${java.awt.headless} > [echo] test.headless = > [echo] user.dir = > /home/milamber/W-workspaces/Workspaces-JMeter/JMeter-Integration > [echo] basedir = > /home/milamber/W-workspaces/Workspaces-JMeter/JMeter-Integration > [echo] test dir = build/test > [echo] test dir gump = build/test > [echo] testsaveservice.saveout = ${testsaveservice.saveout} > [echo] > [java] Setting JMeterHome: > /home/milamber/W-workspaces/Workspaces-JMeter/JMeter-Integration > [java] Setting up logging props using file: > /home/milamber/W-workspaces/Workspaces-JMeter/JMeter-Integration/bin/testfiles/jmetertest.properties > [java] Using initializeProperties() from > org.apache.jmeter.util.JMeterUtils > [java] Setting up initial properties using: > /home/milamber/W-workspaces/Workspaces-JMeter/JMeter-Integration/bin/testfiles/jmetertest.properties > [java] Initializing Properties: > /home/milamber/W-workspaces/Workspaces-JMeter/JMeter-Integration/bin/testfiles/jmetertest.properties > [java] java.version=1.6.0_21 > [java] java.home=/home/milamber/opt/jdk1.6.0_21/jre > [java] > user.dir=/home/milamber/W-workspaces/Workspaces-JMeter/JMeter-Integration/bin > [java] os.name=Linux > [java] os.version=2.6.32-5-amd64 > [java] +++ > [java] java.awt.headless= > [java] java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment > [java] > [java] Creating test suite > [java] Scanning build/test for test cases > [java] ClassFinder found: 87 TestCase classes > [java] INFO: JMeterGUIComponent: skipping some tests > org.apache.jmeter.testbeans.gui.TestBeanGUI > [java] Created: 87 tests including 8 suites > [java] Starting test run, test count = 1999 > [java] . > [java] . > [java] . > [java] . > [java] . > [java] . > [java] . > [java] . > [java] . > [java] . > [java] . > [java] . > [java] . > [java] . > [java] . > [java] . > [java] . > [java] . > [java] . > [java] . > [java] . > [java] . > [java] . > [java] . > [java] . > [java] . > [java] . > [java] . > [java] . > [java] . > [java] . > [java] . > [java] . > [java] . > [java] . > [java] . > [java] . > [java] . > [java] . > [java] ...E.. > [java] . > [java] . > [java] . > [java]
Re: svn commit: r1028515 - in /jakarta/jmeter/trunk: bin/ bin/examples/ src/core/org/apache/jmeter/reporters/ src/core/org/apache/jmeter/services/ xdocs/ xdocs/usermanual/
Hello, When I use Ant script [tests] (on same project), I have the following errors : * 1 error with jdk1.6_21 * 1 error + 4 failures with jdk1.6_22 For the error, I think that must remove a slash in test/src/org/apache/jmeter/services/TestFileServer.java on this line : "infile=findTestPath("/testfiles/test.csv");" to infile=findTestPath("testfiles/test.csv"); For failures, I don't understand now (I don't really searching the root cause) == JDK1.6 u21= [echo] [echo]gump.run = false [echo]java.awt.headless = ${java.awt.headless} [echo]test.headless = [echo]user.dir = /home/milamber/W-workspaces/Workspaces-JMeter/JMeter-Integration [echo]basedir = /home/milamber/W-workspaces/Workspaces-JMeter/JMeter-Integration [echo]test dir = build/test [echo]test dir gump = build/test [echo]testsaveservice.saveout = ${testsaveservice.saveout} [echo] [java] Setting JMeterHome: /home/milamber/W-workspaces/Workspaces-JMeter/JMeter-Integration [java] Setting up logging props using file: /home/milamber/W-workspaces/Workspaces-JMeter/JMeter-Integration/bin/testfiles/jmetertest.properties [java] Using initializeProperties() from org.apache.jmeter.util.JMeterUtils [java] Setting up initial properties using: /home/milamber/W-workspaces/Workspaces-JMeter/JMeter-Integration/bin/testfiles/jmetertest.properties [java] Initializing Properties: /home/milamber/W-workspaces/Workspaces-JMeter/JMeter-Integration/bin/testfiles/jmetertest.properties [java] java.version=1.6.0_21 [java] java.home=/home/milamber/opt/jdk1.6.0_21/jre [java] user.dir=/home/milamber/W-workspaces/Workspaces-JMeter/JMeter-Integration/bin [java] os.name=Linux [java] os.version=2.6.32-5-amd64 [java] +++ [java] java.awt.headless= [java] java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment [java] [java] Creating test suite [java] Scanning build/test for test cases [java] ClassFinder found: 87 TestCase classes [java] INFO: JMeterGUIComponent: skipping some tests org.apache.jmeter.testbeans.gui.TestBeanGUI [java] Created: 87 tests including 8 suites [java] Starting test run, test count = 1999 [java] . [java] . [java] . [java] . [java] . [java] . [java] . [java] . [java] . [java] . [java] . [java] . [java] . [java] . [java] . [java] . [java] . [java] . [java] . [java] . [java] . [java] . [java] . [java] . [java] . [java] . [java] . [java] . [java] . [java] . [java] . [java] . [java] . [java] . [java] . [java] . [java] . [java] . [java] . [java] ...E.. [java] . [java] . [java] . [java] . [java] . [java] . [java] . [java] . [java] ... [java] Time: 24.488 [java] There