By comparing the packet with JMeter proxy and without JMeter proxy,
I've commented out unnecessary (for Rails) properties in following java file
and recompile JMeter.

-----
src\protocol\http\org\apache\jmeter\protocol\http\sampler\PostWriter.java
        writeStartFileMultipart()
        //writeln(out, "Content-Transfer-Encoding: binary"); // $NON-NLS-1$
        
        writeFormMultipart()
        /*****
        writeln(out, "Content-Type: text/plain; charset=" + charSet); // 
$NON-NLS-1$
        writeln(out, "Content-Transfer-Encoding: 8bit"); // $NON-NLS-1$
        *****/
------

Now, I successfully upload a file by multipart post through JMeter proxy.
But a file wasn't uploaded by running the the recorded test simulation........

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to