JMeter - HTTP Request's Content Encoding field has no effect
Dear All, I tried sending encoding in HTTP Request's Content Encoding<http://jmeter.apache.org/usermanual/component_reference.html#HTTP_Request> field but it doesn't seem to have any effect also in POST request. Could anyone please tell me what is the use of Content Encoding option provided in HTTP request. Thanks and Regards, Sanjay Chaurasia
RE: The Travis CI build failed
Dear Philippe/Felix If this one is a flaxy test and fails sometime. This means we can go ahead with PR as Travis CI build had passed earlier for same PR. Our team is working on the following bug and we have created PRs for the same. Kindly consider these PRs and let me know if any further information is required. https://bz.apache.org/bugzilla/show_bug.cgi?id=63130 ( PR : https://github.com/apache/jmeter/pull/440 ) https://bz.apache.org/bugzilla/show_bug.cgi?id=63129 (PR: https://github.com/apache/jmeter/pull/441 ) Thanks and Regards, Sanjay Chaurasia -Original Message- From: Philippe Mouawad [mailto:philippe.moua...@gmail.com] Sent: Thursday, February 21, 2019 1:42 AM To: JMeter Users List Subject: Re: The Travis CI build failed Hi Felix, Yes this one is flaky. Regards On Wednesday, February 20, 2019, Felix Schumacher < felix.schumac...@internetallee.de> wrote: > > Am 20.02.19 um 07:44 schrieb Sanjay Chaurasia: > >> Dear Felix, >> >> Thank you so much for your support. Now it's working. >> >> But, now I am getting different error. >> >> Please find the below link for full log. >> >> https://travis-ci.org/apache/jmeter/jobs/495836409 >> > > I think again, you are experiencing a test, that sometimes fails (am I > right this time, Philippe?). > > Felix > > >> >> Thanks and Regards, >> Sanjay Chaurasia >> >> >> -Original Message- >> From: Felix Schumacher [mailto:felix.schumac...@internetallee.de] >> Sent: Wednesday, February 20, 2019 2:27 AM >> To: user@jmeter.apache.org >> Subject: Re: The Travis CI build failed >> >> >> Am 19.02.19 um 21:32 schrieb Felix Schumacher: >> >>> Am 19.02.19 um 21:13 schrieb Philippe Mouawad: >>> >>>> Hi Felix, >>>> Are you sure this one is frequent ? >>>> >>>> KeepAlive is ,but I don't remember this one occurred recently. >>>> >>> They all look the same to me ;) but I will have a look. >>> >>> In my mail archives I found at least four test runs that were >>> affected. I probably deleted quite a few more. >>> >>> The last that I found in my archive is from 08.09.2018. >>> >>> On the other hand travis seems to be relatively unaffected by that >>> test, so I will do a test run of that branch locally. >>> >> Hm, it fails locally, too. Now I am letting it run without the >> changes of pr/440. >> >> And that fails, too. >> >> Calling the test plan from the GUI, it reveals that the redirect has >> changed to https://... (it was expectedt to be http://) >> >> Will commit a change before going to sleep. >> >> Felix >> >> Felix >>> >>> Regards >>>> >>>> On Tue, Feb 19, 2019 at 9:10 PM Felix Schumacher < >>>> felix.schumac...@internetallee.de> wrote: >>>> >>>> Am 19.02.19 um 07:50 schrieb Sanjay Chaurasia: >>>>> >>>>>> Hi team. >>>>>> >>>>>> I have created a pull request >>>>>> https://github.com/apache/jmeter/pull/440 >>>>>> >>>>> . >>>>> >>>>>> Earlier, the result of Travis CI build was success but now it is >>>>>> getting >>>>>> >>>>> failed even though I did not make any changes. >>>>> >>>>>> Please find the below link for full log. >>>>>> >>>>>> https://travis-ci.org/apache/jmeter/jobs/494787174 >>>>>> >>>>> The reported error is a flaky test, that haunts us for quite a >>>>> long time now. It has most probably nothing to do with your test case. >>>>> >>>>> Felix >>>>> >>>>> >>>>> Please let me know to resolve the same. I will be highly grateful >>>>>> to you. >>>>>> >>>>>> Thanks and Regards, >>>>>> Sanjay Chaurasia >>>>>> >>>>>> >>>>>> - >>>>>> --- >>>>> - To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org >>>>> For additional commands, e-mail: user-h...@jmeter.apache.org >>>>> >>>>> >>>>> -- >>>>> --- >>> To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org >>> For additional commands, e-mail: user-h...@jmeter.apache.org >>> >>> >>> - >> To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org >> For additional commands, e-mail: user-h...@jmeter.apache.org >> >> >> >> - >> To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org >> For additional commands, e-mail: user-h...@jmeter.apache.org >> > > - > To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org > For additional commands, e-mail: user-h...@jmeter.apache.org > > -- Cordialement. Philippe Mouawad.
RE: The Travis CI build failed
Dear Felix, Thank you so much for your support. Now it's working. But, now I am getting different error. Please find the below link for full log. https://travis-ci.org/apache/jmeter/jobs/495836409 Thanks and Regards, Sanjay Chaurasia -Original Message- From: Felix Schumacher [mailto:felix.schumac...@internetallee.de] Sent: Wednesday, February 20, 2019 2:27 AM To: user@jmeter.apache.org Subject: Re: The Travis CI build failed Am 19.02.19 um 21:32 schrieb Felix Schumacher: > > Am 19.02.19 um 21:13 schrieb Philippe Mouawad: >> Hi Felix, >> Are you sure this one is frequent ? >> >> KeepAlive is ,but I don't remember this one occurred recently. > > They all look the same to me ;) but I will have a look. > > In my mail archives I found at least four test runs that were > affected. I probably deleted quite a few more. > > The last that I found in my archive is from 08.09.2018. > > On the other hand travis seems to be relatively unaffected by that > test, so I will do a test run of that branch locally. Hm, it fails locally, too. Now I am letting it run without the changes of pr/440. And that fails, too. Calling the test plan from the GUI, it reveals that the redirect has changed to https://... (it was expectedt to be http://) Will commit a change before going to sleep. Felix > > Felix > >> >> Regards >> >> On Tue, Feb 19, 2019 at 9:10 PM Felix Schumacher < >> felix.schumac...@internetallee.de> wrote: >> >>> Am 19.02.19 um 07:50 schrieb Sanjay Chaurasia: >>>> Hi team. >>>> >>>> I have created a pull request >>>> https://github.com/apache/jmeter/pull/440 >>> . >>>> Earlier, the result of Travis CI build was success but now it is >>>> getting >>> failed even though I did not make any changes. >>>> Please find the below link for full log. >>>> >>>> https://travis-ci.org/apache/jmeter/jobs/494787174 >>> The reported error is a flaky test, that haunts us for quite a long >>> time now. It has most probably nothing to do with your test case. >>> >>> Felix >>> >>> >>>> Please let me know to resolve the same. I will be highly grateful >>>> to you. >>>> >>>> Thanks and Regards, >>>> Sanjay Chaurasia >>>> >>>> >>> >>> - To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org >>> For additional commands, e-mail: user-h...@jmeter.apache.org >>> >>> > > - > To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org > For additional commands, e-mail: user-h...@jmeter.apache.org > - To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org For additional commands, e-mail: user-h...@jmeter.apache.org
The Travis CI build failed
Hi team. I have created a pull request https://github.com/apache/jmeter/pull/440 . Earlier, the result of Travis CI build was success but now it is getting failed even though I did not make any changes. Please find the below link for full log. https://travis-ci.org/apache/jmeter/jobs/494787174 Please let me know to resolve the same. I will be highly grateful to you. Thanks and Regards, Sanjay Chaurasia
unable to run command "git push origin BUGID" command
Dear All, I am following https://jmeter.apache.org/building.html page to create a PR using GIT. While running "git push origin BUGID" command I am getting following error. It looks like I don't have permission to run this command. D:\git\jmeter>git push origin 63590 fatal: HttpRequestException encountered. An error occurred while sending the request. Unhandled Exception: System.ObjectDisposedException: Cannot access a closed file . at System.IO.__Error.FileNotOpen() at System.IO.FileStream.Flush(Boolean flushToDisk) at System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder) at Microsoft.Alm.Git.Trace.Microsoft.Alm.Git.ITrace.Flush() at Microsoft.Alm.Cli.Program.Die(String message) at Microsoft.Alm.Cli.Program.Die(Exception exception) at Microsoft.Alm.Cli.Program.Main(String[] args) Username for 'https://github.com': sanjaychaurasia Password for 'https://sanjaychaura...@github.com': remote: Permission to apache/jmeter.git denied to sanjaychaurasia. fatal: unable to access 'https://github.com/apache/jmeter/': The requested URL returned error: 403 If anyone have idea, please provide some solution for the same. Regards, Sanjay Chaurasia
RE: 131 tests are getting failed while running "ant test" command
Dear Felix, Hope you are doing well ! Thank you for your concern. Regards, Sanjay Chaurasia -Original Message- From: Felix Schumacher [mailto:felix.schumac...@internetallee.de] Sent: Friday, February 8, 2019 1:25 AM To: user@jmeter.apache.org Subject: Re: 131 tests are getting failed while running "ant test" command Am 07.02.19 um 09:59 schrieb Sanjay Chaurasia: > Dear Felix, > > Thank you for your response. I have set the character encoding in the > environment variable as you suggested. > JAVA_TOOL_OPTIONS to -Dfile.encoding=UTF8. > > 8 tests, which were getting failed, have been passed. > > Still there are 122 tests are getting failed. And all tests have same > root cause. Please have a look below log > > [java] 122) testLang(org.apache.jmeter.resources.PackageTest) That still seems to be the same problem, that your environment has the wrong encoding for the files. As I am no expert for windows based systems, so I would not be able to give you any more advise here. Maybe someone else can help you. Sorry, Felix > [java] junit.framework.AssertionFailedError: One or more subtests failed > [java] at junit.framework.Assert.fail(Assert.java:57) > [java] at junit.framework.TestCase.fail(TestCase.java:227) > [java] at > org.apache.jmeter.resources.PackageTest.check(PackageTest.java:228) > [java] at > org.apache.jmeter.resources.PackageTest.check(PackageTest.java:172) > [java] at > org.apache.jmeter.resources.PackageTest.testLang(PackageTest.java:329) > [java] at sun.reflect.GeneratedMethodAccessor86.invoke(Unknown Source) > [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown > Source) > [java] at java.lang.reflect.Method.invoke(Unknown Source) > [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.framework.TestSuite.runTest(TestSuite.java:252) > [java] at junit.framework.TestSuite.run(TestSuite.java:247) > [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] FAILURES!!! > [java] Tests run: 3312, Failures: 122 > [java] > > [java] Time: 4.329 > [java] OK (80 tests) > [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 > > BUILD FAILED > C:\Users\sanjay.chaurasia\Desktop\jmeter\trunk\build.xml:3181: Java > returned: 1 > > If you have any idea of the root cause, please share. > I will be highly grateful to you. > > > Regards, > Sanjay Chaurasia > > -Original Message- > From: Felix Schumacher [mailto:felix.schumac...@internetallee.de] > Sent: Tuesday, February 5, 2019 12:16 PM > To: JMeter Users List > Subject: RE: 131 tests are getting failed while running "ant test" > command > > > > Am 5. Februar 2019 07:02:14 MEZ schrieb Sanjay Chaurasia > : >> Please find below "ant test" logs >> >> [java] junit.framework.AssertionFailedError: One or more subtests >> failed >> [java] at junit.framework.Assert.fail(Assert.java:57) >> [java] at junit.framework.TestCase.fail(TestCase.java:227) >> [java] at >> org.apache.jmeter.resources.PackageTest.check(PackageTest.java:228) >> [java] a
RE: 131 tests are getting failed while running "ant test" command
Dear Felix, Thank you for your response. I have set the character encoding in the environment variable as you suggested. JAVA_TOOL_OPTIONS to -Dfile.encoding=UTF8. 8 tests, which were getting failed, have been passed. Still there are 122 tests are getting failed. And all tests have same root cause. Please have a look below log [java] 122) testLang(org.apache.jmeter.resources.PackageTest) [java] junit.framework.AssertionFailedError: One or more subtests failed [java] at junit.framework.Assert.fail(Assert.java:57) [java] at junit.framework.TestCase.fail(TestCase.java:227) [java] at org.apache.jmeter.resources.PackageTest.check(PackageTest.java:228) [java] at org.apache.jmeter.resources.PackageTest.check(PackageTest.java:172) [java] at org.apache.jmeter.resources.PackageTest.testLang(PackageTest.java:329) [java] at sun.reflect.GeneratedMethodAccessor86.invoke(Unknown Source) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [java] at java.lang.reflect.Method.invoke(Unknown Source) [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.framework.TestSuite.runTest(TestSuite.java:252) [java] at junit.framework.TestSuite.run(TestSuite.java:247) [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] FAILURES!!! [java] Tests run: 3312, Failures: 122 [java] [java] Time: 4.329 [java] OK (80 tests) [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 BUILD FAILED C:\Users\sanjay.chaurasia\Desktop\jmeter\trunk\build.xml:3181: Java returned: 1 If you have any idea of the root cause, please share. I will be highly grateful to you. Regards, Sanjay Chaurasia -Original Message- From: Felix Schumacher [mailto:felix.schumac...@internetallee.de] Sent: Tuesday, February 5, 2019 12:16 PM To: JMeter Users List Subject: RE: 131 tests are getting failed while running "ant test" command Am 5. Februar 2019 07:02:14 MEZ schrieb Sanjay Chaurasia : >Please find below "ant test" logs > >[java] junit.framework.AssertionFailedError: One or more subtests >failed > [java]at junit.framework.Assert.fail(Assert.java:57) > [java]at junit.framework.TestCase.fail(TestCase.java:227) >[java] at >org.apache.jmeter.resources.PackageTest.check(PackageTest.java:228) >[java] at >org.apache.jmeter.resources.PackageTest.check(PackageTest.java:172) >[java] at >org.apache.jmeter.resources.PackageTest.testLang(PackageTest.java:329) >[java] at sun.reflect.GeneratedMethodAccessor86.invoke(Unknown Source) >[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown >Source) > [java]at java.lang.reflect.Method.invoke(Unknown Source) > [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.f
RE: 131 tests are getting failed while running "ant test" command
Currently I am running in windows environment. I am not getting which default character encoding set you are asking for. If this is encoding problem please suggest where I can set the correct encoding to get it resolved. -Original Message- From: Felix Schumacher [mailto:felix.schumac...@internetallee.de] Sent: Tuesday, February 5, 2019 12:16 PM To: JMeter Users List Subject: RE: 131 tests are getting failed while running "ant test" command Am 5. Februar 2019 07:02:14 MEZ schrieb Sanjay Chaurasia : >Please find below "ant test" logs > >[java] junit.framework.AssertionFailedError: One or more subtests >failed > [java]at junit.framework.Assert.fail(Assert.java:57) > [java]at junit.framework.TestCase.fail(TestCase.java:227) >[java] at >org.apache.jmeter.resources.PackageTest.check(PackageTest.java:228) >[java] at >org.apache.jmeter.resources.PackageTest.check(PackageTest.java:172) >[java] at >org.apache.jmeter.resources.PackageTest.testLang(PackageTest.java:329) >[java] at sun.reflect.GeneratedMethodAccessor86.invoke(Unknown Source) >[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown >Source) > [java]at java.lang.reflect.Method.invoke(Unknown Source) > [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.framework.TestSuite.runTest(TestSuite.java:252) > [java]at junit.framework.TestSuite.run(TestSuite.java:247) >[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] FAILURES!!! > [java] Tests run: 3312, Failures: 130 [java] >.E... > [java] Time: 4.468 > [java] There was 1 failure: >[java] 1) >testUnEscapeHtml2(org.apache.jmeter.functions.TestSimpleFunctions) >[java] org.junit.ComparisonFailure: expected:<> but >was:<> What is your default character encoding set to? On Linux this would be the content of the environment variable LANG. Regards, Felix > > >-Original Message- >From: Felix Schumacher [mailto:felix.schumac...@internetallee.de] >Sent: Tuesday, February 5, 2019 11:26 AM >To: JMeter Users List >Subject: Re: 131 tests are getting failed while running "ant test" >command > > > >Am 5. Februar 2019 04:21:24 MEZ schrieb Sanjay Chaurasia >: >>Hi team, >> >>I am following https://jmeter.apache.org/building (building and >>contributing to Jmeter) page to submit my patch. >> >>I have successfully run "ant package-and-check" command. >> >>But while running "ant test" command there are almost 131(130+1) >tests >>getting failed. Screenshot is given below. >> >>[cid:image001.jpg@01D4BD2F.D95584C0] > >Images are often stripped by the mailing list - as in this case. It is >better to ibis those messages as text. > >Regards, > Felix > >> >>I have few queries regarding the same. >> >> >>* Can we run "ant test" command successfully on our local >>machine. >> >>* If yes, how can we achieve this because there are lots of >>assertion errors in following 5 files. >> >> >> >>1. TestSimpleFunctions.java >> >>2.
131 tests are getting failed while running "ant test" command
Hi team, I am following https://jmeter.apache.org/building (building and contributing to Jmeter) page to submit my patch. I have successfully run "ant package-and-check" command. But while running "ant test" command there are almost 131(130+1) tests getting failed. Screenshot is given below. [cid:image001.jpg@01D4BD2F.D95584C0] I have few queries regarding the same. * Can we run "ant test" command successfully on our local machine. * If yes, how can we achieve this because there are lots of assertion errors in following 5 files. 1. TestSimpleFunctions.java 2. BinaryMessageRendererTest.java 3. ObjectMessageRendererTest.java 4. TextMessageRendererTest.java 5. MessageRendererTest.java Please suggest some solution to resolve the same. Regards, Sanjay Chaurasia
ant test command throwing error
Hi Team, I have taken checkout of Jmeter source code from the location http://svn.apache.org/repos/asf/jmeter/trunk When I am trying to execute "ant test" command, getting following error. c.HttpMirrorServer: HttpMirror Server stopped [concat] java.net.BindException: Address already in use: JVM_Bind [concat]at java.net.DualStackPlainSocketImpl.bind0(Native Method) ~[?:1.8.0_77] [concat]at java.net.DualStackPlainSocketImpl.socketBind(Unknown Source) ~[?:1.8.0_77] [concat]at java.net.AbstractPlainSocketImpl.bind(Unknown Source) ~[?:1.8.0_77] [concat]at java.net.PlainSocketImpl.bind(Unknown Source) ~[?:1.8.0_77] [concat]at java.net.ServerSocket.bind(Unknown Source) ~[?:1.8.0_77] [concat]at java.net.ServerSocket.(Unknown Source) ~[?:1.8.0_77] [concat]at java.net.ServerSocket.(Unknown Source) ~[?:1.8.0_77] [concat]at org.apache.jmeter.protocol.http.control.HttpMirrorServer.run(HttpMirrorServer.java:154) [ApacheJMeter_http.jar:5.1-SNAPSHOT.20190131] [concat] 2019-01-31 15:26:07,199 ERROR o.a.j.p.h.s.HTTPJavaImpl: readResponse: java.io.IOException: Server returned HTTP response code: 403 for URL: http://localhost:8081/ [concat] 2019-01-31 15:26:07,200 ERROR o.a.j.p.h.s.HTTPJavaImpl: Cause: java.io.IOException: Server returned HTTP response code: 403 for URL: http://localhost:8081/ [concat] 2019-01-31 15:26:10,499 ERROR o.a.j.p.h.s.HTTPJavaImpl: readResponse: java.io.IOException: Server returned HTTP response code: 403 for URL: http://localhost:8081/ [concat] 2019-01-31 15:26:10,500 ERROR o.a.j.p.h.s.HTTPJavaImpl: Cause: java.io.IOException: Server returned HTTP response code: 403 for URL: http://localhost:8081/ BUILD FAILED C:\Users\sanjay.chaurasia\Desktop\jmeter\trunk\build.xml:3013: The following error occurred while executing this line: C:\Users\sanjay.chaurasia\Desktop\jmeter\trunk\build.xml:2871: CSV Files are not identical. C:\Users\sanjay.chaurasia\Desktop\jmeter\trunk\bin\testfiles\TestCookieManager.csv label,responseCode,threadName,dataType,success,grpThreads,allThreads,SampleCount,ErrorCount JSS_startMirror,200,setUp Thread Group 1-1,text,true,1,1,1,0 HTTP-Request-HC4,200,TG-ManagedCookieHC4 1-1,text,true,1,1,1,0 HTTPS-Request-HC4,Non HTTP response code: org.apache.http.conn.HttpHostConnectException,TG-ManagedCookieHC4 1-1,text,true,1,1,1,0 HTTP-Request-Java,200,TG-ManagedCookieJava 2-1,text,true,1,1,1,0 HTTPS-Request-Java,Non HTTP response code: java.net.ConnectException,TG-ManagedCookieJava 2-1,text,true,1,1,1,0 HTTP-NonManagedCookie-HC4,200,TG-NonManagedCookieHC4 3-1,text,true,1,1,1,0 HTTPS-NonManagedCookie-HC4,Non HTTP response code: org.apache.http.conn.HttpHostConnectException,TG-NonManagedCookieHC4 3-1,text,true,1,1,1,0 HTTP-NonManagedCookie-Java,200,TG-NonManagedCookieJava 4-1,text,true,1,1,1,0 HTTPS-NonManagedCookie-Java,Non HTTP response code: java.net.ConnectException,TG-NonManagedCookieJava 4-1,text,true,1,1,1,0 JSS_stopMirror,200,tearDown Thread Group 1-1,text,true,1,1,1,0 C:\Users\sanjay.chaurasia\Desktop\jmeter\trunk\bin\TestCookieManager.csv label,responseCode,threadName,dataType,success,grpThreads,allThreads,SampleCount,ErrorCount JSS_startMirror,200,setUp Thread Group 1-1,text,true,1,1,1,0 HTTP-Request-HC4,403,TG-ManagedCookieHC4 1-1,text,false,1,1,1,1 HTTPS-Request-HC4,Non HTTP response code: org.apache.http.conn.HttpHostConnectException,TG-ManagedCookieHC4 1-1,text,true,1,1,1,0 HTTP-Request-Java,403,TG-ManagedCookieJava 2-1,text,false,1,1,1,1 HTTPS-Request-Java,Non HTTP response code: java.net.ConnectException,TG-ManagedCookieJava 2-1,text,true,1,1,1,0 HTTP-NonManagedCookie-HC4,403,TG-NonManagedCookieHC4 3-1,text,false,1,1,1,1 HTTPS-NonManagedCookie-HC4,Non HTTP response code: org.apache.http.conn.HttpHostConnectException,TG-NonManagedCookieHC4 3-1,text,true,1,1,1,0 HTTP-NonManagedCookie-Java,403,TG-NonManagedCookieJava 4-1,text,false,1,1,1,1 HTTPS-NonManagedCookie-Java,Non HTTP response code: java.net.ConnectException,TG-NonManagedCookieJava 4-1,text,true,1,1,1,0 JSS_stopMirror,200,tearDown Thread Group 1-1,text,true,1,1,1,0 Total time: 5 minutes 45 seconds If anyone have some suggestion to resolve the same. Kindly do the needful. Regards, Sanjay Chaurasia
RE: Ant test command is not executing successfully
Thank you so much Felix for your information. Now it's working :) -Original Message- From: Felix Schumacher [mailto:felix.schumac...@internetallee.de] Sent: Friday, February 1, 2019 2:09 AM To: user@jmeter.apache.org Subject: Re: Ant test command is not executing successfully Am 30.01.19 um 10:32 schrieb Sanjay Chaurasia: > Hi team, > > I am getting following error while running ant test command. > > BUILD FAILED > C:\Users\sanjay.chaurasia\Desktop\jmeter\trunk\build.xml:2946: The following > error occurred while executing this line: > C:\Users\sanjay.chaurasia\Desktop\jmeter\trunk\build.xml:2871: CSV Files are > not identical. > C:\Users\sanjay.chaurasia\Desktop\jmeter\trunk\bin\testfiles\Bug52310. > csv > ComputeIPAddr,200,OK,TG2 1-1,text,true > HTTP-Request-HC31,200,OK,TG2 1-1,text,true > HTTP-Request-HC4,200,OK,TG2 1-1,text,true > > C:\Users\sanjay.chaurasia\Desktop\jmeter\trunk\bin\Bug52310.csv > ComputeIPAddr,200,OK,TG2 1-1,text,true HTTP-Request-HC31,Non > HTTP response code: java.net.SocketException,Non HTTP response > message: Network is unreachable: connect,TG2 1-1,text,false > HTTP-Request-HC4,Non HTTP response code: java.net.SocketException,Non > HTTP response message: Network is unreachable: connect,TG2 > 1-1,text,false > > Please provide some solution to resolve the same. This can happen, when you don't have "proper" access to the internet (say, you are behind a corporate proxy). In that case you can skip the test 52310 by adding the line skip.bug52319=true to your build-local.properties file (that resides inside the same directory as your build.xml). For more options that might be useful for problematic builds have a look at the file README.md in the section Build instructions. Regards, Felix > > Thanks & Regards, > Sanjay Chaurasia > > - To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org For additional commands, e-mail: user-h...@jmeter.apache.org - To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org For additional commands, e-mail: user-h...@jmeter.apache.org
Ant test command is not executing successfully
Hi team, I am getting following error while running ant test command. BUILD FAILED C:\Users\sanjay.chaurasia\Desktop\jmeter\trunk\build.xml:2946: The following error occurred while executing this line: C:\Users\sanjay.chaurasia\Desktop\jmeter\trunk\build.xml:2871: CSV Files are not identical. C:\Users\sanjay.chaurasia\Desktop\jmeter\trunk\bin\testfiles\Bug52310.csv ComputeIPAddr,200,OK,TG2 1-1,text,true HTTP-Request-HC31,200,OK,TG2 1-1,text,true HTTP-Request-HC4,200,OK,TG2 1-1,text,true C:\Users\sanjay.chaurasia\Desktop\jmeter\trunk\bin\Bug52310.csv ComputeIPAddr,200,OK,TG2 1-1,text,true HTTP-Request-HC31,Non HTTP response code: java.net.SocketException,Non HTTP response message: Network is unreachable: connect,TG2 1-1,text,false HTTP-Request-HC4,Non HTTP response code: java.net.SocketException,Non HTTP response message: Network is unreachable: connect,TG2 1-1,text,false Please provide some solution to resolve the same. Thanks & Regards, Sanjay Chaurasia
RE: ant package-and-check command is not executing successfully.
Thank you so much Bruno, Now it's working :) -Original Message- From: Bruno Antunes [mailto:bruno.fs.antu...@gmail.com] Sent: Tuesday, January 29, 2019 7:39 PM To: JMeter Users List Subject: Re: ant package-and-check command is not executing successfully. I tested with ant 1.10.5 but should also work with 1.10.1. What I can suggest is downloading latest version for Java SE 8 and Ant, and try with that versions The Java CA Certificates are located in JAVA_HOME/jre/lib/cacerts or JAVA_HOME/lib/cacerts As workaround; manually download the file " https://master.dl.sourceforge.net/project/checkstyle/OldFiles/8.8/checkstyle-8.8-all.jar; and copy it to "lib/opt" To check what is going on with "SSL" define the JVM "javax.net.debug" with value "ssl:handshake:verbose" or "all". Example: # SET ANT_OPTS=-Djavax.net.debug=ssl:handshake:verbose # ant download_checkstyle On Tue, 29 Jan 2019 at 13:26, Sanjay Chaurasia < sanjay.chaura...@india.nec.com> wrote: > Hi Bruno, > > Thank you for reply, could you please mention ANT version too. > > I am using following java/ANT version > > # Java -version > > C:\Users\sanjay.chaurasia\Desktop\jmeter-trunk>java -version java > version "1.8.0_77" > Java(TM) SE Runtime Environment (build 1.8.0_77-b03) Java HotSpot(TM) > 64-Bit Server VM (build 25.77-b03, mixed mode) > > # ANT version: > > C:\Users\sanjay.chaurasia>ant -version Apache Ant(TM) version 1.10.1 > compiled on February 2 2017 > > -Original Message- > From: Bruno Antunes [mailto:bruno.fs.antu...@gmail.com] > Sent: Tuesday, January 29, 2019 5:48 PM > To: JMeter Users List > Subject: Re: ant package-and-check command is not executing successfully. > > The "ant download_checkstyle" should work. Make surge you are using > updated version o Java SE 8. The download is performed from " > https://downloads.sourceforge.net/;. The error you are getting is > related with validation of SSL Certificate > > Actions: > * Check versions for Java and Ant > > My Test > > # java -version > java version "1.8.0_202" > Java(TM) SE Runtime Environment (build 1.8.0_202-b08) Java HotSpot(TM) > 64-Bit Server VM (build 25.202-b08, mixed mode) > > # ant download_checkstyle > Buildfile: /home/bantunes/b/apache-jmeter-5.0/build.xml > > download_checkstyle: > > _process_checkstyle_jars: > > _check_exists: > > _check_jarfile: > [echo] Checking checkstyle-8.8-all.jar > [echo] Deleting checkstyle-8.8-all.jar (excluding > checkstyle-8.8-all.jar) > > setproxy: > > _get_jarfile: > [echo] Fetching: lib/opt/checkstyle-8.8-all.jar > [get] Getting: > > https://downloads.sourceforge.net/checkstyle/checkstyle/8.8/checkstyle-8.8-all.jar?ts=1548763907232_mirror=autoselect/checkstyle-8.8-all.jar > [get] To: > /home/bantunes/b/apache-jmeter-5.0/build/checkstyle-8.8-all.jar > [get] > > https://downloads.sourceforge.net/checkstyle/checkstyle/8.8/checkstyle > -8.8-all.jar?ts=1548763907232_mirror=autoselect/checkstyle-8.8-all > .jar > permanently moved to > > https://downloads.sourceforge.net/project/checkstyle/OldFiles/8.8/checkstyle-8.8-all.jar?use_mirror=autoselect%2Fcheckstyle-8.8-all.jar > [get] > > https://downloads.sourceforge.net/project/checkstyle/OldFiles/8.8/chec > kstyle-8.8-all.jar?use_mirror=autoselect%2Fcheckstyle-8.8-all.jar > moved to > > https://master.dl.sourceforge.net/project/checkstyle/OldFiles/8.8/chec > kstyle-8.8-all.jar > > _checkMD5: > [echo] Checksum OK: checkstyle-8.8-all.jar > [move] Moving 1 file to /home/bantunes/b/apache-jmeter-5.0/lib/opt > [move] Attempting to rename: > /home/bantunes/b/apache-jmeter-5.0/build/checkstyle-8.8-all.jar to > /home/bantunes/b/apache-jmeter-5.0/lib/opt/checkstyle-8.8-all.jar > > setproxy: > > _get_zipfile: > > BUILD SUCCESSFUL > Total time: 14 seconds > > > On Tue, 29 Jan 2019 at 12:04, Sanjay Chaurasia < > sanjay.chaura...@india.nec.com> wrote: > > > I tried this, but did not work. > > If you observe the error log I have shared, it is trying to find > > some certification path. > > > > Please have a look below error message. > > > > javax.net.ssl.SSLHandshakeException: > > sun.security.validator.ValidatorException: > > PKIX path building failed: > > sun.security.provider.certpath.SunCertPathBuilderExce > > ption: unable to find valid certification path to requested target > > > > -Original Message- > > From: sebb [mailto:seb...@gmail.com] > > Sent: Tuesday, January 29, 2019 4:54 PM > > To: JMeter Users List > &g
RE: ant package-and-check command is not executing successfully.
Hi Bruno, Thank you for reply, could you please mention ANT version too. I am using following java/ANT version # Java -version C:\Users\sanjay.chaurasia\Desktop\jmeter-trunk>java -version java version "1.8.0_77" Java(TM) SE Runtime Environment (build 1.8.0_77-b03) Java HotSpot(TM) 64-Bit Server VM (build 25.77-b03, mixed mode) # ANT version: C:\Users\sanjay.chaurasia>ant -version Apache Ant(TM) version 1.10.1 compiled on February 2 2017 -Original Message- From: Bruno Antunes [mailto:bruno.fs.antu...@gmail.com] Sent: Tuesday, January 29, 2019 5:48 PM To: JMeter Users List Subject: Re: ant package-and-check command is not executing successfully. The "ant download_checkstyle" should work. Make surge you are using updated version o Java SE 8. The download is performed from " https://downloads.sourceforge.net/;. The error you are getting is related with validation of SSL Certificate Actions: * Check versions for Java and Ant My Test # java -version java version "1.8.0_202" Java(TM) SE Runtime Environment (build 1.8.0_202-b08) Java HotSpot(TM) 64-Bit Server VM (build 25.202-b08, mixed mode) # ant download_checkstyle Buildfile: /home/bantunes/b/apache-jmeter-5.0/build.xml download_checkstyle: _process_checkstyle_jars: _check_exists: _check_jarfile: [echo] Checking checkstyle-8.8-all.jar [echo] Deleting checkstyle-8.8-all.jar (excluding checkstyle-8.8-all.jar) setproxy: _get_jarfile: [echo] Fetching: lib/opt/checkstyle-8.8-all.jar [get] Getting: https://downloads.sourceforge.net/checkstyle/checkstyle/8.8/checkstyle-8.8-all.jar?ts=1548763907232_mirror=autoselect/checkstyle-8.8-all.jar [get] To: /home/bantunes/b/apache-jmeter-5.0/build/checkstyle-8.8-all.jar [get] https://downloads.sourceforge.net/checkstyle/checkstyle/8.8/checkstyle-8.8-all.jar?ts=1548763907232_mirror=autoselect/checkstyle-8.8-all.jar permanently moved to https://downloads.sourceforge.net/project/checkstyle/OldFiles/8.8/checkstyle-8.8-all.jar?use_mirror=autoselect%2Fcheckstyle-8.8-all.jar [get] https://downloads.sourceforge.net/project/checkstyle/OldFiles/8.8/checkstyle-8.8-all.jar?use_mirror=autoselect%2Fcheckstyle-8.8-all.jar moved to https://master.dl.sourceforge.net/project/checkstyle/OldFiles/8.8/checkstyle-8.8-all.jar _checkMD5: [echo] Checksum OK: checkstyle-8.8-all.jar [move] Moving 1 file to /home/bantunes/b/apache-jmeter-5.0/lib/opt [move] Attempting to rename: /home/bantunes/b/apache-jmeter-5.0/build/checkstyle-8.8-all.jar to /home/bantunes/b/apache-jmeter-5.0/lib/opt/checkstyle-8.8-all.jar setproxy: _get_zipfile: BUILD SUCCESSFUL Total time: 14 seconds On Tue, 29 Jan 2019 at 12:04, Sanjay Chaurasia < sanjay.chaura...@india.nec.com> wrote: > I tried this, but did not work. > If you observe the error log I have shared, it is trying to find some > certification path. > > Please have a look below error message. > > javax.net.ssl.SSLHandshakeException: > sun.security.validator.ValidatorException: > PKIX path building failed: > sun.security.provider.certpath.SunCertPathBuilderExce > ption: unable to find valid certification path to requested target > > -Original Message- > From: sebb [mailto:seb...@gmail.com] > Sent: Tuesday, January 29, 2019 4:54 PM > To: JMeter Users List > Subject: Re: ant package-and-check command is not executing successfully. > > On Tue, 29 Jan 2019 at 10:58, Sanjay Chaurasia < > sanjay.chaura...@india.nec.com> wrote: > > > > Thank you for reply sebb, that was the typo error while executing > > the > command I had written correct command. > > I think you have misunderstood. > > According to the output you posted, the path name in which JMeter is > installed contains a space: > > C:\Users\sanjay.chaurasia\Desktop\jmeter-trunk (1)\jmeter-trunk > > (It certainly looks like a space before the '(1)' above) > > This space can cause problems. > > Rename the path segment 'jmeter-trunk (1)' so it does not contain a > space and try again. > > > -Original Message- > > From: sebb [mailto:seb...@gmail.com] > > Sent: Tuesday, January 29, 2019 3:36 PM > > To: JMeter Users List > > Subject: Re: ant package-and-check command is not executing successfully. > > > > On Tue, 29 Jan 2019 at 03:22, Sanjay Chaurasia < > sanjay.chaura...@india.nec.com> wrote: > > > > > > Thank you for your quick reply Deepak. > > > > > > Yes, I tried this by executing command "ant download_checkstyle" > > > and > "ant download_checkstyle target" > > > But It's not working as well and throwing below errors. > > > > > > C:\Users\sanjay.chaurasia\Desktop\jmeter-trunk > > > (1)\jmeter-t
RE: ant package-and-check command is not executing successfully.
I tried this, but did not work. If you observe the error log I have shared, it is trying to find some certification path. Please have a look below error message. javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderExce ption: unable to find valid certification path to requested target -Original Message- From: sebb [mailto:seb...@gmail.com] Sent: Tuesday, January 29, 2019 4:54 PM To: JMeter Users List Subject: Re: ant package-and-check command is not executing successfully. On Tue, 29 Jan 2019 at 10:58, Sanjay Chaurasia wrote: > > Thank you for reply sebb, that was the typo error while executing the command > I had written correct command. I think you have misunderstood. According to the output you posted, the path name in which JMeter is installed contains a space: C:\Users\sanjay.chaurasia\Desktop\jmeter-trunk (1)\jmeter-trunk (It certainly looks like a space before the '(1)' above) This space can cause problems. Rename the path segment 'jmeter-trunk (1)' so it does not contain a space and try again. > -Original Message- > From: sebb [mailto:seb...@gmail.com] > Sent: Tuesday, January 29, 2019 3:36 PM > To: JMeter Users List > Subject: Re: ant package-and-check command is not executing successfully. > > On Tue, 29 Jan 2019 at 03:22, Sanjay Chaurasia > wrote: > > > > Thank you for your quick reply Deepak. > > > > Yes, I tried this by executing command "ant download_checkstyle" and "ant > > download_checkstyle target" > > But It's not working as well and throwing below errors. > > > > C:\Users\sanjay.chaurasia\Desktop\jmeter-trunk (1)\jmeter-trunk>ant > > download_che ckstyle > > There's a space in the pathname. > That can cause issues. > > Rename and try again. > > - > To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org > For additional commands, e-mail: user-h...@jmeter.apache.org > > - To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org For additional commands, e-mail: user-h...@jmeter.apache.org
RE: ant package-and-check command is not executing successfully.
Thank you for reply sebb, that was the typo error while executing the command I had written correct command. -Original Message- From: sebb [mailto:seb...@gmail.com] Sent: Tuesday, January 29, 2019 3:36 PM To: JMeter Users List Subject: Re: ant package-and-check command is not executing successfully. On Tue, 29 Jan 2019 at 03:22, Sanjay Chaurasia wrote: > > Thank you for your quick reply Deepak. > > Yes, I tried this by executing command "ant download_checkstyle" and "ant > download_checkstyle target" > But It's not working as well and throwing below errors. > > C:\Users\sanjay.chaurasia\Desktop\jmeter-trunk (1)\jmeter-trunk>ant > download_che ckstyle There's a space in the pathname. That can cause issues. Rename and try again. - To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org For additional commands, e-mail: user-h...@jmeter.apache.org
ant package-and-check command is not executing successfully.
Hi Team, I am trying to run command ant package-and-check under the folder Jmeter-trunk (downloaded source code from git) but getting some error mentioned below while running the command. This task requires checkstyle, please run download_checkstyle target to download checkstyle. Please provide solution to resolve the same. Regards, Sanjay Chaurasia