Sebb,
Thanks. ${__P(user.dir)} did do the trick without changing anything else.
Why do you think _BeanShell didn't work. There were no errors in the log
file, amd at the same place in the Listener after JaveRequest Sampler, where
it now prints the current dir, there was "JavaRequest".

Amela


On 4/27/06, sebb <[EMAIL PROTECTED]> wrote:
>
> On 27/04/06, amelaao <[EMAIL PROTECTED]> wrote:
> > I want to get the value of current directory into a variable and use it
> to
>
> ${__P(user.dir)}
>
> might work for you.
>
> > create a new path. I'm using BeanShell for this, having my user
> parameter
> > workingDir defined as ${__BeanShell(pwd(),)}, thinking that I can use it
> > later as ${workingDir}. My first test was just to display ${workingDir}
> > using JavaRequest Sampler before even going further. I downloaded
> > bshXX.jarin jmeter/lib. However my JavaRequest doesn't print anything
> > in its
> > Listener, except for  text "JavaRequest" which is usually not a good
> sign.
>
> Which Listener?
> Where did you put ${workingDir} in the JavaRequest Sampler?
>
> > Any ideas?
>
> Have you checked in jmeter.log for any error messages?
>
> > Thanks,
> > Amela
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Regards,
Amela

Reply via email to