jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: Can't use relative path reference from test script for file uploads in HTTP sampler?
Date Tue, 25 Sep 2012 10:42:39 GMT
On 25 September 2012 03:36, David Luu <mangaroo@gmail.com> wrote:
> I've been using various components of JMeter test plan and notice that
> writing table listerner results to file (I think, didn't use too much) and
> reading CSV dataset config can use relative path references, and it will be
> relative to the location of test plan script being run.
>
> But for file uploads in HTTP request sampler (send files with the request
> section), relative path (from test plan script) doesn't work (fails to find
> the file). Didn't test thoroughly but assume in that case it might be
> relative to JMeter's working directory (or JVM's working directory). Is
> that a known issue and by design?

File uploads are currently relative to the current working directory.

> I'm using JMeter 2.5.

You should upgrade.

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


Mime
View raw message