As Sebb suggests, do you have the right path for the file?

I presume you are passing the file name as a Post parameter to a web request 
and using a variable in JMeter to define that path and filename?  (e.g. 
Upload.HTML?file=${fileVar} ) Checking the details here would be my first port 
of call. 

Sent from my iPhone

On 25 Mar 2011, at 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?
> 
> ~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