You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Gargi Kumar <ga...@intersolutions.stpn.soft.net> on 2006/02/27 13:23:19 UTC

Sending Http request parameters from beanshell script.

GlacierHi,

Is it possible to send Http request parameter from beanshell script.

I have a HTTPRequest Sampler and want to send parameter with the request
through bean shell script.

Even if I add the parameter in HTTP Request Sampler ,then I want to change
the value of that parameter from beanshell script.

Is it possible or is there any other way to change the value of parameter
dynamically.

thanks in advance.

Re: Sending Http request parameters from beanshell script.

Posted by sebb <se...@gmail.com>.
On 27/02/06, Gargi Kumar <ga...@intersolutions.stpn.soft.net> wrote:
>
>
> Hi,
>
> Is it possible to send Http request parameter from beanshell script.
>
> I have a HTTPRequest Sampler and want to send parameter with the request
> through bean shell script.
>
> Even if I add the parameter in HTTP Request Sampler ,then I want to change
> the value of that parameter from beanshell script.
>
> Is it possible or is there any other way to change the value of parameter
> dynamically.

AFAIK, parameters can use variables.

Try it and see.

There's no need to use BeanShell for this.

> thanks in advance.

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