jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: Trouble with JMeter proxy on file upload, work around seems to fail
Date Fri, 25 Mar 2011 23:20:58 GMT
On 25 March 2011 23:17, jarboejo <jarboejo@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-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

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


Mime
View raw message