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: [email protected]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to