On 25 March 2011 23:17, jarboejo <jarbo...@gmail.com> wrote:
> Hello all,
>
> I'm using JMeter's proxy feature to record scenarios that I plan to use to
> run stress against our web service later.  This requires me to upload a
> file.  As the JMeter documentation predicts, the browser isn't sending the
> full path and file name to the server and JMeter is getting confused.  The
> classic workaround is to put the file you want to upload in the JMeter bin
> directory where JMeter will most certainly see it and be happy.
>
> I tried that.  It isn't working for me.  It isn't working in Ubuntu.  It
> isn't working in Windows.  I'm at wit's end.  It seems that there is no way
> to configure JMeter to snag files from a specific directory in such a way as
> I can record unimpeded.  And unfortunately, the scenario is more complicated
> than a simple POST (such that I could simply modify the sampler and expect
> success in the future); in the normal flow, there are requests and responses
> that follow the initial POST that are not invoked if the first POST fails.
>
> Has anyone else seen the workaround above fail?  I haven't ruled out that
> the workaround is succeeding but that some other change is being made to the
> request that causes our server to reject it.  That said, the current working
> directory story in Java is a little convoluted and time is a factor here.
>
> Advice?

Have you checked the jmeter log file for error messages? That should
show whether or not JMeter can find the file.

Try using a different browser.

> ~Joshua
>
> --
> View this message in context: 
> http://jmeter.512774.n5.nabble.com/Trouble-with-JMeter-proxy-on-file-upload-work-around-seems-to-fail-tp4265007p4265007.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org

Reply via email to