Another Clue: Checking the http header of the request with a sniffer, there's a difference on the encoding:
Sniffer header: -----------------------------7da26420204a0 Content-Disposition: form-data; name="file"; filename="FILE.TXT" Content-Type: text/plain (the file info all showed here) -----------------------------7da26420204a0 Content-Disposition: form-data; name="saveButton" c -----------------------------7da26420204a0-- The save button it's pressed to upload the file JMeter Header execution: POST data: -----------------------------7d159c1302d0y0 Content-Disposition: form-data; name="file"; filename="FILE.TXT" Content-Type: text/plain Content-Transfer-Encoding: binary <actual file content, not shown here> -----------------------------7d159c1302d0y0-- My question is: - There's a way to change de transfer-enconding? The next step in the application it's to intercept the file and check it in a Servlet, to finally show to the user if the file was processed sucessfuly. I guess the binary enconding it's the problem, or perhaps not. I saw other threads with same kind of problem, but none of them had a significant conclusion. Can anyony give me a clue? Thanks in advance! On Wed, Oct 20, 2010 at 12:25 PM, Evandro Grezeli <[email protected] > wrote: > Found an old thread with the same problem. > > Just put the file at the bin directory and it worked. More less worked. > > Now continuing with my problem, when i submit the file the application on > the next screen show me the ok answer for the upload. But when im recording > and submit it, the IE screen just freeze (showing nothing) and the loading > status showed it's just "Done". > > It's normal this behavior? Should i just change my assert at the test plan? > Any other clues? > > thanks in advance! > > > On Wed, Oct 20, 2010 at 12:04 PM, Evandro Grezeli < > [email protected]> wrote: > >> All, >> >> Does anyone had a bad experience uploading a file with jmeter version 2.4? >> >> >> When i select the file for upload and submit it in my application the >> following error occur: >> * >> java.io.FileNotFoundException: FILE.TXT (The system couldn't found the >> necessary file) at java.io.FileInputStream.open(Native Method) at >> java.io.FileInputStream.(Unknown Source) at java.io.FileInputStream.(Unknown >> Source) 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:122) >> at >> org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:508) >> at >> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:965) >> at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:242) * >> >> I'm recording with proxy server, btw. >> To simplify, the file.txt it's located at my root system (C:) >> >> -- >> Atenciosamente >> Regards >> Evandro Grezeli de B. Neves >> >> >> > > > -- > Atenciosamente > Regards > Evandro Grezeli de B. Neves > > > -- Atenciosamente Regards Evandro Grezeli de B. Neves

