DO NOT REPLY [Bug 48479] JMeter not recording file upload and download scenarios
https://issues.apache.org/bugzilla/show_bug.cgi?id=48479 Sebb changed: What|Removed |Added Status|NEW |NEEDINFO --- Comment #1 from Sebb 2010-01-04 07:05:33 UTC --- It's impossible to say what the problem might be from the initial description. Were there any errors in the jmeter.log file? Does the download URL use the same protocol and hostname as the home page? Is the application publicly accessible? If so, what are the details? -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org
DO NOT REPLY [Bug 48479] JMeter not recording file upload and download scenarios
https://issues.apache.org/bugzilla/show_bug.cgi?id=48479 --- Comment #2 from raghavendra 2010-01-04 09:16:30 UTC --- hi sebb, for example if i am trying to record gmail,and if i am testing inbox functionality, clickn on email and try to download the attachment in this case jmeter is recording the scenario upto click on email,when i click on download the attachment is downloaded but not recorded by jmeter -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org
DO NOT REPLY [Bug 48479] JMeter not recording file upload and download scenarios
https://issues.apache.org/bugzilla/show_bug.cgi?id=48479 raghavendra changed: What|Removed |Added Status|NEEDINFO|NEW -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org
DO NOT REPLY [Bug 48479] JMeter not recording file upload and download scenarios
https://issues.apache.org/bugzilla/show_bug.cgi?id=48479 Sebb changed: What|Removed |Added Status|NEW |NEEDINFO --- Comment #3 from Sebb 2010-01-04 09:31:09 UTC --- Is the download URL http: or https: ? -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org
DO NOT REPLY [Bug 48479] JMeter not recording file upload and download scenarios
https://issues.apache.org/bugzilla/show_bug.cgi?id=48479 raghavendra changed: What|Removed |Added Status|NEEDINFO|NEW --- Comment #4 from raghavendra 2010-01-04 09:33:42 UTC --- not working for both the protocols http and https -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org
DO NOT REPLY [Bug 48479] JMeter not recording file upload and download scenarios
https://issues.apache.org/bugzilla/show_bug.cgi?id=48479 --- Comment #5 from Milamber 2010-01-04 15:30:44 UTC --- I think I found the origine of this problem. It isn't a JMeter bug. When we use JMeter proxy to record a navigating session with a http file upload, the browser sending only the local filename without path in post data. Thus JMeter will only save filename alone in the HTTP Sampler, and will fail with this error (in view results tree) : see below. A solution is to put file to upload in the JMeter "working directory" i.e. JMETER_HOME/bin With this workaround, it's works for upload and download, because JMeter try to find the file in this directory when the HTTP Sampler has need to sample in recording sessions and in load tests. === Error message in record session === java.io.FileNotFoundException: doc1.doc (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.(FileInputStream.java:106) at java.io.FileInputStream.(FileInputStream.java:66) at org.apache.jmeter.protocol.http.sampler.PostWriter.writeFileToStream(PostWriter.java:406) at org.apache.jmeter.protocol.http.sampler.PostWriter.sendPostData(PostWriter.java:115) at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sendPostData(HTTPSampler.java:159) at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:514) at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1037) at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:195) -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org
[g...@vmgump]: Project jakarta-jmeter-svn (in module jakarta-jmeter) failed
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at gene...@gump.apache.org. Project jakarta-jmeter-svn has an issue affecting its community integration. This issue affects 2 projects. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - jakarta-jmeter-svn : Pure Java load testing and performance measurement tool. ... - jakarta-jmeter-test : Pure Java load testing and performance measurement tool. ... Full details are available at: http://vmgump.apache.org/gump/public/jakarta-jmeter/jakarta-jmeter-svn/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Made directory [/srv/gump/public/workspace/jakarta-jmeter/build/core] -INFO- Made directory [/srv/gump/public/workspace/jakarta-jmeter/build/jorphan] -INFO- Made directory [/srv/gump/public/workspace/jakarta-jmeter/build/components] -INFO- Made directory [/srv/gump/public/workspace/jakarta-jmeter/build/protocol/http] -INFO- Made directory [/srv/gump/public/workspace/jakarta-jmeter/build/monitor/model] -INFO- Failed with reason build failed The following work was performed: http://vmgump.apache.org/gump/public/jakarta-jmeter/jakarta-jmeter-svn/gump_work/build_jakarta-jmeter_jakarta-jmeter-svn.html Work Name: build_jakarta-jmeter_jakarta-jmeter-svn (Type: Build) Work ended in a state of : Failed Elapsed: 17 secs Command Line: /usr/lib/jvm/java-6-sun/bin/java -Djava.awt.headless=true -Xbootclasspath/p:/srv/gump/public/workspace/xml-xalan/build/serializer.jar:/srv/gump/public/workspace/xml-xalan/build/xalan-unbundled.jar:/srv/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/srv/gump/public/workspace/xml-xerces2/build/xercesImpl.jar org.apache.tools.ant.Main -Dgump.merge=/srv/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only '-Dversion.projectfile=$Revision: 888330 $' -Djmeter.version=02012010 -Dgump.run=true '-Ddate.projectfile=$Date: 2009-12-08 03:17:10 -0800 (Tue, 08 Dec 2009) $' gump-build [Working Directory: /srv/gump/public/workspace/jakarta-jmeter] CLASSPATH: /usr/lib/jvm/java-6-sun/lib/tools.jar:/srv/gump/public/workspace/jakarta-jmeter/build/core:/srv/gump/public/workspace/jakarta-jmeter/build/jorphan:/srv/gump/public/workspace/jakarta-jmeter/build/components:/srv/gump/public/workspace/jakarta-jmeter/build/protocol/http:/srv/gump/public/workspace/jakarta-jmeter/build/monitor/model:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/public/workspace/ant/dist/lib/ant-trax.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/packages/jaf-1.1ea/activation.jar:/srv/gump/packages/javamail-1.4/mail.jar:/srv/gump/packages/javamail-1.4/lib/mailapi.jar:/srv/gump/package s/jsse1.0.3/lib/jcert.jar:/srv/gump/packages/jsse1.0.3/lib/jnet.jar:/srv/gump/packages/jsse1.0.3/lib/jsse.jar:/srv/gump/packages/jms1.1/lib/jms.jar:/srv/gump/public/workspace/rhino/build/rhino_02012010/js.jar:/srv/gump/public/workspace/jakarta-bsf/build/lib/bsf.jar:/srv/gump/public/workspace/apache-commons/codec/dist/commons-codec-02012010.jar:/srv/gump/public/workspace/apache-commons/io/target/commons-io-02012010.jar:/srv/gump/public/workspace/commons-lang-2.x/target/commons-lang-2.4.jar:/srv/gump/public/workspace/commons-jexl-1.x/target/commons-jexl-1.1.1-SNAPSHOT.jar:/srv/gump/public/workspace/httpcomponents/oac.hc3x/dist/commons-httpclient.jar:/srv/gump/public/workspace/apache-commons/net/dist/commons-net-02012010.jar:/srv/gump/public/workspace/commons-collections-3.x/target/commons-collections-3.3-SNAPSHOT.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-02012010.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-api -02012010.jar:/srv/gump/public/workspace/jakarta-oro/jakarta-oro-02012010.jar:/srv/gump/packages/avalon/avalon-framework-api-4.3.jar:/srv/gump/packages/avalon/avalon-framework-impl-4.3.jar:/srv/gump/packages/avalon/avalon-logkit-2.1.jar:/srv/gump/public/workspace/velocity-engine/bin/velocity-02012010.jar:/srv/gump/public/workspace/velocity-engine/bin/velocity-02012010-dep.jar:/srv/gump/public/workspace/xml-commons/java/external/build/xml-apis-ext.jar:/srv/gump/public/workspace/xstream/xstream/target/xstream-1.4-SNAPSHOT.jar:/srv/gump/public/workspace/xpp/build/xpp3-02012010.jar:/srv/gump/public/workspace/xmlgraphics-commons/build/xmlgraphics-commons-02012010.jar:
DO NOT REPLY [Bug 48479] JMeter not recording file upload and download scenarios
https://issues.apache.org/bugzilla/show_bug.cgi?id=48479 --- Comment #6 from Milamber 2010-01-04 15:35:15 UTC --- Source code reference: In package org.apache.jmeter.protocol.http.config.MultipartUrlConfig (last revision) Line 132-136 === final String filenamePrefix = "filename=\""; //$NON-NLS-1$ if (contentDisposition.indexOf(filenamePrefix) > -1) { // Get the filename index = contentDisposition.indexOf(filenamePrefix) + filenamePrefix.length(); String path = contentDisposition.substring(index, contentDisposition.indexOf("\"", index)); //$NON-NLS-1$ === Browser send only "filename=doc1.doc" -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org
DO NOT REPLY [Bug 48479] JMeter not recording file upload and download scenarios
https://issues.apache.org/bugzilla/show_bug.cgi?id=48479 --- Comment #7 from Sebb 2010-01-04 15:47:50 UTC --- This is only true for upload. If the browser is able to download a file successfully, but the download is not recorded, then the most likely cause is that the browser did not send the download request via the proxy, for example because the download URL uses https: (which is not supported in the proxy for 2.3.4) -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org
DO NOT REPLY [Bug 48479] JMeter not recording file upload and download scenarios
https://issues.apache.org/bugzilla/show_bug.cgi?id=48479 --- Comment #8 from raghavendra 2010-01-04 20:23:23 UTC --- hi milamber, the scenario which u mentioned for upload is correct,how can i record the download -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org
DO NOT REPLY [Bug 48484] New: how can i write my own .jmx scripts for mywebportal
https://issues.apache.org/bugzilla/show_bug.cgi?id=48484 Summary: how can i write my own .jmx scripts for mywebportal Product: JMeter Version: 2.3.4 Platform: PC OS/Version: Windows XP Status: NEW Severity: minor Priority: P2 Component: HTTP AssignedTo: jmeter-dev@jakarta.apache.org ReportedBy: raghavkumar1...@gmail.com hi i am testing jmeter and how can i write my pwn scripts to tets my webportal -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org
DO NOT REPLY [Bug 48479] JMeter not recording file upload and download scenarios
https://issues.apache.org/bugzilla/show_bug.cgi?id=48479 --- Comment #9 from Milamber 2010-01-04 23:22:57 UTC --- Sebb is right, it's just for upload, and for download it's works in http but file isn't saved by HTTP Request Sampler. You can use a Listener "Save Responses to a file" as child of HTTP Download Request to save binary file on disk. (Sebb, we can close this bug I suppose.) -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org