You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by George varghese <ge...@hotmail.com> on 2005/09/08 04:53:31 UTC
StringFromFile function
Hi,
Is there a way I can specify the file used in StringFromFlie() relative
to the jmx file location? Now its taking the relative path from JMeter
installation directory.
Any help appriciated.
Thanks,
George.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: StringFromFile function
Posted by Michael Stover <ms...@apache.org>.
How interesting that you would ask for this! The answer is no, but I
have started doing things in exactly the way you suggest here for other
components that reference external files. I will try to get to
StringFromFile to change it too, but I'm not sure exactly which release
it will make it to.
-Mike
On Thu, 2005-09-08 at 08:23 +0530, George varghese wrote:
> Hi,
>
> Is there a way I can specify the file used in StringFromFlie() relative
> to the jmx file location? Now its taking the relative path from JMeter
> installation directory.
>
> Any help appriciated.
>
> Thanks,
> George.
>
>
>
> ---------------------------------------------------------------------
> 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
Re: StringFromFile function
Posted by Michael Stover <ms...@apache.org>.
It is stored in the newish FileServer class that I've been using for
elements that reference files.
On Thu, 2005-09-08 at 13:17 +0100, sebb wrote:
> Any relative paths will be relative to the launch directory, which
> must be the jmeter installation directory.
>
> The current jmx file location is not stored anywhere, as far as I know.
>
> You could try defining a property with the jmx location (e.g. on the
> command line), and then use that in the SFF file name.
>
> S.
> On 08/09/05, George varghese <ge...@hotmail.com> wrote:
> > Hi,
> >
> > Is there a way I can specify the file used in StringFromFlie() relative
> > to the jmx file location? Now its taking the relative path from JMeter
> > installation directory.
> >
> > Any help appriciated.
> >
> > Thanks,
> > George.
> >
> >
> >
> > ---------------------------------------------------------------------
> > 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
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: StringFromFile function
Posted by sebb <se...@gmail.com>.
Any relative paths will be relative to the launch directory, which
must be the jmeter installation directory.
The current jmx file location is not stored anywhere, as far as I know.
You could try defining a property with the jmx location (e.g. on the
command line), and then use that in the SFF file name.
S.
On 08/09/05, George varghese <ge...@hotmail.com> wrote:
> Hi,
>
> Is there a way I can specify the file used in StringFromFlie() relative
> to the jmx file location? Now its taking the relative path from JMeter
> installation directory.
>
> Any help appriciated.
>
> Thanks,
> George.
>
>
>
> ---------------------------------------------------------------------
> 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