You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by bu...@apache.org on 2008/02/13 16:47:02 UTC

DO NOT REPLY [Bug 44415] New: - Proxy fails with Firefox during file upload

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44415>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=44415

           Summary: Proxy fails with Firefox during file upload
           Product: JMeter
           Version: 2.3.1
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: HTTP
        AssignedTo: jmeter-dev@jakarta.apache.org
        ReportedBy: cmc@conscius.com


I'm using the JMeter HTTP Proxy Server to record user and webserver interaction
and it works like a charm.

I'm as a user able to fill out forms etc., but when it comes to file uploading
using Mozilla Firefox JMeter fails and the following exception occurs in the
browser. I have researched on the problem and it seems to a Firefox-only
problem, since uploading works flawlessly in IE.



--------------
java.io.FileNotFoundException: file.txt (The system cannot find the file specified)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(Unknown Source)
	at java.io.FileInputStream.<init>(Unknown Source)
	at
org.apache.jmeter.protocol.http.sampler.PostWriter.writeFileToStream(PostWriter.java:384)
	at
org.apache.jmeter.protocol.http.sampler.PostWriter.sendPostData(PostWriter.java:108)
	at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sendPostData(HTTPSampler.java:111)
	at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:462)
	at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:863)
	at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:191)


--------------


I think the problem might be related to the way IE and Firefox handles path
information. AFAIK IE sends the full path in the HTTP-request, whereas Firefox
only sends the filename without full path.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 44415] - Proxy fails with Firefox during file upload

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44415>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=44415


sebb@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO




------- Additional Comments From sebb@apache.org  2008-02-13 11:43 -------
Does the problem occur whilst recording the test or when running the generated
test plan?

Can you provide exact details of how to generate the problem?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 44415] - Proxy fails with Firefox during file upload

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44415>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=44415





------- Additional Comments From cmc@conscius.com  2008-02-14 00:20 -------
Created an attachment (id=21527)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=21527&action=view)
Screencast -  reproduce the firefox upload file exception

The exception occurs while recording.

I've attached a screencast, which shows how to reproduce the exception.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org