jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: Pass a variable to HTTP Request Server Name and Path
Date Fri, 28 Sep 2007 00:08:20 GMT
Unless you need access to the current sample to generate the string,
it would probably be easier to use a BeanShell function instead.

Otherwise, just set a variable which you then use in the sampler.


On 28/09/2007, Bryan Li <bryanyli@gmail.com> wrote:
> Hi all,
>
> Don't wanna be spamming but I couldn't find a solution to my problem. What I
> want to do is simple. I need to randomly generate a string to be the Path of
> the HTTP Request. This is done in the BeanShell Preprocessor. The question
> is, how do I pass this randomized string to the HTTP Request from the
> BeanShell script?
>
> Any input is appreciated.
>
> Thanks,
> Bryan
>

---------------------------------------------------------------------
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